Zac Medico [Tue, 10 Apr 2007 08:40:56 +0000 (08:40 -0000)]
For bug #173808, compress ${mandir} all in one go instead of doing subdirectories separately. This allows symlinks that point into sibling directories to get updated properly be ecompressdir.
svn path=/main/trunk/; revision=6362
Zac Medico [Tue, 10 Apr 2007 06:03:38 +0000 (06:03 -0000)]
Efficiently recycle partial valid vdb cache when possible. This reduces disk load when switching between versions of portage that cache different keys.
svn path=/main/trunk/; revision=6360
Zac Medico [Mon, 9 Apr 2007 17:18:22 +0000 (17:18 -0000)]
Don't load FEATURES in load_infodir() because FEATURES from the build host shouldn't be interpreted asFEATURES on the client system. Thanks to Thanks to Chri
svn path=/main/trunk/; revision=6358
Zac Medico [Mon, 9 Apr 2007 09:08:40 +0000 (09:08 -0000)]
Update the FEATURES=strict docs for better clarity. Thanks to taviso for reporting.
svn path=/main/trunk/; revision=6357
Zac Medico [Mon, 9 Apr 2007 02:45:43 +0000 (02:45 -0000)]
Cache NEEDED in order to optimize update_library_map() calls.
svn path=/main/trunk/; revision=6356
Zac Medico [Sun, 8 Apr 2007 19:36:54 +0000 (19:36 -0000)]
Only apply permissions to ccache, confcache, and distcc dirs when they are created in order to avoid interference with whatever the user's preferred permissions are. Thanks to Diego Pettenò <flameeyes@gmail.com> for reporting.
svn path=/main/trunk/; revision=6354
Mike Frysinger [Sat, 7 Apr 2007 08:32:35 +0000 (08:32 -0000)]
change "EXEDESTTREE" to "_E_EXEDESTTREE_" to try and prevent abuse from ebuild writers
svn path=/main/trunk/; revision=6351
Mike Frysinger [Sat, 7 Apr 2007 04:54:36 +0000 (04:54 -0000)]
remove references to EXEDESTTREE
svn path=/main/trunk/; revision=6350
Mike Frysinger [Sat, 7 Apr 2007 04:49:51 +0000 (04:49 -0000)]
document /var/cache/edb/, /var/db/pkg/, and /var/lib/portage/config
svn path=/main/trunk/; revision=6349
Mike Frysinger [Sat, 7 Apr 2007 04:35:32 +0000 (04:35 -0000)]
tell people that the FILES section is not supposed to be complete (and sneak in a few style fixups)
svn path=/main/trunk/; revision=6348
Mike Frysinger [Sat, 7 Apr 2007 04:32:47 +0000 (04:32 -0000)]
change "DOCDESTTREE" to "_E_DOCDESTTREE_" to try and prevent abuse from ebuild writers
svn path=/main/trunk/; revision=6347
Mike Frysinger [Sat, 7 Apr 2007 04:29:59 +0000 (04:29 -0000)]
remove references to DOCDESTTREE and INSDESTTREE
svn path=/main/trunk/; revision=6346
Zac Medico [Thu, 5 Apr 2007 22:27:54 +0000 (22:27 -0000)]
Provide a default value to the getattr call.
svn path=/main/trunk/; revision=6344
Zac Medico [Thu, 5 Apr 2007 21:34:46 +0000 (21:34 -0000)]
Make sure XARGS has a default value.
svn path=/main/trunk/; revision=6343
Zac Medico [Thu, 5 Apr 2007 21:29:45 +0000 (21:29 -0000)]
Don't force OS detection in the portage.data module.
svn path=/main/trunk/; revision=6342
Zac Medico [Thu, 5 Apr 2007 21:20:57 +0000 (21:20 -0000)]
Don't set os.environ["USERLAND"] inside portage.data and rely on USERLAND from the profile instead (bail out if necessary when USERLAND is unset).
svn path=/main/trunk/; revision=6341
Zac Medico [Thu, 5 Apr 2007 20:46:31 +0000 (20:46 -0000)]
Punt the sorted_versions() function in favor of list.sort(vercmp).
svn path=/main/trunk/; revision=6339
Zac Medico [Mon, 2 Apr 2007 19:43:59 +0000 (19:43 -0000)]
For bug #173184, handle the CommandNotFound that is produced during uninstallation of prelink.
svn path=/main/trunk/; revision=6332
Alec Warner [Sun, 1 Apr 2007 04:32:13 +0000 (04:32 -0000)]
I consulted the python oracle and it told me enumerate was better, so go team enumerate
svn path=/main/trunk/; revision=6330
Alec Warner [Sat, 31 Mar 2007 20:13:21 +0000 (20:13 -0000)]
drop line_count in favor of izip and count(), itertools FOR THE WIN baby.
svn path=/main/trunk/; revision=6329
Alec Warner [Sat, 31 Mar 2007 19:42:35 +0000 (19:42 -0000)]
After talking to marienz, decide that 1 class is better than 4, also realize that UserDict has most of the dict methods exposed, so drop them. Also add a LoaderError Exception. Still to do? add a validation callable into the loader to validate data.
svn path=/main/trunk/; revision=6328
Zac Medico [Sat, 31 Mar 2007 11:01:29 +0000 (11:01 -0000)]
Fix missing import.
svn path=/main/trunk/; revision=6325
Mike Frysinger [Fri, 30 Mar 2007 22:57:12 +0000 (22:57 -0000)]
make PDEPEND wording less restrictive #172511 and clarify install status wrt ||() as noted by ferringb
svn path=/main/trunk/; revision=6324
Zac Medico [Wed, 28 Mar 2007 22:40:05 +0000 (22:40 -0000)]
For bug #172571, use socket.AF_INET as the default family for socket.getaddrinfo().
svn path=/main/trunk/; revision=6321
Zac Medico [Wed, 28 Mar 2007 20:01:52 +0000 (20:01 -0000)]
spaces -> tabs
svn path=/main/trunk/; revision=6318
Zac Medico [Wed, 28 Mar 2007 19:59:49 +0000 (19:59 -0000)]
spaces -> tabs
svn path=/main/trunk/; revision=6317
Zac Medico [Wed, 28 Mar 2007 18:58:58 +0000 (18:58 -0000)]
For bug #172539, fix ecompressdir suffix handling so that automatic decompression of Z, gz, and bz2 suffixes works properly.
svn path=/main/trunk/; revision=6309
Zac Medico [Wed, 28 Mar 2007 17:14:58 +0000 (17:14 -0000)]
Correctly pull the metadata again when the node is converted.
svn path=/main/trunk/; revision=6307
Zac Medico [Wed, 28 Mar 2007 16:53:10 +0000 (16:53 -0000)]
Convert "ebuild" and "binary" "nomerge" nodes into "installed" nodes for greater consistency in the depgraph.
svn path=/main/trunk/; revision=6305
Zac Medico [Wed, 28 Mar 2007 08:58:08 +0000 (08:58 -0000)]
Synchronize PORTAGE_COMPRESS_FLAGS to reflect that -9 is the default now.
svn path=/main/trunk/; revision=6303
Zac Medico [Tue, 27 Mar 2007 22:49:53 +0000 (22:49 -0000)]
Properly anchor sed regexp for readlonly attribut filtering.
svn path=/main/trunk/; revision=6301
Zac Medico [Tue, 27 Mar 2007 22:32:45 +0000 (22:32 -0000)]
Filter the readonly attribute from variables saved in ${T}/environment to prevent 'readonly variable' error messages in later phases.
svn path=/main/trunk/; revision=6299
Zac Medico [Tue, 27 Mar 2007 22:22:40 +0000 (22:22 -0000)]
source ${T}/environment before the definition of qa_source() and qa_call() so that the call stack shows the original files and line numbers instead of those from ${T}/environment. Thanks to Markus Ullmann <jokey@gentoo.org> for reporting.
svn path=/main/trunk/; revision=6297
Zac Medico [Mon, 26 Mar 2007 20:09:35 +0000 (20:09 -0000)]
Continue to support profile masking at least until bug #170697 is settled.
svn path=/main/trunk/; revision=6292
Alec Warner [Mon, 26 Mar 2007 07:23:51 +0000 (07:23 -0000)]
minor name changes for bin tests, svn propset keywords Id stuff
svn path=/main/trunk/; revision=6291
Alec Warner [Mon, 26 Mar 2007 05:28:22 +0000 (05:28 -0000)]
fix broken PortageModule classes
svn path=/main/trunk/; revision=6290
Alec Warner [Mon, 26 Mar 2007 05:28:04 +0000 (05:28 -0000)]
fix tests for PortageModulesFile
svn path=/main/trunk/; revision=6289
Alec Warner [Mon, 26 Mar 2007 05:25:01 +0000 (05:25 -0000)]
clean up some init functions, add PortageModules class
svn path=/main/trunk/; revision=6288
Alec Warner [Mon, 26 Mar 2007 04:29:29 +0000 (04:29 -0000)]
fix some tests, break others
svn path=/main/trunk/; revision=6287
Alec Warner [Mon, 26 Mar 2007 04:17:26 +0000 (04:17 -0000)]
Fix insecure tempfile usage
svn path=/main/trunk/; revision=6286
Mike Frysinger [Sun, 25 Mar 2007 12:27:00 +0000 (12:27 -0000)]
fix grammar in error output
svn path=/main/trunk/; revision=6285
Zac Medico [Sun, 25 Mar 2007 09:56:58 +0000 (09:56 -0000)]
Verify the Manifest first even if there's only one package (prior to the fetch phase).
svn path=/main/trunk/; revision=6283
Zac Medico [Sun, 25 Mar 2007 07:15:46 +0000 (07:15 -0000)]
Do the "*" check as early as possible in config.getMissingLicenses().
svn path=/main/trunk/; revision=6282
Alec Warner [Sun, 25 Mar 2007 06:57:06 +0000 (06:57 -0000)]
split the loader classes into their own file, split the recursive filename grabbing out into it's own function
svn path=/main/trunk/; revision=6281
Alec Warner [Sun, 25 Mar 2007 05:55:29 +0000 (05:55 -0000)]
completely rewrite file bits, use Loader classes to push loading functionality down
svn path=/main/trunk/; revision=6280
Alec Warner [Sun, 25 Mar 2007 05:54:47 +0000 (05:54 -0000)]
Fix the rest of the tests
svn path=/main/trunk/; revision=6279
Zac Medico [Sat, 24 Mar 2007 22:44:28 +0000 (22:44 -0000)]
Verify all ebuild manifests before building anything now so that the user is notified of failure as soon as possible.
svn path=/main/trunk/; revision=6277
Zac Medico [Sat, 24 Mar 2007 21:42:26 +0000 (21:42 -0000)]
return from the merge task instead of calling sys.exit directly.
svn path=/main/trunk/; revision=6275
Zac Medico [Sat, 24 Mar 2007 21:38:35 +0000 (21:38 -0000)]
Allow the merge task to continue despite conflicts when --fetch-all-uri is specified.
svn path=/main/trunk/; revision=6273
Zac Medico [Sat, 24 Mar 2007 18:50:49 +0000 (18:50 -0000)]
For bug #172033, remove the obsolete QA Notice for man pages that are already compressed.
svn path=/main/trunk/; revision=6271
Zac Medico [Fri, 23 Mar 2007 02:55:04 +0000 (02:55 -0000)]
Clean up and simplify preference selection logic for bug #171840.
svn path=/main/trunk/; revision=6269
Zac Medico [Fri, 23 Mar 2007 01:25:55 +0000 (01:25 -0000)]
For bug #171840, consider all choices for slot intersection and promote those that have upgrades relative to other choices.
svn path=/main/trunk/; revision=6267
Zac Medico [Fri, 23 Mar 2007 00:15:42 +0000 (00:15 -0000)]
Ignore non-existent directories for bug #171809. This is required for readonly mode.
svn path=/main/trunk/; revision=6265
Zac Medico [Thu, 22 Mar 2007 08:41:25 +0000 (08:41 -0000)]
Add --verbose to the "for more help" message.
svn path=/main/trunk/; revision=6264
Mike Frysinger [Thu, 22 Mar 2007 07:37:54 +0000 (07:37 -0000)]
default --help should be usable, so make the extended output require --verbose
svn path=/main/trunk/; revision=6263
Zac Medico [Wed, 21 Mar 2007 00:49:41 +0000 (00:49 -0000)]
Fix a typo.
svn path=/main/trunk/; revision=6261
Zac Medico [Wed, 21 Mar 2007 00:14:35 +0000 (00:14 -0000)]
Pass a list of USE flags into config.getMissingLicenses() so that the method can eventually be used for binary packages in addition to ebuilds.
svn path=/main/trunk/; revision=6260
Zac Medico [Tue, 20 Mar 2007 22:08:41 +0000 (22:08 -0000)]
Add a docstring to config.getMissingLicenses().
svn path=/main/trunk/; revision=6259
Zac Medico [Tue, 20 Mar 2007 21:58:46 +0000 (21:58 -0000)]
Catch a potential InvalidDependString exception.
svn path=/main/trunk/; revision=6258
Zac Medico [Tue, 20 Mar 2007 20:38:34 +0000 (20:38 -0000)]
Fix cvstree import to avoid deprecation warning.
svn path=/main/trunk/; revision=6256
Zac Medico [Tue, 20 Mar 2007 20:06:56 +0000 (20:06 -0000)]
Pass missing acceptable_licenses parameter into recursive _getMissingLicenses() calls.
svn path=/main/trunk/; revision=6255
Zac Medico [Tue, 20 Mar 2007 20:00:10 +0000 (20:00 -0000)]
Appropriately return from _getMissingLicenses() if one of the choices is satisfied.
svn path=/main/trunk/; revision=6253
Zac Medico [Tue, 20 Mar 2007 09:52:15 +0000 (09:52 -0000)]
Implement license visibility filtering for GLEP 23, bug #17367, and bug #152593.
svn path=/main/trunk/; revision=6251
Mike Frysinger [Sun, 18 Mar 2007 20:39:17 +0000 (20:39 -0000)]
revert previous change since it is obviously incorrect as pointed out by grobian
svn path=/main/trunk/; revision=6247
Zac Medico [Sun, 18 Mar 2007 19:54:21 +0000 (19:54 -0000)]
Appropriately use globals() instead of locals() as suggested by marienz.
svn path=/main/trunk/; revision=6246
Zac Medico [Sun, 18 Mar 2007 07:40:11 +0000 (07:40 -0000)]
Never use listdir with both recursion=True and followSymlinks=True since it circular symlinks will lead to endless recursion loops. Thanks to Tobias Hahn <tobhahn@web.de> for this patch.
svn path=/main/trunk/; revision=6242
Zac Medico [Sun, 18 Mar 2007 00:25:43 +0000 (00:25 -0000)]
Use locals() instead of setattr to insert generated functions into the current module. Thanks to Brian Harring for the suggestion.
svn path=/main/trunk/; revision=6241
Mike Frysinger [Sat, 17 Mar 2007 21:52:26 +0000 (21:52 -0000)]
make sure we prefix all arguments with $D, including ones that dont start with a /
svn path=/main/trunk/; revision=6240
Zac Medico [Sat, 17 Mar 2007 09:20:33 +0000 (09:20 -0000)]
Call the base class destructor if it exists.
svn path=/main/trunk/; revision=6234
Zac Medico [Sat, 17 Mar 2007 08:41:35 +0000 (08:41 -0000)]
Add "bin" to testDirs.
svn path=/main/trunk/; revision=6233
Zac Medico [Sat, 17 Mar 2007 08:41:09 +0000 (08:41 -0000)]
Make paths independent of cwd.
svn path=/main/trunk/; revision=6232
Zac Medico [Sat, 17 Mar 2007 08:27:21 +0000 (08:27 -0000)]
Close /dev/null when finished.
svn path=/main/trunk/; revision=6231
Mike Frysinger [Sat, 17 Mar 2007 08:18:49 +0000 (08:18 -0000)]
start of framework for programs in portage bin
svn path=/main/trunk/; revision=6230
Mike Frysinger [Sat, 17 Mar 2007 08:07:22 +0000 (08:07 -0000)]
send stdout to /dev/null since we rely on the output of stdout here to determine the proper suffix #171212
svn path=/main/trunk/; revision=6229
Alec Warner [Sat, 17 Mar 2007 07:24:50 +0000 (07:24 -0000)]
bump ________foo from the TestCase class since _exc_info() doesn't do anything anyway
svn path=/main/trunk/; revision=6228
Alec Warner [Sat, 17 Mar 2007 07:11:40 +0000 (07:11 -0000)]
fix for older python who have oddly named __exc_info()
svn path=/main/trunk/; revision=6227
Zac Medico [Sat, 17 Mar 2007 03:47:08 +0000 (03:47 -0000)]
Use mkstemp to create a random tempfile.
svn path=/main/trunk/; revision=6226
Zac Medico [Sat, 17 Mar 2007 02:48:58 +0000 (02:48 -0000)]
Fix a broken test.
svn path=/main/trunk/; revision=6224
Zac Medico [Sat, 17 Mar 2007 02:47:09 +0000 (02:47 -0000)]
Fix broken exception handling.
svn path=/main/trunk/; revision=6223
Zac Medico [Sat, 17 Mar 2007 02:41:32 +0000 (02:41 -0000)]
Fix a typo.
svn path=/main/trunk/; revision=6222
Mike Frysinger [Sat, 17 Mar 2007 02:28:22 +0000 (02:28 -0000)]
forcibly break all hard links so we dont need to rely on --force in compressor and tweak the _relocate_skip_dirs() func to handle whitespace in paths (thanks to zmedico for tip)
svn path=/main/trunk/; revision=6221
Mike Frysinger [Sat, 17 Mar 2007 02:08:23 +0000 (02:08 -0000)]
redo compression so that it is queued up in src_install and then dequeued post src_install
svn path=/main/trunk/; revision=6220
Mike Frysinger [Fri, 16 Mar 2007 23:38:47 +0000 (23:38 -0000)]
drop the need for the force flag by default and just delete the existing files automatically #171007
svn path=/main/trunk/; revision=6219
Zac Medico [Fri, 16 Mar 2007 18:36:45 +0000 (18:36 -0000)]
Fix a utime call to prevent a timestamp collision for bug #171117.
svn path=/main/trunk/; revision=6217
Zac Medico [Fri, 16 Mar 2007 18:11:46 +0000 (18:11 -0000)]
For bug #171117, ensure that the new and old config have different timestamps (for the benefit of programs like rsync that need distiguishable timestamps to detect file changes). Thanks to Ben Bennett <sink@limey.net> for reporting.
svn path=/main/trunk/; revision=6215
Zac Medico [Fri, 16 Mar 2007 01:20:36 +0000 (01:20 -0000)]
For bug #163262 and conformance with section 7.2 of the PMS, make the export attribute of variables persist between ebuild phases.
svn path=/main/trunk/; revision=6212
Zac Medico [Thu, 15 Mar 2007 20:27:25 +0000 (20:27 -0000)]
Add back rstrip(os.path.sep) from the previous commit since it's needed when ROOT="/".
svn path=/main/trunk/; revision=6211
Zac Medico [Thu, 15 Mar 2007 20:23:17 +0000 (20:23 -0000)]
Automatically convert ROOT and PORTAGE_CONFIGROOT to absolute paths when necessary since relative paths lead to problems. Thanks to Christian Heim <phreak@gentoo.org> for reporting.
svn path=/main/trunk/; revision=6210
Zac Medico [Mon, 12 Mar 2007 23:42:16 +0000 (23:42 -0000)]
Make prepinfo remove installed info indexes recursively. Thanks to Christian Faulhammer <opfer@gentoo.org> for reporting (see bugs #162675 and #170133).
svn path=/main/trunk/; revision=6205
Zac Medico [Sat, 10 Mar 2007 00:08:13 +0000 (00:08 -0000)]
For bug #170178, remove all hardcoded references to '/usr/lib/portage'.
svn path=/main/trunk/; revision=6203
Zac Medico [Fri, 9 Mar 2007 21:03:25 +0000 (21:03 -0000)]
import portage.xpak to avoid deprecation warning
svn path=/main/trunk/; revision=6202
Zac Medico [Fri, 9 Mar 2007 19:10:26 +0000 (19:10 -0000)]
Add back a missing `source isolated-functions.sh`. The color logic is handled internally.
svn path=/main/trunk/; revision=6201
Marius Mauch [Fri, 9 Mar 2007 10:31:54 +0000 (10:31 -0000)]
Display message about --buildpkgonly restriction in pretend mode as well
svn path=/main/trunk/; revision=6199
Zac Medico [Fri, 9 Mar 2007 04:43:10 +0000 (04:43 -0000)]
Remove profile masking of system packages from the docs.
svn path=/main/trunk/; revision=6198
Zac Medico [Fri, 9 Mar 2007 04:25:40 +0000 (04:25 -0000)]
Remove the "masked by: profile" support from getmaskingstatus().
svn path=/main/trunk/; revision=6197
Zac Medico [Fri, 9 Mar 2007 03:57:59 +0000 (03:57 -0000)]
Use the full atoms from the system set, since profile masking does not automatically constrain the matches anymore.
svn path=/main/trunk/; revision=6196
Zac Medico [Fri, 9 Mar 2007 03:34:29 +0000 (03:34 -0000)]
Remove legacy "masked by: profile" support as per bug #149508. Profiles should use package.mask to mask unwanted versions of system packages.
svn path=/main/trunk/; revision=6195
Alec Warner [Thu, 8 Mar 2007 16:00:39 +0000 (16:00 -0000)]
whoopse, s/;/:/
svn path=/main/trunk/; revision=6194
Alec Warner [Thu, 8 Mar 2007 07:10:40 +0000 (07:10 -0000)]
add PackageMask{File} classes, change unit tests to use try/finally, makes sure the tempfile gets destroyed even if something weird happens
svn path=/main/trunk/; revision=6193
Alec Warner [Thu, 8 Mar 2007 06:44:06 +0000 (06:44 -0000)]
Change load() to have no default arguments, makes caller specifiy explicitly...I think assuming a default arg is bad here. Also add PackageUse and PackageUseFile, change up the comments a bit. I've started to notice code re-use here; these are basically the same code. I think I will write up the rest of the package* classes and then perform code merges to save LOC and memory and whatnot
svn path=/main/trunk/; revision=6192