Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Pulling all matching packages from a snapshot #70
When performing an aptly snapshot pull, users might list dependency
The newly implemented all-matches flag allows users to pull all the
The all-matches flag defaults to false and only produces the described
For example, I created a source_snap snapshot from a sensu mirror:
The current behaviour of aptly snapshot pull is shown below.
The proposed all-matches flag behaviour is shown below.
When the dependency listed is:
under the proposed changes aptly returns all the versions between 0.11 and 0.12 (effectively 0.11.*):
@simonaquino, thanks for your contribution!
I'm working right now on "queries", searching, filtering (following reprepro query language).. I like
When query stuff is finished, we can do
Once again, thanks a lot for your help!
Hi @smira , no problem at all, thanks for your help! It's always fun to develop new features for Aptly.
You're right, pulling many packages using the equal operation is not a great idea. I'd be very happy to look into how to pull packages using more than one condition once you're done with your queries.
I would think that, at the moment, if you run
Anyway, if you could merge the rest of my pull request it would be great! :)