Hi David,
We use prefixes based on the mirrors or repos we're publishing.
For example, we publish snapshots from Ubuntu mirrors under the ubuntu prefix and we would have the distribution as jammy in your example.
For the microsoft mirror we'd probably publish with a prefix of microsoft or microsoft-defender
We don't use ./ in front of our prefixes and have rootDir defined in our aptly.conf file
Just how we've been doing it so we don't publish unrelated things to the same prefixes.
It's natural having multiple distributions under a prefix to support multiple Ubuntu releases for example (e.g., xenial, bionic, focal, jammy.)
Todd
--
You received this message because you are subscribed to the Google Groups "aptly-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to aptly-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/aptly-discuss/4cedf50c-c110-4b03-ac7f-293c200e3c9cn%40googlegroups.com.
I just mean that we'd publish your ubuntu snapshots with the ubuntu prefix:
aptly publish snapshot -distribution jammy jammy-main ubuntu
(we also always timestamp snapshots as we don't want to remove snapshots that were used to release software so we keep the referenced packages around.)
Actually, for multi-component publishing we do it as described at
https://www.aptly.info/doc/feature/multi-component/
And then we'd publish microsoft defender with a different prefix:
aptly publish snapshot -distribution jammy microsoft-defender microsoft
Hopefully that's clearer.
Todd
To view this discussion on the web visit https://groups.google.com/d/msgid/aptly-discuss/e1014c2a-594c-486d-be0b-abcb11b82b9en%40googlegroups.com.