summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Make 'full' the default mode, since 'scan' can be annoying when itZac Medico2007-11-202-5/+5
| | | | | | omits relevant info. (trunk r8499) svn path=/main/branches/2.1.2/; revision=8558
* In the slot collision display, show a maximum of 3 parentsZac Medico2007-11-201-0/+14
| | | | | | | for each package in order to avoid flooding the display. (trunk r8500) svn path=/main/branches/2.1.2/; revision=8557
* Make the slot collision display show all collisions insteadZac Medico2007-11-201-21/+33
| | | | | | of just the first one. (trunk r8498) svn path=/main/branches/2.1.2/; revision=8556
* Fix blocker handling to properly handle SLOT atoms inZac Medico2007-11-201-1/+3
| | | | | | depgraph.validate_blockers(). (trunk r8495) svn path=/main/branches/2.1.2/; revision=8555
* Bug #197797 - Set umask to 022 so that created files (such as theZac Medico2007-11-201-0/+4
| | | | | | world file) have sane permissions. svn path=/main/branches/2.1.2/; revision=8554
* Make diefunc() clean up QA_INTERCEPTORS in case it isZac Medico2007-11-201-1/+6
| | | | | | | called from inherit() since sed called below. (trunk r8490) svn path=/main/branches/2.1.2/; revision=8553
* Convert all the checks in repoman.checks to use a new LineCheckZac Medico2007-11-201-108/+90
| | | | | | | | | | | | | | | | | | | | | | | | | interface that takes a single line as an argument. This has at least a few of benefits: * Eliminates lots of redundant code * Error messages are ordered by line number across all checks The performance is slightly worse due to the increased number of method calls, but it's not really noticeable in comparison to the time consumed by dependency checks. Thanks to Petteri Räty <betelgeuse@gentoo.org> for the initial patch which I only made a few minor modifications to. (trunk r8483) Make the EbuildQuote.missing_quotes regex accept single quotes where it accepts double quotes in order to eliminate some false positives. Thanks to Krzysiek Pawlik <nelchael@gentoo.org> for reporting. (trunk r8485) svn path=/main/branches/2.1.2/; revision=8552
* Remove the workaround for \n -> \r\n transformations inZac Medico2007-11-201-4/+5
| | | | | | | SpawnTestCase.testLogfile() since the problem is solved by the patch from bug #198491. (trunk r8474) svn path=/main/branches/2.1.2/; revision=8551
* Bug #198491 - Disable termios.OPOST post-processing of output onZac Medico2007-11-201-0/+7
| | | | | | | | the slave pty file descriptor since otherwise weird things like \n -> \r\n transformations may occur. Thanks to Ulrich Mueller <ulm@gentoo.org> for this patch. (trunk r8473) svn path=/main/branches/2.1.2/; revision=8550
* make.globals should not be relative to config_rootZac Medico2007-11-201-1/+3
| | | | | | because it only contains constants. (trunk r8471) svn path=/main/branches/2.1.2/; revision=8549
* Tweak EOutput.term_columns calculation for TERM="dumb" soZac Medico2007-11-201-1/+1
| | | | | | | | that it behaves like TERM="cons25" currently does. Thanks to Ulrich Mueller <ulm@gentoo.org> for the patch. (trunk r8468) svn path=/main/branches/2.1.2/; revision=8548
* Don't do:Zac Medico2007-11-201-2/+3
| | | | | | | Calculating dependencies |Fetching binary packages info... but instead put "Fetching ..." on it's own line. (trunk r8466) svn path=/main/branches/2.1.2/; revision=8547
* Bug #198492 - Make quickpkg create $PKGDIR if it doesn'tZac Medico2007-11-201-0/+5
| | | | | | already exist. (trunk r8464) svn path=/main/branches/2.1.2/; revision=8546
* It is not cool and/or helpfull to see an HTML dump of someZac Medico2007-11-201-3/+0
| | | | | | | page in case it is not what is expected (like a 404). (trunk r8462) svn path=/main/branches/2.1.2/; revision=8545
* For unsatisfied dependencies, shorten the per-package EAPI maskZac Medico2007-11-202-5/+24
| | | | | | | output and show an informative message whenever an EAPI mask is encountered. (trunk r8457) svn path=/main/branches/2.1.2/; revision=8544
* Synchronize vardbapi._aux_cache_keys with trunk. It's importantZac Medico2007-11-181-3/+6
| | | | | | | | | at least to include RESTRICT since the depgraph uses that one and therefore it should be cached to improve performance. The others aren't strictly necessary at this time, but it's good to be in sync with trunk. svn path=/main/branches/2.1.2/; revision=8522
* Remove the usage.obsolete "KEYWORDS contain -*" warning since peoplev2.1.3.19Zac Medico2007-11-061-3/+0
| | | | | | | are using -* to indicate that a package should not be tried on archs other than those for which it already has KEYWORDS. svn path=/main/branches/2.1.2/; revision=8448
* Simplify and fix bugs in is_valid_package_atom(). (trunk r8445)Zac Medico2007-11-061-11/+5
| | | | svn path=/main/branches/2.1.2/; revision=8446
* Go ahead and exempt selected profile-specific USE_EXPANDZac Medico2007-11-061-1/+6
| | | | | | | | | | | | | flags from IUSE QA Notices since we are planning to make these particular flags into implicit members of IUSE. We can make this extensible later, but for now we just want to eliminate some useless QA Notices (a subset of bug #70648). We're not exempting any non profile- specific USE_EXPAND flags here. For non profile-specific flags, we intend to implement an IUSE syntax extension (bug #133327). (trunk r8442) svn path=/main/branches/2.1.2/; revision=8443
* Remove the installed package masking hack from bug #149816 sinceZac Medico2007-11-061-5/+0
| | | | | | | installed packages should be able to satisfy dependencies whether they are masked or not (matches current trunk behavior). svn path=/main/branches/2.1.2/; revision=8441
* Allow multislot packages to be added to the world fileZac Medico2007-11-061-7/+30
| | | | | | | | | | | | | | | | via --noreplace. Having these atoms in the world file will trigger recommendations to run emaint in some cases, like when running `emerge -e world`. The atoms need to be in the world file to prevent multislot packages from being removed by --depclean though. (trunk r8436) Bug #198129 - Prevent SLOT atoms like sys-devel/binutils:0 from being inappropriately recorded in the world file when USE=multislot is enabled. (trunk r8437:8439) svn path=/main/branches/2.1.2/; revision=8440
* Port the EbuildNestedDie check from trunk since theZac Medico2007-11-051-4/+25
| | | | | | | python version is much faster than the old one that uses grep. svn path=/main/branches/2.1.2/; revision=8430
* Make exception strings more informative. (trunk r8426)Zac Medico2007-11-041-2/+5
| | | | svn path=/main/branches/2.1.2/; revision=8427
* Fix indentation typo.Zac Medico2007-11-041-4/+3
| | | | svn path=/main/branches/2.1.2/; revision=8425
* Make Manifest.create() do some basic validation of ebuildZac Medico2007-11-041-1/+11
| | | | | | file names like portdbapi.cp_list() would do. (trunk r8423) svn path=/main/branches/2.1.2/; revision=8424
* In portdbapi.cp_list(), validate the ebuild name to ensureZac Medico2007-11-041-0/+4
| | | | | | that it matches the name of the package. (trunk r8421) svn path=/main/branches/2.1.2/; revision=8422
* Clean up ACCEPT_KEYWORDS incremental stacking logic andZac Medico2007-11-041-29/+31
| | | | | | fix some minor inconsistencies. (trunk r8418) svn path=/main/branches/2.1.2/; revision=8419
* In fetch(), replace checksum_failure_counts dict with singleZac Medico2007-11-041-8/+6
| | | | | | int counter. (trunk r8416) svn path=/main/branches/2.1.2/; revision=8417
* Generate a usage.obsolete warning wheneverZac Medico2007-11-041-2/+5
| | | | | | -* is found in KEYWORDS. (trunk r8414) svn path=/main/branches/2.1.2/; revision=8415
* Make fetch() behave like the ebuild has RESTRICT="primaryuri"Zac Medico2007-11-041-1/+30
| | | | | | | | after 2 checksum failures for a fetched file. This should increase the probability of fetching the correct file before the maximum number of tries is reached. (trunk r8412) svn path=/main/branches/2.1.2/; revision=8413
* For sanity, pass an actual list of keys into aux_get() insteadZac Medico2007-11-041-3/+4
| | | | | | | of iterating over a set that happens to be mutable (though it remains constant in practice). (trunk r8410) svn path=/main/branches/2.1.2/; revision=8411
* Bug #197797 - Do not actively clear o+rx permission bitsZac Medico2007-11-031-4/+2
| | | | | | | | | | | | | | | on the /var/lib/portage directory. Only clear the o+w bits. This allows users who aren't in the portage group to have read access to the world file by default, but administrators can explicitly chmod o-rx that directory if necessary, and portage will leave those bits alone. This makes the permission settings in dblink.treewalk() consistent with those that are already defined in config._init_dirs(). (trunk r8408) svn path=/main/branches/2.1.2/; revision=8409
* Call die() so that the $TMP directory is always properlyZac Medico2007-11-031-7/+6
| | | | | | cleaned up. (trunk r8405) svn path=/main/branches/2.1.2/; revision=8407
* if mode=1 and `dialog` is not usable, abort #197990 by DominikBuerkleZac Medico2007-11-031-0/+7
| | | | | | (trunk r8402) svn path=/main/branches/2.1.2/; revision=8406
* Bug #197965 - When fetch() encounters a checksum failure,Zac Medico2007-11-031-12/+58
| | | | | | | | | | | | | look for an identical file from a previous checksum failure in order to avoid consuming unnecessary disk space with duplicate files. (trunk r8401) Bug #197965 - Make fetch() bail out after 5 checksum failures for a particular file since downloading the same file repeatedly from every single available mirror is a waste of bandwidth and time. (trunk r8403) svn path=/main/branches/2.1.2/; revision=8404
* Fix update_config_files() so that it uses update_dbentry()Zac Medico2007-11-031-30/+30
| | | | | | | to handle update commands since that already supports slotmove commands for SLOT atoms. (trunk r8397) svn path=/main/branches/2.1.2/; revision=8398
* Revert to backward compatible masking behavior with respectZac Medico2007-11-031-16/+9
| | | | | | | | | to -* in KEYWORDS and package.keywords since -* behavior changes are not essential at this time and a change in this long standing behavior has potential to confuse lots of users. svn path=/main/branches/2.1.2/; revision=8395
* In portage.fetch(), condense digest check output to a singleZac Medico2007-11-031-2/+4
| | | | | | line for all digests. (trunk r8385) svn path=/main/branches/2.1.2/; revision=8394
* Remove redundant code from previous commit. (trunk r8392)Zac Medico2007-11-031-2/+0
| | | | svn path=/main/branches/2.1.2/; revision=8393
* Bug #197932 - Make dbapi._cpv_sort_ascending()Zac Medico2007-11-031-9/+10
| | | | | | | preserve explicit -r0 for consistency in findname and aux_get calls. (trunk r8390) svn path=/main/branches/2.1.2/; revision=8391
* Synchronize getmaskingreason() and getmaskingstatus() withZac Medico2007-11-031-40/+42
| | | | | | | trunk so that behavior is the same for things like SLOT deps and -* in package.keywords. svn path=/main/branches/2.1.2/; revision=8386
* Sort scanlist and ebuildlist to ensure that repoman alwaysZac Medico2007-11-021-0/+2
| | | | | | processes packages in a predictable order. (trunk r8383) svn path=/main/branches/2.1.2/; revision=8384
* Make portdbapi.gvisible() use portdbapi._aux_cache_keysZac Medico2007-11-021-1/+1
| | | | | | for metadata pulls. (trunk r8381) svn path=/main/branches/2.1.2/; revision=8382
* Return early from config._getMaskAtom() as soon as a matchingZac Medico2007-11-021-5/+1
| | | | | | unmask atom is found. (trunk r8379) svn path=/main/branches/2.1.2/; revision=8380
* Optimize merge order to try and select nodes that only haveZac Medico2007-11-021-20/+28
| | | | | | | | | | | | | | | | | | | | | | unsatisfied PDEPEND slightly earlier. This solves a problem with xorg-server being merged too early during an all binary install (since DEPEND is ignored for binaries), triggering built_with_use() calls to fail as reported in bug #189966. Since DEPEND is discarded in cases like this, it is important to exploit the difference between PDEPEND and RDEPEND in order to optimize merge order. Without this optimization, the merge order is technically correct, but not as optimal as it should be and has lots of potential to trigger issues with built_with_use() or similar things that require better optimization of merge order. (trunk r8357:8359) Fix ignore_priority logic in depgraph.altlist() in order to handle some cases where it was possible for nodes to be selected without their PDEPENDs being propperly added to the asap_nodes list. (trunk r8360) svn path=/main/branches/2.1.2/; revision=8378
* Remove an extra \$ from the EbuildQuote.var_reference regexZac Medico2007-11-021-4/+4
| | | | | | | | | | so that it will properly match things like variable references without braces, like $S. (trunk r8354) Properly escape { and } characters in regular expressions even though it seems to work either way. (trunk r8355) svn path=/main/branches/2.1.2/; revision=8377
* Add a check for redundant cd "${S}" statements on the firstZac Medico2007-11-021-1/+23
| | | | | | | | line of src_(compile|install|test) ebuild methods. Thanks to Petteri Räty <betelgeuse@gentoo.org> for this patch. (trunk r8351 and r8353) svn path=/main/branches/2.1.2/; revision=8376
* Fix diefunc() so that it doesn't report that the ebuild is fromZac Medico2007-11-021-1/+2
| | | | | | an overlay when EMERGE_FROM == binary. (trunk r8349) svn path=/main/branches/2.1.2/; revision=8375
* Update the FEATURES=mirror docs to more accurately reflect behavior.Zac Medico2007-11-021-2/+6
| | | | | | | | (trunk r8348) Bug #197594 - Document FEATURES="lmirror". (trunk r8373) svn path=/main/branches/2.1.2/; revision=8374
* Remove a few unused depgraph attributes. (trunk r8345)Zac Medico2007-11-021-12/+0
| | | | svn path=/main/branches/2.1.2/; revision=8372