/[gentoo-src]/portage/pym/portage_dep.py
Gentoo

Log of /portage/pym/portage_dep.py

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)

Revision 1.35 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 5 06:24:08 2005 UTC (9 years, 4 months ago) by jstubbs
Branch: MAIN
CVS Tags: HEAD
Branch point for: portage_2_1
Changes since 1.34: +61 -9 lines
Diff to previous 1.34
Added some basic utility methods to StateGraph. Reworked the test script
into a functional equivalent of --pretend depclean.


Revision 1.34 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 5 05:08:26 2005 UTC (9 years, 4 months ago) by jstubbs
Branch: MAIN
Changes since 1.33: +24 -4 lines
Diff to previous 1.33
pym/portage_syntax.py: Added with_key() method to Atom for creating a new
atom of a different key with the same constraints.

bin/test_target_graph.py pym/portage_dep.py: Added transform_virtuals()
function to just that. Added testing code to show how it is used. Renamed
TargetGraph to StateGraph.


Revision 1.33 - (view) (download) (as text) (annotate) - [select for diffs]
Thu May 5 03:34:02 2005 UTC (9 years, 4 months ago) by jstubbs
Branch: MAIN
Changes since 1.32: +138 -17 lines
Diff to previous 1.32
Added full support for OR-based dependencies. Still need to sort out
virtuals and provide a public interface for TargetGraph.


Revision 1.32 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 4 13:27:57 2005 UTC (9 years, 4 months ago) by jstubbs
Branch: MAIN
Changes since 1.31: +159 -48 lines
Diff to previous 1.31
pym/portage_syntax.py pym/portage_dep.py: Filled out most of TargetGraph.
Still need to complete support for OR deps. Added a bit some more support
functions to Atom and DependSpec.

bin/test_target_graph.py: Just a script to help test and show the usage of
TargetGraph.


Revision 1.31 - (view) (download) (as text) (annotate) - [select for diffs]
Wed May 4 03:17:33 2005 UTC (9 years, 4 months ago) by jstubbs
Branch: MAIN
Changes since 1.30: +17 -7 lines
Diff to previous 1.30
Added remove_preferentials() method to the DependSpec class. Simplified
PkgGlue to just being a container.


Revision 1.30 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 3 13:49:35 2005 UTC (9 years, 4 months ago) by jstubbs
Branch: MAIN
Changes since 1.29: +45 -2 lines
Diff to previous 1.29
Fixed some bugs in the new intersects() and encapsulates() methods. Created
a transform_dependspec() function that reorders DependSpec elements based
on supplied preferences.


Revision 1.29 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 3 10:20:01 2005 UTC (9 years, 4 months ago) by jstubbs
Branch: MAIN
Changes since 1.28: +10 -6 lines
Diff to previous 1.28
Added intersects() and encapsulates() functions to the Atom class for
comparing relationships between similar atoms.


Revision 1.28 - (view) (download) (as text) (annotate) - [select for diffs]
Tue May 3 07:20:14 2005 UTC (9 years, 4 months ago) by jstubbs
Branch: MAIN
Changes since 1.27: +28 -9 lines
Diff to previous 1.27
man/portage.5: Removed invalid example from package.keywords section.

pym/portage_dep.py pym/portage_syntax.py: Mostly completed DependSpec and
started on TargetGraph.


Revision 1.27 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 3 15:37:19 2005 UTC (9 years, 5 months ago) by jstubbs
Branch: MAIN
Changes since 1.26: +13 -12 lines
Diff to previous 1.26
Added shortcut to circular dep "resolution" as per bug 85130. Removed the
traversed cache dict from __traverse_nodes and made the original list into
a dict.


Revision 1.15.2.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Apr 2 14:07:59 2005 UTC (9 years, 5 months ago) by jstubbs
Branch: portage_2_0
Branch point for: portage-2_0_51_20, portage_2_0_51_21
Changes since 1.15.2.2: +3 -3 lines
Diff to previous 1.15.2.2 , to branch point 1.15 , to next main 1.35
Fixed a bug where a return type was a tuple instead of a list in paren_reduce().


Revision 1.26 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Mar 13 12:14:40 2005 UTC (9 years, 6 months ago) by ferringb
Branch: MAIN
Changes since 1.25: +9 -3 lines
Diff to previous 1.25
correction of a slowdown Thomas de Grenier de Latour (TGL) pointed out, tracked it back to __traverse_nodes


Revision 1.25 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Mar 8 12:04:31 2005 UTC (9 years, 6 months ago) by ferringb
Branch: MAIN
Changes since 1.24: +115 -2 lines
Diff to previous 1.24
Moved match_from_list, match_to_* stuff
into portage_dep, and updated references, and fixed a few bugs related to
match_* locations from last check in.
Threw out match_from_list_original func- it's dead code


Revision 1.24 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 7 04:00:30 2005 UTC (9 years, 6 months ago) by ferringb
Branch: MAIN
Changes since 1.23: +37 -2 lines
Diff to previous 1.23
eclass_cache is now eclass_cache.py:cache, config is config.py:config.
Shifted support functions around as needed, left references in portage.py (from blah import) where relevant.


Revision 1.23 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Feb 26 06:35:20 2005 UTC (9 years, 6 months ago) by jstubbs
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22
Brought forward changes from portage_2_0


Revision 1.15.2.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Jan 16 02:35:33 2005 UTC (9 years, 8 months ago) by carpaski
Branch: portage_2_0
CVS Tags: portage_2_0_51_17, portage_2_0_51_18
Changes since 1.15.2.1: +2 -1 lines
Diff to previous 1.15.2.1 , to branch point 1.15
Added CVS ids as strings that can be printed. Cleaned up imports in the modules.


Revision 1.22 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Dec 7 15:06:41 2004 UTC (9 years, 9 months ago) by jstubbs
Branch: MAIN
Changes since 1.21: +7 -5 lines
Diff to previous 1.21
Added Ludal's clean up patch. #69523


Revision 1.21 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 10 03:10:56 2004 UTC (9 years, 10 months ago) by genone
Branch: MAIN
CVS Tags: portage_041204
Changes since 1.20: +4 -212 lines
Diff to previous 1.20
added new version parsing+comparison code (bug #37406)


Revision 1.20 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 7 12:34:21 2004 UTC (9 years, 10 months ago) by ferringb
Branch: MAIN
Changes since 1.19: +269 -5 lines
Diff to previous 1.19
code transfer out of portage.py.  Functions are still in portage.py at this point, removed shortly.  Closes a few
bugs with paren_reduce not returning a list, but a tuple also.


Revision 1.19 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Nov 7 06:28:59 2004 UTC (9 years, 10 months ago) by jstubbs
Branch: MAIN
Changes since 1.18: +48 -25 lines
Diff to previous 1.18
dispatch-conf: Moved back to the version of dispatch-conf that was released
(due to python-2.2 compatibility) and fixed a small type in that version.
#70282

portage_dep.py: Added a few more readable optimizations to the
DependencyGraph class along with apprioriate comments.

emerge: Changed all usage of digraph in emerge to use the new
DependencyGraph class.


Revision 1.18 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 6 16:40:38 2004 UTC (9 years, 10 months ago) by jstubbs
Branch: MAIN
Changes since 1.17: +206 -47 lines
Diff to previous 1.17
Added full code comments to the DependencyGraph class. Did some code
optimization where readability was not adversly affected. Removed the
testing output from emerge.


Revision 1.17 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Nov 6 02:34:24 2004 UTC (9 years, 10 months ago) by jstubbs
Branch: MAIN
Changes since 1.16: +111 -1 lines
Diff to previous 1.16
Added a reimplementation of digraph. Still some work to do (including
comments) in order to support the differences between *DEPEND. Modified
emerge a little to build up both dep graphs for testing purposes.


Revision 1.15.2.1 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 3 12:11:54 2004 UTC (9 years, 10 months ago) by ferringb
Branch: portage_2_0
CVS Tags: portage_2_0_51_r10, portage_2_0_51_r13, portage_2_0_51_r5, portage_2_0_51_r7
Changes since 1.15: +2 -2 lines
Diff to previous 1.15
paren_reduce was returning a tuple, ticking off use_reduce.  corrected it to return a list.


Revision 1.16 - (view) (download) (as text) (annotate) - [select for diffs]
Wed Nov 3 12:08:36 2004 UTC (9 years, 10 months ago) by ferringb
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15
paren_reduce was returning a tuple instead of a list, pissing off use_reduce via a fetchlist call.


Revision 1.15 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Oct 4 14:07:40 2004 UTC (9 years, 11 months ago) by vapier
Branch: MAIN
CVS Tags: portage_2_0_51, portage_2_0_51_rc9
Branch point for: portage_2_0
Changes since 1.14: +2 -2 lines
Diff to previous 1.14
copyright updates


Revision 1.14 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 14 19:49:47 2004 UTC (10 years, 1 month ago) by carpaski
Branch: MAIN
CVS Tags: portage_2_0_51_pre18, portage_2_0_51_pre19, portage_2_0_51_pre20, portage_2_0_51_pre22, portage_2_0_51_pre23, portage_2_0_51_pre24, portage_2_0_51_rc1, portage_2_0_51_rc3, portage_2_0_51_rc4, portage_2_0_51_rc5, portage_2_0_51_rc7
Changes since 1.13: +2 -2 lines
Diff to previous 1.13
Fixed Header


Revision 1.13 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 7 12:21:55 2004 UTC (10 years, 1 month ago) by jstubbs
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12
Propogated the change in use_reduce's parameters to it's recursive calls


Revision 1.12 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 7 11:44:04 2004 UTC (10 years, 1 month ago) by jstubbs
Branch: MAIN
Changes since 1.11: +1 -2 lines
Diff to previous 1.11
Removed debugging code :/


Revision 1.11 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 7 11:40:46 2004 UTC (10 years, 1 month ago) by jstubbs
Branch: MAIN
Changes since 1.10: +4 -3 lines
Diff to previous 1.10
Added a new parameter to use_reduce so that !arch? checks can be adhered to
even when matchall=1 and arch is not is masklist.


Revision 1.10 - (view) (download) (as text) (annotate) - [select for diffs]
Sat Aug 7 10:56:24 2004 UTC (10 years, 1 month ago) by jstubbs
Branch: MAIN
Changes since 1.9: +67 -76 lines
Diff to previous 1.9
Added profile masked use flags to repoman check. Moved || refactoring to a
separate function. Reworked use_reduce logic into simpler sections.


Revision 1.9 - (view) (download) (as text) (annotate) - [select for diffs]
Fri Aug 6 02:44:05 2004 UTC (10 years, 1 month ago) by ferringb
Branch: MAIN
Changes since 1.8: +22 -5 lines
Diff to previous 1.8
bug #59574.
Again.  I hate you use_reduce.


Revision 1.8 - (view) (download) (as text) (annotate) - [select for diffs]
Thu Aug 5 10:52:28 2004 UTC (10 years, 1 month ago) by carpaski
Branch: MAIN
Changes since 1.7: +6 -4 lines
Diff to previous 1.7
Fixed another depend bug


Revision 1.7 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 3 21:34:00 2004 UTC (10 years, 1 month ago) by carpaski
Branch: MAIN
CVS Tags: portage_2_0_51_pre16
Changes since 1.6: +26 -5 lines
Diff to previous 1.6
Notification on invalid depstrings for ||.


Revision 1.6 - (view) (download) (as text) (annotate) - [select for diffs]
Tue Aug 3 08:35:19 2004 UTC (10 years, 1 month ago) by carpaski
Branch: MAIN
CVS Tags: portage_2_0_51_pre15
Changes since 1.5: +10 -1 lines
Diff to previous 1.5
use_reduce fix to match dep_opconvert || handling.


Revision 1.5 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 2 20:59:08 2004 UTC (10 years, 1 month ago) by carpaski
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4
Fixes masking issue for include-all logic.


Revision 1.4 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Aug 2 18:49:31 2004 UTC (10 years, 1 month ago) by carpaski
Branch: MAIN
CVS Tags: portage_2_0_51_pre14
Changes since 1.3: +15 -6 lines
Diff to previous 1.3
Cleanups, typo fixes, extra info output, binary altroot fix, bad mirror
message. portage-2.0.51_pre14


Revision 1.3 - (view) (download) (as text) (annotate) - [select for diffs]
Sun May 9 08:54:12 2004 UTC (10 years, 4 months ago) by jstubbs
Branch: MAIN
CVS Tags: portage_2_0_51_pre10, portage_2_0_51_pre11, portage_2_0_51_pre12, portage_2_0_51_pre13, portage_2_0_51_pre8, portage_2_0_51_pre9
Changes since 1.2: +2 -2 lines
Diff to previous 1.2
Fixed bug in use_reduce that caused the returned deplist to be
flattened.


Revision 1.2 - (view) (download) (as text) (annotate) - [select for diffs]
Sun Apr 11 10:27:56 2004 UTC (10 years, 5 months ago) by carpaski
Branch: MAIN
CVS Tags: portage_2_0_51_pre4, portage_2_0_51_pre5, portage_2_0_51_pre6, portage_2_0_51_pre7, portage_2_0_51_pre7b
Changes since 1.1: +24 -26 lines
Diff to previous 1.1
Random stuff. portage_dep fixes from jstubbs along with other random
improvements like http encoding.


Revision 1.1 - (view) (download) (as text) (annotate) - [select for diffs]
Mon Mar 22 01:40:58 2004 UTC (10 years, 5 months ago) by carpaski
Branch: MAIN
CVS Tags: portage_2_0_50_r2
Portage-2.0.50-r2
Laundry list of fixes and updates. See the changelog.


This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.

  Diffs between and
  Type of Diff should be a

Sort log by:

Sticky Tag:

  ViewVC Help
Powered by ViewVC 1.1.20