Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | autounmask-write: support package.accept_keywords | Zac Medico | 2011-06-08 | 1 | -1/+6 |
| | |||||
* | Add initial support for EAPI="4-python". | Arfrever Frehtes Taifersar Arahesis | 2011-06-08 | 2 | -13/+11 |
| | |||||
* | Fix some typos. | Arfrever Frehtes Taifersar Arahesis | 2011-06-06 | 3 | -3/+3 |
| | |||||
* | bintree: populate REPO header for empty pkgindexv2.2.0_alpha38 | Zac Medico | 2011-06-06 | 1 | -1/+8 |
| | |||||
* | getmaskingreason: assume myrepo arg is valid | Zac Medico | 2011-06-06 | 1 | -5/+8 |
| | |||||
* | config: add missing Package import | Zac Medico | 2011-06-06 | 1 | -0/+1 |
| | |||||
* | Use Package.UNKNOWN_REPO where appropriate. | Zac Medico | 2011-06-06 | 6 | -10/+18 |
| | |||||
* | getmaskingreason: add myrepo argument | Zac Medico | 2011-06-06 | 1 | -10/+29 |
| | |||||
* | portageq: support --version | Zac Medico | 2011-06-05 | 1 | -4/+9 |
| | |||||
* | Scheduler: init _fetch_log in constructor | Zac Medico | 2011-06-05 | 1 | -3/+4 |
| | | | | This ensures that we account for EMERGE_LOG_DIR. | ||||
* | InternalPackageSet: default allow_repo=True | Zac Medico | 2011-06-05 | 1 | -2/+8 |
| | | | | | | | Repo atoms are allowed more often than not, so it makes sense for this class to allow them by default. The Atom constructor and isvalidatom() functions default to allow_repo=False, which is sufficient to ensure that repo atoms are prohibited when necessary. | ||||
* | create_world_atom: fix slot/repo atom logic | Zac Medico | 2011-06-05 | 1 | -1/+1 |
| | |||||
* | Enable atom::repo in the @selected package set. | Zac Medico | 2011-06-05 | 2 | -5/+11 |
| | |||||
* | MergeListItem: fix "unknown repo" display | Zac Medico | 2011-06-05 | 2 | -2/+3 |
| | | | | | The Package class uses an UNKNOWN_REPO constant so that MergeListItem can distinguish this case. | ||||
* | match-all-cpv-only: share match-all cache when ok | Zac Medico | 2011-06-05 | 1 | -0/+4 |
| | |||||
* | portdbapi.xmatch: remove redundant myval check | Zac Medico | 2011-06-05 | 1 | -7/+5 |
| | |||||
* | portdbapi.xmatch: always pass mytree to cp_list | Zac Medico | 2011-06-05 | 1 | -21/+26 |
| | |||||
* | dbapi._iter_match: remove redundant myrepo args | Zac Medico | 2011-06-05 | 2 | -12/+12 |
| | | | | | The myrepo arguments are redundant since the Atom.repo attribute carries the same information. | ||||
* | dep_expand: fix orig_dep for previous commit | Zac Medico | 2011-06-05 | 1 | -1/+1 |
| | |||||
* | dep_expand: optimize away cpv_expand if possible | Zac Medico | 2011-06-05 | 1 | -7/+16 |
| | |||||
* | Uniformly check EAPI when avoiding setcpv calls. | Zac Medico | 2011-06-04 | 3 | -4/+4 |
| | |||||
* | --ask: show group warning before pretend prompt | Zac Medico | 2011-06-04 | 1 | -2/+2 |
| | |||||
* | autounmask: reference EMERGE_DEFAULT_OPTS in docs | Zac Medico | 2011-06-04 | 2 | -2/+6 |
| | |||||
* | Binpkg: cleanup PORTAGE_BINPKG_FILE code | Zac Medico | 2011-06-03 | 1 | -16/+6 |
| | |||||
* | Fix a typo in a comment. | Zac Medico | 2011-06-03 | 1 | -1/+1 |
| | |||||
* | autounmask: include comments from package.mask | Zac Medico | 2011-06-03 | 1 | -0/+13 |
| | | | | This will fix bug #369985. | ||||
* | emergelog: tweak _disabled comment | Zac Medico | 2011-06-03 | 1 | -2/+2 |
| | |||||
* | emergelog: only enable when called by emerge | Zac Medico | 2011-06-03 | 2 | -10/+11 |
| | | | | | | We disable emergelog by default, since it's called from dblink.merge() and we don't want that to trigger log writes unless it's really called via emerge. | ||||
* | Revert "dblink.merge: remove autoclean emergelog calls" | Zac Medico | 2011-06-03 | 1 | -0/+15 |
| | | | | | | This reverts commit 352280549c9b72e7b916803dc6b03b959d0817e3. I'm planning to fix this so the emergelog calls are only enabled when emerge is the caller. | ||||
* | portdbapi: cleanup when base module is reloaded | Zac Medico | 2011-06-03 | 2 | -1/+29 |
| | | | | | | | This prevents memory leaks via portdbapi.portdbapi_instances when the module is reloaded. Also, there's no need for ebuild(1) to call close_portdbapi_caches() since it's now handled automatically during the reload. | ||||
* | Update timestamps in headers of modified files. | Zac Medico | 2011-06-03 | 5 | -5/+5 |
| | |||||
* | Move pickle import out of base portage module. | Zac Medico | 2011-06-03 | 3 | -6/+6 |
| | |||||
* | --ask: prompt for --pretend mode when necessary | Zac Medico | 2011-06-03 | 1 | -2/+6 |
| | |||||
* | --autounmask: show note suggesting how to disable | Zac Medico | 2011-06-03 | 1 | -0/+16 |
| | | | | | | | | | | | Now that --autounmask is enabled by default, people are dealing with local masks that trigger unsatisfied dependencies often complain about --autounmask behavior being inappropriate for their situation. Therefore, show a helpful note when the autounmask code is triggered and --quiet is not enabled: NOTE: This --autounmask behavior can be disabled by setting EMERGE_DEFAULT_OPTS="--autounmask=n" in make.conf. | ||||
* | make_http_request: fix request arguments | Zac Medico | 2011-06-03 | 1 | -1/+1 |
| | | | | | This will fix "TypeError: must be string or buffer, not dict" with python 2.7, as reported in bug #369913. | ||||
* | dblink.merge: remove autoclean emergelog calls | Zac Medico | 2011-06-03 | 1 | -15/+0 |
| | | | | | | This logging is non-essential, and it's somewhat out of place to call emergelog from dblink.merge since emerge is not the only caller of this code. | ||||
* | dblink.merge: remove unused scheduler callbacks | Zac Medico | 2011-06-03 | 2 | -107/+30 |
| | |||||
* | dblink.unmerge: fix some background logic cases | Zac Medico | 2011-06-03 | 2 | -2/+8 |
| | |||||
* | autounmask-write: mention --ask in docs | Zac Medico | 2011-06-02 | 2 | -2/+2 |
| | |||||
* | etc-update: disable clear_term by default | Zac Medico | 2011-06-02 | 1 | -1/+2 |
| | |||||
* | autounmask-write: force configpro if non-existent | Zac Medico | 2011-06-02 | 2 | -4/+12 |
| | | | | | | We want to force new_protect_filename to ensure that the user will see all our changes via etc-update, even if file_to_write_to doesn't exist yet. | ||||
* | add_pkg_dep_string: fix reversed inst_pkgs order | Zac Medico | 2011-06-02 | 1 | -3/+6 |
| | | | | | | This code was intended to iterate over packages in descending order, but match_pkgs() returns them in ascending order, so we need to reverse it. | ||||
* | add_pkg_dep_string: remove unused root_slot var | Zac Medico | 2011-06-02 | 1 | -1/+0 |
| | |||||
* | Use bool(digraph) instead of empty()/is_empty(). | Zac Medico | 2011-06-02 | 5 | -12/+12 |
| | |||||
* | dblink.unmerge: init log_path earlier, don't pop | Zac Medico | 2011-06-02 | 1 | -4/+1 |
| | | | | | There's no need to pop PORTAGE_LOG_FILE here, since PORTAGE_BACKGROUND=subprocess disables logging when necessary. | ||||
* | repository/config: PORTDIR/overlay priority tweak | Zac Medico | 2011-06-02 | 2 | -12/+20 |
| | | | | | | This ensures compatibility with previous portage versions for cases in which the user has added PORTDIR to PORTDIR_OVERLAY as a means to modify its priority relative to overlays when selecting ebuilds. | ||||
* | NEWS: FEATURES=parallel-install and ebuild-locks | Zac Medico | 2011-06-02 | 1 | -0/+2 |
| | |||||
* | NEW/RELEASE-NOTES: add items for portage-2.1.10 | Zac Medico | 2011-06-02 | 2 | -0/+18 |
| | |||||
* | portageq: exclude expand_new_virt from commands | Zac Medico | 2011-06-02 | 1 | -4/+7 |
| | | | | | | This is necessary since portage probes functions in globals() and treats functions it finds as commands. Also, use lazy import to minimize global scope imports. | ||||
* | portageq: add new expand_virtual function | Zac Medico | 2011-06-02 | 1 | -0/+35 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Something like this was requested in bug #157357. Now that Gentoo has migrated all virtuals to GLEP 37 new-style virtuals, this kind of function may be helpful in order to resolve the currently installed provider of a particular virtual in scripts like bootstrap.sh. Usage: portageq expand_virtual <root> <atom> Returns a \n separated list of atoms expanded from a given virtual atom, excluding blocker atoms. Satisfied virtual atoms are not included in the output, since they are expanded to real atoms which are displayed. Unsatisfied virtual atoms are displayed without any expansion. The "match" command can be used to resolve the returned atoms to specific installed packages. Example input/output: $ portageq expand_virtual / virtual/jre =dev-java/sun-jdk-1.6.0* $ portageq expand_virtual / virtual/jre:1.5 dev-java/gcj-jdk $ portageq expand_virtual / virtual/package-manager sys-apps/portage $ portageq expand_virtual / virtual/libc sys-libs/glibc:2.2 $ portageq expand_virtual / virtual/os-headers sys-kernel/linux-headers:0 |