[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] Enable/Disable Repository Publishing



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/18/2010 04:36 PM, Jason L Connor wrote:
> On Mon, 2010-10-18 at 15:19 -0400, John Matthews wrote:
>> Please take a look at the below Wiki for thoughts on implementing 
>> "Repository Publishing".
>> https://fedorahosted.org/pulp/wiki/RepositoryPublishing
>>
>> The intent of this feature is to enable/disable publishing of a 
>> repository through Apache.  If a repo is 'published', then it is 
>> available through Apache.  If it is not published it won't be available 
>> through Apache.
>>
>> I'd like some input for what the team thinks would be good for actually 
>> implementing the logic for enable/disable.  We came up with two thoughts:
>>   1) Add logic to the PythonAuthenHandler to lookup the publish flag 
>> from mongo for each request
> 
> Just a comment here: I don't think that hitting mongo is any more
> expensive that setting up a tcp connection, so I don't think performance
> is really an issue.
> 
> That said I still like the 2nd approach better.

Even if it's not more painful than setting up a TCP connection, with the
magnitude of packages and expected users, I don't think that's a
per-request cost we want to bite off.

I'm also +1 to #2.

>>   2) Manipulate symbolic links under the directory serving content
>>
> 
> I like this approach better in that it keeps the required logic to a
> minimum and uses mechanism provided for us by the platform.
> 
> So, in conclusion, +1 to #2 :)
> 
> 
> 
> 
> _______________________________________________
> Pulp-list mailing list
> Pulp-list redhat com
> https://www.redhat.com/mailman/listinfo/pulp-list


- -- 
Jason Dobies
RHCE# 805008743336126
Freenode: jdob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMvLBcAAoJEOMmcTqOSQHCIZwH/0YJySYI8w/FzlZbRRSmMVdZ
qJB2/t7EMkhCRJSKkf5mxCI6q7S+AsxbXGOOPhnwvtYUkZMfUo28qq/WFf0s1z8F
x75J7LWlT5FFlqM3KrpJzNvuhUtVPiXpltVK9FxzzHTAGQO/lktnqvfFh20MK56H
HcxoPxOBBNuFUbNwQo0r31Pnq0iX+n1AuepKp708c3F5EmOnGF0f+3WfTG6C7euj
5SfqXPvU5qk6LfPwMkaFnwjTl3YTZ1f33Nfc/+z0P1ecKP4paHqCGw0NBPhY2/Ag
FoD33QhppYutrqeL03XvjxZ3ubZdrsADnXG9ub53gRXVqP3+mj3VHF1sbSSa92Q=
=Rd2L
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]