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

Allow creation of a snapshot of an empty repository #288

Closed
vincentbernat opened this issue Aug 26, 2015 · 4 comments
Closed

Allow creation of a snapshot of an empty repository #288

vincentbernat opened this issue Aug 26, 2015 · 4 comments

Comments

@vincentbernat
Copy link
Contributor

Hi!

When trying to snapshot an empty repository, we get:

ERROR: unable to create snapshot: local repo doesn't have packages

This is easy to circumvent by creating an empty snapshot instead but it would be more convenient if aptly just created an empty snapshot in this case.

@fpytloun
Copy link

Hello,

I agree, there should be an option to allow creation of empty snapshots.
So one can create multi-component publish eg. with aptly-publisher even when there are no packages in some of the components.

@smira
Copy link
Contributor

smira commented Aug 26, 2015

+1, this should be easy to fix, this is just check in the code which should be removed

@smira smira added the feature label Aug 26, 2015
@smira smira added this to the v0.9.6 milestone Aug 26, 2015
@smira smira modified the milestones: v0.9.6, v0.9.7 Jan 24, 2016
@smira smira modified the milestones: v0.9.7, v0.9.8 Apr 18, 2016
@smira smira removed this from the v0.9.8 milestone Mar 27, 2017
@smira smira added 1.1.0 and removed 1.1.0-Maybe labels Apr 25, 2017
smira added a commit that referenced this issue Apr 25, 2017
@fpytloun
Copy link

Cool, thank you for fixing this :-)

@smira
Copy link
Contributor

smira commented Apr 26, 2017

Should be available now in aptly_1.0.0+30+ga245b72 nightly

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

No branches or pull requests

3 participants