Story #2763
closedpulp_deb: repo sync fails: the feed is expected to include dists/stable/
100%
Description
As a user, I should be able to specify a URL to a feed, that looks somewhat similar to an entry in the apt sources.list file.
There:
deb http://security.ubuntu.com/ubuntu trusty-security main restricted
This instructs apt to fetch deb packages from the trusty-security dist, from the main and restricted components.
I would expect the feed URL to be:
http://security.ubuntu.com/ubuntu
For now, the plugin is hardcoded to handle just stable as a dist, because that's the only thing it can produce. Ticket #2765 will address that. At that point, we will need the feed configuration to include lists of dists and components under each dist, and presumably a group-like unit type that can record the dist/component for each unit that got synced, so we can publish it meaningfully.
Currently, in order to make the sync work, the URL is expected to be: http://security.ubuntu.com/ubuntu/dists/stable
feed_url looks closer to sources.list
closes #2763