summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* autounmask: reference EMERGE_DEFAULT_OPTS in docsZac Medico2011-06-042-2/+6
|
* Binpkg: cleanup PORTAGE_BINPKG_FILE codeZac Medico2011-06-031-16/+6
|
* Fix a typo in a comment.Zac Medico2011-06-031-1/+1
|
* autounmask: include comments from package.maskZac Medico2011-06-031-0/+13
| | | | This will fix bug #369985.
* emergelog: tweak _disabled commentZac Medico2011-06-031-2/+2
|
* emergelog: only enable when called by emergeZac Medico2011-06-032-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 Medico2011-06-031-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 reloadedZac Medico2011-06-032-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 Medico2011-06-035-5/+5
|
* Move pickle import out of base portage module.Zac Medico2011-06-033-6/+6
|
* --ask: prompt for --pretend mode when necessaryZac Medico2011-06-031-2/+6
|
* --autounmask: show note suggesting how to disableZac Medico2011-06-031-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 argumentsZac Medico2011-06-031-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 callsZac Medico2011-06-031-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 callbacksZac Medico2011-06-032-107/+30
|
* dblink.unmerge: fix some background logic casesZac Medico2011-06-032-2/+8
|
* autounmask-write: mention --ask in docsZac Medico2011-06-022-2/+2
|
* etc-update: disable clear_term by defaultZac Medico2011-06-021-1/+2
|
* autounmask-write: force configpro if non-existentZac Medico2011-06-022-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 orderZac Medico2011-06-021-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 varZac Medico2011-06-021-1/+0
|
* Use bool(digraph) instead of empty()/is_empty().Zac Medico2011-06-025-12/+12
|
* dblink.unmerge: init log_path earlier, don't popZac Medico2011-06-021-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 tweakZac Medico2011-06-022-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-locksZac Medico2011-06-021-0/+2
|
* NEW/RELEASE-NOTES: add items for portage-2.1.10Zac Medico2011-06-022-0/+18
|
* portageq: exclude expand_new_virt from commandsZac Medico2011-06-021-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 functionZac Medico2011-06-021-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
* repoman: disallow EMERGE_FROM in EAPI 4Zac Medico2011-05-311-2/+3
| | | | | | We already have the Eapi4GoneVars check for AA and KV which were removed in EAPI 4, so we can re-use it to disallow EMERGE_FROM. This will fix bug #368865.
* etc-update: add clear_term config for bug #142508Zac Medico2011-05-312-3/+7
|
* dep_zapdeps: use digraph for preference selectionZac Medico2011-05-302-2/+12
| | | | | | | | | | This is required in order for dep_zapdeps to work as intended for solving cases of bug #264434 in which there is an installed package that may need to be uninstalled in order to resolve blockers. It fixes a failure to resolve blockers when attempting to replace media-video/ffmpeg with media-video/libav (symptom is similar to bug #339164, but with new-style virtual instead of old-style PROVIDE virtual).
* test_merge_order: add USE deps to bug 264434 testZac Medico2011-05-301-4/+18
|
* test_merge_order: test bug #264434 with virtualZac Medico2011-05-301-1/+21
|
* man/ebuild.5: document DOCS variable for EAPI 4Alexandre Rostovtsev2011-05-301-0/+6
| | | | This will fix bug #369383.
* backtrack_depgraph: display_problems for each runZac Medico2011-05-271-2/+13
|
* depclean: warn for each unmatched argumentZac Medico2011-05-271-1/+4
| | | | This output is similar to that produced by unmerge().
* _LockProcess: fix _poll returncodev2.2.0_alpha37Zac Medico2011-05-261-1/+1
| | | | | We don't want to return the returncode directly from the subprocess. Return self.returncode instead.
* MergeProcess: populate vardbapi cache for new pkgZac Medico2011-05-261-0/+9
|
* counter_tick_core: flush the cache (periodically)Zac Medico2011-05-261-0/+6
| | | | | | Since we hold a lock, this is a good opportunity to flush the cache. Note that this will only flush the cache periodically in the main process when _aux_cache_threshold is exceeded.
* autounmask_broke_use_dep: flag masked pkgs tooZac Medico2011-05-261-2/+2
|
* _LockProcess: remove redundant scheduler attribZac Medico2011-05-261-1/+1
|
* unmerge: remove redundant builddir_locked varZac Medico2011-05-261-7/+4
|
* AsynchronousLock: check type in _poll and _cancelZac Medico2011-05-261-3/+3
|
* man/emerge.1: refer to ebuild(5) for atom syntaxZac Medico2011-05-261-1/+1
|
* unmerge: pass through writemsg_level paramZac Medico2011-05-261-1/+1
|
* discardBlocker: fix bug in slot match codeZac Medico2011-05-261-2/+3
|
* discardBlocker: fix cpv match so it worksZac Medico2011-05-261-2/+4
|
* depgraph: always check for autounmask breakageZac Medico2011-05-251-9/+10
| | | | | The 2.1.9 branch already does the same thing since commit 65736474c0d70cb10ff1290b3787b61d8a502aed.
* Update timestamps in headers of modified files.Zac Medico2011-05-251-1/+1
|
* dblink.unmerge: always initialize myebuildpathZac Medico2011-05-251-10/+5
| | | | | This is required for the doebuild_environment() call. Also, set builddir_locked = True when appropriate.