summaryrefslogtreecommitdiffstats
path: root/bin/emaint
Commit message (Collapse)AuthorAgeFilesLines
* Fix an UnboundLocalError for 'pkgindex'.Zac Medico2008-03-151-2/+2
| | | | svn path=/main/trunk/; revision=9467
* Convert PackageIndex.packages from a dict to a list so that in the futureZac Medico2008-03-071-6/+14
| | | | | | it will be possible to support multiple packages with the same cpv. svn path=/main/trunk/; revision=9452
* style fixes (imports), add support for --version (bug 138159)Alec Warner2008-01-131-4/+8
| | | | svn path=/main/trunk/; revision=9200
* Fix setconfig.getSets() api breakage.Zac Medico2007-12-171-1/+1
| | | | svn path=/main/trunk/; revision=8937
* Fix setconfig loader to use config files instead of hardcoded fallbacksMarius Mauch2007-12-041-2/+2
| | | | svn path=/main/trunk/; revision=8839
* Bug #197797 - Set umask to 022 so that created files (such as theZac Medico2007-11-121-0/+4
| | | | | | world file) have sane permissions. svn path=/main/trunk/; revision=8491
* Move glsa-check from gentoolkit into portage so the gentoolkit version can ↵Marius Mauch2007-11-091-2/+1
| | | | | | be removed after 2.2 is released svn path=/main/trunk/; revision=8478
* Make WorldHandler lock the world file when in --fix mode.Zac Medico2007-11-051-11/+23
| | | | svn path=/main/trunk/; revision=8432
* Add support for package sets in WorldHandler.Zac Medico2007-11-051-1/+11
| | | | svn path=/main/trunk/; revision=8431
* Bug #184118 - Add an emaint "cleanresume" action that deletesZac Medico2007-10-221-1/+50
| | | | | | | any existing resume lists from the mtimedb. Thanks to Arfrever Frehtes Taifersar Arahesis for the initial patch. svn path=/main/trunk/; revision=8224
* Clean up system and world set handling. For forward compatibility, the ↵Zac Medico2007-07-031-1/+2
| | | | | | world file handling now allows the world file to contain arbitrary atoms such as slot atoms. svn path=/main/trunk/; revision=7131
* For bug #180706, add sorting and a trailing newline in the rest of the cases ↵Zac Medico2007-06-241-1/+2
| | | | | | where the world file is written. svn path=/main/trunk/; revision=6999
* Create one unified dbapi.update_ents() method and use it for both ↵Zac Medico2007-05-311-17/+1
| | | | | | fixpackages and the emaint move{inst,bin} targets. svn path=/main/trunk/; revision=6686
* Fix emaint world $ROOT handling.Zac Medico2007-05-281-2/+2
| | | | svn path=/main/trunk/; revision=6653
* Add new emaint targets called "moveinst" and "movebin" for applying package ↵Zac Medico2007-05-281-1/+121
| | | | | | moves from $PORTDIR/profiles/updates/ on installed packages and binary packages. svn path=/main/trunk/; revision=6652
* Make emaint prune stale entires from $PKGDIR/Packages.Zac Medico2007-05-271-2/+36
| | | | svn path=/main/trunk/; revision=6644
* Add an emaint "binhost" target which does the time consuming population of ↵Zac Medico2007-05-271-1/+59
| | | | | | $PKGDIR/Packages that is necessary for a binhost (MD5 makes it relatively slow). It reuses metadata from the existing Packages file whenever possible. svn path=/main/trunk/; revision=6643
* Fix a typo.Zac Medico2007-05-271-1/+1
| | | | svn path=/main/trunk/; revision=6642
* Fix an UnboundLocalError when there's no tty.Zac Medico2007-05-271-1/+2
| | | | svn path=/main/trunk/; revision=6641
* Add SIGWINCH support so that the progress bar is resized if the xterm is ↵Zac Medico2007-05-271-2/+7
| | | | | | resized. svn path=/main/trunk/; revision=6640
* Add progress support to emaint (similar to wget's progress bar).Zac Medico2007-05-271-4/+33
| | | | svn path=/main/trunk/; revision=6639
* In the WorldHandler class, add support for an onProgress callback that can ↵Zac Medico2007-05-271-3/+14
| | | | | | be used notify the user of job progress. This isn't really useful for WorldHandler since it completes quickly, but it will be useful for longer running tasks. svn path=/main/trunk/; revision=6637
* For bug #166785, check for invalid categories in the world file.Zac Medico2007-02-181-3/+16
| | | | svn path=/main/trunk/; revision=5986
* Use os.path.realpath to handle symlinks properly.Zac Medico2007-02-101-1/+1
| | | | svn path=/main/trunk/; revision=5945
* Fix automatic sys.path insertions so that they're relative instead of ↵Zac Medico2007-02-101-1/+2
| | | | | | absolute hard coded. svn path=/main/trunk/; revision=5942
* Namespace sanitizing, step 4Marius Mauch2007-01-251-5/+5
| | | | svn path=/main/trunk/; revision=5784
* Rely on PYTHONPATH instead of PORTAGE_PYM_PATH for locating portage's python ↵Zac Medico2006-10-311-2/+6
| | | | | | modules, then fall back to an explicit sys.path insertion if an ImportError occurs. svn path=/main/trunk/; revision=4884
* streamline portage pythonpath handling and add an override analog to how the ↵Marius Mauch2006-10-261-2/+2
| | | | | | bash side does it svn path=/main/trunk/; revision=4822
* Move code out of global scope.Zac Medico2006-07-101-10/+12
| | | | svn path=/main/trunk/; revision=3832
* Update error handling for write_atomic calls to use PortageException.Zac Medico2006-07-091-2/+2
| | | | svn path=/main/trunk/; revision=3823
* revert my last commit except for the parts i really wanted to commitSimon Stelling2006-05-011-149/+3
| | | | svn path=/main/trunk/; revision=3295
* allow escaping in elog_base() to fix bug 131913Simon Stelling2006-05-011-3/+149
| | | | svn path=/main/trunk/; revision=3294
* Remove the leading / from WORLD_FILE for better cooperation with ↵Zac Medico2006-03-061-5/+6
| | | | | | os.path.join (see bug #124471). svn path=/main/trunk/; revision=2818
* use new write_atomic() function for all world file updatesZac Medico2006-02-091-1/+1
| | | | svn path=/main/trunk/; revision=2681
* Disable the vdb check until it can be migrated to filter-env.Jason Stubbs2006-01-281-2/+3
| | | | svn path=/main/trunk/; revision=2599
* add the "/usr/lib/portage/pym" insert to deal with osx (bit of a hack, but ↵Brian Harring2006-01-271-0/+1
| | | | | | tiz the convention currently). svn path=/main/trunk/; revision=2593
* fix possible path and vdb location issuesMarius Mauch2006-01-241-14/+15
| | | | svn path=/main/trunk/; revision=2581
* fixupMarius Mauch2006-01-221-1/+1
| | | | svn path=/main/trunk/; revision=2569
* store all auxdbkeys in vdb and add a new emaint target to create missing entriesMarius Mauch2006-01-221-2/+59
| | | | svn path=/main/trunk/; revision=2568
* don't inline code, do __name__=="__main__" so the module can be used instead ↵Brian Harring2006-01-121-47/+48
| | | | | | of strictly called. svn path=/main/trunk/; revision=2560
* Remove tests for masked/unavailable packages.Jason Stubbs2005-12-301-10/+0
| | | | svn path=/main/trunk/; revision=2492
* Fix an incorrect variable reference triggered when using --fix and --checkJason Stubbs2005-12-241-1/+1
| | | | | | together. Patch by Ashley Stovall. # 116576 svn path=/main/trunk/; revision=2444
* Separate masked and unavailable ebuilds and report that masked ebuilds can beJason Stubbs2005-12-211-1/+7
| | | | | | handled with package.keywords or package.unmask when they are detected. svn path=/main/trunk/; revision=2427
* Added a description of emaint to `emaint --help`Jason Stubbs2005-11-131-0/+6
| | | | svn path=/main/trunk/; revision=2298
* output a finished messageMike Frysinger2005-11-011-0/+1
| | | | svn path=/main/branches/2.0/; revision=2222
* Take the str() of the option passed to the callback so it can be compared ↵Jason Stubbs2005-10-141-1/+1
| | | | | | usefully later on. svn path=/main/branches/2.0/; revision=2130
* Rework to API behaviour rather than API documentationJason Stubbs2005-10-071-4/+4
| | | | svn path=/main/branches/2.0/; revision=2117
* Add new tool to check and fix problems with the world file (to begin with)Jason Stubbs2005-10-051-0/+111
svn path=/main/branches/2.0/; revision=2098