summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Don't use finally with atomic_ofstream since that prevents it fromZac Medico2010-05-131-12/+6
| | | | aborting when appropriate.
* Add a break_hardlinks parameter for tbz2 recompose methods, and enable itZac Medico2010-05-131-3/+26
| | | | | | | | | | by default. Since bindbapi.aux_update() calls this method, this changes the default behavior for all modifications to binary package metadata. This makes it safe to use hardlinks to create cheap snapshots of the repository, which is useful for solving race conditions on binhosts as described here: http://code.google.com/p/chromium-os/issues/detail?id=3225.
* Define __all__.Zac Medico2010-05-131-1/+6
|
* Use bytes literals in instead of _unicode_encode() where appropriateZac Medico2010-05-131-13/+13
| | | | (works with python-2.6).
* Add missing newline from previous commit.Zac Medico2010-05-061-1/+1
|
* Bug #317775 - In depgraph.display() use writemsg_stdout() to avoidZac Medico2010-05-061-7/+4
| | | | UnicodeEncodeError.
* Eliminate redundant os.sep in vardbapi.getpath().Zac Medico2010-05-061-1/+1
|
* Eliminate redundant os.sep in vardbapi._bump_mtime. Thanks toZac Medico2010-05-061-1/+3
| | | | grobian for reporting.
* Make myopts["--exclude"] a plain string in order to avoid issues with mtimedbZac Medico2010-05-052-3/+5
| | | | unpickling.
* Make --exclude use whitespace to separate atoms since atoms are typicallyZac Medico2010-05-042-3/+3
| | | | separated by whitespace.
* Make vardbapi.counter_tick_core() create the counter file's parent directoryZac Medico2010-05-031-0/+3
| | | | | if necessary, in order to avoid FileNotFound error. Thanks to Fabio Erculiani <lxnay@g.o> for reporting.
* Use keep_going local var.Michał Górny2010-05-031-1/+1
| | | | Use keep_going local var instead of checking self.myopts once again.
* Allow -C to remove packages referenced by sets in world_setsSebastian Luther2010-04-291-10/+3
|
* Support per-package bashrc files.Michał Górny2010-04-293-3/+6
| | | | | | | Support loading per-package bashrc files from the /etc/portage/env directory. The invidual files should reside in a directory matching ${CATEGORY}, with names matching ${PN}, ${PN}:${SLOT}, ${P} and/or ${PF} (which are applied in that order).
* Bail out immediately if --exclude is given a bad atom.Zac Medico2010-04-291-2/+2
|
* Tweak packages_with_invalid_use_config handling:Zac Medico2010-04-291-4/+8
| | | | | | * Ignore IUSE since those can't be changed by the user. * Only add unbuilt ebuilds to the list since USE can't be changed for built ebuilds.
* Add --exclude optionSebastian Luther2010-04-293-0/+66
|
* Fix typo from previous commit.Zac Medico2010-04-281-1/+1
|
* Inside bintree.inject(), discard cached metadata to ensure thatZac Medico2010-04-281-0/+4
| | | | _pkgindex_entry doesn't return stale metadata.
* Remove old portage module namespace compatibility that's been deprecatedZac Medico2010-04-2825-82/+0
| | | | since portage-2.1.6.
* Use shlex_split for splitting PORTDIR_OVERLAY.Zac Medico2010-04-272-17/+18
|
* Use is_valid_flag.Zac Medico2010-04-271-2/+1
|
* Add a Package.iuse.is_valid_flag() method to replace the regex attribute,Zac Medico2010-04-272-22/+11
| | | | in order to avoid compiling regex for each Package instance.
* Initialize missing_iuse.Zac Medico2010-04-271-0/+1
|
* Revert formatting so chromioumos-overlay won't have to rebaseZac Medico2010-04-271-2/+2
| | | | set_portage_username-2.1.6.13.patch.
* In bintree.inject(), ensure that _pkgindex_entry returns local metadataZac Medico2010-04-271-5/+6
| | | | | rather than remote metadata. Thanks to Kenneth Waters <kwaters@chromium.org> for reporting.
* Check USE deps all in one place (and fix some bugs).Zac Medico2010-04-271-17/+18
|
* Add a comment about special USE deps handling which is required in order toZac Medico2010-04-271-0/+3
| | | | avoid missing updates.
* Make iuse_implicit_re private for now.Zac Medico2010-04-273-4/+4
|
* --update: don't ignore higher versions because of missing IUSESebastian Luther2010-04-273-6/+19
|
* --update: don't match lower versions if the higher versions have the wrong ↵Sebastian Luther2010-04-271-0/+16
| | | | use config
* Make metadata.xml <flag/> errors non-fatal to repoman.Michał Górny2010-04-241-4/+2
| | | | | | Previously, <flag/>-related errors in metadata.xml caused repoman to abort the checks without even reporting the full path to broken metadata.xml file. Now they are accounted as 'metadata.bad' errors.
* Automatically add PORTAGE_BIN_PATH to the front of PATH.Zac Medico2010-04-221-0/+7
|
* Pass an ElementTree instance into parse_metadata_use() andZac Medico2010-04-111-16/+2
| | | | check_metadata_herds().
* Port parse_metadata_use() code from minidom to ElementTree.Zac Medico2010-04-111-32/+17
|
* Avoid XMLParser.doctype deprecation warnings with >=python-2.7.Zac Medico2010-04-111-2/+11
|
* Use assertFalse insead of failIf since failIf is deprecated in python 3.2.Zac Medico2010-04-113-11/+11
|
* Make cpv_getversion handle invalid cpv and add cpv_getversion to __all__.Zac Medico2010-04-101-1/+3
|
* Implement REPLACING_VERSIONS and REPLACED_BY_VERSIONSebastian Luther2010-04-105-1/+37
|
* Fix deprecated config.getvirtuals() usage that's triggered byZac Medico2010-04-101-1/+1
| | | | gentoolkit-0.2.x.
* Make spawning of `id -G portage` happen lazily when userpriv_groups is firstZac Medico2010-04-101-17/+22
| | | | accessed.
* Handle IOError when trying to cache the Packages file from the binhost.Zac Medico2010-04-091-1/+1
|
* When caching Packages file from binhost, ignore failure to write in casesZac Medico2010-04-091-2/+1
| | | | when the cache directory is not writable.
* Use tbz2.unpackinfo() to unpack the xpak when running pkg_pretend, since weZac Medico2010-04-071-7/+4
| | | | need evironment.bz2 to get unpacked here.
* In _run_pkg_pretend(), write ebuild bytes from tbz2.getfile() in binary modeZac Medico2010-04-071-1/+1
| | | | for python3 compatibility.
* Eliminate redundant code in Scheduler._run_pkg_pretend() and remove unusedZac Medico2010-04-071-44/+19
| | | | quiet_config variables.
* Handle pkg_pretend output properlySebastian Luther2010-04-072-16/+46
|
* Make ensure_dirs() behave correctly for DragonFly when EPERM is raised forZac Medico2010-04-061-7/+12
| | | | makedir('/'). Thanks to Naohiro Aota <naota@elisp.net> for the initial patch.
* Cleanup $T earlier to prevent old messages from being displayed - bug 279041Sebastian Luther2010-04-062-3/+4
|
* Remove PORTAGE_USERNAME and PORTAGE_GROUPNAME support for now since antarusZac Medico2010-04-063-9/+5
| | | | says he wants it to work via make.conf, requiring redesign.