summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* When setting the size of the pty for logging, check if stdout isatty rather ↵Zac Medico2007-07-261-2/+1
| | | | | | than stdin. (trunk r7400) svn path=/main/branches/2.1.2/; revision=7401
* Merge the portage.spawn() implementation with pty logging from trunk:Zac Medico2007-07-252-31/+82
| | | | | | | | | - Sending output through the pty device makes logging compatible with sesandbox and the default selinux security policy (see bug #162404). - Having a pty device for stdout makes $PAGER behave nicely for things like check_license() from eutils.eclass. svn path=/main/branches/2.1.2/; revision=7395
* Add droppriv keyword for the depend phase (last one). (trunk r7387)Zac Medico2007-07-241-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7388
* Add droppriv keyword for the depend phase. (trunk r7385)Zac Medico2007-07-241-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7386
* Add FEATURES=fakeroot support which causes install and package phases to run ↵Zac Medico2007-07-243-22/+44
| | | | | | inside fakeroot when a non-root user runs the ebuild command. Thanks to swegener for the initial patch. (trunk r7379) svn path=/main/branches/2.1.2/; revision=7380
* 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. (trunk r7373) svn path=/main/branches/2.1.2/; revision=7374
* Document --depclean and --prune enhancements. (trunk r7345)Zac Medico2007-07-221-9/+19
| | | | svn path=/main/branches/2.1.2/; revision=7348
* For bug #185930, direct all FETCHCOMMAND output to stdout. (trunk r7330)Zac Medico2007-07-211-0/+8
| | | | svn path=/main/branches/2.1.2/; revision=7331
* When digest verification of a distfile fails, rename instead of unlinking it ↵Zac Medico2007-07-211-5/+18
| | | | | | in case it's a large download and the user wants to salvage it due to a bad digest. (trunk r7325) svn path=/main/branches/2.1.2/; revision=7326
* If the fetcher reported success and the file is too small, don't attempt to ↵Zac Medico2007-07-201-2/+10
| | | | | | resume. Upstream probably changed the distfile and we need to show a digest verification failure so the user gets a clue. (trunk r7321) svn path=/main/branches/2.1.2/; revision=7322
* Update --prune docs for bug #151653. (trunk r7315)Zac Medico2007-07-201-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7316
* Merge --depclean and --prune enhancements from trunk r7304:7310.Zac Medico2007-07-201-4/+1
| | | | svn path=/main/branches/2.1.2/; revision=7311
* For bug #185389, create a symlink when quickpkg injects a new package.Zac Medico2007-07-151-1/+2
| | | | svn path=/main/branches/2.1.2/; revision=7269
* Merge the new repo display code from trunk r7257:7260.Zac Medico2007-07-141-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7261
* Save the repo name along with the other metadata inside dyn_compile() so ↵Zac Medico2007-07-131-13/+10
| | | | | | that it's saved inside binary packages for when they are finally merged. (trunk r7247) svn path=/main/branches/2.1.2/; revision=7248
* Add "reset" to the list of attributes in color.map.5 and add define NORMAL ↵Zac Medico2007-07-121-1/+2
| | | | | | like functions.sh does. (trunk r7242) svn path=/main/branches/2.1.2/; revision=7243
* Fix typo. (trunk r7228)Zac Medico2007-07-111-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7229
* For bug #184679, handle ENOTDIR by finding the non-directory parent and ↵Zac Medico2007-07-111-4/+29
| | | | | | testing that for collision instead. (trunk r7220) svn path=/main/branches/2.1.2/; revision=7221
* For bug #184843, allow USE_EXPAND variables to pass through if none of their ↵Zac Medico2007-07-101-22/+37
| | | | | | flags are in IUSE. This allows packages that support LINGUAS but don't declare it in IUSE to use the variable outside of the USE_EXPAND context. (trunk r7218) svn path=/main/branches/2.1.2/; revision=7219
* For bug #184604, make env-update write $ in front of quoted values when ↵Zac Medico2007-07-101-2/+6
| | | | | | appropriate. (trunk r7216) svn path=/main/branches/2.1.2/; revision=7217
* For bug #184806, account for the fact the metadata is not cached for ↵Zac Medico2007-07-101-2/+2
| | | | | | slot_collision_nodes. (trunk r7214) svn path=/main/branches/2.1.2/; revision=7215
* Remove the repo_name warning in the portdbapi constructor since we don't ↵Zac Medico2007-07-091-3/+4
| | | | | | want to see a warning every time the portage module is imported. (trunk r7212) svn path=/main/branches/2.1.2/; revision=7213
* Make dblink invalidate the vardbapi caches for each merge and unmerge. ↵Zac Medico2007-07-081-6/+22
| | | | | | Don't use portage.listdir() since mtime granularity can prevent cachedir from invalidating it's cache properly and this redundant cache layer isn't needed anyway. This should solve the intermittent failure of AUTOCLEAN to properly clean packages. (trunk r7202:7204) svn path=/main/branches/2.1.2/; revision=7205
* For bug #184566, enable the emerge --info action to run an option pkg_info() ↵Zac Medico2007-07-081-2/+2
| | | | | | function from each installed ebuild. (trunk r7201) svn path=/main/branches/2.1.2/; revision=7202
* Add color classes PROMPT_CHOICE_{DEFAULT,OTHER} for emerge's Yes/No prompt. ↵Zac Medico2007-07-081-0/+2
| | | | | | (trunk r7199) svn path=/main/branches/2.1.2/; revision=7200
* When depgraph updates preferences for old-style virtuals, also update them ↵Zac Medico2007-07-061-7/+14
| | | | | | in the global config so that they are consistent everywhere. Optimize config.setinst() to minimize the work done. (trunk r7185) svn path=/main/branches/2.1.2/; revision=7186
* Misc color fixes. Thanks to Arfrever Frehtes Taifersar Arahesis ↵Zac Medico2007-07-061-12/+12
| | | | | | <Arfrever.FTA@GMail.Com> for this patch from bug#183861, comment #9. (trunk r7183) svn path=/main/branches/2.1.2/; revision=7184
* Remove the PKG_*ARG* color classes in order to simplify things since it's ↵Zac Medico2007-07-061-8/+2
| | | | | | questionable whether many people will want to use them. Also, make the PKG_*SYSTEM colors default to the traditional colors since people are generally most interested in world packages. (trunk r7174) svn path=/main/branches/2.1.2/; revision=7175
* Merge portdbapi.getRepositories() from trunk.Zac Medico2007-07-052-1/+36
| | | | svn path=/main/branches/2.1.2/; revision=7158
* backport r7087 and r7093 to ease the upgrade to 2.2 wrt verbose pretend displayMarius Mauch2007-07-051-0/+13
| | | | svn path=/main/branches/2.1.2/; revision=7156
* For bug #183861, allow a color class in color.map to specify a space ↵Zac Medico2007-07-051-20/+68
| | | | | | separated list of attributes so that any combination of foreground, background, and other attributes is possible. Also make color class handling for package sets more consistent. Thanks to Arfrever Frehtes Taifersar Arahesis <Arfrever.FTA@GMail.Com>. svn path=/main/branches/2.1.2/; revision=7151
* Add a 0xAAAA00 rgb color code to represent the darkyellow color that some ↵Zac Medico2007-06-291-1/+3
| | | | | | terminals have instead of brown. (trunk r7094) svn path=/main/branches/2.1.2/; revision=7095
* Fix typo. (trunk r6989)Zac Medico2007-06-291-1/+1
| | | | svn path=/main/branches/2.1.2/; revision=7086
* For bug #144333, document the new --reinstall=changed-use option. (trunk r7081)Zac Medico2007-06-281-1/+7
| | | | svn path=/main/branches/2.1.2/; revision=7082
* For bug #142473, add 2 additional color classes for system packages and ↵Zac Medico2007-06-281-0/+4
| | | | | | packages matched by arguments. (trunk r7074:7076) svn path=/main/branches/2.1.2/; revision=7077
* For bug #183431, catch a ParseError caused by a corrupt profile and dump an ↵Zac Medico2007-06-281-1/+8
| | | | | | error message. This allows emerge to continue with actions that don't require a valid profile, such as --sync. (trunk r7073) svn path=/main/branches/2.1.2/; revision=7074
* Send the ebuild die message through eerror and make sure that elog_process() ↵Zac Medico2007-06-271-29/+27
| | | | | | gets called when an ebuild dies. This makes the elog echo module display the die message last in case other elog messages push the original die message off of the top of the screen. (trunk r7047) svn path=/main/branches/2.1.2/; revision=7049
* Preserve merge order in elog output. (trunk r7046)Zac Medico2007-06-271-13/+7
| | | | svn path=/main/branches/2.1.2/; revision=7048
* Short circuit the loop as soon as missing hashes are detected. (trunk r7044)Zac Medico2007-06-261-2/+2
| | | | svn path=/main/branches/2.1.2/; revision=7045
* Add one more size == 0 check to digestgen(). (trunk r7040:7042)Zac Medico2007-06-261-0/+3
| | | | svn path=/main/branches/2.1.2/; revision=7043
* Add sanity checks in fetch() and digestgen() to automatically detect and ↵Zac Medico2007-06-261-2/+26
| | | | | | handle invalid empty distfiles since some users have reported difficulty when trying to create digests. (trunk r7039) svn path=/main/branches/2.1.2/; revision=7040
* For bug #142473, add 4 color classes corresponding to combinations of ↵Zac Medico2007-06-251-0/+4
| | | | | | world/merge/nomerge attributes of each package. (trunk r7031) svn path=/main/branches/2.1.2/; revision=7032
* Don't use urljoin() in binarytree.gettbz2() since it doesn't work correctly ↵Zac Medico2007-06-251-2/+3
| | | | | | wih unrecognized protocols like sftp. (trunk r7027) svn path=/main/branches/2.1.2/; revision=7028
* Fix file_get_lib() so it behaves the same way with sftp as it does with ↵Zac Medico2007-06-251-1/+18
| | | | | | other protocols. (trunk r7023:7024) svn path=/main/branches/2.1.2/; revision=7026
* For bug #175891, add sftp protocol support via the paramiko library.Zac Medico2007-06-251-0/+20
| | | | svn path=/main/branches/2.1.2/; revision=7022
* Allow emerge --fetchonly to continue downloading other packages after a ↵Zac Medico2007-06-251-1/+2
| | | | | | download from a binhost fails. (trunk r6709) svn path=/main/branches/2.1.2/; revision=7021
* Fix resume logic in binarytree.gettbz2(). (trunk r7017:7019)Zac Medico2007-06-251-4/+4
| | | | svn path=/main/branches/2.1.2/; revision=7020
* For bug #175891, support ${FETCHCOMMAND}_${PROTOCOL} in ↵Zac Medico2007-06-251-3/+12
| | | | | | binarytree.gettbz2(). (trunk r7016) svn path=/main/branches/2.1.2/; revision=7017
* Clean up file_get() to use shlex, varexpand, and spawn. (trunk r7014)Zac Medico2007-06-251-22/+13
| | | | svn path=/main/branches/2.1.2/; revision=7015
* Fix binarytree.isremote() to be consistent with binarytree.gettbz2() logic ↵Zac Medico2007-06-241-6/+12
| | | | | | wrt partially downloaded files. (trunk r7012) svn path=/main/branches/2.1.2/; revision=7013