conan-package-tools icon indicating copy to clipboard operation
conan-package-tools copied to clipboard

added support to create package alias #200

Open boussaffawalid opened this issue 4 years ago • 2 comments

Changelog: (Feature | Fix | Bugfix): Describe here your pull request

  • [ ] Refer to the issue that supports this Pull Request.
  • [ ] If the issue has missing info, explain the purpose/use case/pain/need that covers this Pull Request.
  • [ ] I've read the Contributing guide.
  • [ ] I've followed the PEP8 style guides for Python code.

boussaffawalid avatar Jun 18 '20 10:06 boussaffawalid

@boussaffawalid Could you explain why do you need this feature?

uilianries avatar Jun 18 '20 19:06 uilianries

I think it is very handy to provide an alias to the latest built package. In our ci we deduct the conan package version from the git commit sha, which create a new package version for every commit.

For example:

  • commit c1 will create a package pkg_name/1.0.0-c1@me/stable
  • commit c2 will create a package pkg_name/1.0.0-c2@me/stable .....

The idea is to have an alias package pkg_name/latest@me/stable that always point to the latest package.

What do you think ?

boussaffawalid avatar Jun 18 '20 20:06 boussaffawalid