local koji server - packages repository

Doug Reiland dreiland at gmail.com
Thu Feb 25 15:38:00 UTC 2010


Is there a way to tell where yum (in a mock environment) pulled a package from?
I will feel better when I validate it is getting the packages (that it
can) locally.
I want to make sure my changes really did fix something and not just
make koji unware of local stuff.

Doug

On Thu, Feb 25, 2010 at 10:07 AM, Doug Reiland <dreiland at gmail.com> wrote:
> Well, I am working now.
> I package view and download link was fix with added the kojiweb.conf changes.
>    - I overlooked a "//opt" from Dan's example which prevented the
> download from web page.
>
> The build now works. I am not sure what resolved this, because I think
> until a did a regen-repo it may have been using old values.
>
> KojiPackagesURL (in kojiweb.conf) is http://localhost/packages
>
> pkgurl (in kojid/kojid.conf) is http://localhost/packages
>
> Thanks again for everybody's time.
>
> On Thu, Feb 25, 2010 at 9:23 AM, Doug Reiland <dreiland at gmail.com> wrote:
>> With that change: I go from:
>>
>> Forbidden
>>
>> You don't have permission to access
>> /koji/packages/kernel/2.6.31.5/127.fc12/i386/kernel-headers-2.6.31.5-127.fc12.i386.rpm
>> on this server.
>>
>> to:
>>
>> Not Found
>>
>> The requested URL
>> /packages/kernel/2.6.31.5/127.fc12/i386/kernel-headers-2.6.31.5-127.fc12.i386.rpm
>> was not found on this server.
>>
>> On Thu, Feb 25, 2010 at 9:15 AM, Dan Horák <dan at danny.cz> wrote:
>>> Doug Reiland píše v Čt 25. 02. 2010 v 09:05 -0500:
>>>> Dan,
>>>>
>>>> Do you mind checking the paths you have for packages in:
>>>> /etc/kojid/*.conf
>>>>      pkgurl=xx
>>>> /etc/http.d/conf.d/kojiweb.conf:
>>>>
>>>>       PythonOption KojiPackagesURL http://localhost/koji/packages
>>>
>>> mine is
>>> PythonOption KojiPackagesURL http://koji.danny.cz/packages
>>>
>>>
>>>                Dan
>>>
>>>> On Thu, Feb 25, 2010 at 8:49 AM, Dan Horák <dan at danny.cz> wrote:
>>>> > Doug Reiland píše v Čt 25. 02. 2010 v 08:37 -0500:
>>>> >> I changed the httpd/conf.d/kojiweb.conf to
>>>> >> http://localhost/koji/packages and it didn't help
>>>> >>
>>>> >> If I goto http://koji.fedoraproject.org, and click a package, for
>>>> >> example 389-ds, I get to the package page without even logging into.
>>>> >>
>>>> >> On my site,
>>>> >>
>>>> >> https://localhost/koji/packages/packageinfo?packageID=6
>>>> >>
>>>> >> Forbidden
>>>> >>
>>>> >> You don't have permission to access /koji/packages/packageinfo on this server.
>>>> >> Apache/2.2.14 (Fedora) Server at localhost Port 443
>>>> >
>>>> > I have this section in my kojiweb.conf (I use /opt/koji instead of /mnt/koji)
>>>> >
>>>> > Alias /packages/ "/opt/koji/packages/"
>>>> >
>>>> > <Directory "/opt/koji/packages/">
>>>> >    Options None
>>>> >    AllowOverride None
>>>> >    Order allow,deny
>>>> >    Allow from all
>>>> > </Directory>
>>>> >
>>>> >
>>>> > Dan
>>>> >
>>>> >
>>>> > --
>>>> > buildsys mailing list
>>>> > buildsys at lists.fedoraproject.org
>>>> > https://admin.fedoraproject.org/mailman/listinfo/buildsys
>>>> --
>>>> buildsys mailing list
>>>> buildsys at lists.fedoraproject.org
>>>> https://admin.fedoraproject.org/mailman/listinfo/buildsys
>>>
>>>
>>> --
>>> buildsys mailing list
>>> buildsys at lists.fedoraproject.org
>>> https://admin.fedoraproject.org/mailman/listinfo/buildsys
>>
>


More information about the buildsys mailing list