-
-
Notifications
You must be signed in to change notification settings - Fork 822
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xrepo优化 #6176
Comments
Title: xrepo optimization In what scenario do you need this function?Build your own xrepo repository and need to verify the package description. Sometimes, although the local test project has been passed, it may not work if you change a computer. At this time, the package description may be modified back and forth, but the package version number will not be updated. According to the current method, you can only delete the ###Describe possible solutions Add the parameter Add the parameters Describe what you consider to be a candidateNo response Other informationNo response |
xrepo remove --all package
xrepo update-repo
xrepo add-repo [repo-name] [repo-url] [branch] |
1跟3确实可以,2应该还没有只更新一个仓库的吧,有时候想暂时不更新其他仓库 |
你在什么场景下需要该功能?
自建xrepo仓库,并且需要验证包描述,有时候尽管已经在本地测试工程测试通过了,但换一个电脑可能又不行了,这时候可能会来回修改包描述,但不会更新包的版本号
那按目前现有的方法,只能是去
~/.xmake/repositories
删掉,然后再把cache
和packages
里对应的包删掉,重新再下一遍,虽然仓库是本地的,下载不会很慢,但是也稍显麻烦,感觉如果xrepo本身可以更新单个仓库单个包的话会更好描述可能的解决方案
增加完全删除一个包的参数
xrepo remove --cache --installed <pkg name>
增加更新一个xrepo仓库的参数
xrepo update-repo <repo name>
和切换分支xrepo update-repo --branch=<branch> <repo name>
描述你认为的候选方案
No response
其他信息
No response
The text was updated successfully, but these errors were encountered: