You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CODE_OF_CONDUCT.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,10 @@
4
4
5
5
This is a fork of the original [github.com/tmc/langchaingo](https://github.com/tmc/langchaingo) repository. This fork follows a specific branching strategy:
6
6
7
-
-**main**: Fully synchronized with upstream (`tmc/langchaingo`). Never force-pushed.
8
-
-**main-pull-requests**: Contains merged PRs from upstream that haven't been officially merged. Rebased on `main`.
9
-
-**main-vxcontrol**: Default branch containing all current enhancements. Rebased on`main-pull-requests`.
10
-
-**release/v***: Created from `main-vxcontrol` for each release. These branches are stable and never force-pushed.
7
+
-**main**: Fully synchronized with upstream (`tmc/langchaingo`) using fast-forward merges.
8
+
-**main-pull-requests**: Contains useful PRs from upstream that haven't been officially merged. Updated by merging from `main` after synchronization.
9
+
-**main-vxcontrol**: Default branch containing all current enhancements including module name changes and stability improvements. Updated by merging from`main-pull-requests`.
10
+
-**release/v***: Created from `main-vxcontrol` for each release. These branches are stable to use in production, all tags are linked to these branches.
11
11
12
12
For more information about this fork's structure and purpose, please refer to our [README](README.md).
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+7-11Lines changed: 7 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,10 @@ This is a fork of the original [github.com/tmc/langchaingo](https://github.com/t
12
12
13
13
This repository follows a specific branching strategy:
14
14
15
-
-**main**: Fully synchronized with upstream (`tmc/langchaingo`). Never force-pushed.
16
-
-**main-pull-requests**: Contains merged PRs from upstream that haven't been officially merged. Rebased on `main` after synchronization (commit hashes will change).
17
-
-**main-vxcontrol**: Default branch containing all current enhancements. Rebased on `main-pull-requests` (commit hashes will change).
18
-
-**release/v***: Created from `main-vxcontrol` for each release. These branches are stable and never force-pushed.
15
+
-**main**: Fully synchronized with upstream (`tmc/langchaingo`) using fast-forward merges.
16
+
-**main-pull-requests**: Contains useful PRs from upstream that haven't been officially merged. Updated by merging from `main` after synchronization.
17
+
-**main-vxcontrol**: Default branch containing all current enhancements including module name changes and stability improvements. Updated by merging from `main-pull-requests`.
18
+
-**release/v***: Created from `main-vxcontrol` for each release. These branches are stable to use in production, all tags are linked to these branches.
19
19
20
20
Release tags follow the format `v0.1.13-update.1`, where:
21
21
-`v0.1.13` corresponds to the latest upstream release version
@@ -182,7 +182,7 @@ Click **Make a contribution** at the bottom of any docs page to make small chang
182
182
183
183
3. Create a working branch from the `main-vxcontrol` branch and start with your changes!
184
184
185
-
**Important**: Note that the `main-vxcontrol` branch undergoes rebasing as we sync with upstream, so its commit hashes will change over time. Always create Pull Requests based on the current state of the `main-vxcontrol` branch.
185
+
**Important**: Always create Pull Requests based on the current state of the `main-vxcontrol` branch.
186
186
187
187
##### Recent Updates and Dependencies
188
188
@@ -498,14 +498,10 @@ Commit the changes once you are happy with them. Don't forget to self-review to
498
498
#### Pull Request
499
499
500
500
When you're finished with the changes, create a pull request, also known as a PR.
501
-
<<<<<<< HEAD
501
+
- Base your PR against the `main-vxcontrol` branch, not the `main` branch.
502
502
- Name your Pull Request title clearly, concisely, and prefixed with the name of primarily affected package you changed according to [Go Contribute Guideline](https://go.dev/doc/contribute#commit_messages). (such as `memory: add interfaces` or `util: add helpers`)
503
503
- Run all linters and ensure tests pass: `make lint && make test`
504
504
- If you added new HTTP-based functionality, include httprr recordings
505
-
=======
506
-
- Base your PR against the `main-vxcontrol` branch, not the `main` branch.
507
-
- Name your Pull Request title clearly, concisely, and prefixed with the name of primarily affected package you changed according to [Go Contribute Guideline](https://go.dev/doc/contribute#commit_messages). (such as `memory: added interfaces` or `util: added helpers`)
508
-
>>>>>>> d174a61d (docs: update CODE_OF_CONDUCT and CONTRIBUTING with fork information and branching strategy)
509
505
-**We strive to conceptually align with the Python and TypeScript versions of Langchain. Please link/reference the associated concepts in those codebases when introducing a new concept.**
510
506
- Fill the "Ready for review" template so that we can review your PR. This template helps reviewers understand your changes as well as the purpose of your pull request.
511
507
- Don't forget to [link PR to issue](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue) if you are solving one.
@@ -519,6 +515,6 @@ Once you submit your PR, a team member will review your proposal. We may ask que
519
515
520
516
Congratulations :tada::tada: The langchaingo team thanks you :sparkles:.
521
517
522
-
Once your PR is merged, your contributions will be included in the next release when enough changes have accumulated. Your changes will be included in the next stable release with fixed commit hashes.
518
+
Once your PR is merged, your contributions will be included in the next release when enough changes have accumulated.
Copy file name to clipboardExpand all lines: README.md
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,10 +32,10 @@ This repository follows a specific branching strategy to maintain both upstream
32
32
33
33
### Branch Management
34
34
35
-
- **main**: Fully synchronized with upstream (`tmc/langchaingo`). Never force-pushed.
36
-
- **main-pull-requests**: Contains merged PRs from upstream that haven't been officially merged. Rebased on `main` after synchronization (commit hashes will change).
37
-
- **main-vxcontrol**: Default branch containing all current enhancements. Rebased on `main-pull-requests` (commit hashes will change).
38
-
- **release/v***: Created from `main-vxcontrol` for each release. These branches are stable and never force-pushed.
35
+
- **main**: Fully synchronized with upstream (`tmc/langchaingo`) using fast-forward merges.
36
+
- **main-pull-requests**: Contains useful PRs from upstream that haven't been officially merged. Updated by merging from `main` after synchronization.
37
+
- **main-vxcontrol**: Default branch containing all current enhancements including module name changes and stability improvements. Updated by merging from `main-pull-requests`.
38
+
- **release/v***: Created from `main-vxcontrol` for each release. These branches are stable to use in production, all tags are linked to these branches.
39
39
40
40
### Versioning
41
41
@@ -47,7 +47,7 @@ Each new release cumulatively includes all changes from previous releases on top
47
47
48
48
### Dependency Management
49
49
50
-
**Important**: When using this fork in your projects, always reference **release tags** rather than commit hashes. This ensures proper dependency resolution since branches like `main-vxcontrol` undergo rebasing and their commit hashes change over time.
50
+
**Important**: When using this fork in your projects, always reference **release tags** for stable and predictable dependencies.
51
51
52
52
```
53
53
go get github.com/vxcontrol/langchaingo@v0.1.13-update.1
@@ -57,19 +57,19 @@ go get github.com/vxcontrol/langchaingo@v0.1.13-update.1
57
57
58
58
```
59
59
main A---B---C---D---E---F (synced with upstream)
60
-
\
61
-
main-pull-requests \---G---H---I (rebased on main, PRs from upstream)
62
-
\
63
-
main-vxcontrol \---J---K---L(default branch, rebased on main-pull-requests)
64
-
\
65
-
release/vM.M.P-update.N M (tagged stable release)
60
+
\ \
61
+
main-pull-requests G---H---I---J(merged from main, PRs from upstream)
62
+
\ \
63
+
main-vxcontrol K---L---M (default branch, merged from main-pull-requests)
64
+
\
65
+
release/vM.M.P-update.N N (tagged stable release)
66
66
```
67
67
68
68
### For Contributors
69
69
70
-
If you want to contribute to this fork, please create Pull Requests based on the current state of the `main-vxcontrol` branch. Even though commit hashes in this branch may change due to rebasing, your contributions will be included in the next release when enough changes have accumulated.
70
+
If you want to contribute to this fork, please create Pull Requests based on the current state of the `main-vxcontrol` branch. Your contributions will be included in the next release when enough changes have accumulated.
71
71
72
-
When creating a PR, please ensure your changes are well-tested and include appropriate documentation. Once merged, your contributions will be included in the next stable release with fixed commit hashes.
72
+
When creating a PR, please ensure your changes are well-tested and include appropriate documentation. Once merged, your contributions will be included in the next stable release.
0 commit comments