Klugier Messages: 1076 Registered: September 2012 Location: Poland, Kraków
Senior Contributor
Hello,
I would like to ask how do we want to handle selecting specific version of the package from UppHub. In the current implementation you always pull master branch, which might be unstable at the moment. We know all how many times upp trunk version is broken for example somebody forgets to remove DDUMP .
In my first message about the idea of creating source code package manager I mentioned the example of golang package manager. It allows to specific the version of the given package (tag, branch or commit) - moreover if the package depends to other it depends to certain version/versions. This gives stability.
So, for example I have a project call "A" and I should have the possibility to select package "B" from UppHub with certain version on package declaration level (.upp file).
Small digression. Right now the default branch name for newly created GitHub repos is main - not master, so we will need to handle it somehow.
I would like to ask how do we want to handle selecting specific version of the package from UppHub. In the current implementation you always pull master branch, which might be unstable at the moment.
You can specify tag or branch (after space).
Quote:
That said, maybe it is not a bad practice to have master stable and develop always in the branch....
Small digression. Right now the default branch name for newly created GitHub repos is main - not master, so we will need to handle it somehow.
Not really, if you do not specify it when cloning, the default one is used...