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

Re: Implementation of a wild card usage for the uniqueext option



Am Dienstag, den 10.07.2007, 17:09 +0200 schrieb Jochen Schmitt:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello,
> 
> I hope, I'm using the right mailing list. If not, I will be happy for
> any hint to discover the right one for this
> topic.
> 
> During the work on the ppc machine, on which I have access via a ssh
> connection, I have learned knowing about
> the benefits of the --uniqueext option of mock.
> 
> - From my point of view this option has the disadvantage, that you have
> to educate the users to used it.
> So I have try to develop a patch, which allow you to get the expected
> result without the need of
> specified a special option on the command line.
> 
> My idea is that if you set uniqueext to '*' (Star), the userid of the
> logon user should be append on the
> root directory. This behavior allows you, that you can add a
> "config_opts['unique-ext']='*'" line in the
> config files of mock.
> 
> Best Regards:
> 
> Jochen Schmitt
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
> 
> iD8DBQFGk6EiT2AHK6txfgwRAkqNAKD/HzWzjmifdG+9GdN0yxvkLezv9ACcCKlP
> qbB3t+eSPErwnQ8X1VxGRDU=
> =yjw4
> -----END PGP SIGNATURE-----
> 
> -- 
> fedora-devel-list mailing list
> fedora-devel-list redhat com
> https://www.redhat.com/mailman/listinfo/fedora-devel-list

Surely the normal way command line options like this work is:

1. avoid wildcards and special characters
2. for hacks like this ("*" is a valid value), have a new option for
that, e.g.
config_opts['auto-unique-ext']=1


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