Replies: 1 comment 2 replies
-
We have a tool, gsm, for managing the different goki repositories. We use go workspaces during local development; you can set up a full goki workspace with the following commands: go install goki.dev/gsm@latest
mkdir goki
cd goki
gsm clone
gsm work Then, you can run |
Beta Was this translation helpful? Give feedback.
-
As an aside, a long time ago, I found a large repository that uses the workspace mode to manage Go modules. I read all your go repositories, nearly 70 of them, a few days ago I found that several of them have interface and struct object renaming, the change in the number of method return values causes gogi example compilation errors and gide compilation errors, currently I am going to come to a pr, however, there is also a repository after the change is completed, and this module has no fork, your repositories are too many, dependency updates and submit PRs are a bit troublesome, too many repositories are not easy to manage. If possible, create a large repository with a go workspace, and then merge all the repositories into the workspace, of course this will require changing a lot of module paths to make the modules clone correctly, I wondered if this would affect the release chaos of the respective modules, but it is possible to create a release collection. In this way, as long as one of the repositories of all repositories related to svg-related GRID, GI, KI, GOKI, etc. refreshes the code, we only need to right-click in the root directory of each repository to run go run test to check all unit tests, stress tests, fuzz tests, and a series of tests to reduce the maintenance work after refactoring the code of each repository, and wait until the main modules such as gi are stable and ready to be released, and then refresh all the module versions under the workspace at the same time.
Beta Was this translation helpful? Give feedback.
All reactions