aptly
aptly copied to clipboard
Feature request: Tags
I would like to be able to add/remove tags and be able to search by tag on anything that can be named (mirrors, snapshots, repos, ...)
I currently have a script that nightly tries to mirror a repo and creates a snapshot. If the snapshot is different than the last snapshot it creates another snapshot named "latest". If nothing has changed the new snapshot is deleted. To do the "latest" snapshot I currently create a second snapshot. It would be nice if I could tag a snapshot "latest" instead of creating a second snapshot.
aptly snapshot tag -add foobar <snapshot name>
aptly snapshot tag -delete foobar <snapshot name>
aptly snapshot tag -search foobar
The search function would return the name of all snapshots that match. If you really wanted something fancy you could have a simple expression language for searching tags.