Re: [gentoo-portage-dev] .53, .54 and beyond...

2005-11-27 Thread Jason Stubbs
On Sunday 27 November 2005 02:03, Ned Ludd wrote:
 On Sat, 2005-11-26 at 13:15 +0900, Jason Stubbs wrote:
  On Saturday 26 November 2005 02:05, Ned Ludd wrote:
   On Sat, 2005-11-26 at 00:51 +0900, Jason Stubbs wrote:
On Saturday 26 November 2005 00:31, Ned Ludd wrote:
 * post_sync action hook (.53/.54 )
 * VDB prevention of single byte NULL entries being created. ( .54 )
   
Doable for .54.

 

   Yeah and from the sounds of it we may want more than 1 set of postsync
   hooks or the addition of a postsync.d/
   (dev thread on getting vital info to users)
 
  Heh.. that was my suggestion. ;)

 Yeah it seems doable for .53 but if you want to wait till .54 or
 a .53-rXX thats fine. I'd prefer to see it in .53 unless
 that's going out the door today.

2.0.53 is pretty much closed. After it hits 2.0.53, the only -r releases will 
be for major regressions and security fixes. The only reason I think killing 
of CDEPEND for 2.0.53 is okay is because nothing uses CDEPEND (I killed off 
emerge scanning it already) so there's nothing to regress.

Should generating internal
debug info still be offered?
  
   When FEATURES=nostrip is enabled we should not split off
   any debug info or touch the executable.
 
  FEATURES=splitdebug|stripdebug and do nothing if neither is set?

 If feature based it seems logical to me to have it as either
 splitdebug || nosplitdebug

That would be splitdebug or -splitdebug. I was suggesting stripdebug as a 
replacement for -nostrip to get rid of another no* option and so that portage 
could still be configured to give the current behaviour. As far as I can 
tell, there are three possibilities:

* Do nothing
* Split of the debug info
* Strip any debug info

Have I got that right?

 I know some people hate no* functions or rather they hate no* USE
 flags. But it would seem fitting if we decided to make it a default vs
 sticking in splitdebug in all profiles.

There's no need to touch the profiles. /etc/make.globals defines portage 
defaults and is controlled by portage.

 * flattened vdb {P,R,}DEPEND (.54 )
   
I might be wrong but I can't really see this being done cleanly. At
best, only USE flags could be gotten rid of which would still leave
|| () constructs. This leads me to question of what use it would
really be. If it can only do a half-arsed job and in a messy way at
that I'd personally prefer it to be done later on.
  
   It will indeed still leave you with || ( foo bar ) or =cpv which you
   can be parsed just fine. Yeah it would be nice if it could be reduced
   more but later on or now I don't see how it can be reduced anymore than
   to the requirements that the ebuild requested.
 
  Again, if it can be done cleanly code-wise no issues with resolving the
  USE flags out.

 Should only be a few lines of code. (I hope)
 Something like hand off the env varable from dyn_compile() in ebuild.sh
 to python and python passes it back to ebuild.sh in the next phase for
 dyn_install() which gets recorded flattened

There's no passing back of variables at the moment except through temporary 
files. Perhaps USE and *DEPEND could be read in and *DEPEND rewritten out 
after dyn_compile() completes?

--
Jason Stubbs
-- 
gentoo-portage-dev@gentoo.org mailing list



Re: [gentoo-portage-dev] [PATCH] make dodoc return better values

2005-11-27 Thread Mike Frysinger
On Sun, Nov 27, 2005 at 02:31:47AM +0200, Petteri R??ty wrote:
 Now dodoc always returns with success. I adjusted dodoc to return with
 better values.

added to svn trunk/savior
-mike
-- 
gentoo-portage-dev@gentoo.org mailing list



Re: [gentoo-portage-dev] [PATCH] CDEPEND removal

2005-11-27 Thread Jason Stubbs
On Monday 28 November 2005 00:01, Ned Ludd wrote:
 The following untested attached patch removes CDEPEND from ebuild.sh
 A quick grep -i shows that there is one case of CDEPEND left in
 pym/portage.py after applying the patch. It's in the auxdbkeys around
 line 5130. Not sure if that is safe to remove or not.
 The cache entry for CDEP has been replaced with a blank line to keep
 the cache format compatible.

The CDEPEND in auxdbkeys is needed, but it won't cause any harm other than the 
extra 10 or 11 bytes added to portage.py. This patch is pretty much perfect 
as it is. :)

--
Jason Stubbs
-- 
gentoo-portage-dev@gentoo.org mailing list



Re: [gentoo-portage-dev] [PATCH] CDEPEND removal

2005-11-27 Thread Jason Stubbs
On Monday 28 November 2005 00:20, Ned Ludd wrote:
 On Mon, 2005-11-28 at 00:15 +0900, Jason Stubbs wrote:
  On Monday 28 November 2005 00:01, Ned Ludd wrote:
   The following untested attached patch removes CDEPEND from ebuild.sh
   A quick grep -i shows that there is one case of CDEPEND left in
   pym/portage.py after applying the patch. It's in the auxdbkeys around
   line 5130. Not sure if that is safe to remove or not.
   The cache entry for CDEP has been replaced with a blank line to keep
   the cache format compatible.
 
  The CDEPEND in auxdbkeys is needed, but it won't cause any harm other
  than the extra 10 or 11 bytes added to portage.py. This patch is pretty
  much perfect as it is. :)

 Great.
 So it's all in your hands now then I can assume and I don't need to file
 a bug? ;-)

Committed.

 Anything else pending before .53 hits stable?

I don't believe so. I'll give it until Wednesday 12:00 UTC and put it out then 
if nothing comes up. I don't expect anything to, but I'm having a couple of 
whiskeys atm before bed and will be heading out to a drinking establishment 
tomorrow... ;)

 You know I can be somewhat impatient and I'm ready to get started on
 making patches for .54

As are we all. However, the wait seems to be doing good. While trunk is has 
been reopened for a while, the only things that have gone in have been in 
testing outside of trunk for a while which has improved quality greatly. 

Given people's expectations of what 2.0.54 should be I'm not sure of what will 
happen with 2.1/2.2. However, given the quality that trunk currently has it 
might be best to split off a branch and lock down the changes in 2.0.54 as 
soon as the first _pre is released. As far as I know, everything I listed in 
my last email to the .53, .54.. thread have existing tested patches so we 
can probably get a 2.0.54 up to where 2.0.53 is now in half the time...

--
Jason Stubbs

-- 
gentoo-portage-dev@gentoo.org mailing list