Story #2102
closed
Easier way to configure Crane to serve both V1 and V2
Description
In order to configure Crane to serve both V1 and V2 content, one has to make a directory containing symlinks to both the 'v1' and 'v2' directories Pulp publishes to. Older versions of Crane did not follow the symlinks when watching for changes, so Pulp published directories had to be moved around as well.
It would be nice if Crane could serve both V1 and V2 without needing specific configuration.
- Sprint Candidate changed from No to Yes
- Tags 2.11 added
- Blocked by Story #2099: As a user, I can sync v2 schema manifests added
I think I understand what you're asking for, but please chime in if I'm misinterpreting your request.
I think if you want crane to serve both v1 and v2 content direct from pulp, you can just make these two symlinks:
ln -s /var/lib/pulp/published/docker/v1/web /var/lib/crane/metadata/v1
ln -s /var/lib/pulp/published/docker/v2/web /var/lib/crane/metadata/v2
Then it will serve all of your published repos via v1 and v2.
Especially considering that v1 content is nearly extinct at this point, I'm not sure it's worth trying to do something to make that even easier. What do you think?
- Sprint Candidate changed from Yes to No
- Status changed from NEW to CLOSED - WONTFIX
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.
Also available in: Atom
PDF