summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Display message about --buildpkgonly restriction in pretend mode as wellMarius Mauch2007-03-091-0/+5
| | | | svn path=/main/trunk/; revision=6199
* Remove the "masked by: profile" support from getmaskingstatus().Zac Medico2007-03-091-12/+0
| | | | svn path=/main/trunk/; revision=6197
* Use the full atoms from the system set, since profile masking does not ↵Zac Medico2007-03-091-4/+2
| | | | | | automatically constrain the matches anymore. svn path=/main/trunk/; revision=6196
* Remove legacy "masked by: profile" support as per bug #149508. Profiles ↵Zac Medico2007-03-091-17/+0
| | | | | | should use package.mask to mask unwanted versions of system packages. svn path=/main/trunk/; revision=6195
* whoopse, s/;/:/Alec Warner2007-03-081-1/+1
| | | | svn path=/main/trunk/; revision=6194
* add PackageMask{File} classes, change unit tests to use try/finally, makes ↵Alec Warner2007-03-084-12/+101
| | | | | | sure the tempfile gets destroyed even if something weird happens svn path=/main/trunk/; revision=6193
* Change load() to have no default arguments, makes caller specifiy ↵Alec Warner2007-03-083-3/+90
| | | | | | 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
* Part of my attempt now involves cleaning up config; this means for me; ↵Alec Warner2007-03-077-11/+117
| | | | | | 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
* Take marien's advice, turn Skips into Todos for clarity sakeAlec Warner2007-03-072-18/+14
| | | | svn path=/main/trunk/; revision=6189
* Fix 2 more types.InstanceType comparisons that are broken by the transition ↵Zac Medico2007-03-061-2/+2
| | | | | | of dbapi to new-style classes. svn path=/main/trunk/; revision=6188
* For bug #169620, in --tree display always show the dowload size on the node ↵Zac Medico2007-03-061-3/+2
| | | | | | that is "ordered" rather than one of it's "nomerge" counterparts. svn path=/main/trunk/; revision=6186
* Update all the unittests to use the new framework, test skipping with ↵Alec Warner2007-03-0618-17/+36
| | | | | | isValidAtom, add silly xpak test since I have it 'done' svn path=/main/trunk/; revision=6182
* Roll our own unittest framework to add skip support.Alec Warner2007-03-061-7/+126
| | | | svn path=/main/trunk/; revision=6181
* these will fail nowAlec Warner2007-03-051-3/+4
| | | | svn path=/main/trunk/; revision=6178
* Avoid pointless population of the binary tree when --buildpkg is enabled. ↵Zac Medico2007-03-051-3/+3
| | | | | | Thanks to vapier for reporting. svn path=/main/trunk/; revision=6175
* Display blockers at the end of the list so that it will more often be easy ↵Zac Medico2007-03-041-4/+8
| | | | | | for the user to see them in a terminal. Thanks to iapitus and hydrogen for the suggestion. svn path=/main/trunk/; revision=6169
* Remove the KVERS environment variable since it's code that creates it is ↵Zac Medico2007-03-041-4/+0
| | | | | | broken anyway (only sets KVERS="." in the general case). svn path=/main/trunk/; revision=6166
* Fix the minimum index for pruning consecutive duplicate nodes.Zac Medico2007-03-041-1/+1
| | | | svn path=/main/trunk/; revision=6164
* Add a note about --with-bdeps in the --depclean failure message.Zac Medico2007-03-041-3/+4
| | | | svn path=/main/trunk/; revision=6162
* For bug #169187, make --depclean prune unneeded slots such that it is ↵Zac Medico2007-03-041-2/+8
| | | | | | consistent with the world update algorithm. svn path=/main/trunk/; revision=6160
* Only prune duplicate consecutive nodes if they both have depth == 0.Zac Medico2007-03-031-1/+2
| | | | svn path=/main/trunk/; revision=6158
* Pass waiting_msg into recursive lockfile() calls.Zac Medico2007-03-031-2/+5
| | | | svn path=/main/trunk/; revision=6156
* make sure uid is an intAlec Warner2007-03-031-2/+2
| | | | svn path=/main/trunk/; revision=6155
* Make sure that excess "nomerge" nodes are pruned correctly.Zac Medico2007-03-031-1/+1
| | | | svn path=/main/trunk/; revision=6148
* Add missing sys import.Zac Medico2007-03-031-1/+1
| | | | svn path=/main/trunk/; revision=6146
* For bug #138840, show a more informative message when waiting for a ↵Zac Medico2007-03-032-7/+19
| | | | | | distfiles lock due to parallel-fetch. Thanks to David Watzke <david@watzke.cz> for the initial patch. svn path=/main/trunk/; revision=6143
* s/node/selected_parent/ for clarityZac Medico2007-03-031-2/+2
| | | | svn path=/main/trunk/; revision=6141
* remove category regex, dumb idea, sorry I did itAlec Warner2007-03-031-6/+0
| | | | svn path=/main/trunk/; revision=6138
* Fix types.InstanceType test which is failing now for some reason.Zac Medico2007-03-031-1/+1
| | | | svn path=/main/trunk/; revision=6137
* For bug #169046, fill in the --tree display with "nomerge" nodes so that the ↵Zac Medico2007-03-031-27/+75
| | | | | | 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
* When emerge automatically resumes, add --ignore-default-opts to the command ↵Zac Medico2007-03-021-2/+14
| | | | | | 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
* For bug #168646, remove --prune-empty-dirs from PORTAGE_RSYNC_OPTS since ↵Zac Medico2007-03-021-2/+1
| | | | | | 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
* Even if there's no timestamp available locally, fetch the timestamp anyway ↵Zac Medico2007-03-021-1/+6
| | | | | | 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
* Remove unnecessary print statement reported by solar.Zac Medico2007-03-021-1/+0
| | | | svn path=/main/trunk/; revision=6125
* Fix broken rsync exitcode shift.Zac Medico2007-03-011-1/+1
| | | | svn path=/main/trunk/; revision=6123
* Fix the rest of the broken except statement syntax.Zac Medico2007-03-012-3/+3
| | | | svn path=/main/trunk/; revision=6121
* Fix broken except statement syntax.Zac Medico2007-03-011-1/+1
| | | | svn path=/main/trunk/; revision=6119
* For consistency, remove exit code 2 (protocol incompatibility) from the ↵Zac Medico2007-03-011-1/+1
| | | | | | other list of rsync exit codes. svn path=/main/trunk/; revision=6117
* - please be --quiet emerge. still need to hunt down one more newlineNed Ludd2007-03-011-4/+4
| | | | svn path=/main/trunk/; revision=6113
* Make sure pids are appropriately removed from portage.process.spawned_pids.Zac Medico2007-03-011-2/+2
| | | | svn path=/main/trunk/; revision=6111
* Use an alarm signal to implement a timeout when rsync is fetching the server ↵Zac Medico2007-03-011-12/+40
| | | | | | timestamp file, since rsync's --timeout option doesn't apply to the initial connection attempt. svn path=/main/trunk/; revision=6109
* Fix misplaced [1]Zac Medico2007-03-011-1/+1
| | | | svn path=/main/trunk/; revision=6107
* For bug #168646, don't bail out immediately when rsync detects protocol ↵Zac Medico2007-03-011-1/+7
| | | | | | 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
* For bug #168823, fix broken except statement syntax that prevents the ↵Zac Medico2007-03-011-1/+1
| | | | | | ValueError from being caught as intended. svn path=/main/trunk/; revision=6102
* Merged from branches/prefix r6092:6093.Zac Medico2007-02-271-1/+4
| | | | | | | 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
* Merged from branches/prefix r6091:6092.Zac Medico2007-02-271-1/+1
| | | | | | | Fix undefined whatever 'best' error by importing it from portage.versions svn path=/main/trunk/; revision=6098
* For bug #167668, prune empty ${FILESDIR}s by adding --prune-empty-dirs to ↵Zac Medico2007-02-261-1/+2
| | | | | | PORTAGE_RSYNC_OPTS. Thanks to Ulrich Mueller <ulm@kph.uni-mainz.de> for the suggestion. svn path=/main/trunk/; revision=6070
* Clean up os.environ["USERLAND"] pollution from the portage.data module so ↵Zac Medico2007-02-241-1/+8
| | | | | | that it doesn't interfere with repoman. svn path=/main/trunk/; revision=6068
* Allow --verbose to trigger a merge list even without --pretend, --ask, or ↵Zac Medico2007-02-241-2/+4
| | | | | | --tree. Thanks to agaffney and zlin for the suggestion. svn path=/main/trunk/; revision=6066
* As requested by solar, never show a merge list unless it's explicitly ↵Zac Medico2007-02-231-1/+2
| | | | | | requested by --ask, --pretend, or --tree. svn path=/main/trunk/; revision=6064