aptly-dev / aptly

aptly - Debian repository management tool
https://www.aptly.info/
MIT License
2.55k stars 369 forks source link

Support publish to FTP endpoint #1189

Open tenzap opened 1 year ago

tenzap commented 1 year ago

Would you add support for publishing to FTP endpoints?

For now I would have to create the snapshot with aptly with a filesystem endpoint, and then publish to FTP separately.

r4co0n commented 1 year ago

You should be able to mount your FTP share and use it like you would a normal filesystem target. If I'm not mistaken, aptly will detect not being able to hardlink to your local pool and maintain a publication pool with "real" packages - I am not completely certain this will work, but please try it out.

If this does not help, it seems fixing this would be the better approach, as it would enable publishing to arbitrary mountpoints.

However, if you have any other way of connecting to the machine you want to publish your repositories to, or if you can run aptly right there, this would be a better solution. You would do yourself a favor if you stopped using FTP, relevant packages are even being phased out of general support at some places, e.g. Debian's curlftps package (Notice that there is no package for testing and bookworm, the recently released new stable codename.)