summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused PORTAGE_MASTER_PID variable.Zac Medico2010-09-172-3/+1
|
* Make EbuildIpcDaemon._input_handler() use a blanket exceptionZac Medico2010-09-171-2/+5
| | | | | handler for pickle.loads() since that can raise practically any exception when given corrupt data.
* Update emerge --autounmask docs to indicate support for LICENSEZac Medico2010-09-171-2/+2
| | | | masks.
* don't use EROOT or an upgrade of a package will result in the package being ↵Fabian Groffen2010-09-171-2/+8
| | | | unmerged!
* Do NOT use EROOT when merging files to the live filesystem! It inevitably ↵Fabian Groffen2010-09-171-3/+10
| | | | makes double offsets occur
* --autounmask: Support license changesSebastian Luther2010-09-174-37/+139
|
* Bug #337540 - Record nested package set information in the digraph.Zac Medico2010-09-174-37/+85
| | | | | | A new depgraph._expand_set_args() method adds nested SetArg instances to the digraph, in order to record parent -> child relationships from nested sets.
* Move traversal of world_sets from calc_depclean() toZac Medico2010-09-162-26/+51
| | | | | | | | depgraph._complete_graph(). With this patch, nested set traversal is only used for removal operations like --depclean and --prune. A later patch will introduce similar traversal for all operations, in order to solve bug #337540.
* Bug #337702 - Fix config.load_best_module() to raise ImportError fromZac Medico2010-09-161-4/+4
| | | | | | | | the indentation block that caught it. In python3, we get a "RuntimeError: No active exception to reraise" exception if we try to call raise after completion of the indentation block were the last exception was caught.
* Fix misspelling of DependencyArg.__eq__() method.Zac Medico2010-09-161-1/+1
|
* Make Package __str__ and __unicode__ methods more like DependencyArg.Zac Medico2010-09-162-3/+13
|
* Make RepoDisplay __str__ and __unicode__ methods more likeZac Medico2010-09-162-5/+17
| | | | DependencyArg.
* Bug #337603 - Fix invalid '/etc/make.profile is not a symlink' messageZac Medico2010-09-161-3/+3
| | | | displayed when /etc/portage/make.profile is perfectly valid.
* Make EbuildPhase display "Package" and "Repository" instead of "CPV"Zac Medico2010-09-161-2/+2
| | | | and "REPO" the the start of the build log.
* Add missing noiselevel parameter to writemsg_stdout() call from previousZac Medico2010-09-161-1/+1
| | | | commit.
* Make UseFlagDisplay __str__ and __unicode__ methods more likeZac Medico2010-09-163-3/+50
| | | | DependencyArg, and add tests.
* Make PortageException __str__ and __unicode__ methods more likeZac Medico2010-09-152-8/+39
| | | | DependencyArg, and add tests.
* Add tests for DependencyArg __str__ and __unicode__ methods.Zac Medico2010-09-153-0/+53
|
* Implement DependencyArg __equals__, __hash__, and __unicode__ methods.Zac Medico2010-09-151-2/+24
|
* Fix typo in comment.Arfrever Frehtes Taifersar Arahesis2010-09-151-1/+1
|
* Bug #337465 - Disable EbuildIpcDaemon on FreeBSD since it doesn'tv2.2_rc83Zac Medico2010-09-151-0/+8
| | | | work yet.
* Tweak stack_lists() strict_warn_for_unmatched_removal logic.Zac Medico2010-09-151-2/+3
|
* Bug #337180 - Add a --unmatched-removal option for stricter checkingZac Medico2010-09-152-7/+19
| | | | of package.mask and package.unmask files for unmatched removal atoms.
* Bug #337180 - Add a strict_warn_for_unmatched_removal parameter forZac Medico2010-09-141-2/+8
| | | | stack_lists() that will be useful for repoman, and disable it by default.
* Limit the spam caused by unmatched removal atomsSebastian Luther2010-09-141-9/+12
|
* In Package._validate_deps(), force unicode format string inZac Medico2010-09-141-1/+4
| | | | check_required_use() exception handling (for python-2.x safety).
* Make Package._metadata_exception() use unicode format strings in orderZac Medico2010-09-141-3/+14
| | | | | | | | | | | | | | | | | | to avoid UnicodeDecodeError in python-2.x. This issue was reported in forum thread http://forums.gentoo.org/viewtopic-t-844623.html where the following traceback was posted: File "/usr/lib/portage/pym/_emerge/FakeVartree.py", line 195, in _pkg type_name="installed") File "/usr/lib/portage/pym/_emerge/Package.py", line 64, in __init__ self._validate_deps() File "/usr/lib/portage/pym/_emerge/Package.py", line 93, in _validate_deps self._metadata_exception(k, e) File "/usr/lib/portage/pym/_emerge/Package.py", line 242, in _metadata_exception "%s: %s in '%s'" % (k, e, path)) UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 22: ordinal not in range(128)
* Bug #336692 - When stack_lists() detects unmatched removal atoms,Zac Medico2010-09-141-1/+8
| | | | | account for cases in which the same profile is inherited multiple times in the same stack.
* Tests: test isvalidatom ::repo syntax supportSebastian Luther2010-09-141-87/+129
|
* ResolverPlayground: Add multi repo supportSebastian Luther2010-09-142-93/+194
|
* Add :.repo syntax support for portage.util.{grabfile_package,grabdict_package}Sebastian Luther2010-09-141-4/+4
|
* portage.dep: Add support for ::repo syntax to all functions and classesSebastian Luther2010-09-143-89/+178
| | | | This also adds the dep_getrepo() function
* In doebuild(), skip PORTAGE_BUILDDIR locking if it's already lockedZac Medico2010-09-141-3/+6
| | | | or returnpid is True.
* Make IpcDaemonTestCase use a finally block to unlock PORTAGE_BUILDDIR.v2.2_rc82Zac Medico2010-09-141-1/+3
|
* Only initialize Package.inherited to an empty set when it is None.Zac Medico2010-09-141-1/+2
|
* Ensure that Package.inherited is always initialized, even if there is noZac Medico2010-09-141-0/+1
| | | | INHERITED metadata available (like for binary packages).
* Make EbuildBuildDir.unlock() use an asynchronous lock when locking theZac Medico2010-09-141-13/+9
| | | | category directory for removal.
* Make EbuildBuildDir use the PORTAGE_BUILDDIR variable instead of theZac Medico2010-09-147-9/+7
| | | | dir_path attribute.
* Make Binpkg call doebuild_environment() before constructingZac Medico2010-09-141-5/+7
| | | | EbuildBuildDir, so PORTAGE_BUILDDIR is initialized first.
* Fix some typos.Arfrever Frehtes Taifersar Arahesis2010-09-143-8/+8
|
* Don't export PORTAGE_BUILDIR_LOCKED to the ebuild environment.Zac Medico2010-09-141-1/+1
|
* Add a config.pkeywordsdict property for backward compatibility.Zac Medico2010-09-141-0/+7
|
* In KeywordsManager.pkeywordsdict save values as tuples instead of lists.Zac Medico2010-09-141-0/+2
|
* config: Add KeywordsManagerSebastian Luther2010-09-143-145/+196
|
* Make IpcDaemonTestCase use EbuildBuildDir for lock creation.Zac Medico2010-09-141-4/+14
|
* Make AbstractEbuildProcess lock PORTAGE_BUILDIR if it's not alreadyZac Medico2010-09-133-2/+13
| | | | locked.
* Bug #336142 - Use EbuildBuildDir for threaded locking of PORTAGE_BUILDDIRZac Medico2010-09-131-31/+8
| | | | | inside dblink.unmerge(), so that the scheduler can concurrently service ipc calls in the main thread.
* Use EbuildBuildDir for PORTAGE_BUILDDIR locking inside doebuild().Zac Medico2010-09-131-2/+7
|
* Make EbuildBuild call doebuild_environment() so that EbuildBuildDirZac Medico2010-09-133-18/+6
| | | | doesn't need to.
* Bug #336142 - Add support for using a thread to wait for locks insideZac Medico2010-09-133-9/+15
| | | | | EbuildBuildDir.lock() so that the scheduler can concurrently service ipc calls in the main thread.