portage.git
19 years agoFor bug #184412, make depclean more consistent with the update algorithm by keeping...
Zac Medico [Sun, 8 Jul 2007 02:49:53 +0000 (02:49 -0000)]
For bug #184412, make depclean more consistent with the update algorithm by keeping the highest version that as visible in the portage tree and pruning any versions that are either masked or no longer exist in the portage tree.

svn path=/main/trunk/; revision=7195

19 years agoallow split debuf for kernel modules
Mike Frysinger [Sun, 8 Jul 2007 00:17:29 +0000 (00:17 -0000)]
allow split debuf for kernel modules

svn path=/main/trunk/; revision=7193

19 years agoNow that the "white" color code really is white, alias it to bold where it's used...
Zac Medico [Sat, 7 Jul 2007 16:23:04 +0000 (16:23 -0000)]
Now that the "white" color code really is white, alias it to bold where it's used by emerge since white looks bad on a terminal with a white background.

svn path=/main/trunk/; revision=7191

19 years ago`find` can accept a list of paths so condense this nested for loop, and dont split...
Mike Frysinger [Sat, 7 Jul 2007 09:38:13 +0000 (09:38 -0000)]
`find` can accept a list of paths so condense this nested for loop, and dont split off debug information for ET_REL files as these are never pulled in via debug utilities (and can trigger weird behavior in binutils when linked into things, like glibcs crt1.o)

svn path=/main/trunk/; revision=7189

19 years agoAdd a depgaph.loadResumeCommand() method to handle loading and validation of all...
Zac Medico [Sat, 7 Jul 2007 06:47:43 +0000 (06:47 -0000)]
Add a depgaph.loadResumeCommand() method to handle loading and validation of all resume data.

svn path=/main/trunk/; revision=7187

19 years agoWhen depgraph updates preferences for old-style virtuals, also update them in the...
Zac Medico [Fri, 6 Jul 2007 22:58:32 +0000 (22:58 -0000)]
When depgraph updates preferences for old-style virtuals, also update them in the global config so that they are consistent everywhere.  Optimize config.setinst() to minimize the work done.

svn path=/main/trunk/; revision=7185

19 years agoMisc color fixes. Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail...
Zac Medico [Fri, 6 Jul 2007 21:14:40 +0000 (21:14 -0000)]
Misc color fixes.  Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> for this patch from bug#183861, comment #9.

svn path=/main/trunk/; revision=7183

19 years agoDon't exclude system virtuals from world since they can match multiple old-style...
Zac Medico [Fri, 6 Jul 2007 09:20:26 +0000 (09:20 -0000)]
Don't exclude system virtuals from world since they can match multiple old-style virtuals but only one of them will be pulled in by update or depclean.

svn path=/main/trunk/; revision=7180

19 years agoCount the number of merges processed by MergeTask and use that to determine whether...
Zac Medico [Fri, 6 Jul 2007 07:16:17 +0000 (07:16 -0000)]
Count the number of merges processed by MergeTask and use that to determine whether or not post_merge() should run.

svn path=/main/trunk/; revision=7178

19 years agotighten up --quiet output for --unmerge
Mike Frysinger [Fri, 6 Jul 2007 04:47:38 +0000 (04:47 -0000)]
tighten up --quiet output for --unmerge

svn path=/main/trunk/; revision=7177

19 years agoRemove the PKG_*ARG* color classes in order to simplify things since it's questionabl...
Zac Medico [Fri, 6 Jul 2007 03:06:39 +0000 (03:06 -0000)]
Remove the PKG_*ARG* color classes in order to simplify things since it's questionable whether many people will want to use them. Also, make the PKG_*SYSTEM colors default to the traditional colors since people are generally most interested in world packages.

svn path=/main/trunk/; revision=7174

19 years agofix copyright year
Marius Mauch [Fri, 6 Jul 2007 00:39:11 +0000 (00:39 -0000)]
fix copyright year

svn path=/main/trunk/; revision=7172

19 years agoFix emerge by tbz2 path so that it works properly.
Zac Medico [Fri, 6 Jul 2007 00:37:28 +0000 (00:37 -0000)]
Fix emerge by tbz2 path so that it works properly.

svn path=/main/trunk/; revision=7171

19 years agoAdd first draft of PackageSet backend modules
Marius Mauch [Fri, 6 Jul 2007 00:24:40 +0000 (00:24 -0000)]
Add first draft of PackageSet backend modules

svn path=/main/trunk/; revision=7170

19 years agoEnable keyword expansion
Marius Mauch [Fri, 6 Jul 2007 00:23:34 +0000 (00:23 -0000)]
Enable keyword expansion

svn path=/main/trunk/; revision=7169

19 years agoadd modified copy of gentoolkits glsa.py (r410)
Marius Mauch [Fri, 6 Jul 2007 00:22:47 +0000 (00:22 -0000)]
add modified copy of gentoolkits glsa.py (r410)

svn path=/main/trunk/; revision=7168

19 years agoFix emerge by ebuild path so that it works properly.
Zac Medico [Fri, 6 Jul 2007 00:05:56 +0000 (00:05 -0000)]
Fix emerge by ebuild path so that it works properly.

svn path=/main/trunk/; revision=7166

19 years agoDon't store unslotted system packages in the world file.
Zac Medico [Thu, 5 Jul 2007 22:12:48 +0000 (22:12 -0000)]
Don't store unslotted system packages in the world file.

svn path=/main/trunk/; revision=7164

19 years agoMove depgraph._args_atoms to depgraph._sets["args"] and move depgraph._args_nodes...
Zac Medico [Thu, 5 Jul 2007 18:52:16 +0000 (18:52 -0000)]
Move depgraph._args_atoms to depgraph._sets["args"] and move depgraph._args_nodes to self._set_nodes.

svn path=/main/trunk/; revision=7161

19 years agoRemove redundant config update notification (bug #184116)
Marius Mauch [Thu, 5 Jul 2007 16:25:09 +0000 (16:25 -0000)]
Remove redundant config update notification (bug #184116)

svn path=/main/trunk/; revision=7159

19 years agoRemove fallback imports for set(), and note minimum requirement of python-2.4
Marius Mauch [Thu, 5 Jul 2007 06:49:48 +0000 (06:49 -0000)]
Remove fallback imports for set(), and note minimum requirement of python-2.4

svn path=/main/trunk/; revision=7157

19 years agoAdd note about repo name warnings
Marius Mauch [Thu, 5 Jul 2007 05:46:56 +0000 (05:46 -0000)]
Add note about repo name warnings

svn path=/main/trunk/; revision=7155

19 years agoReplace sys.exit() with return in depgraph.display() and action_build().
Zac Medico [Thu, 5 Jul 2007 01:17:09 +0000 (01:17 -0000)]
Replace sys.exit() with return in depgraph.display() and action_build().

svn path=/main/trunk/; revision=7153

19 years agoDocument the additional color classes for bug #183861.
Zac Medico [Thu, 5 Jul 2007 00:43:11 +0000 (00:43 -0000)]
Document the additional color classes for bug #183861.

svn path=/main/trunk/; revision=7150

19 years agoMake the color class handling for package sets more consistent as suggested in commen...
Zac Medico [Thu, 5 Jul 2007 00:32:31 +0000 (00:32 -0000)]
Make the color class handling for package sets more consistent as suggested in comment #2 of bug #183861.

svn path=/main/trunk/; revision=7149

19 years agoFix broken code concatenation logic in parse_color_map().
Zac Medico [Wed, 4 Jul 2007 23:35:30 +0000 (23:35 -0000)]
Fix broken code concatenation logic in parse_color_map().

svn path=/main/trunk/; revision=7148

19 years agoAdd a "onerror" callback to parse_color_map() for handling each ParseError that would...
Zac Medico [Wed, 4 Jul 2007 12:27:44 +0000 (12:27 -0000)]
Add a "onerror" callback to parse_color_map() for handling each ParseError that would otherwise be raised.

svn path=/main/trunk/; revision=7147

19 years agoFor bug #183861, allow a color class in color.map to specify a space separated list...
Zac Medico [Wed, 4 Jul 2007 11:48:57 +0000 (11:48 -0000)]
For bug #183861, allow a color class in color.map to specify a space separated list of attributes so that any combination of foreground, background, and other attributes is possible.  Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> for this patch.

svn path=/main/trunk/; revision=7146

19 years agoFix greedy atoms logic for system mode.
Zac Medico [Wed, 4 Jul 2007 04:46:51 +0000 (04:46 -0000)]
Fix greedy atoms logic for system mode.

svn path=/main/trunk/; revision=7144

19 years agoRecord a slot atom in the world file for any atom that is precise enough to identify...
Zac Medico [Wed, 4 Jul 2007 02:31:12 +0000 (02:31 -0000)]
Record a slot atom in the world file for any atom that is precise enough to identify a specific slot.  Make depclean clean unnecessary slots of system and world packages.  For update and depclean, world atoms can be greedy with slots while system atoms can not.

svn path=/main/trunk/; revision=7142

19 years agoUse depgraph._args_nodes to simplify depgraph.saveNomergeFavorites().
Zac Medico [Tue, 3 Jul 2007 18:09:15 +0000 (18:09 -0000)]
Use depgraph._args_nodes to simplify depgraph.saveNomergeFavorites().

svn path=/main/trunk/; revision=7140

19 years agoFix --oneshot handling from the previous commit.
Zac Medico [Tue, 3 Jul 2007 17:49:36 +0000 (17:49 -0000)]
Fix --oneshot handling from the previous commit.

svn path=/main/trunk/; revision=7139

19 years agoIn depgraph.select_files(), unify favorites handling with the other args handling.
Zac Medico [Tue, 3 Jul 2007 17:44:03 +0000 (17:44 -0000)]
In depgraph.select_files(), unify favorites handling with the other args handling.

svn path=/main/trunk/; revision=7138

19 years agoImplement BlockerCache.keys() so that DictMixin.__repr__() works.
Zac Medico [Tue, 3 Jul 2007 06:23:22 +0000 (06:23 -0000)]
Implement BlockerCache.keys() so that DictMixin.__repr__() works.

svn path=/main/trunk/; revision=7135

19 years agoFix broken favorites handling with --usepkg.
Zac Medico [Tue, 3 Jul 2007 01:18:32 +0000 (01:18 -0000)]
Fix broken favorites handling with --usepkg.

svn path=/main/trunk/; revision=7133

19 years agoAdd USE to the list of metadata keys to pull.
Zac Medico [Tue, 3 Jul 2007 00:57:44 +0000 (00:57 -0000)]
Add USE to the list of metadata keys to pull.

svn path=/main/trunk/; revision=7132

19 years agoClean up system and world set handling. For forward compatibility, the world file...
Zac Medico [Tue, 3 Jul 2007 00:14:37 +0000 (00:14 -0000)]
Clean up system and world set handling.  For forward compatibility, the world file handling now allows the world file to contain arbitrary atoms such as slot atoms.

svn path=/main/trunk/; revision=7131

19 years agoPrefer asap_nodes more aggressively over any other nodes whenever possible. If no...
Zac Medico [Mon, 2 Jul 2007 05:50:46 +0000 (05:50 -0000)]
Prefer asap_nodes more aggressively over any other nodes whenever possible.  If no asap_nodes can be selected for a given iteration, they will be ignored for the next iteration.

svn path=/main/trunk/; revision=7126

19 years agoClone asap_nodes so that iteration is safe for node removal.
Zac Medico [Mon, 2 Jul 2007 03:54:51 +0000 (03:54 -0000)]
Clone asap_nodes so that iteration is safe for node removal.

svn path=/main/trunk/; revision=7124

19 years agoClean up the selected_nodes logic in depgraph.altlist().
Zac Medico [Mon, 2 Jul 2007 03:39:20 +0000 (03:39 -0000)]
Clean up the selected_nodes logic in depgraph.altlist().

svn path=/main/trunk/; revision=7122

19 years agoFlatten restrict for the RESTRICT.invalid check.
Zac Medico [Mon, 2 Jul 2007 02:06:40 +0000 (02:06 -0000)]
Flatten restrict for the RESTRICT.invalid check.

svn path=/main/trunk/; revision=7120

19 years agoMove medium priority out of ignore_priority_range and handle it separately.
Zac Medico [Mon, 2 Jul 2007 01:52:30 +0000 (01:52 -0000)]
Move medium priority out of ignore_priority_range and handle it separately.

svn path=/main/trunk/; revision=7118

19 years agoIf necessary, resample the leaf nodes so that they include all nodes whose hard deps...
Zac Medico [Sun, 1 Jul 2007 20:05:40 +0000 (20:05 -0000)]
If necessary, resample the leaf nodes so that they include all nodes whose hard deps are satisfied.

svn path=/main/trunk/; revision=7116

19 years agos/PORTAGE_EXTRA_RSYNC_OPTS/PORTAGE_RSYNC_OPTS/ for correctness.
Zac Medico [Sun, 1 Jul 2007 17:16:32 +0000 (17:16 -0000)]
s/PORTAGE_EXTRA_RSYNC_OPTS/PORTAGE_RSYNC_OPTS/ for correctness.

svn path=/main/trunk/; revision=7114

19 years agoFor bug #131030, update the warning about potential for emerge --sync overwrite or...
Zac Medico [Sun, 1 Jul 2007 17:08:59 +0000 (17:08 -0000)]
For bug #131030, update the warning about potential for emerge --sync overwrite or delete files in ${PORTDIR}.  Add references to the PKGDIR and DISTDIR docs.

svn path=/main/trunk/; revision=7112

19 years agoRevert --buildpkgonly logic back because it was already correct.
Zac Medico [Sun, 1 Jul 2007 08:38:54 +0000 (08:38 -0000)]
Revert --buildpkgonly logic back because it was already correct.

svn path=/main/trunk/; revision=7110

19 years agoUpdate --buildpkgonly logic to account for DepPriority.MEDIUM_SOFT.
Zac Medico [Sun, 1 Jul 2007 08:34:33 +0000 (08:34 -0000)]
Update --buildpkgonly logic to account for DepPriority.MEDIUM_SOFT.

svn path=/main/trunk/; revision=7108

19 years agoAdd medium-soft support to DepPriority.__str__().
Zac Medico [Sun, 1 Jul 2007 08:14:54 +0000 (08:14 -0000)]
Add medium-soft support to DepPriority.__str__().

svn path=/main/trunk/; revision=7106

19 years agoFor bug #180045, try to merge PDEPEND as soon as possible so that it behaves more...
Zac Medico [Sun, 1 Jul 2007 07:50:35 +0000 (07:50 -0000)]
For bug #180045, try to merge PDEPEND as soon as possible so that it behaves more like RDEPEND.

svn path=/main/trunk/; revision=7104

19 years agoAdd a QA warning for invalid values of RESTRICT. Thanks to peper for the patch.
Zac Medico [Sat, 30 Jun 2007 23:38:04 +0000 (23:38 -0000)]
Add a QA warning for invalid values of RESTRICT.  Thanks to peper for the patch.

svn path=/main/trunk/; revision=7102

19 years agoAdd docs for /etc/portage/color.map and a few misc man page fixes. Thanks to Arfreve...
Zac Medico [Sat, 30 Jun 2007 23:15:51 +0000 (23:15 -0000)]
Add docs for /etc/portage/color.map and a few misc man page fixes.  Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com> in bug #183758.

svn path=/main/trunk/; revision=7100

19 years agoRemove old wheel group warnings since portage stopped using this group long ago.
Zac Medico [Sat, 30 Jun 2007 13:19:58 +0000 (13:19 -0000)]
Remove old wheel group warnings since portage stopped using this group long ago.

svn path=/main/trunk/; revision=7099

19 years agoapply additional phase filters as otherwise some messages are logged in both unmerge...
Marius Mauch [Sat, 30 Jun 2007 11:21:26 +0000 (11:21 -0000)]
apply additional phase filters as otherwise some messages are logged in both unmerge and merge

svn path=/main/trunk/; revision=7098

19 years agoewarn when merging a package and the source repository/overlay does not have a name
Marius Mauch [Sat, 30 Jun 2007 10:32:36 +0000 (10:32 -0000)]
ewarn when merging a package and the source repository/overlay does not have a name

svn path=/main/trunk/; revision=7097

19 years agoprint a notice when a repository/overlay does not have a name
Marius Mauch [Sat, 30 Jun 2007 10:04:42 +0000 (10:04 -0000)]
print a notice when a repository/overlay does not have a name

svn path=/main/trunk/; revision=7096

19 years agoAdd a 0xAAAA00 rgb color code to represent the darkyellow color that some terminals...
Zac Medico [Fri, 29 Jun 2007 21:46:13 +0000 (21:46 -0000)]
Add a 0xAAAA00 rgb color code to represent the darkyellow color that some terminals have instead of brown.

svn path=/main/trunk/; revision=7094

19 years agoTest for existence of the getRepositories method since bindbapi doesn't have it atm.
Zac Medico [Fri, 29 Jun 2007 21:30:10 +0000 (21:30 -0000)]
Test for existence of the getRepositories method since bindbapi doesn't have it atm.

svn path=/main/trunk/; revision=7093

19 years agoFor bug #183639, give a more informative message with the package.provided warning.
Zac Medico [Fri, 29 Jun 2007 14:09:12 +0000 (14:09 -0000)]
For bug #183639, give a more informative message with the package.provided warning.

svn path=/main/trunk/; revision=7091

19 years agodisplay source repository for installed package and target package (bug #67072)
Marius Mauch [Fri, 29 Jun 2007 09:09:49 +0000 (09:09 -0000)]
display source repository for installed package and target package (bug #67072)

svn path=/main/trunk/; revision=7089

19 years agoUse better parseable format for list_preserved_libs
Marius Mauch [Fri, 29 Jun 2007 08:04:24 +0000 (08:04 -0000)]
Use better parseable format for list_preserved_libs

svn path=/main/trunk/; revision=7088

19 years agoStore name of source repository in vdb node for later comparison
Marius Mauch [Fri, 29 Jun 2007 08:03:46 +0000 (08:03 -0000)]
Store name of source repository in vdb node for later comparison

svn path=/main/trunk/; revision=7087

19 years agoFix typo.
Zac Medico [Thu, 28 Jun 2007 09:44:48 +0000 (09:44 -0000)]
Fix typo.

svn path=/main/trunk/; revision=7083

19 years agoFor bug #144333, document the new --reinstall=changed-use option.
Zac Medico [Thu, 28 Jun 2007 09:31:37 +0000 (09:31 -0000)]
For bug #144333, document the new --reinstall=changed-use option.

svn path=/main/trunk/; revision=7081

19 years agoRemove unused worldlist variable.
Zac Medico [Thu, 28 Jun 2007 09:06:02 +0000 (09:06 -0000)]
Remove unused worldlist variable.

svn path=/main/trunk/; revision=7078

19 years agoDon't colorize system package when in "world" mode.
Zac Medico [Thu, 28 Jun 2007 09:01:17 +0000 (09:01 -0000)]
Don't colorize system package when in "world" mode.

svn path=/main/trunk/; revision=7076

19 years agoFor bug #142473, add 2 additional color classes for system packages and packages...
Zac Medico [Thu, 28 Jun 2007 08:50:29 +0000 (08:50 -0000)]
For bug #142473, add 2 additional color classes for system packages and packages matched by arguments.

svn path=/main/trunk/; revision=7075

19 years agoFor bug #183431, catch a ParseError caused by a corrupt profile and dump an error...
Zac Medico [Thu, 28 Jun 2007 04:57:05 +0000 (04:57 -0000)]
For bug #183431, catch a ParseError caused by a corrupt profile and dump an error message.  This allows emerge to continue with actions that don't require a valid profile, such as --sync.

svn path=/main/trunk/; revision=7073

19 years agoWhen filling in "nomerge" nodes for --tree display, stop at a node that is an argumen...
Zac Medico [Thu, 28 Jun 2007 02:48:02 +0000 (02:48 -0000)]
When filling in "nomerge" nodes for --tree display, stop at a node that is an argument or a direct member of a set that has been specified as an argument (system or world).

svn path=/main/trunk/; revision=7071

19 years agoFor bug #144333, make the --reinstall option a single choice type.
Zac Medico [Thu, 28 Jun 2007 02:36:53 +0000 (02:36 -0000)]
For bug #144333, make the --reinstall option a single choice type.

svn path=/main/trunk/; revision=7069

19 years agoDiscard "nomerge" nodes to speed up depgraph.altlist() since those nodes aren't used...
Zac Medico [Thu, 28 Jun 2007 01:48:17 +0000 (01:48 -0000)]
Discard "nomerge" nodes to speed up depgraph.altlist() since those nodes aren't used and the --tree algorithm does a good job of regenerating them when appropriate.

svn path=/main/trunk/; revision=7067

19 years agoJust use a containment test for matching pprovided args since it works correctly...
Zac Medico [Thu, 28 Jun 2007 01:22:19 +0000 (01:22 -0000)]
Just use a containment test for matching pprovided args since it works correctly and match_to_list() isn't appropriate for this.

svn path=/main/trunk/; revision=7065

19 years agoCache aux_get() metadata in depgraph.create() and use PROVIDE for matching packages...
Zac Medico [Thu, 28 Jun 2007 01:04:36 +0000 (01:04 -0000)]
Cache aux_get() metadata in depgraph.create() and use PROVIDE for matching packages to arguments.

svn path=/main/trunk/; revision=7064

19 years agoImprove tracking of correspondence between arguments and packages in the depgraph.
Zac Medico [Wed, 27 Jun 2007 18:16:42 +0000 (18:16 -0000)]
Improve tracking of correspondence between arguments and packages in the depgraph.

svn path=/main/trunk/; revision=7063

19 years agoInstead of just a list, use a cat/pkg dict for matching packages against args in...
Zac Medico [Wed, 27 Jun 2007 15:15:19 +0000 (15:15 -0000)]
Instead of just a list, use a cat/pkg dict for matching packages against args in the depgraph.

svn path=/main/trunk/; revision=7061

19 years agoFor bug #142473, account for $ROOT when deciding if a package is part of world or...
Zac Medico [Wed, 27 Jun 2007 14:54:49 +0000 (14:54 -0000)]
For bug #142473, account for $ROOT when deciding if a package is part of world or not.

svn path=/main/trunk/; revision=7059

19 years agoFix quoting.
Zac Medico [Wed, 27 Jun 2007 10:11:01 +0000 (10:11 -0000)]
Fix quoting.

svn path=/main/trunk/; revision=7057

19 years agoFormat $EBUILD_OVERLAY_ECLASSES output more like it was before.
Zac Medico [Wed, 27 Jun 2007 09:56:12 +0000 (09:56 -0000)]
Format $EBUILD_OVERLAY_ECLASSES output more like it was before.

svn path=/main/trunk/; revision=7055

19 years agoFor bug #144333, add a --reinstall=changed-use option which behaves similar to how...
Zac Medico [Wed, 27 Jun 2007 04:18:39 +0000 (04:18 -0000)]
For bug #144333, add a --reinstall=changed-use option which behaves similar to how --newuse behaved in portage-2.0.x days.

svn path=/main/trunk/; revision=7052

19 years agoFormat the callstack indentation more like it used to be.
Zac Medico [Wed, 27 Jun 2007 03:21:30 +0000 (03:21 -0000)]
Format the callstack indentation more like it used to be.

svn path=/main/trunk/; revision=7050

19 years agoSend the ebuild die message through eerror and make sure that elog_process() gets...
Zac Medico [Wed, 27 Jun 2007 01:20:56 +0000 (01:20 -0000)]
Send the ebuild die message through eerror and make sure that elog_process() gets called when an ebuild dies.  This makes the elog echo module display the die message last in case other elog messages push the original die message off of the top of the screen.

svn path=/main/trunk/; revision=7047

19 years agoPreserve merge order in elog output.
Zac Medico [Tue, 26 Jun 2007 23:08:44 +0000 (23:08 -0000)]
Preserve merge order in elog output.

svn path=/main/trunk/; revision=7046

19 years agoShort circuit the loop as soon as missing hashes are detected.
Zac Medico [Tue, 26 Jun 2007 22:38:17 +0000 (22:38 -0000)]
Short circuit the loop as soon as missing hashes are detected.

svn path=/main/trunk/; revision=7044

19 years agoShort circuit the loop as soon as missing hashes are detected.
Zac Medico [Tue, 26 Jun 2007 22:18:57 +0000 (22:18 -0000)]
Short circuit the loop as soon as missing hashes are detected.

svn path=/main/trunk/; revision=7042

19 years agoAdd one more size == 0 check to digestgen().
Zac Medico [Tue, 26 Jun 2007 22:16:27 +0000 (22:16 -0000)]
Add one more size == 0 check to digestgen().

svn path=/main/trunk/; revision=7041

19 years agoAdd sanity checks in fetch() and digestgen() to automatically detect and handle inval...
Zac Medico [Tue, 26 Jun 2007 17:48:49 +0000 (17:48 -0000)]
Add sanity checks in fetch() and digestgen() to automatically detect and handle invalid empty distfiles since some users have reported difficulty when trying to create digests.

svn path=/main/trunk/; revision=7039

19 years agoFor bug #183167, explicitly call elog_process() when --buildpkgonly is enabled.
Zac Medico [Mon, 25 Jun 2007 19:41:56 +0000 (19:41 -0000)]
For bug #183167, explicitly call elog_process() when --buildpkgonly is enabled.

svn path=/main/trunk/; revision=7034

19 years agoFor bug #142473, add 4 color classes corresponding to combinations of world/merge...
Zac Medico [Mon, 25 Jun 2007 10:36:59 +0000 (10:36 -0000)]
For bug #142473, add 4 color classes corresponding to combinations of world/merge/nomerge attributes of each package.

svn path=/main/trunk/; revision=7031

19 years agoFix typo.
Zac Medico [Mon, 25 Jun 2007 09:14:44 +0000 (09:14 -0000)]
Fix typo.

svn path=/main/trunk/; revision=7029

19 years agoDon't use urljoin() in binarytree.gettbz2() since it doesn't work correctly wih unrec...
Zac Medico [Mon, 25 Jun 2007 06:21:33 +0000 (06:21 -0000)]
Don't use urljoin() in binarytree.gettbz2() since it doesn't work correctly wih unrecognized protocols like sftp.

svn path=/main/trunk/; revision=7027

19 years agoAllow SystemExit through as usual.
Zac Medico [Mon, 25 Jun 2007 04:49:12 +0000 (04:49 -0000)]
Allow SystemExit through as usual.

svn path=/main/trunk/; revision=7025

19 years agoFix file_get_lib() so it behaves the same way with sftp as it does with other protocols.
Zac Medico [Mon, 25 Jun 2007 04:47:35 +0000 (04:47 -0000)]
Fix file_get_lib() so it behaves the same way with sftp as it does with other protocols.

svn path=/main/trunk/; revision=7024

19 years agoFor bug #175891, add sftp protocol support via the paramiko library.
Zac Medico [Mon, 25 Jun 2007 03:23:17 +0000 (03:23 -0000)]
For bug #175891, add sftp protocol support via the paramiko library.

svn path=/main/trunk/; revision=7023

19 years agoFix typo.
Zac Medico [Mon, 25 Jun 2007 02:54:15 +0000 (02:54 -0000)]
Fix typo.

svn path=/main/trunk/; revision=7019

19 years agoFix resume logic in binarytree.gettbz2().
Zac Medico [Mon, 25 Jun 2007 02:48:41 +0000 (02:48 -0000)]
Fix resume logic in binarytree.gettbz2().

svn path=/main/trunk/; revision=7018

19 years agoFor bug #175891, support ${FETCHCOMMAND}_${PROTOCOL} in binarytree.gettbz2().
Zac Medico [Mon, 25 Jun 2007 02:35:55 +0000 (02:35 -0000)]
For bug #175891, support ${FETCHCOMMAND}_${PROTOCOL} in binarytree.gettbz2().

svn path=/main/trunk/; revision=7016

19 years agoClean up file_get() to use shlex, varexpand, and spawn.
Zac Medico [Mon, 25 Jun 2007 02:07:11 +0000 (02:07 -0000)]
Clean up file_get() to use shlex, varexpand, and spawn.

svn path=/main/trunk/; revision=7014

19 years agoFix binarytree.isremote() to be consistent with binarytree.gettbz2() logic wrt partia...
Zac Medico [Sun, 24 Jun 2007 23:47:03 +0000 (23:47 -0000)]
Fix binarytree.isremote() to be consistent with binarytree.gettbz2() logic wrt partially downloaded files.

svn path=/main/trunk/; revision=7012

19 years agoRemove unused imports and unnecessary dict.keys() call.
Zac Medico [Sun, 24 Jun 2007 22:44:59 +0000 (22:44 -0000)]
Remove unused imports and unnecessary dict.keys() call.

svn path=/main/trunk/; revision=7011

19 years agoUse a set to optimize containment lookups.
Zac Medico [Sun, 24 Jun 2007 22:05:52 +0000 (22:05 -0000)]
Use a set to optimize containment lookups.

svn path=/main/trunk/; revision=7008

19 years agoClarify RESUMECOMMAND requirements.
Zac Medico [Sun, 24 Jun 2007 21:47:03 +0000 (21:47 -0000)]
Clarify RESUMECOMMAND requirements.

svn path=/main/trunk/; revision=7005