summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* For compatibility with float timestamps in python-2.5, convert st_mtime ↵Zac Medico2006-09-224-4/+5
| | | | | | attributes to long wherever portage expects 1s resolution. svn path=/main/trunk/; revision=4500
* Convert stat timestamps to long for compatibility with python-2.5, which ↵Zac Medico2006-09-221-1/+2
| | | | | | returns floats for timestamps. svn path=/main/trunk/; revision=4499
* Allow cache.sqlite to use sqlite3 from python-2.5, if available.Zac Medico2006-09-221-1/+4
| | | | svn path=/main/trunk/; revision=4498
* Revert r4495, since conversion from nomerge to merge may put the depgraph ↵Zac Medico2006-09-221-26/+0
| | | | | | into an inconsistent state du to USE flag mismatch. This can be solved by checking all args prior to marking packages as nomerge. svn path=/main/trunk/; revision=4496
* Allow packages specified on the command line to be retroactively upgraded ↵Zac Medico2006-09-221-0/+26
| | | | | | from "nomerge" to "merge" nodes. svn path=/main/trunk/; revision=4494
* As suggested by vapier, send emerge -fp output to stdout and make it work ↵Zac Medico2006-09-201-3/+3
| | | | | | together with --quiet. svn path=/main/trunk/; revision=4485
* For consistency, pass ignore_soft_deps into digraph.hasallzeros().Zac Medico2006-09-191-2/+3
| | | | svn path=/main/trunk/; revision=4482
* Fix digraph.hasallzeros() breakage.Zac Medico2006-09-191-1/+1
| | | | svn path=/main/trunk/; revision=4481
* This is a new --tree implementation by Jason Stubbs, from bug #147766.Zac Medico2006-09-191-23/+17
| | | | svn path=/main/trunk/; revision=4479
* Fix fetch resume logic for bug #145601 and document the meaning of the ↵Zac Medico2006-09-191-0/+9
| | | | | | "fetched" variable. svn path=/main/trunk/; revision=4478
* Fix digraph.debug_print inverted hard/soft logic.Zac Medico2006-09-191-2/+2
| | | | svn path=/main/trunk/; revision=4477
* Thanks to Jason Stubbs for this patch from bug #147766 which enables ↵Zac Medico2006-09-181-87/+161
| | | | | | creation of a full and complete depgraph, leaving no dependencies unaccounted for. This will allow more accurate merge order and proper detection of circular dependencies! svn path=/main/trunk/; revision=4472
* Replace relative imports with absolute imports for forward compatibility ↵Zac Medico2006-09-1810-25/+25
| | | | | | with python 2.6. svn path=/main/trunk/; revision=4470
* Use mtimedb.filename == None to disable mtimedb writes (instead of /dev/null).Zac Medico2006-09-171-0/+2
| | | | svn path=/main/trunk/; revision=4468
* In portage.commit_mtimedb(), use the commit() method when possible, so that ↵Zac Medico2006-09-161-1/+2
| | | | | | the mtimedb is only rewritten when it has been modified. svn path=/main/trunk/; revision=4464
* For bug #14321, add support for individual files in CONFIG_PROTECT and ↵Zac Medico2006-09-162-15/+42
| | | | | | CONFIG_PROTECT_MASK. svn path=/main/trunk/; revision=4458
* When it's detected that a previously remembered update has been accepted, ↵Zac Medico2006-09-151-0/+4
| | | | | | remove it from confmem. svn path=/main/trunk/; revision=4453
* Add support for SPACE_SEPARATED and COLON_SEPARATED in /etc/env.d/ so that ↵Zac Medico2006-09-151-65/+47
| | | | | | hard coded values are not required. svn path=/main/trunk/; revision=4452
* Move all env.d file name filtering into a single loop.Zac Medico2006-09-151-10/+9
| | | | svn path=/main/trunk/; revision=4451
* Simplify the confmem logic so that it's easier to read.Zac Medico2006-09-151-27/+13
| | | | svn path=/main/trunk/; revision=4450
* Remove an unused hardlink_active() function.Zac Medico2006-09-141-5/+0
| | | | svn path=/main/trunk/; revision=4449
* Simplify portage_locks.hardlink_is_mine() so that it only checks the number ↵Zac Medico2006-09-141-12/+2
| | | | | | of links. Nothing more is needed. svn path=/main/trunk/; revision=4448
* Remove all traces of atexit hardlock cleanup code, since it doesn't work ↵Zac Medico2006-09-141-17/+1
| | | | | | correctly anyway. svn path=/main/trunk/; revision=4447
* In unhardlink_lockfile(), make sure not to touch lockfilename unless we ↵Zac Medico2006-09-141-5/+8
| | | | | | really have a lock. See bug #147453. svn path=/main/trunk/; revision=4446
* Use configdict["env"].clear() instead of manual deletion because the result ↵Zac Medico2006-09-131-4/+1
| | | | | | is the same and it's much more efficient. svn path=/main/trunk/; revision=4442
* For correct LINGUAS handling, don't export empty USE_EXPAND variables unless ↵Zac Medico2006-09-131-1/+5
| | | | | | the user config exports them as empty. Thanks to Harald van Dijk <truedfx@gentoo.org> for this patch from bug #147428. svn path=/main/trunk/; revision=4441
* Add KDEDIRS to colon_separated env-update vars as requested by Carlo.Zac Medico2006-09-101-1/+1
| | | | svn path=/main/trunk/; revision=4434
* Fix a broken call to new_protect_filename for bug #147010. This is a ↵Zac Medico2006-09-101-1/+1
| | | | | | regression from r4400 (fix for bug #146289). svn path=/main/trunk/; revision=4433
* For bug #80846, prevent false collisions caused by symlinks. Thanks to ↵Zac Medico2006-09-091-1/+13
| | | | | | Thomas Bettler <bettlertho@sis.unibe.ch> for the initial patch. svn path=/main/trunk/; revision=4431
* In dblink.isowner(), correct the logic to test the path itself (via lstat) ↵Zac Medico2006-09-091-1/+4
| | | | | | rather than the referant in the case of symlinks. svn path=/main/trunk/; revision=4430
* Add PORTAGE_DEPCACHEDIR to SANDBOX_PREDICT since it's legitimate for ↵v2.1.1Zac Medico2006-09-071-2/+2
| | | | | | portageq calls to trigger cache writes. See bug #144011. svn path=/main/trunk/; revision=4425
* Document that dblink.unmerge() does not perform locking internally.Zac Medico2006-09-061-0/+2
| | | | svn path=/main/trunk/; revision=4418
* Properly lock the critical section of portage.unmerge() for bug #101240.Zac Medico2006-09-061-9/+11
| | | | svn path=/main/trunk/; revision=4417
* Allow env_update to work if there are broken symlinks in /etc/env.d/. See ↵Zac Medico2006-09-061-2/+3
| | | | | | bug #146412. svn path=/main/trunk/; revision=4416
* During env_update, raise a FileNotFound exception if a file is unexpectedly ↵Zac Medico2006-09-051-0/+3
| | | | | | removed by a concurrent process. See bug #146412. svn path=/main/trunk/; revision=4408
* Add an additional note about $ROOT and USE flag handling in dep_check.Zac Medico2006-09-041-0/+3
| | | | svn path=/main/trunk/; revision=4407
* Only apply USE masks in dep_check when called by repoman with use="all".Zac Medico2006-09-041-4/+9
| | | | svn path=/main/trunk/; revision=4405
* Use a set for masklist inside dep_check.Zac Medico2006-09-041-10/+5
| | | | svn path=/main/trunk/; revision=4404
* Add repoman support for package.use.mask.Zac Medico2006-09-041-1/+2
| | | | svn path=/main/trunk/; revision=4401
* Since none of the code is written to handle it, never return a tuple from ↵Zac Medico2006-09-041-6/+1
| | | | | | new_protect_filename(). See bug #146289. svn path=/main/trunk/; revision=4400
* Don't call dict.keys() unnecessarily for the containment test in ↵Zac Medico2006-09-041-1/+2
| | | | | | dblink.isowner(). svn path=/main/trunk/; revision=4396
* When aux_get can't find a matching ebuild, simply raise a KeyError(cpv) and ↵Zac Medico2006-09-031-3/+3
| | | | | | don't dump redundant messages to stderr unless --debug is enabled. svn path=/main/trunk/; revision=4393
* Before the preinst phase, only call load_infodir for binary packages. ↵Zac Medico2006-08-291-1/+1
| | | | | | Otherwise, load_infodir will wipe settings from doebuild_environment (such as CATEGORY). svn path=/main/trunk/; revision=4374
* Add a missing newline from the previous commit.Zac Medico2006-08-271-1/+1
| | | | svn path=/main/trunk/; revision=4353
* don't display useless messages when using --quietSimon Stelling2006-08-271-1/+1
| | | | svn path=/main/trunk/; revision=4351
* Make symlink merge output respect --quiet. Thanks to blubb for reporting.Zac Medico2006-08-241-1/+1
| | | | svn path=/main/trunk/; revision=4336
* Don't bother to lock CONFIG_MEMORY_FILE since writedict is atomic anyway.Zac Medico2006-08-201-5/+4
| | | | svn path=/main/trunk/; revision=4313
* - record the md5 checksum of the .tbz2 used at merge time. This will become ↵Ned Ludd2006-08-171-0/+5
| | | | | | useful to know if we should refetch a .tbz2 from a remote repo svn path=/main/trunk/; revision=4283
* This is a new dep_zapdeps implementation. Thanks to jstubbs for this patch ↵Zac Medico2006-08-171-43/+61
| | | | | | from bug #143908. svn path=/main/trunk/; revision=4271
* Make stack_dictlist return an empty dictionary when there is nothing to ↵Zac Medico2006-08-131-3/+1
| | | | | | stack. See bug #143730. svn path=/main/trunk/; revision=4240