summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bug #251591 - Adjust the InheritAutotools pattern to treat more things ↵Zac Medico2008-12-201-2/+2
| | | | | | | | | similar to whitespace. Now it recognizes escaped newlines, || operators, and && operators. (trunk r12260) svn path=/main/branches/2.1.6/; revision=12263
* Bug #251616 - Inside _check_build_log(), remove unnecessary .* patterns from ↵Zac Medico2008-12-201-3/+3
| | | | | | | | | | regular expressions. These patterns trigger extreme performance issues when matched against extremely large lines such as those produced by dev-util/bzr test suite when it uses \r to rewrite the same line thousands of times. (trunk r12259) svn path=/main/branches/2.1.6/; revision=12262
* Fix DependencyArg.__str__() to ensure that str type is always returned.Zac Medico2008-12-201-1/+1
| | | | | | (trunk r12258) svn path=/main/branches/2.1.6/; revision=12261
* Detect problems with arguments and return non-zero when appropriate.v2.1.6.1Zac Medico2008-12-121-1/+13
| | | | | | (trunk r12248) svn path=/main/branches/2.1.6/; revision=12249
* Remove note about the repo_name warning since it's disabled in this branchZac Medico2008-12-121-3/+0
| | | | | | (bug #248603). svn path=/main/branches/2.1.6/; revision=12247
* Add a new FEATURES=test-fail-continue value which causes ebuild executionZac Medico2008-12-123-0/+15
| | | | | | | to continue after the test phase has failed. Thanks to Diego Pettenò <flameeyes@g.o> for the suggestion. (trunk r12214) svn path=/main/branches/2.1.6/; revision=12245
* Fix --pretend logic in Binpkg some more. (trunk r12213)Zac Medico2008-12-121-2/+2
| | | | svn path=/main/branches/2.1.6/; revision=12244
* Fix --getbinpkg to behave as expected with --pretend and --fetchonly.Zac Medico2008-12-121-6/+20
| | | | | | (trunk r12212) svn path=/main/branches/2.1.6/; revision=12243
* Fix breakage in stale metadata logic inside binarytree._poplulate().Zac Medico2008-12-121-3/+4
| | | | | | (trunk r12211) svn path=/main/branches/2.1.6/; revision=12242
* Fix incorrect usage of trap (only remove on signal at a time). (trunk r12210)Zac Medico2008-12-121-1/+2
| | | | svn path=/main/branches/2.1.6/; revision=12241
* When using the old binhost protocol, comparison with the remoteZac Medico2008-12-121-10/+6
| | | | | | | | package isn't supported, so the local package is always preferred even if --getbinpkgonly is enabled. Simplify bintree.isremote() so it works the same way regardless of which protocol is used. (trunk r12209) svn path=/main/branches/2.1.6/; revision=12240
* Fix old-style binhost code binarytree.digestCheck() will use local digests whenZac Medico2008-12-121-4/+9
| | | | | | a local package overrides a remote one. (trunk r12208) svn path=/main/branches/2.1.6/; revision=12239
* Fix --getbinpkgonly behavior so that binaries from the remote server areZac Medico2008-12-123-10/+50
| | | | | | | preferred over local packages if they are not identical. Thanks to Lance Albertson <ramereth@g.o> for reporting. (trunk r12207) svn path=/main/branches/2.1.6/; revision=12238
* Don't warn about missing repo_name for $PORTDIR when it happens to be empty.Zac Medico2008-12-121-0/+6
| | | | | | (trunk r12206) svn path=/main/branches/2.1.6/; revision=12237
* Add --sync support for `git pull`, and also add a failsafe to prevent rsyncZac Medico2008-12-121-0/+27
| | | | | | | from being called if $PORTDIR appears to be under revision control. Thanks to Daniel Robbins for the initial patch. (trunk r12205) svn path=/main/branches/2.1.6/; revision=12236
* Fix exit code to return non-zero when an error occurs. Thanks to ChristophZac Medico2008-12-121-2/+6
| | | | | | Mende <angelos@g.o> for reporting. (trunk r12202) svn path=/main/branches/2.1.6/; revision=12235
* Make BinpkgFetcher synchronize the local timestamp of the downloaded fileZac Medico2008-12-121-0/+24
| | | | | | | with the remote file, if the fetcher hasn't done it automatically. (trunk r12201) svn path=/main/branches/2.1.6/; revision=12234
* Remove ManifestEntry.__cmp__() since it's not needed and py3k won't use it.Zac Medico2008-12-121-4/+0
| | | | | | (trunk r12200) svn path=/main/branches/2.1.6/; revision=12233
* For py3k compat, remove Atom.__cmp__() and use str.__lt__() instead.Zac Medico2008-12-121-10/+2
| | | | | | (trunk r12199) svn path=/main/branches/2.1.6/; revision=12232
* Make Binpkg clean the build dir immediately after locking it. This ensuresZac Medico2008-12-121-0/+6
| | | | | | that a new PORTAGE_LOG_FILE is created. (trunk r12198) svn path=/main/branches/2.1.6/; revision=12231
* Make BinpkgVerifier rename files that fail verification, similar to howZac Medico2008-12-121-0/+6
| | | | | | distfiles are automatically renamed. (trunk r12197) svn path=/main/branches/2.1.6/; revision=12230
* Make the Binpkg class handle fetch logging similar to how EbuildBuild does,Zac Medico2008-12-121-20/+18
| | | | | | | directing output to PORTAGE_LOG_FILE instead of emerge-fetch.log which is only used for prefetchers now. (trunk r12196) svn path=/main/branches/2.1.6/; revision=12229
* Verify binary packages even when not in "strict" mode (normal distfiles areZac Medico2008-12-121-2/+1
| | | | | | also verified in this case). (trunk r12195) svn path=/main/branches/2.1.6/; revision=12228
* Create a BinpkgPrefetcher composite task to handle fetch, verification,Zac Medico2008-12-121-3/+36
| | | | | | and injection. (trunk r12194) svn path=/main/branches/2.1.6/; revision=12227
* When the Binpkg class has fetched a package in --fetchonly mode, wait untilZac Medico2008-12-121-5/+7
| | | | | | after the package is verified and injected before returning. (trunk r12193) svn path=/main/branches/2.1.6/; revision=12226
* urlparse.urljoin() only works correctly with recognized protocols andZac Medico2008-12-121-1/+4
| | | | | | | requires the base url to have a trailing slash, so join PORTAGE_BINHOST manually. Thanks to Lance Albertson <ramereth@g.o> for reporting. (trunk r12192) svn path=/main/branches/2.1.6/; revision=12225
* When processing output from the "depend" phase, use the number of lines asZac Medico2008-12-122-5/+20
| | | | | | | a sanity check so that bash's returncode doesn't have to be trusted. (trunk r12191) svn path=/main/branches/2.1.6/; revision=12224
* When attempting to close fd 9 at the end of the depend phase, use exec so thatZac Medico2008-12-121-1/+1
| | | | | | it really works. (trunk r12190) svn path=/main/branches/2.1.6/; revision=12223
* Bug #250148 - Prevent ebuild.sh subprocess from inheriting file descriptorZac Medico2008-12-121-9/+19
| | | | | | | 9, since otherwise if a daemon process such as udevd gets spawned then it can inherit the file descriptor and hang emerge. (trunk r12189) svn path=/main/branches/2.1.6/; revision=12222
* Bug #250166 - To avoid accidental regeneration of digests with the incorrectZac Medico2008-12-121-21/+29
| | | | | | | | | | files (such as partially downloaded files), trigger the fetch code if the file exists and it's size doesn't match the current manifest entry. If there really is a legitimate reason for the digest to change, `ebuild --force digest` can be used to avoid triggering this code (or else the old digests can be manually removed from the Manifest). (trunk r12185:12188) svn path=/main/branches/2.1.6/; revision=12221
* When in --debug mode, make the depgraph call self.digraph.debug_print() toZac Medico2008-12-122-5/+13
| | | | | | | | display the final digraph state. This should help when troubleshooting problems with blockers that don't resolve automatically, by making it easier to see what pulled in unwanted packages. (trunk r12185) svn path=/main/branches/2.1.6/; revision=12220
* For py3k compat, avoid using list.sort(cmp). (trunk r12184)Zac Medico2008-12-121-7/+11
| | | | svn path=/main/branches/2.1.6/; revision=12219
* For py3k compat, remove Package.__cmp__() and related cmp() function call.Zac Medico2008-12-121-8/+1
| | | | | | (trunk r12183) svn path=/main/branches/2.1.6/; revision=12218
* Fix deprecated_profile_check() to account for PORTAGE_CONFIGROOT. Thanks toZac Medico2008-12-122-4/+9
| | | | | | Jeremy Olexa <darkside@g.o> for the initial patch. (trunk r12181) svn path=/main/branches/2.1.6/; revision=12217
* Avoid TypeError in BlockerCache.__iter__() that's triggered withZac Medico2008-12-121-0/+3
| | | | | | | FEATURES=python-trace. Thanks to Fabian Groffen <grobian@g.o> for reporting. (trunk r12180) svn path=/main/branches/2.1.6/; revision=12216
* Bug #250212 - Add a new 'upstream.workaround' qa category, and use it forZac Medico2008-12-124-3/+9
| | | | | | | the EMakeParallelDisabled check. Thanks to Mike Auty <ikelos@g.o> for this patch. (trunk r12179) svn path=/main/branches/2.1.6/; revision=12215
* Remove the part about 'link level dependency awareness' which is not supportedZac Medico2008-12-111-2/+0
| | | | | | in this branch. Thanks to Arun Raghavan <ford_prefect@g.g> for reporting. svn path=/main/branches/2.1.6/; revision=12203
* Bug #249586 - Use writemsg() to send output to stderr instead of stdout.v2.1.6Zac Medico2008-12-071-10/+15
| | | | | | (trunk r12176) svn path=/main/branches/2.1.6/; revision=12177
* If pkg_nofetch needs to be spawned inside fetch() and it happens thatZac Medico2008-12-071-0/+29
| | | | | | | | | | | PORTAGE_BUILDDIR doesn't exist, like when called by digestgen(), use mkdtemp to create a private temporary directory so that pkg_nofetch can be spawned (directory needed to satisfy safe $PWD requirement of bug #239560). This is more user friendly since before the pkg_nofetch phase would simply be skipped in this case. Thanks to Petteri Räty <betelgeuse@g.o> for reporting. (trunk r12174) svn path=/main/branches/2.1.6/; revision=12175
* Allow 'system' and 'world' arguments simultaneously since it doesn't hurt.Zac Medico2008-12-061-4/+0
| | | | svn path=/main/branches/2.1.6/; revision=12173
* Add docs for PORTAGE_GPG_DIR and PORTAGE_GPG_KEY that are used by repoman forZac Medico2008-12-061-0/+10
| | | | | | | FEATURES=sign support. Thanks to Petteri Räty <betelgeuse@g.o> for reporting. (trunk r12168) svn path=/main/branches/2.1.6/; revision=12169
* Validate $ROOT inside the --resume merge list in order to avoid a pottentialZac Medico2008-12-061-0/+12
| | | | | | | KeyError due to a stale merge list that was for a different $ROOT setting. Thanks to Ned Ludd <solar@g.o> for reporting. (trunk r12166) svn path=/main/branches/2.1.6/; revision=12167
* Make fixpackages use a new "#" symbol for /var/db updates (previously '*'v2.1.6_rc3Zac Medico2008-12-051-2/+11
| | | | | | which means 'binary update' was used). (trunk r12159) svn path=/main/branches/2.1.6/; revision=12160
* Make fixpackages less noisy by only generting '*' characters for packagesZac Medico2008-12-042-5/+14
| | | | | | that are modified by updates. (trunk r12155) svn path=/main/branches/2.1.6/; revision=12158
* Enable FEATURES=fixpackages by default since the performance is prettyZac Medico2008-12-042-1/+3
| | | | | | | reasonable now. Thanks to Jeremy Olexa <darkside@g.o> for the suggestion. (trunk r12153 and r12155) svn path=/main/branches/2.1.6/; revision=12156
* Make sure depgraph._slot_conflict_explanation() doesn't display the sameZac Medico2008-12-041-1/+1
| | | | | | atom more than once. (trunk r12150) svn path=/main/branches/2.1.6/; revision=12151
* Bug #249185 - For common cases in which USE deps trigger SLOT conflicts, giveZac Medico2008-12-041-18/+98
| | | | | | | a short explanation and suggest a course of action to solve the problem. (trunk r12148) svn path=/main/branches/2.1.6/; revision=12149
* Break references between the depgraph and the dropped tasks insideZac Medico2008-12-031-0/+1
| | | | | | | Scheduler._calc_resume_list(), since the tasks are now saved for display at the end. (trunk r12146) svn path=/main/branches/2.1.6/; revision=12147
* When --keep-going drops packages due to unsatisfied dependencies, includeZac Medico2008-12-031-0/+1
| | | | | | | | them in the list of packgaes that "failed to build or install" that's displayed at the end. Thanks to Jeremy Olexa <darkside@g.o> for the suggestion. (trunk r12144) svn path=/main/branches/2.1.6/; revision=12145
* It's not safe to use the git commit -a option since there mightZac Medico2008-12-031-0/+23
| | | | | | | | | | be some modified files elsewhere in the working tree that the user doesn't want to commit. Therefore, call git update-index in order to ensure that the index is updated with the latest versions of all new and modified files in the relevant portion of the working tree. (trunk r12142) svn path=/main/branches/2.1.6/; revision=12143