Skip to content
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

added support to create package alias #200 #504

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

boussaffawalid
Copy link
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
Member

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

@boussaffawalid
Copy link
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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants