Repo file generation II. + URL Question

Bohuslav Kabrda bkabrda at redhat.com
Tue May 28 11:15:11 UTC 2013


----- Original Message -----
> Hi,
> 
> On Mon, 27 May 2013 08:07:44 -0400 (EDT)
> Bohuslav Kabrda <bkabrda at redhat.com> wrote:
> 
> > > + at coprs_ns.route('/detail/<username>/<coprname>/<chrootname>.repo',
> > > methods =
> > > ['GET'])
> > 
> > - methods = ['GET'] is default, you don't need to specify that explicitly
> > - If I get it correctly, the .repo filename is only chroot_name? That would
> > mean something like "fedora-18-x86_64.repo"? If so, this would only allow
> > you to have one copr in your yum.repos.d, right?
> > 
> 
> Well, the idea was that you probably won't want to have 2 repos of the
> same name from two different people, but if you do, I can easily
> change it to point to <username>-<coprname>-<chrootname>.repo or the
> like. State your preferences, please, because this is merely a matter
> of specification.
> 

The idea is exactly that you can have 2 repos of the same name for different people :)

<snip other comments>

> Done.
> 
> > Could you please fix these nits before committing?
> 
> I will delay committing until I get a final word on how the (base)URL
> is supposed to look like.
> 

Sure, thanks.
Slavek.

> Regards, TR
> 

-- 
Regards,
Bohuslav "Slavek" Kabrda.


More information about the copr-devel mailing list