summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix typo. (trunk r12341)v2.1.6.3Zac Medico2008-12-251-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=12342
* Refactor EbuildMetadataPhase._output_handler() and _set_returncode().Zac Medico2008-12-251-16/+13
| | | | | | (trunk r12339) svn path=/main/branches/2.1.6/; revision=12340
* Use long() instead of float() when parsing Package.mtime from the metadata.Zac Medico2008-12-251-1/+1
| | | | | | (trunk r12332) svn path=/main/branches/2.1.6/; revision=12338
* Make vardbapi._aux_get() return _mtime_ as a long (never as a float).Zac Medico2008-12-251-1/+1
| | | | | | (trunk r12331) svn path=/main/branches/2.1.6/; revision=12337
* Inside portdbapi._metadata_callback(), preserve _eclasses_ when the EAPI isZac Medico2008-12-251-15/+20
| | | | | | | | | unsupported since the eclass timestamps might be needed in order to decide that the cache entry should be regenerated. Also, make sure that all metadata returned from portdbapi.aux_get() is returned as empty strings when the EAPI is unsupported. (trunk r12330) svn path=/main/branches/2.1.6/; revision=12336
* Handle potential KeyErrors that may be raised from get_eclass_data(), andZac Medico2008-12-253-10/+16
| | | | | | remove unnecessary print statements inside get_eclass_data(). (trunk r12329) svn path=/main/branches/2.1.6/; revision=12335
* Don't add any more that one "-" symbol to the front of an unsupported EAPI.Zac Medico2008-12-251-1/+1
| | | | | | (trunk r12328) svn path=/main/branches/2.1.6/; revision=12334
* Inside mirror_cache(), handle unsupported EAPI like portdbapi does.Zac Medico2008-12-251-0/+9
| | | | | | (trunk r12327) svn path=/main/branches/2.1.6/; revision=12333
* Add support for synchronizing ebuild and eclass timestamps with the metadataZac Medico2008-12-251-1/+136
| | | | | | | | | | | cache timestamps which emerge --sync operates on a git repository. This is necessary since git doesn't preserve timestamps. It is assumed that the timestamps should be synchronized if the relevant ebuilds and eclasses are unmodified relative to the HEAD commit (as reported by git-ls-files). This feature was requested by Daniel Robbins, so that it's possible for the funtoo git repository to distribute pre-generated metadata. (trunk r12303) svn path=/main/branches/2.1.6/; revision=12326
* Make BinpkgFetcher use longs instead of floats when synchronizing timestamps,Zac Medico2008-12-251-2/+2
| | | | | | since it's better not to rely on float comparison here. (trunk r12302) svn path=/main/branches/2.1.6/; revision=12325
* Bug #252374 - Warn if FEATURES=fakeroot is enabled, but the fakeroot binaryZac Medico2008-12-252-0/+6
| | | | | | is not installed. (trunk r12301) svn path=/main/branches/2.1.6/; revision=12324
* Bug #251976 - Add a QA_PRESTRIPPED variable for ebuilds to disable warnings ↵Zac Medico2008-12-253-4/+26
| | | | | | | | about pre-stripped files. (trunk r12295:12300) svn path=/main/branches/2.1.6/; revision=12323
* Bug #252304 - Restore the -V/--version option. (trunk r12293)Zac Medico2008-12-251-0/+7
| | | | svn path=/main/branches/2.1.6/; revision=12322
* Add SIGUSR1 signal handlers that call pdb.set_trace(). Thanks to Brian ↵Zac Medico2008-12-252-0/+10
| | | | | | | | Harring for the suggestion. (trunk r12292) svn path=/main/branches/2.1.6/; revision=12321
* Make more code conditional on POLLIN events, where appropriate. (trunk r12291)Zac Medico2008-12-251-31/+38
| | | | svn path=/main/branches/2.1.6/; revision=12320
* Move initial signal handlers to the launcher script. (trunk r12290)Zac Medico2008-12-252-17/+19
| | | | svn path=/main/branches/2.1.6/; revision=12319
* Rename the PollTask class to AbstractPollTask. (trunk r12289)Zac Medico2008-12-251-3/+6
| | | | svn path=/main/branches/2.1.6/; revision=12318
* Add handling for POLLERR, POLLNVAL, and POLLHUP. Hopefully this solves hung ↵Zac Medico2008-12-251-40/+72
| | | | | | | | | poll calls with defunct ebuild.sh processes, reported on solaris systems by Fabian Groffen <grobian@g.o>. (trunk r12287) svn path=/main/branches/2.1.6/; revision=12317
* Register for poll events before forking, in order to avoid potential race ↵Zac Medico2008-12-251-13/+12
| | | | | | | | | | conditions in SpawnProcess._start() and EbuildMetadataPhase._start(). Hopefully this solves hung poll calls with defunct ebuild.sh processes, reported on solaris systems by Fabian Groffen <grobian@g.o>. (trunk r12285) svn path=/main/branches/2.1.6/; revision=12316
* Fix PATH comparison in binarytree.inject() some more. (trunk r12295)Zac Medico2008-12-251-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=12315
* Fix broken PATH comparisons when eliminating duplicate entries insideZac Medico2008-12-251-2/+2
| | | | | | binarytree.inject(). (trunk r12294) svn path=/main/branches/2.1.6/; revision=12314
* When removing entries with duplicate paths inside binarytree.inject(), handleZac Medico2008-12-251-3/+6
| | | | | | path collisions in $PKGDIR/All when CPV is not identical. (trunk r12282) svn path=/main/branches/2.1.6/; revision=12313
* Fix typo. (trunk r12281)Zac Medico2008-12-251-1/+1
| | | | svn path=/main/branches/2.1.6/; revision=12312
* Bug #252243 - Fix binarytree.prevent_collision() so that it won't create a ↵Zac Medico2008-12-251-6/+17
| | | | | | | | | circular symlink if there happens to be a symlink in $PKGDIR/All for some reason. (trunk r12280) svn path=/main/branches/2.1.6/; revision=12311
* Simplify the code from bug #218854. Also, ensure that the set of visible ↵Zac Medico2008-12-251-33/+7
| | | | | | | | | | | packages thats used by depgraph._iter_atoms_for_pkg() is consistent with the packages that have been selected by depgraph._select_pkg_highest_available(). This should correct potential inconstencies introduced by the package selection changes from bug #252167. (trunk r12279) svn path=/main/branches/2.1.6/; revision=12310
* Bug #252167 - If the ebuild no longer exists or it's keywords have been dropped,Zac Medico2008-12-251-8/+27
| | | | | | | reject built instances (installed or binary). If --usepkgonly is enabled, assume that the ebuild status should be ignored. (trunk r12278) svn path=/main/branches/2.1.6/; revision=12309
* Remove code from unused config.load_infodir() method and issue a deprecationZac Medico2008-12-251-67/+3
| | | | | | warning if it's called. (trunk r12275) svn path=/main/branches/2.1.6/; revision=12308
* Add support for the new DEFINED_PHASES metadata key which is automatically ↵Zac Medico2008-12-254-4/+30
| | | | | | | | | generated from the set of phase functions that are defined by the ebuild and any eclasses it may have inherited. (trunk r12272:12274) svn path=/main/branches/2.1.6/; revision=12307
* Fix --clean <atom> so that it considers all packages within a given slot whenZac Medico2008-12-251-1/+16
| | | | | | | | | it's deciding which packages to keep, rather than just considering the ones matched by the given atom. Any packages not matching the given atom are protected from being unmerged. Thanks to Mart Raudsepp <leio@g.o> for reporting. (trunk r12272) svn path=/main/branches/2.1.6/; revision=12306
* Update --depclean 'unsatisfied deps' message to recommend the same emerge updateZac Medico2008-12-251-2/+2
| | | | | | | command that's recommended earlier. Thanks to Jeremy Olexa <darkside@g.o> for reporting. (trunk r12271) svn path=/main/branches/2.1.6/; revision=12305
* Remove the TaskScheduler.run() method since the constructor replaces it withZac Medico2008-12-251-3/+0
| | | | | | the QueueScheduler.run() method. (trunk r12270) svn path=/main/branches/2.1.6/; revision=12304
* Adjust the EbuildNestedDie pattern so that it only matches when ( is surroundedv2.1.6.2Zac Medico2008-12-201-1/+1
| | | | | | | | by whitespace. This filters out false positives triggered by sed expressions in net-analyzer/amap-5.2-r1 and media-libs/libsndfile-1.0.17-r1. Thanks to Diego Pettenò <flameeyes@g.o> for reporting. (trunk r12265) svn path=/main/branches/2.1.6/; revision=12267
* Simplify the InheritAutotools pattern by using \b to match word boundaries.Zac Medico2008-12-201-2/+2
| | | | | | (trunk r12264) svn path=/main/branches/2.1.6/; revision=12266
* 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