[Pulp-list] Determining a repo from the request URL

John Matthews jmatthew at redhat.com
Wed Mar 23 12:43:35 UTC 2011



----- Original Message -----
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> > Jay,
> >
> > This problem is somewhat related to another issue we saw with
> > relative paths and possible name collisions. I spoke with dgao about
> > this and he recommended a simple approach which I think will help my
> > issue as well as yours.
> >
> > What if we prepend the repo-id to the relative_path, the URL
> > structure becomes:
> > https://<host>/<pulp-repo-httpd-location>/<repo-id>/<repo-relative-path>/<requested-file-path>
> 
> I like that. A lot. That also avoids the possibility that a user would
> nest repos. Nice call dgao.
> 
> Let's give it a bit for others to comment, so maybe at the scrum we
> can
> talk about getting someone to pull the trigger on that change.
> 

I'd be happy to make the change, will wait till after Scrum to let others provide feedback.




More information about the Pulp-list mailing list