Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Appropriately use globals() instead of locals() as suggested by marienz. | Zac Medico | 2007-03-18 | 2 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=6246 | ||||
* | Never use listdir with both recursion=True and followSymlinks=True since it ↵ | Zac Medico | 2007-03-18 | 1 | -2/+2 |
| | | | | | | circular symlinks will lead to endless recursion loops. Thanks to Tobias Hahn <tobhahn@web.de> for this patch. svn path=/main/trunk/; revision=6242 | ||||
* | Use locals() instead of setattr to insert generated functions into the ↵ | Zac Medico | 2007-03-18 | 2 | -2/+2 |
| | | | | | | current module. Thanks to Brian Harring for the suggestion. svn path=/main/trunk/; revision=6241 | ||||
* | Call the base class destructor if it exists. | Zac Medico | 2007-03-17 | 1 | -0/+2 |
| | | | | svn path=/main/trunk/; revision=6234 | ||||
* | Add "bin" to testDirs. | Zac Medico | 2007-03-17 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6233 | ||||
* | Make paths independent of cwd. | Zac Medico | 2007-03-17 | 1 | -2/+3 |
| | | | | svn path=/main/trunk/; revision=6232 | ||||
* | Close /dev/null when finished. | Zac Medico | 2007-03-17 | 1 | -0/+1 |
| | | | | svn path=/main/trunk/; revision=6231 | ||||
* | start of framework for programs in portage bin | Mike Frysinger | 2007-03-17 | 4 | -0/+91 |
| | | | | svn path=/main/trunk/; revision=6230 | ||||
* | bump ________foo from the TestCase class since _exc_info() doesn't do ↵ | Alec Warner | 2007-03-17 | 1 | -6/+3 |
| | | | | | | anything anyway svn path=/main/trunk/; revision=6228 | ||||
* | fix for older python who have oddly named __exc_info() | Alec Warner | 2007-03-17 | 1 | -0/+3 |
| | | | | svn path=/main/trunk/; revision=6227 | ||||
* | Use mkstemp to create a random tempfile. | Zac Medico | 2007-03-17 | 1 | -3/+5 |
| | | | | svn path=/main/trunk/; revision=6226 | ||||
* | Fix a broken test. | Zac Medico | 2007-03-17 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6224 | ||||
* | Fix broken exception handling. | Zac Medico | 2007-03-17 | 1 | -3/+3 |
| | | | | svn path=/main/trunk/; revision=6223 | ||||
* | Fix a typo. | Zac Medico | 2007-03-17 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6222 | ||||
* | Fix a utime call to prevent a timestamp collision for bug #171117. | Zac Medico | 2007-03-16 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=6217 | ||||
* | For bug #171117, ensure that the new and old config have different ↵ | Zac Medico | 2007-03-16 | 1 | -1/+7 |
| | | | | | | 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 | ||||
* | Add back rstrip(os.path.sep) from the previous commit since it's needed when ↵ | Zac Medico | 2007-03-15 | 1 | -4/+4 |
| | | | | | | ROOT="/". svn path=/main/trunk/; revision=6211 | ||||
* | Automatically convert ROOT and PORTAGE_CONFIGROOT to absolute paths when ↵ | Zac Medico | 2007-03-15 | 1 | -2/+2 |
| | | | | | | necessary since relative paths lead to problems. Thanks to Christian Heim <phreak@gentoo.org> for reporting. svn path=/main/trunk/; revision=6210 | ||||
* | For bug #170178, remove all hardcoded references to '/usr/lib/portage'. | Zac Medico | 2007-03-10 | 2 | -4/+6 |
| | | | | svn path=/main/trunk/; revision=6203 | ||||
* | Display message about --buildpkgonly restriction in pretend mode as well | Marius Mauch | 2007-03-09 | 1 | -0/+5 |
| | | | | svn path=/main/trunk/; revision=6199 | ||||
* | Remove the "masked by: profile" support from getmaskingstatus(). | Zac Medico | 2007-03-09 | 1 | -12/+0 |
| | | | | svn path=/main/trunk/; revision=6197 | ||||
* | Use the full atoms from the system set, since profile masking does not ↵ | Zac Medico | 2007-03-09 | 1 | -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 Medico | 2007-03-09 | 1 | -17/+0 |
| | | | | | | should use package.mask to mask unwanted versions of system packages. svn path=/main/trunk/; revision=6195 | ||||
* | whoopse, s/;/:/ | Alec Warner | 2007-03-08 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6194 | ||||
* | add PackageMask{File} classes, change unit tests to use try/finally, makes ↵ | Alec Warner | 2007-03-08 | 4 | -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 Warner | 2007-03-08 | 3 | -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 Warner | 2007-03-07 | 7 | -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 sake | Alec Warner | 2007-03-07 | 2 | -18/+14 |
| | | | | svn path=/main/trunk/; revision=6189 | ||||
* | Fix 2 more types.InstanceType comparisons that are broken by the transition ↵ | Zac Medico | 2007-03-06 | 1 | -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 Medico | 2007-03-06 | 1 | -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 Warner | 2007-03-06 | 18 | -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 Warner | 2007-03-06 | 1 | -7/+126 |
| | | | | svn path=/main/trunk/; revision=6181 | ||||
* | these will fail now | Alec Warner | 2007-03-05 | 1 | -3/+4 |
| | | | | svn path=/main/trunk/; revision=6178 | ||||
* | Avoid pointless population of the binary tree when --buildpkg is enabled. ↵ | Zac Medico | 2007-03-05 | 1 | -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 Medico | 2007-03-04 | 1 | -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 Medico | 2007-03-04 | 1 | -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 Medico | 2007-03-04 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6164 | ||||
* | Add a note about --with-bdeps in the --depclean failure message. | Zac Medico | 2007-03-04 | 1 | -3/+4 |
| | | | | svn path=/main/trunk/; revision=6162 | ||||
* | For bug #169187, make --depclean prune unneeded slots such that it is ↵ | Zac Medico | 2007-03-04 | 1 | -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 Medico | 2007-03-03 | 1 | -1/+2 |
| | | | | svn path=/main/trunk/; revision=6158 | ||||
* | Pass waiting_msg into recursive lockfile() calls. | Zac Medico | 2007-03-03 | 1 | -2/+5 |
| | | | | svn path=/main/trunk/; revision=6156 | ||||
* | make sure uid is an int | Alec Warner | 2007-03-03 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=6155 | ||||
* | Make sure that excess "nomerge" nodes are pruned correctly. | Zac Medico | 2007-03-03 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6148 | ||||
* | Add missing sys import. | Zac Medico | 2007-03-03 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6146 | ||||
* | For bug #138840, show a more informative message when waiting for a ↵ | Zac Medico | 2007-03-03 | 2 | -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 clarity | Zac Medico | 2007-03-03 | 1 | -2/+2 |
| | | | | svn path=/main/trunk/; revision=6141 | ||||
* | remove category regex, dumb idea, sorry I did it | Alec Warner | 2007-03-03 | 1 | -6/+0 |
| | | | | svn path=/main/trunk/; revision=6138 | ||||
* | Fix types.InstanceType test which is failing now for some reason. | Zac Medico | 2007-03-03 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=6137 | ||||
* | For bug #169046, fill in the --tree display with "nomerge" nodes so that the ↵ | Zac Medico | 2007-03-03 | 1 | -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 Medico | 2007-03-02 | 1 | -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 |