Re: [gentoo-dev] RFC: pkg_needrebuild() API for smart-live-rebuild

2015-08-07 Thread Michał Górny
Dnia 2015-08-07, o godz. 21:42:59 Ulrich Mueller napisał(a): > > On Fri, 7 Aug 2015, Michał Górny wrote: > > > The function can return one of the following return codes: > > > - 0 -- indicating that the package should be rebuilt from ebuild > > (changes occured), > > > - 1 -- indicating

Re: [gentoo-dev] RFC: pkg_needrebuild() API for smart-live-rebuild

2015-08-07 Thread Michał Górny
Dnia 2015-08-07, o godz. 18:07:05 Ciaran McCreesh napisał(a): > On Fri, 7 Aug 2015 19:01:59 +0200 > Michał Górny wrote: > > The function is run in environment containing all variables exported > > by the previous source build. It must not access or assume existence > > of $WORKDIR, $D... > > So

Re: [gentoo-dev] Re: rfc: improve file system mounting and unmounting in OpenRC

2015-08-07 Thread William Hubbs
On Fri, Aug 07, 2015 at 02:50:56PM -0500, William Hubbs wrote: > On Fri, Aug 07, 2015 at 03:30:41PM -0400, Ian Stakenvicius wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA256 > > > > On 07/08/15 03:18 PM, William Hubbs wrote: > > > On Fri, Aug 07, 2015 at 01:39:25PM -0400, Ian Stakenvi

[gentoo-dev] golang-build.eclass: add EGO_BUILD_FLAGS variable

2015-08-07 Thread William Hubbs
All, this doesn't affect any usage in the tree yet, but it will soon, so I want to go ahead and add the support. EGO_BUILD_FLAGS is a variable that allows you to pass build flags to the go compiler; specifically it should be used for the flags documented in "go help build" as common to the build

Re: [gentoo-dev] Re: rfc: improve file system mounting and unmounting in OpenRC

2015-08-07 Thread William Hubbs
On Fri, Aug 07, 2015 at 03:30:41PM -0400, Ian Stakenvicius wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 07/08/15 03:18 PM, William Hubbs wrote: > > On Fri, Aug 07, 2015 at 01:39:25PM -0400, Ian Stakenvicius wrote: > >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 > >> > >>

Re: [gentoo-dev] RFC: pkg_needrebuild() API for smart-live-rebuild

2015-08-07 Thread Ulrich Mueller
> On Fri, 7 Aug 2015, Michał Górny wrote: > The function can return one of the following return codes: > - 0 -- indicating that the package should be rebuilt from ebuild > (changes occured), > - 1 -- indicating that the package needs not be rebuilt. > The function must use 'die' if an err

Re: [gentoo-dev] Re: rfc: improve file system mounting and unmounting in OpenRC

2015-08-07 Thread Ian Stakenvicius
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/08/15 03:18 PM, William Hubbs wrote: > On Fri, Aug 07, 2015 at 01:39:25PM -0400, Ian Stakenvicius wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> On 07/08/15 12:59 PM, William Hubbs wrote: >>> On Fri, Aug 07, 2015 at 12:10:56PM

Re: [gentoo-dev] Re: rfc: improve file system mounting and unmounting in OpenRC

2015-08-07 Thread William Hubbs
On Fri, Aug 07, 2015 at 01:39:25PM -0400, Ian Stakenvicius wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 07/08/15 12:59 PM, William Hubbs wrote: > > On Fri, Aug 07, 2015 at 12:10:56PM -0400, Ian Stakenvicius wrote: > >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 > >> > >>

Re: [gentoo-dev] Re: rfc: improve file system mounting and unmounting in OpenRC

2015-08-07 Thread Ian Stakenvicius
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/08/15 12:59 PM, William Hubbs wrote: > On Fri, Aug 07, 2015 at 12:10:56PM -0400, Ian Stakenvicius wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> On 07/08/15 11:30 AM, William Hubbs wrote: >>> On Thu, Aug 06, 2015 at 08:07:44PM

Re: [gentoo-dev] RFC: pkg_needrebuild() API for smart-live-rebuild

2015-08-07 Thread Ciaran McCreesh
On Fri, 7 Aug 2015 19:01:59 +0200 Michał Górny wrote: > The function is run in environment containing all variables exported > by the previous source build. It must not access or assume existence > of $WORKDIR, $D... So you're using the installed version of the ebuild to determine whether the ver

[gentoo-dev] RFC: pkg_needrebuild() API for smart-live-rebuild

2015-08-07 Thread Michał Górny
Hello, all. As part of future-eapi I had suggested introducing a new phase function that would be used to determine whether a live ebuild needs to be updated (rebuilt) [1]. Since the work on EAPI 6 is getting awfully delayed, and EAPI 7 is even less likely, I'd like to implement the needed facilit

Re: [gentoo-dev] Re: rfc: improve file system mounting and unmounting in OpenRC

2015-08-07 Thread William Hubbs
On Fri, Aug 07, 2015 at 12:10:56PM -0400, Ian Stakenvicius wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 07/08/15 11:30 AM, William Hubbs wrote: > > On Thu, Aug 06, 2015 at 08:07:44PM -0400, Ian Stakenvicius wrote: > >> > >> Can we get "nofail" immediately in the mount -a vari

Re: [gentoo-dev] Re: rfc: improve file system mounting and unmounting in OpenRC

2015-08-07 Thread Ian Stakenvicius
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 07/08/15 11:30 AM, William Hubbs wrote: > On Thu, Aug 06, 2015 at 08:07:44PM -0400, Ian Stakenvicius wrote: >> >> Can we get "nofail" immediately in the mount -a variants of >> localmount/netmount and expand that in netmount to make the >> nfscli

Re: [gentoo-dev] Re: rfc: improve file system mounting and unmounting in OpenRC

2015-08-07 Thread William Hubbs
On Thu, Aug 06, 2015 at 08:07:44PM -0400, Ian Stakenvicius wrote: > > Can we get "nofail" immediately in the mount -a variants of > localmount/netmount and expand that in netmount to make the nfsclient dep be > a "use" or a "need" depending on if it's set or not?? That would imo kill > the exi