summaryrefslogtreecommitdiffstats
path: root/pym/portage
Commit message (Collapse)AuthorAgeFilesLines
* Inside portage.fetch(), check for the case where FETCOMMAND creates aZac Medico2009-03-111-0/+29
| | | | | | | | directory where a file is expected. This can happen if FETCHCOMMAND erroneously contains wget's -P option where it should instead have -O, as reported in bug #258433, comment #16. (trunk r12601) svn path=/main/branches/2.1.6/; revision=12882
* Bug #258433 - In portage.fetch(), check for missing ${FILE} parameter inZac Medico2009-03-111-17/+50
| | | | | | FETCHCOMMAND or RESUMECOMMAND and bail out early if necessary. (trunk r12600) svn path=/main/branches/2.1.6/; revision=12881
* Add new EAPI 3_pre1 value, and disable unpack() support for *.xz for earlierZac Medico2009-03-111-0/+4
| | | | | | EAPI values. (trunk r12596) svn path=/main/branches/2.1.6/; revision=12877
* Keep 2_pre* EAPI values in the deprecated list so that uninstalls stillZac Medico2009-03-111-1/+1
| | | | | | work normally. (trunk r12595) svn path=/main/branches/2.1.6/; revision=12876
* Remove support for deprecated 2_pre* EAPI values. (trunk r12594)Zac Medico2009-03-111-3/+3
| | | | svn path=/main/branches/2.1.6/; revision=12875
* Fix digraph.clone() to properly clone priority lists. (trunk r12587)Zac Medico2009-03-111-2/+8
| | | | svn path=/main/branches/2.1.6/; revision=12868
* For python-3.0 compatibility, make dict-like classes modify their keys(),Zac Medico2009-03-115-0/+29
| | | | | | | items(), and values() methods appropriatly for the current python version. (trunk r12584) svn path=/main/branches/2.1.6/; revision=12865
* Fix the priorities display in digraph.debug_print() so it shows the highestZac Medico2009-03-111-3/+2
| | | | | | priority (since multiple priorities are now supported). (trunk r12582) svn path=/main/branches/2.1.6/; revision=12863
* Add support in digraph for multiple priorities per edge and support forZac Medico2009-03-111-34/+78
| | | | | | | callable ignore_priority arguments that can be used for finer grained filtering. (trunk r12580) svn path=/main/branches/2.1.6/; revision=12861
* Use portage.util.cmp_sort_key for python-3.0 compatibility. (trunk r12572)Zac Medico2009-03-111-2/+2
| | | | svn path=/main/branches/2.1.6/; revision=12853
* Add a cmp_sort_key class which makes it easier to port code for python-3.0Zac Medico2009-03-111-0/+36
| | | | | | | compatibility. It works by generating key objects which use the given cmp function to implement their __lt__ method. (trunk r12571) svn path=/main/branches/2.1.6/; revision=12852
* Implement Manifest2Entry.__ne__() so that comparisons inside Manifest.write()Zac Medico2009-03-111-0/+11
| | | | | | | work properly (to avoid rewriting an identical manifest when possible). (trunk r12567) svn path=/main/branches/2.1.6/; revision=12848
* Always ignore hidden files when generating Manifests. Thanks to ChristianZac Medico2009-03-111-1/+3
| | | | | | Ruppert for reporting. (trunk r12566) svn path=/main/branches/2.1.6/; revision=12847
* Remove the emerge-fetch.log lock message code from fetch() since this isZac Medico2009-03-111-14/+0
| | | | | | | handled by the EbuildBuild class when it synchronizes with the prefetcher. (trunk r12554) svn path=/main/branches/2.1.6/; revision=12840
* Inside fetch(), only mention /var/log/emerge-fetch.log in locking messagesZac Medico2009-03-111-1/+2
| | | | | | when called by emerge. (trunk r12553) svn path=/main/branches/2.1.6/; revision=12839
* Add an ignore_priority parameter to digraph.parent_nodes(). (trunk r12551)Zac Medico2009-03-111-3/+9
| | | | svn path=/main/branches/2.1.6/; revision=12837
* Make listdir(ignorecvs=True) ignore .git directories. Thanks to ChristianZac Medico2009-03-111-2/+5
| | | | | | Ruppert for the suggestion. (trunk r12545) svn path=/main/branches/2.1.6/; revision=12831
* Fix interaction between ignorelist and ignorecvs parameters inside cacheddir().Zac Medico2009-03-111-4/+7
| | | | | | Thanks to Christian Ruppert for reporting. (trunk r12544) svn path=/main/branches/2.1.6/; revision=12830
* Fix svn:keywords again.Zac Medico2009-02-201-2/+2
| | | | svn path=/main/branches/2.1.6/; revision=12660
* Add back Rev to svn:keywords (accidentally removed when setting Id). ThanksZac Medico2009-02-191-1/+1
| | | | | | to ABCD for reporting. svn path=/main/branches/2.1.6/; revision=12657
* Set svn:keywords Id on all files.Zac Medico2009-02-1813-13/+13
| | | | svn path=/main/branches/2.1.6/; revision=12627
* Revert chown behavior change from the previous commit, so that chown willZac Medico2009-01-181-11/+16
| | | | | | not be called on a pre-existing file. (trunk r12522) svn path=/main/branches/2.1.6/; revision=12534
* Bug #255101 - Fix 'Permission denied' error handling inZac Medico2009-01-182-10/+19
| | | | | | | NewsManager.getUnreadItems(). If there's no permission to lock the unread file, skip the lock and try to read the file anyway. (trunk r12521) svn path=/main/branches/2.1.6/; revision=12533
* Fix repoman conditionals inside _expand_new_virtuals() to usev2.1.6.6Zac Medico2009-01-141-3/+2
| | | | | | config.local_config instead of checking for portdbapi type. (trunk r12514) svn path=/main/branches/2.1.6/; revision=12515
* Add some more variables to config._env_blacklist to ensure that they neverZac Medico2009-01-141-3/+6
| | | | | | leak in from the calling environment. (trunk r12503) svn path=/main/branches/2.1.6/; revision=12513
* Make sure spawn() always initializes opt_name because later code assumes ↵Zac Medico2009-01-141-0/+3
| | | | | | | | that it is. (trunk r12502) svn path=/main/branches/2.1.6/; revision=12512
* In spawn(), put the full cpv in opt_name, instead of just $PF. Thanks toZac Medico2009-01-141-1/+2
| | | | | | Diego Pettenò <flameeyes@g.o> for the suggestion. (trunk r12501) svn path=/main/branches/2.1.6/; revision=12511
* Inside digestgen(), don't unnecessarily call fetch() in cases when the thereZac Medico2009-01-141-1/+6
| | | | | | | are no hashes for comparison and the file already exists in $DISTDIR. (trunk r12499) svn path=/main/branches/2.1.6/; revision=12509
* Bug #254825 - Improve messages that are displayed when manifest generationZac Medico2009-01-141-11/+40
| | | | | | bails out due to a changed distfile digest. (trunk r12498) svn path=/main/branches/2.1.6/; revision=12508
* Bug #254860 - Add another missing str -> atom conversion insideZac Medico2009-01-141-1/+1
| | | | | | _expand_new_virtuals(). (trunk r12497) svn path=/main/branches/2.1.6/; revision=12507
* Bug #254860 - Inside _expand_new_virtuals(), generate instances of AtomZac Medico2009-01-141-3/+4
| | | | | | | instead of plain strings, so calling code can assume that only Atom instances will be returned when strict mode is enabled. (trunk r12495) svn path=/main/branches/2.1.6/; revision=12505
* Enable use.{mask,force} and package.use.{mask,forc} as-directory in profiles.Zac Medico2009-01-121-8/+7
| | | | | | (trunk r12419) svn path=/main/branches/2.1.6/; revision=12475
* Bug #254421 - Make dir_get_metadata() handle 'Connection refused' socket.errorZac Medico2009-01-121-1/+9
| | | | | | from ftplib connection attempt. (trunk r12418) svn path=/main/branches/2.1.6/; revision=12474
* Add a "quiet" parameter to the EOutput constructor, and also flushZac Medico2009-01-121-2/+4
| | | | | | stderr/stdout stream in the constructor. (trunk r12416) svn path=/main/branches/2.1.6/; revision=12472
* Use ebegin/eend to indicate when waiting for a lock and when it's acquired.Zac Medico2009-01-122-14/+18
| | | | | | Thanks to Petteri Räty <belegeuse@g.o> for the suggestion. (trunk r12415) svn path=/main/branches/2.1.6/; revision=12471
* Inside config._getKeywords(), ignore -* in KEYWORDS, to prevent it fromZac Medico2009-01-121-1/+1
| | | | | | causing preceeding values to be discarded. (trunk r12414) svn path=/main/branches/2.1.6/; revision=12470
* Bug #55321 - Add support for package.keywords in profiles. In profiles,Zac Medico2009-01-121-3/+32
| | | | | | | | package.keywords modifies effective KEYWORDS values for a given ebuild. This behavior is notably different from /etc/portage/package.keywords, which instead modifies effective ACCEPT_KEYWORDS. (trunk r12409:12412) svn path=/main/branches/2.1.6/; revision=12468
* * Enable the recursive option in profile package.use parsing.Zac Medico2009-01-121-15/+14
| | | | | | * Enable package.umask in all the same locations as package.mask. (trunk r12409) svn path=/main/branches/2.1.6/; revision=12467
* Make die() to show a message indicating the repository that an ebuild cameZac Medico2009-01-121-12/+5
| | | | | | | | from, and do it during any phase for both ebuilds and binary packages. Now PORTAGE_REPO_NAME is initialized inside config.setcpv() for both ebuilds and binary packages, so it's always available inside ebuild.sh. (trunk r12402) svn path=/main/branches/2.1.6/; revision=12462
* Bug #253563 - Replace hardcoded green/red color strings with GOOD/BAD. ThanksZac Medico2009-01-126-53/+52
| | | | | | to Vsevolod Kozlov <sevakda@gmail.com> for the initial patch. (trunk r12401) svn path=/main/branches/2.1.6/; revision=12461
* Fix _setitem() to write the same format that's currently distributed in theZac Medico2009-01-121-5/+40
| | | | | | rsync tree. (trunk r12383) svn path=/main/branches/2.1.6/; revision=12453
* Remove print statement from previous commit. (trunk r12382)Zac Medico2009-01-121-1/+0
| | | | svn path=/main/branches/2.1.6/; revision=12452
* Do not hardlink files unless they are in the sameZac Medico2009-01-121-2/+11
| | | | | | | | | | | | directory, since otherwise tar may not be able to extract a tarball of the resulting hardlinks due to 'Invalid cross-device link' errors (depends on layout of mount points). Also, don't hardlink zero-byte files since it doesn't save any space. Thanks to Daniel Robbins for reporting these issues which were noticed by funtoo users when attempting to extract stage tarballs. (trunk r12381) svn path=/main/branches/2.1.6/; revision=12451
* Bug #253467 - Don't allow alien $A values to leak into the ebuild environment.Zac Medico2009-01-121-5/+7
| | | | | | (trunk r12379) svn path=/main/branches/2.1.6/; revision=12449
* Fix the 'Unrecognized configure options' check for compatibility withZac Medico2009-01-121-1/+1
| | | | | | | output produced by Autoconf 2.63. Thanks to Arfrever Frehtes Taifersar Arahesis for reporting. (trunk r12377) svn path=/main/branches/2.1.6/; revision=12447
* 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