summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Fix existing_node logic inside depgraph.create().Zac Medico2007-08-161-20/+15
| | | | svn path=/main/trunk/; revision=7628
* Combine 2 locations in depgraph.create() where nodes are added to the ↵Zac Medico2007-08-161-19/+14
| | | | | | digraph. This ensures that dependencies on "rebuild" nodes always have their priority increased. svn path=/main/trunk/; revision=7627
* Always assign higher priority to dependencies on packages that are being ↵Zac Medico2007-08-161-11/+13
| | | | | | rebuilt (except when --emptytree is enabled since all packages are merged in that case). This optimizes merge order so that dependencies are rebuilt/updated as soon as possible. svn path=/main/trunk/; revision=7625
* Add some floating point vercmp cases.Zac Medico2007-08-151-1/+4
| | | | svn path=/main/trunk/; revision=7622
* For bug #188449, since python floats have limited range, we multiply both ↵Zac Medico2007-08-151-2/+11
| | | | | | floating point representations by a constant so that they are transformed into whole numbers. This allows the practically infinite range of a python int to be exploited. The multiplication is done by padding both literal strings with zeros as necessary to ensure equal length. svn path=/main/trunk/; revision=7606
* For bug #188782, dependencies on packages specified as arguments are given ↵Zac Medico2007-08-151-24/+39
| | | | | | higher priority since the currently installed version has been rendered useless by ABI breakage. It's okay to increase the priority here even if the caller is not revdep-rebuild. svn path=/main/trunk/; revision=7604
* Make sure to skip info dir files with the .old extension.Zac Medico2007-08-141-1/+2
| | | | svn path=/main/trunk/; revision=7602
* For bug #188782, keep "nomerge" nodes in the graph during the merge order ↵Zac Medico2007-08-141-4/+2
| | | | | | calculation so that merge order is better in cases where installed packages have unsatisfied dependencies. svn path=/main/trunk/; revision=7599
* For bug #33585, leave the old info dir file in place if there is nothing to ↵Zac Medico2007-08-121-9/+35
| | | | | | generate. svn path=/main/trunk/; revision=7593
* For bug #188559, invalidate dblink._contents_inodes as necessary to prevent ↵Zac Medico2007-08-121-0/+6
| | | | | | FEATURES=unmerge-orphans from unmerging anything that belongs to the package that has just been merged. svn path=/main/trunk/; revision=7591
* Optimize config.setcpv() so that it doesn't call regenerate() unnecessarily ↵Zac Medico2007-08-111-1/+12
| | | | | | when there are no USE wildcards to expand. svn path=/main/trunk/; revision=7589
* 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