Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | For bug #186610, use `find <path>` to scan for config updates since `cd ↵ | Zac Medico | 2007-07-26 | 1 | -5/+5 |
| | | | | | | <path>` could fail and cause the cwd to be scanned. svn path=/main/trunk/; revision=7402 | ||||
* | When setting the size of the pty for logging, check if stdout isatty rather ↵ | Zac Medico | 2007-07-26 | 1 | -2/+1 |
| | | | | | | than stdin. svn path=/main/trunk/; revision=7400 | ||||
* | For bug #186386, pass stdin directly to spawned processes (even when their ↵ | Zac Medico | 2007-07-25 | 2 | -55/+5 |
| | | | | | | output goes through a pty) so that Ctrl+Z works as on would expect.) svn path=/main/trunk/; revision=7394 | ||||
* | Set O_NONBLOCK just for read calls (uses fewer fcntl calls). | Zac Medico | 2007-07-25 | 1 | -16/+5 |
| | | | | svn path=/main/trunk/; revision=7393 | ||||
* | CACHE_PATH starts with / and therefore isn't compatible with os.path.join(). | Zac Medico | 2007-07-25 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=7392 | ||||
* | Use blocking mode for writes since we'd rather block than trigger a ↵ | Zac Medico | 2007-07-25 | 1 | -6/+22 |
| | | | | | | EWOULDBLOCK error. svn path=/main/trunk/; revision=7391 | ||||
* | Use the hardcoded variables from portage.const rather than strings that are ↵ | Alec Warner | 2007-07-25 | 1 | -11/+11 |
| | | | | | | apt to change, fix spacing. svn path=/main/trunk/; revision=7390 | ||||
* | Use a select loop for moving input and ouput when logging is enabled in ↵ | Zac Medico | 2007-07-25 | 1 | -29/+44 |
| | | | | | | portage.spawn(). svn path=/main/trunk/; revision=7389 | ||||
* | Add droppriv keyword for the depend phase (last one). | Zac Medico | 2007-07-24 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=7387 | ||||
* | Add droppriv keyword for the depend phase. | Zac Medico | 2007-07-24 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=7385 | ||||
* | Add FEATURES=fakeroot support which causes install and package phases to run ↵ | Zac Medico | 2007-07-23 | 4 | -22/+44 |
| | | | | | | inside fakeroot when a non-root user runs the ebuild command. Thanks to swegener for the initial patch. svn path=/main/trunk/; revision=7379 | ||||
* | Drop privileges in the "depend" phase regardless of FEATURES and RESTRICT ↵ | Zac Medico | 2007-07-23 | 1 | -10/+12 |
| | | | | | | since that phase should never need special privileges. Thanks to swegener for the initial patch. svn path=/main/trunk/; revision=7373 | ||||
* | add more tests for keyvaluepairloader (it had a bug previously) and fix up ↵ | Alec Warner | 2007-07-23 | 2 | -12/+14 |
| | | | | | | other misc tests svn path=/main/trunk/; revision=7371 | ||||
* | fix broken import | Alec Warner | 2007-07-23 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=7370 | ||||
* | Fix imports for style, slight optimization for grab* function, doc fixups. | Alec Warner | 2007-07-23 | 1 | -4/+11 |
| | | | | svn path=/main/trunk/; revision=7369 | ||||
* | Validator should be a function, not a class, fix spacing/tab issues. Fix ↵ | Alec Warner | 2007-07-23 | 3 | -26/+72 |
| | | | | | | parsing errors for KeyValuePairLoader. Add a GenericFileLoader class that uses more than 1 loader in a vain attempt to figure out what kind of file it is. Fix inheritance by renaming UserConfigKlass svn path=/main/trunk/; revision=7368 | ||||
* | Fix imports for style, deprecate grab*, what is foo.metadata and what does ↵ | Alec Warner | 2007-07-23 | 1 | -8/+20 |
| | | | | | | it contain svn path=/main/trunk/; revision=7367 | ||||
* | Move classes out of __init__.py, they do not belong there. Fix import ↵ | Alec Warner | 2007-07-23 | 5 | -163/+161 |
| | | | | | | style, and import statements broken by class moves. svn path=/main/trunk/; revision=7366 | ||||
* | Move common file functionality into a FileLoader class and delegate parsing ↵ | Alec Warner | 2007-07-23 | 2 | -112/+140 |
| | | | | | | to subclasses via a lineParser func, no idea how this will work performance wise. Fix errors in parser (blank lines are not errors ;)) svn path=/main/trunk/; revision=7365 | ||||
* | fix spacing, comments, default args | Alec Warner | 2007-07-23 | 1 | -8/+8 |
| | | | | svn path=/main/trunk/; revision=7364 | ||||
* | Fix hardcoded /usr/bin/echo to use portage.process.find_binary(). | Zac Medico | 2007-07-22 | 1 | -1/+3 |
| | | | | svn path=/main/trunk/; revision=7363 | ||||
* | fix missing import, default value for value in case we try to .join on a ↵ | Alec Warner | 2007-07-22 | 2 | -1/+2 |
| | | | | | | variable that hasn't been assigned to yet svn path=/main/trunk/; revision=7362 | ||||
* | add docstring, fix up imports (style), add keyword expansion | Alec Warner | 2007-07-22 | 1 | -1/+15 |
| | | | | svn path=/main/trunk/; revision=7361 | ||||
* | add test for CommandOutputSet | Alec Warner | 2007-07-22 | 3 | -0/+26 |
| | | | | svn path=/main/trunk/; revision=7360 | ||||
* | Fix spacing issues, imports | Alec Warner | 2007-07-22 | 1 | -16/+17 |
| | | | | svn path=/main/trunk/; revision=7357 | ||||
* | remove unused vars from xpak, fix bug in compose. Also fix tests for ↵ | Alec Warner | 2007-07-22 | 2 | -4/+4 |
| | | | | | | portage sets, fix misnamed variable. svn path=/main/trunk/; revision=7355 | ||||
* | Run pychecker over everything, fix obvious thing slike modules not in use, ↵ | Alec Warner | 2007-07-22 | 6 | -26/+28 |
| | | | | | | variables not being used, or global exceptions not being deleted. Also fix imports for style (1 per line) svn path=/main/trunk/; revision=7354 | ||||
* | Fix the reverse dependency display for --prune when there is now real parent. | Zac Medico | 2007-07-22 | 1 | -0/+5 |
| | | | | svn path=/main/trunk/; revision=7351 | ||||
* | Make --update imply --oneshot since people often us it to update things when ↵ | Zac Medico | 2007-07-22 | 1 | -1/+3 |
| | | | | | | they don't want to add them to world. Thanks to jakub for the suggestion. svn path=/main/trunk/; revision=7349 | ||||
* | Document --depclean and --prune enhancements. | Zac Medico | 2007-07-22 | 1 | -9/+19 |
| | | | | svn path=/main/trunk/; revision=7345 | ||||
* | Prevent a potential KeyError when removing world from the digraph for ↵ | Zac Medico | 2007-07-22 | 1 | -1/+2 |
| | | | | | | --prune display. svn path=/main/trunk/; revision=7344 | ||||
* | Make --prune pull in the system set since that could pull in some slots that ↵ | Zac Medico | 2007-07-22 | 1 | -0/+3 |
| | | | | | | wouldn't be pulled in otherwise. svn path=/main/trunk/; revision=7343 | ||||
* | Make --prune and --depclean return before calculating dependencies if atoms ↵ | Zac Medico | 2007-07-21 | 1 | -0/+9 |
| | | | | | | are given but they don't match any packages. svn path=/main/trunk/; revision=7336 | ||||
* | Prune really uses all installed instead of world. It's not a real reverse ↵ | Zac Medico | 2007-07-21 | 1 | -0/+3 |
| | | | | | | dependency so don't display it as such. svn path=/main/trunk/; revision=7334 | ||||
* | Just show [0] instead of [0=>0] in the repo display. | Zac Medico | 2007-07-21 | 1 | -3/+6 |
| | | | | svn path=/main/trunk/; revision=7332 | ||||
* | For bug #185930, direct all FETCHCOMMAND output to stdout. | Zac Medico | 2007-07-21 | 1 | -0/+8 |
| | | | | svn path=/main/trunk/; revision=7330 | ||||
* | Optimize PackageSet._updateAtomMap() for the case where one or more atoms ↵ | Zac Medico | 2007-07-21 | 1 | -4/+7 |
| | | | | | | are added and none are removed. svn path=/main/trunk/; revision=7329 | ||||
* | Hint about --nodeps if --prune doesn't find anything to prune. Also enable ↵ | Zac Medico | 2007-07-21 | 1 | -1/+7 |
| | | | | | | reverse dependency display for global depclean. svn path=/main/trunk/; revision=7327 | ||||
* | When digest verification of a distfile fails, rename instead of unlinking it ↵ | Zac Medico | 2007-07-21 | 1 | -5/+18 |
| | | | | | | in case it's a large download and the user wants to salvage it due to a bad digest. svn path=/main/trunk/; revision=7325 | ||||
* | If the fetcher reported success and the file is too small, don't attempt to ↵ | Zac Medico | 2007-07-20 | 1 | -2/+10 |
| | | | | | | resume. Upstream probably changed the distfile and we need to show a digest verification failure so the user gets a clue. svn path=/main/trunk/; revision=7321 | ||||
* | Update --prune docs for bug #151653. | Zac Medico | 2007-07-20 | 1 | -1/+1 |
| | | | | svn path=/main/trunk/; revision=7315 | ||||
* | Fix --prune so that it always correctly accounts for COUNTER when dealing ↵ | Zac Medico | 2007-07-20 | 1 | -3/+4 |
| | | | | | | with packages in the same slot. svn path=/main/trunk/; revision=7313 | ||||
* | For bug #151653, make --prune keep the highest version whenever possible ↵ | Zac Medico | 2007-07-20 | 1 | -2/+24 |
| | | | | | | (even when there is one with a higher counter installed). svn path=/main/trunk/; revision=7312 | ||||
* | Make --prune try to prune all slotted packages if no atoms are given (that's ↵ | Zac Medico | 2007-07-19 | 1 | -0/+5 |
| | | | | | | how it already works with --nodeps). svn path=/main/trunk/; revision=7310 | ||||
* | Make --prune bail out like depclean does if there are unresolved ↵ | Zac Medico | 2007-07-19 | 1 | -2/+5 |
| | | | | | | dependencies. Notify the user that they can use --nodeps in that case. svn path=/main/trunk/; revision=7309 | ||||
* | With --prune and --depclean, if --verbose is enabled then show reverse ↵ | Zac Medico | 2007-07-19 | 1 | -4/+26 |
| | | | | | | dependencies for each package that is matched by an atom from the command line. This allows the user to see why a package will not be unmerged. svn path=/main/trunk/; revision=7308 | ||||
* | Allow atoms to be specified for --depclean so that it can be used to safely ↵ | Zac Medico | 2007-07-18 | 1 | -5/+38 |
| | | | | | | unmerge packages if nothing depends on them. svn path=/main/trunk/; revision=7306 | ||||
* | Use the --depclean algorithm to make --prune safe. The old unsafe --prune ↵ | Zac Medico | 2007-07-18 | 2 | -16/+78 |
| | | | | | | will be used if the --nodeps option is specified. svn path=/main/trunk/; revision=7305 | ||||
* | Iterate over a list in order to avoid breaking the iterator when an atom is ↵ | Zac Medico | 2007-07-17 | 1 | -1/+1 |
| | | | | | | removed. svn path=/main/trunk/; revision=7303 | ||||
* | Use PackageSet.getAtoms() as a wrapper around load() since load() can ↵ | Zac Medico | 2007-07-17 | 1 | -6/+2 |
| | | | | | | trigger unnecessary stat calls. svn path=/main/trunk/; revision=7302 |