summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Update emerge --help and --info docs. Thanks to Arfrever Frehtes Taifersar ↵Zac Medico2007-08-061-1/+1
| | | | | | Arahesis in bug #137483. svn path=/main/trunk/; revision=7583
* Fix from ferringbAlec Warner2007-08-051-1/+1
| | | | svn path=/main/trunk/; revision=7578
* For bug #187806, use mkstemp to create tmpservertimestampfile (instead of ↵Zac Medico2007-08-051-4/+4
| | | | | | using PORTAGE_TMPDIR). svn path=/main/trunk/; revision=7576
* Use == for comparison of portage_node since digraph.clone() makes a deepcopy ↵Zac Medico2007-08-041-1/+1
| | | | | | of the nodes. svn path=/main/trunk/; revision=7574
* Make sure that portage always has all of it's RDEPENDs installed first.Zac Medico2007-08-041-0/+7
| | | | svn path=/main/trunk/; revision=7572
* Make config updates get counted correctly for bug #187741.Zac Medico2007-08-041-1/+4
| | | | svn path=/main/trunk/; revision=7564
* Remove the depend phase from the doebuild actionmap since it's never used.Zac Medico2007-08-041-2/+0
| | | | svn path=/main/trunk/; revision=7555
* Make droppriv for the depend phase conditional on userpriv in FEATURES.Zac Medico2007-08-031-2/+4
| | | | svn path=/main/trunk/; revision=7553
* In portage.spawn() logging, put the read end of the pipe in O_NONBLOCK mode ↵Zac Medico2007-08-031-15/+11
| | | | | | just once at the beginning. This avoids unnecessary fcntl calls and removes one more opportunity to trigger EAGAIN errors on FreeBSD. svn path=/main/trunk/; revision=7548
* s/portage.eclass_cache/eclass_cache/ since eclass_cache is actually a local ↵Zac Medico2007-08-031-2/+2
| | | | | | variable here. svn path=/main/trunk/; revision=7547
* For bug #187518, handle EISDIR thrown from mkdir when the directory already ↵Zac Medico2007-08-021-1/+1
| | | | | | exists on FreeBSD. svn path=/main/trunk/; revision=7544
* For bug #187480, fix writemsg args in portdbapi.gvisible().Zac Medico2007-08-021-1/+1
| | | | svn path=/main/trunk/; revision=7541
* Like older versions of portage, don't show the repo display if [0] is all ↵Zac Medico2007-08-011-2/+4
| | | | | | that will be shown. svn path=/main/trunk/; revision=7537
* For bug #187375, handle an ImportError when portage is downgraded to a ↵Zac Medico2007-08-011-2/+6
| | | | | | version without mod_echo. svn path=/main/trunk/; revision=7535
* Handle the ENOENT error if the world file doesn't exist.Zac Medico2007-07-311-1/+7
| | | | svn path=/main/trunk/; revision=7531
* Change the numeric value of DepPriority.MIN to be equal to that of a ↵Zac Medico2007-07-311-2/+2
| | | | | | satisfied PDEPEND since there is currently nothing with lower priority. svn path=/main/trunk/; revision=7528
* As a workaround for bug #185305, make quickpkg break hardlinks during ↵Zac Medico2007-07-301-0/+3
| | | | | | creation of the archive. svn path=/main/trunk/; revision=7526
* For bug #187142, properly pass a dbapi instance into setcpv() so that ↵Zac Medico2007-07-301-1/+1
| | | | | | USE_EXPAND wildcards work correctly. svn path=/main/trunk/; revision=7524
* Make finalize() accept a parameter once again since older versions of ↵Zac Medico2007-07-302-2/+8
| | | | | | portage import elog modules from newer versions of portage when they upgrade themselves. svn path=/main/trunk/; revision=7522
* For bug #186960, try to create a directory for $ROOT if it doesn't exist.Zac Medico2007-07-301-0/+1
| | | | svn path=/main/trunk/; revision=7516
* Always pass a dbapi instance into a setcpv call.Zac Medico2007-07-301-1/+1
| | | | svn path=/main/trunk/; revision=7496
* For bug #137483, move the `emerge --help config` docs to the emerge man ↵Zac Medico2007-07-302-46/+3
| | | | | | page. Thanks to Arfrever Frehtes Taifersar Arahesis for this patch. svn path=/main/trunk/; revision=7430
* For bug #187016, and env.d to the default USE_ORDER.Zac Medico2007-07-291-1/+1
| | | | svn path=/main/trunk/; revision=7427
* Change "output" import to portage.output.Zac Medico2007-07-291-1/+1
| | | | svn path=/main/trunk/; revision=7426
* For pty logging, handle the EAGAIN error that is thrown from fcntl when the ↵Zac Medico2007-07-291-2/+10
| | | | | | slave end of the pty is closed on FreeBSD. svn path=/main/trunk/; revision=7424
* For bug #186876, fall back it os.pipe() if pty.openpty() fails.Zac Medico2007-07-281-3/+10
| | | | svn path=/main/trunk/; revision=7422
* When the fetch phase fails inside doebuild(), create an eerror log since the ↵Zac Medico2007-07-281-0/+14
| | | | | | mod_echo module might push the original message off of the top of the terminal and prevent the user from being able to see it. svn path=/main/trunk/; revision=7419
* Handle 2 more cases where elog_process() needs to be called:Zac Medico2007-07-281-0/+16
| | | | | | | - binary install via pkgmerge() fails before reaching the merge phase (pkg_setup dies) - doebuild() is called for the merge phase but it dies before reaching the merge phase svn path=/main/trunk/; revision=7417
* For bug #186480, while we transition to repository labels, avoid ? spam in ↵Zac Medico2007-07-271-1/+5
| | | | | | the repository display by ignoring a missing repository label for an installed package. (branches/2.1.2 r7409) svn path=/main/trunk/; revision=7410
* For bug #186826, always show --newuse flags that trigger reinstallation even ↵Zac Medico2007-07-271-16/+24
| | | | | | when not in --verbose mode. svn path=/main/trunk/; revision=7407
* For --buildpkgonly, say "built" instead of "merged" in the "These are the ↵Zac Medico2007-07-271-0/+2
| | | | | | packages that would be <action>" message. svn path=/main/trunk/; revision=7405
* For bug #186610, use `find <path>` to scan for config updates since `cd ↵Zac Medico2007-07-261-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 Medico2007-07-261-2/+1
| | | | | | than stdin. svn path=/main/trunk/; revision=7400
* For bug #186386, pass stdin directly to spawned processes (even when their ↵Zac Medico2007-07-252-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 Medico2007-07-251-16/+5
| | | | svn path=/main/trunk/; revision=7393
* CACHE_PATH starts with / and therefore isn't compatible with os.path.join().Zac Medico2007-07-251-1/+1
| | | | svn path=/main/trunk/; revision=7392
* Use blocking mode for writes since we'd rather block than trigger a ↵Zac Medico2007-07-251-6/+22
| | | | | | EWOULDBLOCK error. svn path=/main/trunk/; revision=7391
* Use the hardcoded variables from portage.const rather than strings that are ↵Alec Warner2007-07-251-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 Medico2007-07-251-29/+44
| | | | | | portage.spawn(). svn path=/main/trunk/; revision=7389
* Add droppriv keyword for the depend phase (last one).Zac Medico2007-07-241-1/+1
| | | | svn path=/main/trunk/; revision=7387
* Add droppriv keyword for the depend phase.Zac Medico2007-07-241-1/+1
| | | | svn path=/main/trunk/; revision=7385
* Add FEATURES=fakeroot support which causes install and package phases to run ↵Zac Medico2007-07-234-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 Medico2007-07-231-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 Warner2007-07-232-12/+14
| | | | | | other misc tests svn path=/main/trunk/; revision=7371
* fix broken importAlec Warner2007-07-231-1/+1
| | | | svn path=/main/trunk/; revision=7370
* Fix imports for style, slight optimization for grab* function, doc fixups.Alec Warner2007-07-231-4/+11
| | | | svn path=/main/trunk/; revision=7369
* Validator should be a function, not a class, fix spacing/tab issues. Fix ↵Alec Warner2007-07-233-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 Warner2007-07-231-8/+20
| | | | | | it contain svn path=/main/trunk/; revision=7367
* Move classes out of __init__.py, they do not belong there. Fix import ↵Alec Warner2007-07-235-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 Warner2007-07-232-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