Zac Medico [Mon, 10 Apr 2006 07:44:14 +0000 (07:44 -0000)]
Make repoman ignore deeply nested CVS directories and files they contain in order to prevent false file.name errors (files with CVS directories may contain commas).
svn path=/main/trunk/; revision=3115
Zac Medico [Mon, 10 Apr 2006 04:38:32 +0000 (04:38 -0000)]
Add docstrings for FetchlistDict.
svn path=/main/trunk/; revision=3114
Zac Medico [Mon, 10 Apr 2006 04:28:22 +0000 (04:28 -0000)]
Simplify the porttrees logic for FetchlistDict.
svn path=/main/trunk/; revision=3113
Zac Medico [Mon, 10 Apr 2006 04:17:10 +0000 (04:17 -0000)]
Remove unnecessary calls to dict.keys() from portage_manifest.
svn path=/main/trunk/; revision=3112
Zac Medico [Mon, 10 Apr 2006 03:37:11 +0000 (03:37 -0000)]
Remove db and mysettings from Manifest and replace them with a mapping object that provides access to fetch lists for each cpv.
svn path=/main/trunk/; revision=3111
Zac Medico [Mon, 10 Apr 2006 01:42:02 +0000 (01:42 -0000)]
Pass DISTDIR into the Manifest constructor instead of getting it from mysettings because mysettings will be eliminated soon.
svn path=/main/trunk/; revision=3110
Zac Medico [Sun, 9 Apr 2006 22:18:51 +0000 (22:18 -0000)]
Remove dependency on the core portage module from portage_manifest.
svn path=/main/trunk/; revision=3109
Mike Frysinger [Sun, 9 Apr 2006 20:28:16 +0000 (20:28 -0000)]
simpler dosym to make mr bones happy
svn path=/main/trunk/; revision=3108
Zac Medico [Sun, 9 Apr 2006 09:10:03 +0000 (09:10 -0000)]
Remove dead code from portage.digestParseFile().
svn path=/main/trunk/; revision=3107
Zac Medico [Sun, 9 Apr 2006 09:00:39 +0000 (09:00 -0000)]
Encapsulate type guessing logic in a new Manifest method.
svn path=/main/trunk/; revision=3106
Zac Medico [Sun, 9 Apr 2006 08:28:05 +0000 (08:28 -0000)]
For compatibility, return a tuple of 3 when an OSError is raised in portage_checksum.verify_all()
svn path=/main/trunk/; revision=3105
Zac Medico [Sun, 9 Apr 2006 04:50:41 +0000 (04:50 -0000)]
Move mf.create out of a loop because it should only need to be called once.
svn path=/main/trunk/; revision=3104
Zac Medico [Sun, 9 Apr 2006 04:37:05 +0000 (04:37 -0000)]
Supply missing parameters to a checkFileHashes call.
svn path=/main/trunk/; revision=3103
Zac Medico [Sat, 8 Apr 2006 10:11:30 +0000 (10:11 -0000)]
Remove bin/mirror.py because, according to Brian Harring, it's obsoleted by mirror-dist.
svn path=/main/trunk/; revision=3101
Zac Medico [Sat, 8 Apr 2006 09:52:39 +0000 (09:52 -0000)]
Remove pym/portage_contents.py because it's not used. Thanks to Brian Harring for noticing.
svn path=/main/trunk/; revision=3100
Zac Medico [Sat, 8 Apr 2006 09:49:18 +0000 (09:49 -0000)]
Remove pym/dcdialog.py because it's not used. Thanks to antarus for noticing.
svn path=/main/trunk/; revision=3099
Zac Medico [Sat, 8 Apr 2006 09:45:10 +0000 (09:45 -0000)]
Add copyright headers for portage_update and portage_manifest.
svn path=/main/trunk/; revision=3098
Zac Medico [Sat, 8 Apr 2006 08:16:31 +0000 (08:16 -0000)]
Fix some minor issues with the anydbm cache module. Thanks to Halcyon for reporting.
svn path=/main/trunk/; revision=3097
Zac Medico [Sat, 8 Apr 2006 07:18:15 +0000 (07:18 -0000)]
Remove redundant "please tell me what to do" code, which is now handled earlier.
svn path=/main/trunk/; revision=3096
Zac Medico [Sat, 8 Apr 2006 06:26:30 +0000 (06:26 -0000)]
Fix myaction logic so that --resume works (with --pretend) for non-root users.
svn path=/main/trunk/; revision=3095
Jason Stubbs [Sat, 8 Apr 2006 03:01:20 +0000 (03:01 -0000)]
Protect string indexes during input stripping in dep_getkey and dep_getcpv.
Bug #129193
svn path=/main/trunk/; revision=3094
Zac Medico [Fri, 7 Apr 2006 22:44:34 +0000 (22:44 -0000)]
Fix myaction logic (myaction==None is actually valid, regression from r3090).
svn path=/main/trunk/; revision=3093
Mike Frysinger [Fri, 7 Apr 2006 22:38:15 +0000 (22:38 -0000)]
remove reference to a script that doesnt exist
svn path=/main/trunk/; revision=3092
Alec Warner [Fri, 7 Apr 2006 19:11:26 +0000 (19:11 -0000)]
Fix this random y that was in the last commit...I blame nano :P
svn path=/main/trunk/; revision=3091
Alec Warner [Fri, 7 Apr 2006 19:02:43 +0000 (19:02 -0000)]
Fix a regression in security handling, emerge with no options should print out helpful information, not tell you you need to be root ;)
svn path=/main/trunk/; revision=3090
Alec Warner [Fri, 7 Apr 2006 16:55:37 +0000 (16:55 -0000)]
Thanks to jforman for finding this one, emerge was not helpful when permissions on the world file are not so good, so in the case of permission denied, we reraise, essentially telling the user we can't read the world file. In the case of it not existing, we assume the user knows what they are doing and we print a squelchable warning message.
svn path=/main/trunk/; revision=3089
Zac Medico [Fri, 7 Apr 2006 09:39:43 +0000 (09:39 -0000)]
Optimize manifest2AuxfileFilter handling of ignored directories. Thanks to Brian Harring for the patch.
svn path=/main/trunk/; revision=3088
Zac Medico [Fri, 7 Apr 2006 09:23:30 +0000 (09:23 -0000)]
Raise exceptions when appropriate in the atomic_ofstream constructor for bug #129098.
svn path=/main/trunk/; revision=3087
Alec Warner [Fri, 7 Apr 2006 00:50:52 +0000 (00:50 -0000)]
Speed up portage.config.keys()
svn path=/main/trunk/; revision=3086
Alec Warner [Fri, 7 Apr 2006 00:48:59 +0000 (00:48 -0000)]
Change == None to is None
svn path=/main/trunk/; revision=3085
Simon Stelling [Thu, 6 Apr 2006 21:05:00 +0000 (21:05 -0000)]
only display syncing progress for each file when --verbose is set; thanks Olaf Hering, bug 128362
svn path=/main/trunk/; revision=3084
Simon Stelling [Thu, 6 Apr 2006 19:47:04 +0000 (19:47 -0000)]
set PKG_CONFIG_PATH correct on multilib systems; bug 126801
svn path=/main/trunk/; revision=3083
Simon Stelling [Thu, 6 Apr 2006 19:28:29 +0000 (19:28 -0000)]
add /usr/local/{,s}bin to PATH; bug 117713
svn path=/main/trunk/; revision=3082
Simon Stelling [Thu, 6 Apr 2006 10:58:18 +0000 (10:58 -0000)]
emerge info -> emerge --info
svn path=/main/trunk/; revision=3080
Alec Warner [Thu, 6 Apr 2006 05:37:24 +0000 (05:37 -0000)]
Remove really really old check during a cvs move. Fix except statement to be saner
svn path=/main/trunk/; revision=3079
Zac Medico [Thu, 6 Apr 2006 02:06:10 +0000 (02:06 -0000)]
Revert r3073 since it causes a regression (digestgen needs to be run for each value of repoman_settings["O"]). See bug #128946.
svn path=/main/trunk/; revision=3078
Zac Medico [Wed, 5 Apr 2006 18:58:40 +0000 (18:58 -0000)]
Revert FEATURES=noclean behavior so that clean is only skipped after merge. Thanks to azarah for reporting.
svn path=/main/trunk/; revision=3077
Zac Medico [Wed, 5 Apr 2006 10:22:42 +0000 (10:22 -0000)]
Move some color mappings to ensure that they do not override the user defined color map.
svn path=/main/trunk/; revision=3076
Zac Medico [Wed, 5 Apr 2006 10:05:44 +0000 (10:05 -0000)]
Add color code mappings for 16 colors in rgb format.
svn path=/main/trunk/; revision=3075
Zac Medico [Wed, 5 Apr 2006 01:48:54 +0000 (01:48 -0000)]
Remove the srcroot parameter from env_update because is doesn't work when portage.movefile merges files via os.rename. To do this properly we need to pass in CONTENTS instead.
svn path=/main/trunk/; revision=3074
Alec Warner [Tue, 4 Apr 2006 23:25:16 +0000 (23:25 -0000)]
Don't generate digests on --pretend for repoman. Thanks go once again to exg@gentoo.org :)
svn path=/main/trunk/; revision=3073
Zac Medico [Tue, 4 Apr 2006 21:13:55 +0000 (21:13 -0000)]
Add support for user configuration of colors in the output module for bug #125120. Thanks to solar for the patch that this was derived from.
svn path=/main/trunk/; revision=3072
Zac Medico [Tue, 4 Apr 2006 19:59:24 +0000 (19:59 -0000)]
Automatically create FILESDIR if necessary when writing old style digests. Thanks to blubb for reporting.
svn path=/main/trunk/; revision=3071
Simon Stelling [Tue, 4 Apr 2006 19:17:45 +0000 (19:17 -0000)]
fix typo in make.conf and remove RSYNC_EXCLUDEFROM since it's deprecated; bug 127614
svn path=/main/trunk/; revision=3070
Simon Stelling [Tue, 4 Apr 2006 18:01:49 +0000 (18:01 -0000)]
fix make.conf indentation per bug 127868; thanks to Paul Varner for the patch
svn path=/main/trunk/; revision=3069
Alec Warner [Mon, 3 Apr 2006 15:08:07 +0000 (15:08 -0000)]
It was pointed out that we have a Test-Manifest perl package, which would get sadly excluded using the old string match, so we fix it to match less ;)
svn path=/main/trunk/; revision=3068
Alec Warner [Mon, 3 Apr 2006 14:53:23 +0000 (14:53 -0000)]
Fix yet another typo of mine, thanks to exg
svn path=/main/trunk/; revision=3067
Alec Warner [Mon, 3 Apr 2006 13:40:56 +0000 (13:40 -0000)]
Fix ordering in cvs calls to be correct, thanks to exg for the fix (again)
svn path=/main/trunk/; revision=3066
Jason Stubbs [Mon, 3 Apr 2006 10:43:44 +0000 (10:43 -0000)]
s/parenreduce/paren_reduce/ comment fix.
svn path=/main/trunk/; revision=3065
Alec Warner [Mon, 3 Apr 2006 05:25:38 +0000 (05:25 -0000)]
Remove out-dated TODO file
svn path=/main/trunk/; revision=3064
Zac Medico [Mon, 3 Apr 2006 05:08:21 +0000 (05:08 -0000)]
Fix a typo from r3058.
svn path=/main/trunk/; revision=3063
Alec Warner [Mon, 3 Apr 2006 05:07:56 +0000 (05:07 -0000)]
Fixes for repoman thanks to exg@gentoo.org and bug #128451, Excludes Manifest regeneration in certain cases, adds pretend gpg outut
svn path=/main/trunk/; revision=3062
Alec Warner [Mon, 3 Apr 2006 04:19:51 +0000 (04:19 -0000)]
Fix minor typo: reported by Brian Harring
svn path=/main/trunk/; revision=3061
Alec Warner [Mon, 3 Apr 2006 04:18:48 +0000 (04:18 -0000)]
tsk tsk, fix a missing parenthesis :)
svn path=/main/trunk/; revision=3060
Alec Warner [Mon, 3 Apr 2006 04:16:49 +0000 (04:16 -0000)]
Add a deprecation notice for those who are still using tokenize ( hopefully no one :/ )
svn path=/main/trunk/; revision=3059
Zac Medico [Mon, 3 Apr 2006 03:59:26 +0000 (03:59 -0000)]
Move DISTDIR initialization from doebuild to fetch and handle read-only file system errors for bug #128506.
svn path=/main/trunk/; revision=3058
Alec Warner [Mon, 3 Apr 2006 02:30:40 +0000 (02:30 -0000)]
Take sound advice and move all the use expand files into desc/
svn path=/main/trunk/; revision=3057
Alec Warner [Mon, 3 Apr 2006 02:17:48 +0000 (02:17 -0000)]
Make repoman check for USE expand descriptions in other files so USE_EXPAND variables can have longer/better/faster/stronger descriptions.
svn path=/main/trunk/; revision=3056
Jason Stubbs [Sun, 2 Apr 2006 08:05:36 +0000 (08:05 -0000)]
Make the reading of /proc/<pid>/fd/ impervious to the possible addition
of non-numerically named entries.
svn path=/main/trunk/; revision=3055
Zac Medico [Sun, 2 Apr 2006 05:53:03 +0000 (05:53 -0000)]
Add a portage_exec.get_open_fds() function for bug #128284. Thanks to Brian Harring for this patch.
svn path=/main/trunk/; revision=3054
Alec Warner [Sun, 2 Apr 2006 04:18:35 +0000 (04:18 -0000)]
More exception fixes...
svn path=/main/trunk/; revision=3053
Alec Warner [Sun, 2 Apr 2006 00:12:34 +0000 (00:12 -0000)]
Fixing stupid exception handling
svn path=/main/trunk/; revision=3051
Mike Frysinger [Sat, 1 Apr 2006 09:39:59 +0000 (09:39 -0000)]
fix makelinks logic again
svn path=/main/trunk/; revision=3048
Zac Medico [Sat, 1 Apr 2006 08:08:25 +0000 (08:08 -0000)]
Rename local 'root' variable to parent_dir so that it's not confused with portage.root
svn path=/main/trunk/; revision=3047
Zac Medico [Sat, 1 Apr 2006 07:34:48 +0000 (07:34 -0000)]
Fix ROOT handling for timestamps of lib directories. Only run ldconfig when timestamps have changed (the makelinks flag does not force ldconfig unless timestamps have changed).
svn path=/main/trunk/; revision=3046
Mike Frysinger [Sat, 1 Apr 2006 04:53:35 +0000 (04:53 -0000)]
need to still check makelinks
svn path=/main/trunk/; revision=3045
Zac Medico [Sat, 1 Apr 2006 04:27:54 +0000 (04:27 -0000)]
Fix env_update so it runs ldconfig when a lib dir timestamp has changed unless srcroot is not None and no files were installed into libdir.
svn path=/main/trunk/; revision=3044
Mike Frysinger [Sat, 1 Apr 2006 01:56:07 +0000 (01:56 -0000)]
dont run ldconfig if a package doesnt actually install any libraries
svn path=/main/trunk/; revision=3043
Zac Medico [Thu, 30 Mar 2006 11:46:04 +0000 (11:46 -0000)]
Fix manifest2AuxfileFilter so that it correctly filters files such as 2.1_pre7/CVS/Entries.
svn path=/main/trunk/; revision=3042
Zac Medico [Thu, 30 Mar 2006 10:09:00 +0000 (10:09 -0000)]
Use ensure_dirs for CCACHE_DIR, CONFCACHE_DIR, and DISTCC_DIR.
svn path=/main/trunk/; revision=3041
Zac Medico [Thu, 30 Mar 2006 09:41:19 +0000 (09:41 -0000)]
Add a reusable ensure_dirs() function and use it for DISTDIR initialization.
svn path=/main/trunk/; revision=3040
Zac Medico [Thu, 30 Mar 2006 09:20:34 +0000 (09:20 -0000)]
The return value from apply_permissions now indicates whether or not the permissions needed to be modified.
svn path=/main/trunk/; revision=3039
Zac Medico [Thu, 30 Mar 2006 04:54:20 +0000 (04:54 -0000)]
Handle distlocks subdir initialization together with $DISTDIR and $DISTDIR/cvs-src.
svn path=/main/trunk/; revision=3038
Zac Medico [Wed, 29 Mar 2006 22:22:16 +0000 (22:22 -0000)]
Only do recursive permissions on $DISTDIR and $DISTDIR/cvs-src when the top level permissions do not match. Thanks to marienz for reporting.
svn path=/main/trunk/; revision=3037
Zac Medico [Wed, 29 Mar 2006 10:02:07 +0000 (10:02 -0000)]
Compare distfiles timestamps with the files in PORTAGE_ACTUAL_DISTDIR instead of with the symlinks in DISTDIR. Thanks to Ed Catmur for this patch (bug #127930).
svn path=/main/trunk/; revision=3036
Zac Medico [Wed, 29 Mar 2006 09:25:27 +0000 (09:25 -0000)]
Ignore more system libraries in python-trace mode.
svn path=/main/trunk/; revision=3035
Zac Medico [Wed, 29 Mar 2006 08:51:06 +0000 (08:51 -0000)]
Automatically follow symlinks in the atomic_ofstream constructor. See bug #127897.
svn path=/main/trunk/; revision=3034
Mike Frysinger [Wed, 29 Mar 2006 05:38:02 +0000 (05:38 -0000)]
add missing space in quiet col output
svn path=/main/trunk/; revision=3033
Zac Medico [Wed, 29 Mar 2006 03:17:46 +0000 (03:17 -0000)]
Create a single colorize() function in the output module and use it to generate all of the existing color functions.
svn path=/main/trunk/; revision=3030
Marius Mauch [Tue, 28 Mar 2006 05:27:54 +0000 (05:27 -0000)]
Recommend PORTAGE_RSYNC_EXTRA_OPTS instead of PORTAGE_RSYNC_OPTS
svn path=/main/trunk/; revision=3029
Ned Ludd [Mon, 27 Mar 2006 15:46:04 +0000 (15:46 -0000)]
- set sane perms on unpacking. If anybody hates this than they are welcome to tie it into FEATURES= sfperms
svn path=/main/trunk/; revision=3028
Zac Medico [Mon, 27 Mar 2006 10:16:16 +0000 (10:16 -0000)]
Sort the hashes for manifest2 lines to that output is reproducible.
svn path=/main/trunk/; revision=3026
Marius Mauch [Mon, 27 Mar 2006 07:21:46 +0000 (07:21 -0000)]
sort digest/Manifest files by 1) filetype (v2 only) 2) filename (v1+v2) 3) hashtype (v1 only)
svn path=/main/trunk/; revision=3024
Zac Medico [Mon, 27 Mar 2006 05:25:31 +0000 (05:25 -0000)]
Compare new digest data with old digest data and rewrite the new digest only if they differ (forward port r2951 from manifest1 to manifest2).
svn path=/main/trunk/; revision=3022
Zac Medico [Mon, 27 Mar 2006 03:08:03 +0000 (03:08 -0000)]
Use write_atomic for updates of old style digest files.
svn path=/main/trunk/; revision=3021
Marius Mauch [Mon, 27 Mar 2006 02:42:49 +0000 (02:42 -0000)]
fix some nasty repoman tricks causing problems (always use absolute paths with manifest2 code)
svn path=/main/trunk/; revision=3020
Zac Medico [Mon, 27 Mar 2006 01:49:11 +0000 (01:49 -0000)]
Split out a reusable Manifest._createDigestLines1() method.
svn path=/main/trunk/; revision=3019
Zac Medico [Mon, 27 Mar 2006 01:21:31 +0000 (01:21 -0000)]
fix a typo from the last revision.
svn path=/main/trunk/; revision=3018
Zac Medico [Mon, 27 Mar 2006 01:05:07 +0000 (01:05 -0000)]
Split out a reusable Manifest._parseDigests() method.
svn path=/main/trunk/; revision=3017
Zac Medico [Sun, 26 Mar 2006 07:00:47 +0000 (07:00 -0000)]
Allow users in the portage group to fetch. Thanks to truedfx for reporting this regression.
svn path=/main/trunk/; revision=3015
Marius Mauch [Sun, 26 Mar 2006 06:35:24 +0000 (06:35 -0000)]
move some elog defaults into make.globals, add new vars for mail from and subject (bug #116637), change default location for mod_save logfiles to PORT_LOGDIR/elog (bug #124165)
svn path=/main/trunk/; revision=3014
Zac Medico [Sun, 26 Mar 2006 06:29:04 +0000 (06:29 -0000)]
Clean up code for creation of CCACHEDIR, CONFCACHEDIR, and DISTCC_DIR. Prevent excessive recursive stat calls for bug #127563.
svn path=/main/trunk/; revision=3013
Marius Mauch [Sun, 26 Mar 2006 05:54:19 +0000 (05:54 -0000)]
for collision-protect also check that only versions with the same slot can overwrite each others files
svn path=/main/trunk/; revision=3012
Marius Mauch [Sun, 26 Mar 2006 03:08:11 +0000 (03:08 -0000)]
fix AuxfileFilter to ignore all files in svn or cvs dirs
svn path=/main/trunk/; revision=3011
Zac Medico [Sat, 25 Mar 2006 23:33:46 +0000 (23:33 -0000)]
Fix traceback for bug #127573. Thanks to illuminata for reporting and antarus for the patch.
svn path=/main/trunk/; revision=3006
Zac Medico [Sat, 25 Mar 2006 13:57:45 +0000 (13:57 -0000)]
Add lazy loading of virtuals in portage.do_vartree() for backward compatibility.
svn path=/main/trunk/; revision=3004
Marius Mauch [Sat, 25 Mar 2006 05:44:28 +0000 (05:44 -0000)]
Add files/ prefix for AUX files in manifest1 entries; fix digest.unused check partially by checking all DIST entries against all SRC_URI entries of a package (instead of per ebuild checks)
svn path=/main/trunk/; revision=3002
Zac Medico [Sat, 25 Mar 2006 01:04:57 +0000 (01:04 -0000)]
Load virtuals on demand in order to avoid needless vdb scanning during a simple 'import portage'. Virtuals are loaded during import, for initialization of portage.settings, only when autouse is enabled (though autouse is disabled by default).
svn path=/main/trunk/; revision=2999
Marius Mauch [Sat, 25 Mar 2006 00:54:30 +0000 (00:54 -0000)]
only reuse distfile checksums if the file doesn't exist
svn path=/main/trunk/; revision=2998
Marius Mauch [Sat, 25 Mar 2006 00:45:29 +0000 (00:45 -0000)]
Make ebuild digest reuse existing checksums
svn path=/main/trunk/; revision=2997