Skip to content
This repository was archived by the owner on Mar 13, 2026. It is now read-only.

added support to create package alias #200#504

Open
boussaffawalid wants to merge 1 commit into
conan-io:developfrom
boussaffawalid:feature/Add_CONAN_ALIAS_flag_which_sets_an_alias_if_all_builds_are_successful_200
Open

added support to create package alias #200#504
boussaffawalid wants to merge 1 commit into
conan-io:developfrom
boussaffawalid:feature/Add_CONAN_ALIAS_flag_which_sets_an_alias_if_all_builds_are_successful_200

Conversation

@boussaffawalid
Copy link
Copy Markdown
Contributor

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 boussaffawalid force-pushed the feature/Add_CONAN_ALIAS_flag_which_sets_an_alias_if_all_builds_are_successful_200 branch from 8833466 to 6b790df Compare June 18, 2020 13:09
@boussaffawalid boussaffawalid force-pushed the feature/Add_CONAN_ALIAS_flag_which_sets_an_alias_if_all_builds_are_successful_200 branch from 6b790df to c318842 Compare June 18, 2020 13:19
@uilianries
Copy link
Copy Markdown
Member

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

@boussaffawalid
Copy link
Copy Markdown
Contributor Author

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 ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants