portage.git
17 years agostart of framework for programs in portage bin
Mike Frysinger [Sat, 17 Mar 2007 08:18:49 +0000 (08:18 -0000)]
start of framework for programs in portage bin

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

17 years agosend stdout to /dev/null since we rely on the output of stdout here to determine...
Mike Frysinger [Sat, 17 Mar 2007 08:07:22 +0000 (08:07 -0000)]
send stdout to /dev/null since we rely on the output of stdout here to determine the proper suffix #171212

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

17 years agobump ________foo from the TestCase class since _exc_info() doesn't do anything anyway
Alec Warner [Sat, 17 Mar 2007 07:24:50 +0000 (07:24 -0000)]
bump ________foo from the TestCase class since _exc_info() doesn't do anything anyway

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

17 years agofix for older python who have oddly named __exc_info()
Alec Warner [Sat, 17 Mar 2007 07:11:40 +0000 (07:11 -0000)]
fix for older python who have oddly named __exc_info()

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

17 years agoUse mkstemp to create a random tempfile.
Zac Medico [Sat, 17 Mar 2007 03:47:08 +0000 (03:47 -0000)]
Use mkstemp to create a random tempfile.

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

17 years agoFix a broken test.
Zac Medico [Sat, 17 Mar 2007 02:48:58 +0000 (02:48 -0000)]
Fix a broken test.

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

17 years agoFix broken exception handling.
Zac Medico [Sat, 17 Mar 2007 02:47:09 +0000 (02:47 -0000)]
Fix broken exception handling.

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

17 years agoFix a typo.
Zac Medico [Sat, 17 Mar 2007 02:41:32 +0000 (02:41 -0000)]
Fix a typo.

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

17 years agoforcibly break all hard links so we dont need to rely on --force in compressor and...
Mike Frysinger [Sat, 17 Mar 2007 02:28:22 +0000 (02:28 -0000)]
forcibly break all hard links so we dont need to rely on --force in compressor and tweak the _relocate_skip_dirs() func to handle whitespace in paths (thanks to zmedico for tip)

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

17 years agoredo compression so that it is queued up in src_install and then dequeued post src_in...
Mike Frysinger [Sat, 17 Mar 2007 02:08:23 +0000 (02:08 -0000)]
redo compression so that it is queued up in src_install and then dequeued post src_install

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

17 years agodrop the need for the force flag by default and just delete the existing files automa...
Mike Frysinger [Fri, 16 Mar 2007 23:38:47 +0000 (23:38 -0000)]
drop the need for the force flag by default and just delete the existing files automatically #171007

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

17 years agoFix a utime call to prevent a timestamp collision for bug #171117.
Zac Medico [Fri, 16 Mar 2007 18:36:45 +0000 (18:36 -0000)]
Fix a utime call to prevent a timestamp collision for bug #171117.

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

17 years agoFor bug #171117, ensure that the new and old config have different timestamps (for...
Zac Medico [Fri, 16 Mar 2007 18:11:46 +0000 (18:11 -0000)]
For bug #171117, ensure that the new and old config have different timestamps (for the benefit of programs like rsync that need distiguishable timestamps to detect file changes).  Thanks to Ben Bennett <sink@limey.net> for reporting.

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

17 years agoFor bug #163262 and conformance with section 7.2 of the PMS, make the export attribut...
Zac Medico [Fri, 16 Mar 2007 01:20:36 +0000 (01:20 -0000)]
For bug #163262 and conformance with section 7.2 of the PMS, make the export attribute of variables persist between ebuild phases.

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

17 years agoAdd back rstrip(os.path.sep) from the previous commit since it's needed when ROOT...
Zac Medico [Thu, 15 Mar 2007 20:27:25 +0000 (20:27 -0000)]
Add back rstrip(os.path.sep) from the previous commit since it's needed when ROOT="/".

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

17 years agoAutomatically convert ROOT and PORTAGE_CONFIGROOT to absolute paths when necessary...
Zac Medico [Thu, 15 Mar 2007 20:23:17 +0000 (20:23 -0000)]
Automatically convert ROOT and PORTAGE_CONFIGROOT to absolute paths when necessary since relative paths lead to problems.  Thanks to Christian Heim <phreak@gentoo.org> for reporting.

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

17 years agoMake prepinfo remove installed info indexes recursively. Thanks to Christian Faulham...
Zac Medico [Mon, 12 Mar 2007 23:42:16 +0000 (23:42 -0000)]
Make prepinfo remove installed info indexes recursively.  Thanks to Christian Faulhammer <opfer@gentoo.org> for reporting (see bugs #162675 and #170133).

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

17 years agoFor bug #170178, remove all hardcoded references to '/usr/lib/portage'.
Zac Medico [Sat, 10 Mar 2007 00:08:13 +0000 (00:08 -0000)]
For bug #170178, remove all hardcoded references to '/usr/lib/portage'.

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

17 years agoimport portage.xpak to avoid deprecation warning
Zac Medico [Fri, 9 Mar 2007 21:03:25 +0000 (21:03 -0000)]
import portage.xpak to avoid deprecation warning

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

17 years agoAdd back a missing `source isolated-functions.sh`. The color logic is handled intern...
Zac Medico [Fri, 9 Mar 2007 19:10:26 +0000 (19:10 -0000)]
Add back a missing `source isolated-functions.sh`.  The color logic is handled internally.

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

17 years agoDisplay message about --buildpkgonly restriction in pretend mode as well
Marius Mauch [Fri, 9 Mar 2007 10:31:54 +0000 (10:31 -0000)]
Display message about --buildpkgonly restriction in pretend mode as well

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

17 years agoRemove profile masking of system packages from the docs.
Zac Medico [Fri, 9 Mar 2007 04:43:10 +0000 (04:43 -0000)]
Remove profile masking of system packages from the docs.

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

17 years agoRemove the "masked by: profile" support from getmaskingstatus().
Zac Medico [Fri, 9 Mar 2007 04:25:40 +0000 (04:25 -0000)]
Remove the "masked by: profile" support from getmaskingstatus().

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

17 years agoUse the full atoms from the system set, since profile masking does not automatically...
Zac Medico [Fri, 9 Mar 2007 03:57:59 +0000 (03:57 -0000)]
Use the full atoms from the system set, since profile masking does not automatically constrain the matches anymore.

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

17 years agoRemove legacy "masked by: profile" support as per bug #149508. Profiles should use...
Zac Medico [Fri, 9 Mar 2007 03:34:29 +0000 (03:34 -0000)]
Remove legacy "masked by: profile" support as per bug #149508.  Profiles should use package.mask to mask unwanted versions of system packages.

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

17 years agowhoopse, s/;/:/
Alec Warner [Thu, 8 Mar 2007 16:00:39 +0000 (16:00 -0000)]
whoopse, s/;/:/

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

17 years agoadd PackageMask{File} classes, change unit tests to use try/finally, makes sure the...
Alec Warner [Thu, 8 Mar 2007 07:10:40 +0000 (07:10 -0000)]
add PackageMask{File} classes, change unit tests to use try/finally, makes sure the tempfile gets destroyed even if something weird happens

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

17 years agoChange load() to have no default arguments, makes caller specifiy explicitly...I...
Alec Warner [Thu, 8 Mar 2007 06:44:06 +0000 (06:44 -0000)]
Change load() to have no default arguments, makes caller specifiy explicitly...I think assuming a default arg is bad here.  Also add PackageUse and PackageUseFile, change up the comments a bit.  I've started to notice code re-use here; these are basically the same code.  I think I will write up the rest of the package* classes and then perform code merges to save LOC and memory and whatnot

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

17 years agoPart of my attempt now involves cleaning up config; this means for me; removing the...
Alec Warner [Wed, 7 Mar 2007 06:38:05 +0000 (06:38 -0000)]
Part of my attempt now involves cleaning up config; this means for me; removing the file-based stuff from it (config_path) and encapsulating that into classes.  This is the first one, a simple PackageKeywords class that does file-based stuff, no recursion yet but soon. Trying to do TDD here as well,so tests first then code.

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

17 years agoTake marien's advice, turn Skips into Todos for clarity sake
Alec Warner [Wed, 7 Mar 2007 04:27:18 +0000 (04:27 -0000)]
Take marien's advice, turn Skips into Todos for clarity sake

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

17 years agoFix 2 more types.InstanceType comparisons that are broken by the transition of dbapi...
Zac Medico [Tue, 6 Mar 2007 20:05:04 +0000 (20:05 -0000)]
Fix 2 more types.InstanceType comparisons that are broken by the transition of dbapi to new-style classes.

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

17 years agoFor bug #169620, in --tree display always show the dowload size on the node that...
Zac Medico [Tue, 6 Mar 2007 18:30:06 +0000 (18:30 -0000)]
For bug #169620, in --tree display always show the dowload size on the node that is "ordered" rather than one of it's "nomerge" counterparts.

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

17 years agoAdd part about new framework and skipping to test notes
Alec Warner [Tue, 6 Mar 2007 07:39:00 +0000 (07:39 -0000)]
Add part about new framework and skipping to test notes

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

17 years agoUpdate all the unittests to use the new framework, test skipping with isValidAtom...
Alec Warner [Tue, 6 Mar 2007 07:35:22 +0000 (07:35 -0000)]
Update all the unittests to use the new framework, test skipping with isValidAtom, add silly xpak test since I have it 'done'

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

17 years agoRoll our own unittest framework to add skip support.
Alec Warner [Tue, 6 Mar 2007 07:34:18 +0000 (07:34 -0000)]
Roll our own unittest framework to add skip support.

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

17 years agothese will fail now
Alec Warner [Mon, 5 Mar 2007 04:10:58 +0000 (04:10 -0000)]
these will fail now

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

17 years agoAvoid pointless population of the binary tree when --buildpkg is enabled. Thanks...
Zac Medico [Mon, 5 Mar 2007 00:11:11 +0000 (00:11 -0000)]
Avoid pointless population of the binary tree when --buildpkg is enabled.  Thanks to vapier for reporting.

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

17 years agoallow people to disable compression by setting the PORTAGE_COMPRESS variables to ""
Mike Frysinger [Sun, 4 Mar 2007 19:50:07 +0000 (19:50 -0000)]
allow people to disable compression by setting the PORTAGE_COMPRESS variables to ""

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

17 years agoDisplay blockers at the end of the list so that it will more often be easy for the...
Zac Medico [Sun, 4 Mar 2007 04:24:15 +0000 (04:24 -0000)]
Display blockers at the end of the list so that it will more often be easy for the user to see them in a terminal.  Thanks to iapitus and hydrogen for the suggestion.

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

17 years agoRemove the KVERS environment variable since it's code that creates it is broken anywa...
Zac Medico [Sun, 4 Mar 2007 02:36:26 +0000 (02:36 -0000)]
Remove the KVERS environment variable since it's code that creates it is broken anyway (only sets KVERS="." in the general case).

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

17 years agoFix the minimum index for pruning consecutive duplicate nodes.
Zac Medico [Sun, 4 Mar 2007 01:49:32 +0000 (01:49 -0000)]
Fix the minimum index for pruning consecutive duplicate nodes.

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

17 years agoAdd a note about --with-bdeps in the --depclean failure message.
Zac Medico [Sun, 4 Mar 2007 01:35:58 +0000 (01:35 -0000)]
Add a note about --with-bdeps in the --depclean failure message.

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

17 years agoFor bug #169187, make --depclean prune unneeded slots such that it is consistent...
Zac Medico [Sun, 4 Mar 2007 00:34:25 +0000 (00:34 -0000)]
For bug #169187, make --depclean prune unneeded slots such that it is consistent with the world update algorithm.

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

17 years agoOnly prune duplicate consecutive nodes if they both have depth == 0.
Zac Medico [Sat, 3 Mar 2007 23:05:27 +0000 (23:05 -0000)]
Only prune duplicate consecutive nodes if they both have depth == 0.

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

17 years agoPass waiting_msg into recursive lockfile() calls.
Zac Medico [Sat, 3 Mar 2007 21:42:46 +0000 (21:42 -0000)]
Pass waiting_msg into recursive lockfile() calls.

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

17 years agomake sure uid is an int
Alec Warner [Sat, 3 Mar 2007 18:31:15 +0000 (18:31 -0000)]
make sure uid is an int

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

17 years agoIn the same vein as copyright, add Id and svn:keywords to it
Alec Warner [Sat, 3 Mar 2007 18:00:42 +0000 (18:00 -0000)]
In the same vein as copyright, add Id and svn:keywords to it

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

17 years agoyou can't insert into sys.path without importing sys...
Alec Warner [Sat, 3 Mar 2007 17:52:08 +0000 (17:52 -0000)]
you can't insert into sys.path without importing sys...

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

17 years agoMake sure that excess "nomerge" nodes are pruned correctly.
Zac Medico [Sat, 3 Mar 2007 11:24:11 +0000 (11:24 -0000)]
Make sure that excess "nomerge" nodes are pruned correctly.

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

17 years agoAdd missing sys import.
Zac Medico [Sat, 3 Mar 2007 10:38:17 +0000 (10:38 -0000)]
Add missing sys import.

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

17 years agoFor bug #138840, show a more informative message when waiting for a distfiles lock...
Zac Medico [Sat, 3 Mar 2007 09:49:30 +0000 (09:49 -0000)]
For bug #138840, show a more informative message when waiting for a distfiles lock due to parallel-fetch.  Thanks to David Watzke <david@watzke.cz> for the initial patch.

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

17 years agos/node/selected_parent/ for clarity
Zac Medico [Sat, 3 Mar 2007 08:54:08 +0000 (08:54 -0000)]
s/node/selected_parent/ for clarity

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

17 years agoremove category regex, dumb idea, sorry I did it
Alec Warner [Sat, 3 Mar 2007 06:15:19 +0000 (06:15 -0000)]
remove category regex, dumb idea, sorry I did it

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

17 years agoFix types.InstanceType test which is failing now for some reason.
Zac Medico [Sat, 3 Mar 2007 01:53:18 +0000 (01:53 -0000)]
Fix types.InstanceType test which is failing now for some reason.

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

17 years agoFor bug #169046, fill in the --tree display with "nomerge" nodes so that the user...
Zac Medico [Sat, 3 Mar 2007 01:19:29 +0000 (01:19 -0000)]
For bug #169046, fill in the --tree display with "nomerge" nodes so that the user can always see at lease 1 parent on any non-root node.  Packages may appear in the display list multiple times, and will be marked "nomerge" when their position in the list does not correspond to actual merge order.

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

17 years agoWhen emerge automatically resumes, add --ignore-default-opts to the command line...
Zac Medico [Fri, 2 Mar 2007 20:06:20 +0000 (20:06 -0000)]
When emerge automatically resumes, add --ignore-default-opts to the command line in order to prevent things like --ask from leaking in via EMERGE_DEFAULT_OPTS.  Thanks to Peter Weller <welp@gentoo.org> for reporting.

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

17 years agoFor bug #168646, remove --prune-empty-dirs from PORTAGE_RSYNC_OPTS since it's only...
Zac Medico [Fri, 2 Mar 2007 07:23:06 +0000 (07:23 -0000)]
For bug #168646, remove --prune-empty-dirs from PORTAGE_RSYNC_OPTS since it's only a small optimization and it's inconvenient to force >=rsync-2.6.4 on server admins at this time.  If users desire, they can still add it to PORTAGE_RSYNC_EXTRA_OPTS.

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

17 years agoEven if there's no timestamp available locally, fetch the timestamp anyway as an...
Zac Medico [Fri, 2 Mar 2007 01:47:34 +0000 (01:47 -0000)]
Even if there's no timestamp available locally, fetch the timestamp anyway as an initial probe to verify that the server is responsive.  This protects us from hanging indefinitely on a connection attempt to an unresponsive server which rsync's --timeout option does not prevent.

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

17 years agoRemove unnecessary print statement reported by solar.
Zac Medico [Fri, 2 Mar 2007 00:10:40 +0000 (00:10 -0000)]
Remove unnecessary print statement reported by solar.

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

17 years agoFix broken rsync exitcode shift.
Zac Medico [Thu, 1 Mar 2007 23:47:23 +0000 (23:47 -0000)]
Fix broken rsync exitcode shift.

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

17 years agoFix the rest of the broken except statement syntax.
Zac Medico [Thu, 1 Mar 2007 23:31:16 +0000 (23:31 -0000)]
Fix the rest of the broken except statement syntax.

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

17 years agoFix broken except statement syntax.
Zac Medico [Thu, 1 Mar 2007 23:18:16 +0000 (23:18 -0000)]
Fix broken except statement syntax.

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

17 years agoFor consistency, remove exit code 2 (protocol incompatibility) from the other list...
Zac Medico [Thu, 1 Mar 2007 22:20:39 +0000 (22:20 -0000)]
For consistency, remove exit code 2 (protocol incompatibility) from the other list of rsync exit codes.

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

17 years agoAdd compatibility code to avoid the GNU specific --reference option of chmod. Thanks...
Zac Medico [Thu, 1 Mar 2007 22:06:52 +0000 (22:06 -0000)]
Add compatibility code to avoid the GNU specific --reference option of chmod.  Thanks to Timothy Redaelli <drizzt@gentoo.org>.

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

17 years ago- please be --quiet emerge. still need to hunt down one more newline
Ned Ludd [Thu, 1 Mar 2007 21:19:21 +0000 (21:19 -0000)]
- please be --quiet emerge. still need to hunt down one more newline

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

17 years agoMake sure pids are appropriately removed from portage.process.spawned_pids.
Zac Medico [Thu, 1 Mar 2007 20:49:33 +0000 (20:49 -0000)]
Make sure pids are appropriately removed from portage.process.spawned_pids.

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

17 years agoUse an alarm signal to implement a timeout when rsync is fetching the server timestam...
Zac Medico [Thu, 1 Mar 2007 20:37:15 +0000 (20:37 -0000)]
Use an alarm signal to implement a timeout when rsync is fetching the server timestamp file, since rsync's --timeout option doesn't apply to the initial connection attempt.

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

17 years agoFix misplaced [1]
Zac Medico [Thu, 1 Mar 2007 19:03:01 +0000 (19:03 -0000)]
Fix misplaced [1]

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

17 years agoFor bug #168646, don't bail out immediately when rsync detects protocol incompatibili...
Zac Medico [Thu, 1 Mar 2007 12:44:54 +0000 (12:44 -0000)]
For bug #168646, don't bail out immediately when rsync detects protocol incompatibility (code 2) during fetching of the timestamp file.  Retry for a better server (up to PORTAGE_RSYNC_RETRIES).

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

17 years agoFor bug #168823, fix broken except statement syntax that prevents the ValueError...
Zac Medico [Thu, 1 Mar 2007 03:35:39 +0000 (03:35 -0000)]
For bug #168823, fix broken except statement syntax that prevents the ValueError from being caught as intended.

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

17 years agoupdate --help example to match current behavior #168678 by Arthur Hagen
Mike Frysinger [Wed, 28 Feb 2007 14:45:36 +0000 (14:45 -0000)]
update --help example to match current behavior #168678 by Arthur Hagen

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

17 years agoMerged from branches/prefix r6092:6093.
Zac Medico [Tue, 27 Feb 2007 21:45:01 +0000 (21:45 -0000)]
Merged from branches/prefix r6092:6093.

Avoid "TypeError: unpack non-sequence" backtraces, and return a set of
None, None when was asked for the location.

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

17 years agoMerged from branches/prefix r6091:6092.
Zac Medico [Tue, 27 Feb 2007 21:32:24 +0000 (21:32 -0000)]
Merged from branches/prefix r6091:6092.

Fix undefined whatever 'best' error by importing it from
portage.versions

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

17 years agoFor bug #168267, use add --force to the default PORTAGE_COMPRESS_FLAGS so that hardli...
Zac Medico [Tue, 27 Feb 2007 05:04:34 +0000 (05:04 -0000)]
For bug #168267, use add --force to the default PORTAGE_COMPRESS_FLAGS so that hardlinks are automatically broken.

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

17 years agoFor compatibility with older findutils, don't use the -L predicate (bug #168432).
Zac Medico [Tue, 27 Feb 2007 04:54:18 +0000 (04:54 -0000)]
For compatibility with older findutils, don't use the -L predicate (bug #168432).

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

17 years agoFor bug #167668, prune empty ${FILESDIR}s by adding --prune-empty-dirs to PORTAGE_RS...
Zac Medico [Mon, 26 Feb 2007 03:37:40 +0000 (03:37 -0000)]
For bug #167668, prune empty ${FILESDIR}s by adding  --prune-empty-dirs to PORTAGE_RSYNC_OPTS.  Thanks to Ulrich Mueller <ulm@kph.uni-mainz.de> for the suggestion.

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

17 years agoClean up os.environ["USERLAND"] pollution from the portage.data module so that it...
Zac Medico [Sat, 24 Feb 2007 12:43:04 +0000 (12:43 -0000)]
Clean up os.environ["USERLAND"] pollution from the portage.data module so that it doesn't interfere with repoman.

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

17 years agoAllow --verbose to trigger a merge list even without --pretend, --ask, or --tree...
Zac Medico [Sat, 24 Feb 2007 00:56:59 +0000 (00:56 -0000)]
Allow --verbose to trigger a merge list even without --pretend, --ask, or --tree.  Thanks to agaffney and zlin for the suggestion.

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

17 years agoAs requested by solar, never show a merge list unless it's explicitly requested by...
Zac Medico [Fri, 23 Feb 2007 23:52:14 +0000 (23:52 -0000)]
As requested by solar, never show a merge list unless it's explicitly requested by --ask, --pretend, or --tree.

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

17 years agoAs requested by solar, never show a merge list unless it's explicitly requested by...
Zac Medico [Fri, 23 Feb 2007 23:39:28 +0000 (23:39 -0000)]
As requested by solar, never show a merge list unless it's explicitly requested by --ask, --pretend, or --tree.

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

17 years agoFilter paths matching '/<built-in>$' that come from debugedit. Thanks to Ed Catmur...
Zac Medico [Fri, 23 Feb 2007 23:20:32 +0000 (23:20 -0000)]
Filter paths matching '/<built-in>$' that come from debugedit.  Thanks to Ed Catmur for this patch from bug #165342.

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

17 years agoDo not show the spinner and the "Calculating dependencies" message for installation...
Zac Medico [Fri, 23 Feb 2007 21:26:13 +0000 (21:26 -0000)]
Do not show the spinner and the "Calculating dependencies" message for installation actions when the --nodeps option has been specified.  Thanks to David Watzke <david@watzke.cz> for this patch from bug #168169.

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

17 years agoMake fetch() bail out when an "Insufficient data for checksum verification" error...
Zac Medico [Fri, 23 Feb 2007 14:11:50 +0000 (14:11 -0000)]
Make fetch() bail out when an "Insufficient data for checksum verification" error occurs.

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

17 years agoMake verify_all() return an "insufficient data" error if there is not at least one...
Zac Medico [Fri, 23 Feb 2007 13:23:22 +0000 (13:23 -0000)]
Make verify_all() return an "insufficient data" error if there is not at least one supported hash type.

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

17 years agoUndoing previous test
Robin H. Johnson [Fri, 23 Feb 2007 10:19:39 +0000 (10:19 -0000)]
Undoing previous test

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

17 years agoTesting CIA commit logs, will undo in a moment.
Robin H. Johnson [Fri, 23 Feb 2007 10:03:58 +0000 (10:03 -0000)]
Testing CIA commit logs, will undo in a moment.

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

17 years agospawn rsync without a shell.
Zac Medico [Fri, 23 Feb 2007 00:56:06 +0000 (00:56 -0000)]
spawn rsync without a shell.

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

17 years agoRemove quotes since rsync doesn't accept them (and there is no shell to remove them...
Zac Medico [Thu, 22 Feb 2007 23:44:09 +0000 (23:44 -0000)]
Remove quotes since rsync doesn't accept them (and there is no shell to remove them since we use spawn() for rsync now).

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

17 years agoFor bug #167668, use an rsync "hide" filter rule to exclude **/files/digest-* and...
Zac Medico [Thu, 22 Feb 2007 23:42:12 +0000 (23:42 -0000)]
For bug #167668, use an rsync "hide" filter rule to exclude **/files/digest-* and delete them on the receiver.

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

17 years agoDon't bother to parse ${FILESDIR}/digest-* when manifest1_compat is disabled.
Zac Medico [Thu, 22 Feb 2007 22:15:08 +0000 (22:15 -0000)]
Don't bother to parse ${FILESDIR}/digest-* when manifest1_compat is disabled.

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

17 years agoFor bug #167667, add support for ${PORTDIR}/manifest1_obsolete and automatically...
Zac Medico [Thu, 22 Feb 2007 21:43:43 +0000 (21:43 -0000)]
For bug #167667, add support for ${PORTDIR}/manifest1_obsolete and automatically remove ${FILESDIR}/digest-* from cvs when appropriate.

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

17 years agoFor bug #167667, use the existence of ${PORTDIR}/manifest1_obsolete to trigger the...
Zac Medico [Thu, 22 Feb 2007 21:37:10 +0000 (21:37 -0000)]
For bug #167667, use the existence of ${PORTDIR}/manifest1_obsolete to trigger the disabling of manifest1/digest file generation.  This toggle is repo/overlay specific, allowing a specific overlay to drop manifest1 buy adding the manifest1_obsolete file.

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

17 years agoMake sure that ${A} in initialized in case pkg_nofetch() needs to be called. Thanks...
Zac Medico [Thu, 22 Feb 2007 21:10:31 +0000 (21:10 -0000)]
Make sure that ${A} in initialized in case pkg_nofetch() needs to be called.  Thanks to Peper for reporting.

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

17 years agoFix "NameError: global name 'myfilelist' is not defined" when collision-protect is...
Zac Medico [Thu, 22 Feb 2007 20:54:17 +0000 (20:54 -0000)]
Fix "NameError: global name 'myfilelist' is not defined" when collision-protect is enabled.

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

17 years agoAdd some sanity checks for file list handling when repolevel < 3.
Zac Medico [Thu, 22 Feb 2007 13:18:09 +0000 (13:18 -0000)]
Add some sanity checks for file list handling when repolevel < 3.

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

17 years agoFix broken file list handling for FEATUES=sign when only the Manifest has changed.
Zac Medico [Thu, 22 Feb 2007 13:09:55 +0000 (13:09 -0000)]
Fix broken file list handling for FEATUES=sign when only the Manifest has changed.

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

17 years agoFix more broken commitmessagefile handling.
Zac Medico [Thu, 22 Feb 2007 12:48:25 +0000 (12:48 -0000)]
Fix more broken commitmessagefile handling.

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

17 years agoUse startdir instead of mydir since mydir has a trailing slash which triggers normali...
Zac Medico [Thu, 22 Feb 2007 12:30:25 +0000 (12:30 -0000)]
Use startdir instead of mydir since mydir has a trailing slash which triggers normalization issues with the dirname function.

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

17 years agoAvoid a TypeError when commitmessagefile is None.
Zac Medico [Thu, 22 Feb 2007 11:59:58 +0000 (11:59 -0000)]
Avoid a TypeError when commitmessagefile is None.

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

17 years agoFix stardir and repodir logic from the previous commit.
Zac Medico [Wed, 21 Feb 2007 10:10:15 +0000 (10:10 -0000)]
Fix stardir and repodir logic from the previous commit.

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