summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
...
* Use blocking IO in ebuild-ipc.py and EbuildIpcDaemon._send_reply(),Zac Medico2010-09-181-6/+1
| | | | in hopes that it will be more portable (see bug #337465).
* Disable EbuildIpcDaemon for Darwin (similar issues to FreeBSD).Zac Medico2010-09-181-1/+2
|
* Fix lockfile() to close the file descriptor before raising TryAgain.Zac Medico2010-09-181-0/+1
|
* Fix the "Unmatch removal atoms" (second try) to show the correctZac Medico2010-09-181-2/+3
| | | | number of undisplayed atoms when there are more than 3.
* catch another case where using EROOT is absolutely not correct:Fabian Groffen2010-09-181-1/+2
| | | | | when reading files from CONTENTS, don't prepend EROOT, since the package already HAS prefix recorded in CONTENTS
* Drop PREFIX LOCAL markersFabian Groffen2010-09-181-10/+2
|
* Fix off-by-one; don't print useless "and 0 more" message.Fabian Groffen2010-09-181-1/+1
|
* Bug #337826 - Fix spawn_nofetch() to create the privateZac Medico2010-09-181-13/+16
| | | | PORTAGE_TMPDIR before calling doebuild_environment().
* Fix --autounmask get_dep_chain() function to traverse nested sets.Zac Medico2010-09-181-7/+20
|
* Never traverse the same node twice when showing parents inZac Medico2010-09-181-1/+3
| | | | depgraph._show_unsatisfied_dep().
* When depgraph._show_unsatisfied_dep() displays parents, traverse nestedZac Medico2010-09-181-7/+15
| | | | sets.
* Make depgraph._pkg_visibility_check() when --autounmask is notZac Medico2010-09-171-0/+3
| | | | enabled.
* Use _unicode_decode() to force unicode format strings insideZac Medico2010-09-171-2/+7
| | | | digraph.debug_print().
* 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.