aptly
aptly copied to clipboard
Support for '/' in distribution names
Requires special component naming, etc. To be investigated.
Requested by @erickeller in #110.
is there a work-around for this? we're trying to mirror the debian security repo. my commands so far:
aptly mirror create debian-security http://mirror.steadfast.net/debian-security wheezy/updates main contrib non-free
aptly mirror update debian-security
aptly snapshot create debian-security-daily from mirror debian-security
aptly publish snapshot debian-security-daily security
but an updated client will complain with:
W: Conflicting distribution: http://reposerver wheezy/updates Release (expected wheezy but got wheezy/updates)
Yeah, you just create a mirror with wheezy-updates or wheezy-security instead of using slash in the distribution name.
@jschmidt3786 while publishing just override distribution name:
aptly publish snapshot -distribution="wheezy-security" ....
aptly 0.8 should automatically replace / with - in distribution name.
yeah exactly, / is replaced with - so we cannot mimicwhat Debian is doing for the security updates, where the distribution is set to 'wheezy/updates' but with aptly we ended up with "wheezy-security", but what we really want is 'wheezy/updates'
please allow / in distribution name
Hey, I think same issues concerns the prefix values. While trying to publish via api I'm hitting 404, but can publish via cli, though... Is it possible to add support for /api for the :prefix names containing "/" too?
:+1: on this one. allowing "/" in names via api would be great.
Looking forward to testing this one as it is the last thing I need to have working for aptly to be the perfect tool for my needs :-)
This relates to #561.
This would be nice to have.
Wow, I'd forgotten about this tool.... Will this feature get into v1.3.0?
Would be great if it did.
Could also use this feature
Following up on this thread, what's the reason to forbid slash / characters in the publish distribution name? I.e. I'm trying to understand this line of code: https://github.com/aptly-dev/aptly/blob/v1.4.0/deb/publish.go#L265