adfinis / pyaptly

Automates the creation and managment of aptly mirrors and snapshots based on yml input files.
GNU Affero General Public License v3.0
16 stars 12 forks source link

Repository with weird structure can't be used by pyaptly #119

Open Melkor333 opened 1 month ago

Melkor333 commented 1 month ago

It's been reported to me that the following Repo appears to not be usable by pyaptly:

http://download.opensuse.org/repositories/home:/alvistack/xUbuntu_20.04/

Gianni154 commented 1 month ago

This repo is affected too: https://pkg.cloudflareclient.com/

Melkor333 commented 3 weeks ago

This repo is affected too: https://pkg.cloudflareclient.com/

The issue is that its Release file is wrong and thus aptly will complain that either the files are in the wrong path (when e.g. the Component is bookworm/main as in the Release file) or the mirror has to be created with --force (when e.g. the Component main is used, which does not exist according to Release). The mirror can be created manually to fix this issue

Melkor333 commented 3 weeks ago

It's been reported to me that the following Repo appears to not be usable by pyaptly:

http://download.opensuse.org/repositories/home:/alvistack/xUbuntu_20.04/

It's a problem in the repo, it needs a very specific URL to work: https://github.com/aptly-dev/aptly/issues/935

Melkor333 commented 3 weeks ago

NVM it works with aptly. It' just an issue with pyaptly (unverified, though)