summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug #212882 - For compatibility with ENOENT exceptions raised fromZac Medico2008-03-171-2/+18
| | | | | | | fstat calls with CIFS, wrap fstat calls with an appropriate exception handler. svn path=/main/trunk/; revision=9474
* Bug #213592 - Fix --onlydeps breakage.Zac Medico2008-03-161-3/+4
| | | | svn path=/main/trunk/; revision=9473
* Bug #213540 - Make sure DESTTREE=/usr is set before inherit calls.Zac Medico2008-03-161-0/+4
| | | | svn path=/main/trunk/; revision=9472
* When in strict mode, make paren_reduce() detect missing whitespace aroundZac Medico2008-03-151-0/+8
| | | | | | | | | parenthesis tokens and raise an InvalidDependString exception. Strict mode is not enabled when handling installed packages, so this will only affect repoman and packages that haven't been installed yet. Thanks to zlin for reporting. svn path=/main/trunk/; revision=9471
* avoid importing portage to improve performanceMarius Mauch2008-03-151-3/+3
| | | | svn path=/main/trunk/; revision=9470
* add a placeholder for repository paths in 'filename' and 'directory' options ↵Marius Mauch2008-03-151-4/+16
| | | | | | for StaticFileSet svn path=/main/trunk/; revision=9469
* Fix an UnboundLocalError for 'pkgindex'.Zac Medico2008-03-151-2/+2
| | | | svn path=/main/trunk/; revision=9467
* Fix grammar.Zac Medico2008-03-142-2/+2
| | | | svn path=/main/trunk/; revision=9466
* Bug #42456 - When a checksum failure occurs during fetch, use a newZac Medico2008-03-143-5/+31
| | | | | | | | | PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS config variable to control how many mirrors should be tried before aborting the download. This type of behavior used to be enabled only in --fetchonly mode but now it's enabled for all fetch() calls. svn path=/main/trunk/; revision=9463
* * Optimize parallel-fetch to avoid redundant checksum verification.Zac Medico2008-03-143-3/+26
| | | | | | * Add parallel-fetch to the default FEATURES since it is more efficient now. svn path=/main/trunk/; revision=9462
* Make strip_empty() return a nedw list instead of working in-place. Thanks toZac Medico2008-03-131-5/+1
| | | | | | René Neumann <rene.neumann@necoro.net> for the suggestion. svn path=/main/trunk/; revision=9460
* - news bugfix from ferringbNed Ludd2008-03-111-0/+1
| | | | svn path=/main/trunk/; revision=9459
* Bug #212882 - Fix lockfile() to handle errno.EACCES raised from the fcntlZac Medico2008-03-101-1/+1
| | | | | | | call since the spec says that it's equivalent to EAGAIN and it appears that CIFS returns EACCES in this case. svn path=/main/trunk/; revision=9458
* When all available ebuilds are masked, avoid producing warning message whenZac Medico2008-03-091-1/+2
| | | | | | | the package does not need to be reinstalled and the installed version is not masked. svn path=/main/trunk/; revision=9457
* Fix var_assign_re to recognize a call to the 'declare' builtin even whenZac Medico2008-03-091-1/+1
| | | | | | no options are given. svn path=/main/trunk/; revision=9456
* add some status messages, try to copy the tarball into DISTDIR, use getopt ↵Marius Mauch2008-03-091-8/+26
| | | | | | for option parsing svn path=/main/trunk/; revision=9455
* Make readpkgindex() and writepkgindex() private methods of PackageIndex.v2.2_pre4Zac Medico2008-03-081-24/+24
| | | | svn path=/main/trunk/; revision=9453
* Convert PackageIndex.packages from a dict to a list so that in the futureZac Medico2008-03-073-17/+46
| | | | | | it will be possible to support multiple packages with the same cpv. svn path=/main/trunk/; revision=9452
* Make --prune and --depclean operate with missing dependencies when onlyZac Medico2008-03-071-2/+10
| | | | | | asked to remove specific packages since it's relatively safe in this case. svn path=/main/trunk/; revision=9451
* Use os.environ["SANDBOX_ON"] = "0" to make portageq exempt from sandbox forZac Medico2008-03-062-1/+5
| | | | | | things like writing metadata cache. Thanks to ferringb for the suggestion. svn path=/main/trunk/; revision=9448
* Remove egrep syntax emulation since it's not really needed.Zac Medico2008-03-062-18/+4
| | | | svn path=/main/trunk/; revision=9447
* Implement the sed-based declare -r filter in python.Zac Medico2008-03-062-9/+14
| | | | svn path=/main/trunk/; revision=9446
* Move the variable name validation regexes (for bug 211949) intoZac Medico2008-03-062-8/+11
| | | | | | filter-bash-environment.py instead of passing them in from bash. svn path=/main/trunk/; revision=9445
* Update the description to reflect the new meaning of PATTERN.Zac Medico2008-03-051-3/+4
| | | | svn path=/main/trunk/; revision=9444
* Pass a space-separated list of variables into filter-bash-environment.py andZac Medico2008-03-052-9/+5
| | | | | | | generate the final regex on the python side instead of in bash. Also, properly anchor the regex so that it actually works. svn path=/main/trunk/; revision=9443
* Fix have_end_quote() to compare the quote against the correct group.Zac Medico2008-03-051-1/+1
| | | | svn path=/main/trunk/; revision=9442
* Bug #211949 - Tighten the variable name filter to exclude any variablesZac Medico2008-03-051-1/+1
| | | | | | with names containing any non-alphanumeric characters. svn path=/main/trunk/; revision=9441
* Handle multi-line quoted variable assignments.Zac Medico2008-03-051-8/+37
| | | | svn path=/main/trunk/; revision=9440
* As requested by wolf31o2, use the ROOT setting from make.conf as long asZac Medico2008-03-051-7/+2
| | | | | | it's not overridden by the calling environment. svn path=/main/trunk/; revision=9439
* TODO: Move variable name validation and declare -r filteringZac Medico2008-03-051-0/+3
| | | | | | into filter-bash-environment.py. svn path=/main/trunk/; revision=9438
* Update description to reflect the new meaning of the PATTERN argument.Zac Medico2008-03-051-1/+2
| | | | svn path=/main/trunk/; revision=9437
* Implement variable assignment handling in python so that we can eventuallyZac Medico2008-03-052-3/+10
| | | | | | make it more flexible and robust. svn path=/main/trunk/; revision=9436
* Remove redundant CUSTOM_PROFILE_PATH from the PROFILE_PATHS variable soZac Medico2008-03-051-1/+1
| | | | | | | that /etc/portage/profile/profile.bashrc will only be sourced once if it exists. svn path=/main/trunk/; revision=9435
* Fix func_start_re so that it requires at least one alphanumeric character.Zac Medico2008-03-041-1/+1
| | | | svn path=/main/trunk/; revision=9434
* Tighten the funct_start_re so that it doesn't match leading whitespaceZac Medico2008-03-041-1/+1
| | | | | | since that's not needed. svn path=/main/trunk/; revision=9433
* Bug #211949 - Temporarily revert back to a less strict regex in order toZac Medico2008-03-041-1/+1
| | | | | | | avoid false positives with multi-line variable definitions that can be produced by the 'export' builtin. svn path=/main/trunk/; revision=9432
* Add support for idendification of function definitions since it's neededZac Medico2008-03-041-2/+18
| | | | | | | | | | | in some cases in order to prevent some odd function contents from being mistakenly identified as invalid variable assignments. For example, this line from _gcc-specs-directive_raw() is commonly found in environment.bz2 files: $1=="*"directive":" { pspec=spec; spec=""; outside=0; next } svn path=/main/trunk/; revision=9431
* Bug #211949 - Fix the regex so that it won't match the = character (equalsZac Medico2008-03-041-1/+1
| | | | | | sign). svn path=/main/trunk/; revision=9429
* tell rpmbuild to clean it's working files after completion, bug #97776Marius Mauch2008-03-031-1/+1
| | | | svn path=/main/trunk/; revision=9428
* fix message on ValueError to not sound like crapMarius Mauch2008-03-031-1/+1
| | | | svn path=/main/trunk/; revision=9427
* don't list files as being merged when they are ignored due to confmem, bug ↵Marius Mauch2008-03-031-2/+1
| | | | | | #212080 svn path=/main/trunk/; revision=9426
* check available space in DISTDIR before trying to fetch/copy a file, bug #212152Marius Mauch2008-03-031-2/+11
| | | | svn path=/main/trunk/; revision=9425
* Buf #210372 - Fix FEATURES=suidctl so that it really works again.Zac Medico2008-03-031-7/+8
| | | | svn path=/main/trunk/; revision=9423
* Bug #211949 - Tweak the regex so that a leading whitespace characterZac Medico2008-03-031-1/+2
| | | | | | cannot match the required non-alphanumeric group. svn path=/main/trunk/; revision=9421
* Fix the regex for bug #211949 so that it correctly matches variableZac Medico2008-03-031-1/+1
| | | | | | names that contain more than one non-alphanumeric character. svn path=/main/trunk/; revision=9419
* Quote the file path and uri inside FETCHCOMMAND and RESUMECOMMAND. ThanksZac Medico2008-03-031-2/+2
| | | | | | to igli for suggesting. svn path=/main/trunk/; revision=9418
* Bug #211949 - As suggested by vapier, tighten the variable filter to alsoZac Medico2008-03-022-2/+5
| | | | | | | exclude variable names that begin with a digit or that contain any non-alphanumeric characters that are not be supported by bash. svn path=/main/trunk/; revision=9416
* Make profile stacking of default USE and package.* slightly more efficientZac Medico2008-03-021-3/+6
| | | | | | by skipping list.insert() calls when possible. svn path=/main/trunk/; revision=9415
* one more fix to restore correct order for usemask/useforceMarius Mauch2008-03-021-6/+12
| | | | svn path=/main/trunk/; revision=9414
* fix indentation screwup from r9412Marius Mauch2008-03-021-3/+3
| | | | svn path=/main/trunk/; revision=9413