Use aptly repo include
Opened this issue · 1 comments
freeyoung commented
https://www.aptly.info/doc/aptly/repo/include/
This can be used to replace aptly publish repo ...
.
freeyoung commented
apt repo include
could detect distribution from .changes
file, so the script dput2aptly
can be replaced with apt repo include ... && apt publish update ...
.
Example of .dput.cf
:
[dest]
fqdn = deb.yourserver.tld
method = rsync
login = username
incoming = /home/username/.aptly/incoming
pre_upload_command = ssh %(login)s@%(fqdn)s mkdir -p %(incoming)s
post_upload_command = ssh %(login)s@%(fqdn)s "aptly repo include %(incoming)s && aptly publish update %(dest)s"
Then your dput
command could be:
dput dest:trusty package.changes