chore: replace submodule with subtree#6082
Conversation
git-subtree-dir: aqua-registry git-subtree-split: 5f39141617673c36936cb2f51a09f183acadb0b5
There was a problem hiding this comment.
Pull Request Overview
This pull request removes the aqua-registry submodule by converting all submodule package definitions into standalone files. The PR addresses the refactoring of the aqua-registry structure to eliminate dependency on Git submodules.
Key Changes:
- Removes aqua-registry submodule dependency
- Converts all package definitions to standalone YAML files
- Maintains complete package registry functionality through direct file inclusion
Reviewed Changes
Copilot reviewed 300 out of 4034 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| Multiple registry.yaml files | Package definition files for various tools including registries for Pluralith CLI, Gex, DevDash, and many other developer tools |
| Multiple pkg.yaml files | Package version specifications corresponding to each tool's registry definition |
| Multiple scaffold.yaml files | Configuration files for package generation and maintenance workflows |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
|
release-plz has some logic that needs to be updated too that updates aqua-registry during the release commit, we should squash all the changes from aqua-registry for the release branch |
|
GitHub cannot list all changed files, unfortunately. |
349a2849b4 chore: update sqldef/sqldef/psqldef v2.0.9 to v2.0.10 (#40371) e0ad00ea84 chore: update sqldef/sqldef/mssqldef v2.0.9 to v2.0.10 (#40370) 93f11756f6 chore: update protocolbuffers/protobuf-go/protoc-gen-go v1.36.7 to v1.36.8 (#40369) cf807b40e2 chore: update yarnpkg/berry @yarnpkg/cli/4.9.2 to @yarnpkg/cli/4.9.3 (#40368) git-subtree-dir: aqua-registry git-subtree-split: 349a2849b456bf4f4da0ad066368664ffdff1b22
|
As you see, the commit |
| man/ | ||
| git clean -df | ||
| git checkout -B release | ||
| git subtree pull --squash --prefix=aqua-registry https://github.com/aquaproj/aqua-registry main |
There was a problem hiding this comment.
I think this needs to be done after the commit but I could be wrong
There was a problem hiding this comment.
Fixed. I think the order doesn't matter It does, uncommitted changes will cause an error.
|
bugbot run |
|
as a follow-up we should remove the logic in the aqua backend that fetches registry information from mise-versions |
|
I'm not sure how many people are using Also, we need to clear the cache ( Shall we remove this option, or should we support multiple registries as aqua? If we remove it, we can simply clone |
it's a good question, but I doubt many people if any are using it. I think what we should have is the ability to have additional aqua registries at some point. Maybe we want to deprecate changing the default? I had a look at the code though and I think we could remove the mise-versions stuff without touching that part of the code, but I could be wrong. If you wanted to work on multiple aqua registries I would be massively in favor, I know a few people have asked for that.
it was for performance since cloning the repo and fetching the latest version is a lot slower than an http request |
The aqua registry is now always baked in, so the fallback is not required. #6082 --------- Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
|
Thanks, I'll work on multiple registries later. I think we can have it as a tool option. |
|
Follow-up for the custom aqua registry discussion in this PR: opened draft PR #10179 to support multiple ordered custom aqua registries: #10179 The implementation keeps the existing single-string This comment was generated by an AI coding assistant. |

ref: #6060 (reply in thread)