Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread hasufell
On 10/30/2015 10:16 PM, Anthony G. Basile wrote: > On 10/30/15 3:35 PM, hasufell wrote: >> On 10/30/2015 06:55 PM, Michał Górny wrote: >>> We have no way of saying 'I prefer polarssl, then gnutls, then >>> libressl, and never openssl'. >> I don't think this is something that can be reasonably

[gentoo-portage-dev] [PATCH v2] runtests: create a global tempdir to hold subtest files

2015-10-30 Thread Mike Frysinger
A lot of unittests currently leak content in /tmp when they run. Rather than explicitly track down every failing test (which we can do regardless of this), have the runtest runner create a global tempdir and use that as a base for children tests. Then when the runtest script finishes, it takes

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread Michał Górny
On Fri, 30 Oct 2015 23:40:28 +0100 hasufell wrote: > On 10/30/2015 10:16 PM, Anthony G. Basile wrote: > > On 10/30/15 3:35 PM, hasufell wrote: > >> On 10/30/2015 06:55 PM, Michał Górny wrote: > >>> We have no way of saying 'I prefer polarssl, then gnutls, then > >>>

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread hasufell
On 10/30/2015 11:56 PM, Michał Górny wrote: > On Fri, 30 Oct 2015 23:40:28 +0100 > hasufell wrote: > >> On 10/30/2015 10:16 PM, Anthony G. Basile wrote: >>> On 10/30/15 3:35 PM, hasufell wrote: On 10/30/2015 06:55 PM, Michał Górny wrote: > We have no way of

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread Anthony G. Basile
On 10/30/15 3:35 PM, hasufell wrote: On 10/30/2015 06:55 PM, Michał Górny wrote: We have no way of saying 'I prefer polarssl, then gnutls, then libressl, and never openssl'. I don't think this is something that can be reasonably supported and it sounds awfully automagic. And I don't see how

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread Luis Ressel
On Fri, 30 Oct 2015 23:40:28 +0100 hasufell wrote: > On 10/30/2015 10:16 PM, Anthony G. Basile wrote: > > On 10/30/15 3:35 PM, hasufell wrote: > >> On 10/30/2015 06:55 PM, Michał Górny wrote: > >>> We have no way of saying 'I prefer polarssl, then gnutls, then > >>>

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread Michał Górny
On Fri, 30 Oct 2015 18:25:14 -0400 Rich Freeman wrote: > On Fri, Oct 30, 2015 at 5:16 PM, Anthony G. Basile > wrote: > > On 10/30/15 3:35 PM, hasufell wrote: > >> > >> On 10/30/2015 06:55 PM, Michał Górny wrote: > >>> > >>> We have no way of saying 'I

Re: [gentoo-portage-dev] [PATCH 2/2] _argparse: punt the module

2015-10-30 Thread Alexander Berntsen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On 30/10/15 06:24, Zac Medico wrote: > Both patches look good. Yeah, this is great stuff. Thanks Mike! - -- Alexander berna...@gentoo.org https://secure.plaimi.net/~alexander -BEGIN PGP SIGNATURE- Version: GnuPG v2

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread hasufell
On 10/30/2015 06:55 PM, Michał Górny wrote: > > We have no way of saying 'I prefer polarssl, then gnutls, then > libressl, and never openssl'. I don't think this is something that can be reasonably supported and it sounds awfully automagic. And I don't see how this is possible right now, so I'm

[gentoo-dev] Re: [gentoo-commits] repo/gentoo:master commit in: eclass/

2015-10-30 Thread Michał Górny
On Fri, 30 Oct 2015 12:03:59 + (UTC) "Justin Lecher" wrote: > commit: df8e399c9bac2dc30d7cf69c2462a81729a3ae69 > Author: Justin Lecher gentoo org> > AuthorDate: Fri Oct 30 10:18:05 2015 + > Commit: Justin Lecher gentoo org> > CommitDate: Fri Oct 30

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread Rich Freeman
On Fri, Oct 30, 2015 at 5:16 PM, Anthony G. Basile wrote: > On 10/30/15 3:35 PM, hasufell wrote: >> >> On 10/30/2015 06:55 PM, Michał Górny wrote: >>> >>> We have no way of saying 'I prefer polarssl, then gnutls, then >>> libressl, and never openssl'. >> >> I don't think this

Re: [gentoo-portage-dev] [PATCH] runtests: create a global tempdir to hold subtest files

2015-10-30 Thread Zac Medico
On 10/30/2015 11:52 AM, Zac Medico wrote: > On 10/30/2015 11:00 AM, Mike Frysinger wrote: > >> +try: >> +# Set up a single tempdir for all the tests to use. >> +# This way we know the tests won't leak things on us. >> +tempdir =

Re: [gentoo-portage-dev] [PATCH] runtests: create a global tempdir to hold subtest files

2015-10-30 Thread Zac Medico
On 10/30/2015 11:00 AM, Mike Frysinger wrote: > + try: > + # Set up a single tempdir for all the tests to use. > + # This way we know the tests won't leak things on us. > + tempdir = tempfile.mkdtemp(prefix='portage.runtests.') [snip] > + finally: > +

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread Michał Górny
On Tue, 27 Oct 2015 22:46:35 -0400 Rich Freeman wrote: > On Tue, Oct 27, 2015 at 10:06 PM, hasufell wrote: > > > > B) 1 feature flag, 3 strict provider flags > > * ssl: enable any sort of SSL/TLS support > > * gnutls: only to enable gnutls provided ssl

[gentoo-portage-dev] [PATCH] runtests: create a global tempdir to hold subtest files

2015-10-30 Thread Mike Frysinger
A lot of unittests currently leak content in /tmp when they run. Rather than explicitly track down every failing test (which we can do regardless of this), have the runtest runner create a global tempdir and use that as a base for children tests. Then when the runtest script finishes, it takes

Re: [gentoo-dev] ssl vs openssl vs libressl vs gnutls USE flag foo

2015-10-30 Thread Rich Freeman
On Fri, Oct 30, 2015 at 1:55 PM, Michał Górny wrote: >> >> The pain is for a short time. Then we have to live with this for a >> long time. USE flags should have one meaning. The fact that this >> isn't the case right now is already a bug. We don't need to >> perpetuate it.