[Pulp-list] File Extensions

Jeff Ortel jortel at redhat.com
Wed Jun 23 14:30:42 UTC 2010



On 06/23/2010 09:26 AM, Jason Dobies wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 06/23/2010 10:25 AM, Jeff Ortel wrote:
>> All,
>>
>> Next sprint - I'd like to change the pulp config files extension from
>> '.ini' to '.conf'. I know this is picky but '.ini' files are a Windows
>> thing and '.conf' files are standard in Linux.  I know the content is in
>> (ini) format but so are many, many other Linux config files and they
>> don't have .ini suffixes.
>
> Makes sense.
>
>> Also, while we're here ...
>> Let's replace hard coded logger names with __file__.  This is simpler
>> and handles refactoring automatically.
>>
>> Eg:
>>
>> log = logging.getLogger('pulp.repo_sync')
>>
>> replace with:
>>
>> log = logging.getLogger(__file__)
>
> Will that result in the package name as well? I like that we can shuffle
> pulp output to one file while grinder goes to another. To me the
> important part was that it began with "pulp.".

Yes, it includes the package name.

>
>> _______________________________________________
>> Pulp-list mailing list
>> Pulp-list at 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/
>
> iQEcBAEBAgAGBQJMIhmMAAoJEOMmcTqOSQHCf/IIAINsnlNMyr3H9/wlgjjI8Crw
> 0Ij6ojx92ZoCDNJktUcQ7nsVvGk5XyliCa3lwVC4b64TvJ5mwcBwx1cy/pMaMreA
> x3ZIGbZoo0qkR6KG2fyUo2eFyrx6vVTXzqFf8iOBRir0dJtHGDcUu1MDKhh3Ld3B
> tanRn+saEfzl1FjnYtbhDkYwapsc2FhcmgfYuUSt0d7N1gIuaCeS9MzEkXFFIPkK
> k2i7Aa3ehtTQuPmz15sb12dVxrOvzNi3elz/gN+BmmD8R+B00r/teidzqvHwpPA/
> 8qpm7NKE7fIogP6Dog0mypdaR4e/iSFLA8h+s1DrZTGKkNfz5UoA7Hylgki/K68=
> =ZOTV
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5126 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20100623/a6af3f21/attachment.p7s>


More information about the Pulp-list mailing list