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

"snapshot merge" should have "-no-remove" like "snapshot pull" #57

Closed
mattgleeson opened this Issue May 16, 2014 · 2 comments

Comments

Projects
None yet
2 participants
@mattgleeson
Copy link

mattgleeson commented May 16, 2014

I'm trying to merge two snapshots with different versions of the same packages (like maybe a "stable" and "testing" repo). I'd like to keep the older versions available in the new snapshot, maybe in case I need to roll back to the older version in production.

It looks like you can do this with "snapshot pull" via the -no-remove flag, but merge will only keep one version of any [name,architecture] pair. I see the -latest flag but that just decides which version will be kept, it won't ever keep both.

Am I just doing things totally wrong? I'd rather not have to pull each package from one snapshot into the other but I guess I could script that up.

@smira smira added the enhancement label May 17, 2014

@smira smira added this to the v0.6 milestone May 17, 2014

@smira

This comment has been minimized.

Copy link
Member

smira commented May 17, 2014

Agreed, good enhancement!

smira added a commit that referenced this issue May 29, 2014

@smira

This comment has been minimized.

Copy link
Member

smira commented May 29, 2014

Done in master.

@smira smira closed this May 29, 2014

smira added a commit that referenced this issue May 29, 2014

smira added a commit to aptly-dev/aptly-dev.github.io that referenced this issue May 29, 2014

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