summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Move imports to the top.HEADmasterZac Medico2010-06-011-3/+2
|
* Add special handling for updates of Package.metadata['USE'], so thatZac Medico2010-06-011-3/+15
| | | | internal state is consistent.
* Add a Package.copy() method.Zac Medico2010-06-011-2/+9
|
* Bug #322049 - Make use_with() and use_enable() handling of emptyZac Medico2010-05-301-2/+10
| | | | | | 3rd argument conditional on EAPI in order to ensure backward compatibility. This reverts the behavior change from commit a05bba76435d94407fd25549d0552902962baf62 for EAPI 0, 1, 2, and 3.
* Make depgraph._serialize_tasks show a debug message when itZac Medico2010-05-302-4/+14
| | | | | enables 'complete' mode due to an uninstall, and fix the Package.__str__ method to display uninstall tasks properly.
* Move imports to the top and use textwrap.wrap() instead of the formatterZac Medico2010-05-291-14/+9
| | | | module where appropriate.
* Fix handling of empty third argument of use_with() and use_enable().Arfrever Frehtes Taifersar Arahesis2010-05-271-2/+2
|
* Add help for --rebuilt-binaries-timestamp.Zac Medico2010-05-272-1/+10
|
* Make parse_opts() bail out when not silent and an option parameter isZac Medico2010-05-271-10/+10
| | | | invalid.
* Fix --rebuilt-binaries code to return existing_node where appropriate.Zac Medico2010-05-271-2/+2
|
* Tweak --rebuilt-binaries code to solve bug #306659 once again (logicZac Medico2010-05-271-2/+4
| | | | was reverted by the --rebuilt-binaries-timestamp patch).
* Add --rebuilt-binaries-timestamp optionSebastian Luther2010-05-273-4/+49
| | | | | | | This option makes emerge ignore binaries that would have been used for --rebuilt-binaries, if they are older than the given timestamp. Binaries are only reinstalled if they have a newer BUILD_TIME than the installed package (not only unequal) with this option.
* Bug #310947 - When expanding categories for atoms inside select_files,Zac Medico2010-05-271-2/+19
| | | | | make sure packages are available besides the installed one when preferring the category of an installed package.
* Make --deselect work for sets (bug 268798)Sebastian Luther2010-05-274-15/+21
|
* emerge --help: Add --ignore-default-opts (closes bug 246491)Sebastian Luther2010-05-271-0/+8
|
* Use 'assert' to check ${PIPESTATUS[@]} from save_ebuild_env calls.Zac Medico2010-05-251-0/+3
|
* Bug #321145: Don't ignore exit status of filter-bash-environment.py and ↵Arfrever Frehtes Taifersar Arahesis2010-05-252-2/+2
| | | | check-implicit-pointer-usage.py.
* Add _emerge.Package.iuse.get_missing_iuse to return missing IUSE flags. ↵Sebastian Luther2010-05-252-2/+15
| | | | Restore original behavior of is_valid_flag.
* _emerge.depgraph._show_unsatisfied_dep(): Do an ealier missing IUSE check ↵Sebastian Luther2010-05-251-10/+7
| | | | and simplify some related code
* _emerge.Package.iuse.is_valid_flags should return a list of flags missing ↵Sebastian Luther2010-05-251-2/+3
| | | | from IUSE
* Simplify code by passing a list of flags to Package.iuse.is_valid_flagSebastian Luther2010-05-251-5/+1
|
* Allow _emerge.Package.iuse.is_valid_flag() to take a list of flagsSebastian Luther2010-05-251-4/+9
|
* _emerge.depgraph._show_unsatisfied_dep(): properly check if something ↵Sebastian Luther2010-05-251-1/+1
| | | | belongs into missing_use
* Make parent_use parameter for portage.dep.Atom.violated_conditionals() ↵Sebastian Luther2010-05-252-17/+18
| | | | optional (for evaluated atoms)
* Fix traceback in _show_unsatisfied_dep, reported on forums:Zac Medico2010-05-251-1/+2
| | | | | | | | http://forums.gentoo.org/viewtopic-t-829445.html?sid=58b3b5cec88b8e2ffebc9991c90a473e File "/usr/lib/portage/pym/_emerge/depgraph.py", line 2273, in _show_unsatisfied_dep if not (violated_atom.use.enabled or violated_atom.use.disabled): AttributeError: 'NoneType' object has no attribute 'enabled'
* _emerge.depgraph._show_slot_collision_notice(): Improve atom list prunningSebastian Luther2010-05-221-6/+12
|
* Bug #320755 - Make sure src_test only runs once when ebuild(1)Zac Medico2010-05-211-5/+8
| | | | | is used to explicitly run the test phase along with other phases.
* _emerge.depgraph._show_unsatisfied_dep(): Suggest changing USE on the parent ↵Sebastian Luther2010-05-211-1/+29
| | | | if possible
* Add portage.dep.Atom.violated_conditionals()Sebastian Luther2010-05-211-0/+39
|
* _emerge.Package.__str__(): handle operation==uninstallSebastian Luther2010-05-211-0/+6
|
* Fix depgraph.schedulerGraph() to break DepPriority.satisfied attributesZac Medico2010-05-201-0/+10
| | | | which reference installed Package instances.
* If a dependency is installed but masked, try to pull in an unmasked versionZac Medico2010-05-201-4/+23
| | | | even when --deep is not specified. Thanks to Daniel Robbins for reporting.
* Use os.environ.get() instead of os.getenv(), to hopefully avoid issuesZac Medico2010-05-201-4/+5
| | | | with python-3.2 reported by Arfrever.
* Make the non --update package selection logic avoid installed packages ifZac Medico2010-05-201-1/+5
| | | | they are masked. Thanks to Daniel Robbins for reporting.
* Make the non --update package selection logic avoid installed packages ifZac Medico2010-05-201-1/+1
| | | | they are masked. Thanks to Daniel Robbins for reporting.
* Use Atom.unevaluated_atom in depgraph._show_slot_collision_notice()Sebastian Luther2010-05-201-1/+1
|
* Add portage.dep.Atom.unevaluated_atom to not lose the original use dep in ↵Sebastian Luther2010-05-201-2/+10
| | | | Atom.evaluate_conditionals()
* Add _emerge.Package.__str__() for nicer output formattingSebastian Luther2010-05-201-0/+28
|
* Support specifying exclude list as multiple arguments.Michał Górny2010-05-192-3/+3
| | | | | | | Instead of relying on user to provide the whole exclude list as a space-separated list in a single argument (which is uncomfortable), allow him/her to specify '--exclude' multiple times, joining the provided atom lists together.
* Bug #318241 - Add GPL-2 LICENSE file.Zac Medico2010-05-171-0/+339
|
* New mode: manifest-check - Checks Manifests for missing or incorrect digestsZac Medico2010-05-162-0/+16
|
* Only count "merge" nodes when determining whether or not to triggerZac Medico2010-05-161-1/+1
| | | | parallel-fetch.
* Fix --resume to support --exclude.Zac Medico2010-05-151-0/+4
|
* Extend QA check for absolute symlinks in lib dirs to more file typesSebastian Luther2010-05-151-11/+14
|
* Usage: binhost-snapshot [options] <src_pkg_dir> <snapshot_dir> ↵Zac Medico2010-05-131-0/+142
| | | | | | | | | | | | | | | | | | | | | | | <snapshot_uri> <binhost_dir> This program will copy src_pkg_dir to snapshot_dir and inside binhost_dir it will create a Packages index file which refers to snapshot_uri. This is intended to solve race conditions on binhosts as described at http://crosbug.com/3225. Required Arguments: src_pkg_dir - the source $PKGDIR snapshot_dir - destination snapshot directory (must not exist) snapshot_uri - URI which refers to snapshot_dir from the client side binhost_dir - directory in which to write Packages index with snapshot_uri Options: -h, --help show this help message and exit --hardlinks=HARDLINKS create hardlinks (y or n, default is y)
* 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).
* Use bytes literals in instead of _unicode_encode() where appropriateZac Medico2010-05-131-8/+5
| | | | (works with python-2.6). Thanks to Arfrever for the suggestion.