summaryrefslogtreecommitdiffstats
path: root/pym
Commit message (Collapse)AuthorAgeFilesLines
* Bug #204425 - Remove --delete-after from the default PORTAGE_RSYNC_OPTS.Zac Medico2008-01-111-1/+0
| | | | | | | This allows the rsync program to choose the preferred --delete algorithm, or the user can choose one via PORTAGE_RSYNC_EXTRA_OPTS. svn path=/main/trunk/; revision=9163
* Bug #162542 - When dropping privileges for FEATURES=userpriv,Zac Medico2008-01-101-1/+12
| | | | | | | automatically detect permission problems with CCACHE_DIR and recursively adjust permissions only when necessary. svn path=/main/trunk/; revision=9160
* When spawing the "depend" phase, use file descriptors from sys.std*Zac Medico2008-01-081-1/+5
| | | | | | streams. svn path=/main/trunk/; revision=9157
* Bug #204753 - Add "distfiles" and "packages" to the list ofZac Medico2008-01-071-2/+2
| | | | | | non-category directories. svn path=/main/trunk/; revision=9155
* Bug #204651 - Make repoman respect NOCOLOR=true.Zac Medico2008-01-061-1/+2
| | | | svn path=/main/trunk/; revision=9151
* Bug #204020 - Make grabfile() properly raise PermissionDenied whenZac Medico2008-01-021-1/+3
| | | | | | appropriate instead of silently ignoring permission errors. svn path=/main/trunk/; revision=9135
* When searching for "test" in IUSE, account for IUSE defaults.Zac Medico2007-12-311-1/+1
| | | | svn path=/main/trunk/; revision=9128
* Fix config.setcpv() to properly call config.regenerate() in casesZac Medico2007-12-311-1/+8
| | | | | | | when USE needs to be regenerated due to FEATURES=test to USE=test mapping. svn path=/main/trunk/; revision=9126
* As suggested by grobian, treat Darwin just like USERLAND=gnuZac Medico2007-12-291-3/+1
| | | | | | since they seem to be switching commands to gnu anyway. svn path=/main/trunk/; revision=9118
* Fix broken Darwin USERLAND detection.Zac Medico2007-12-291-1/+3
| | | | svn path=/main/trunk/; revision=9116
* Add PKGDIR to the config.environ() whitelist so that people'sZac Medico2007-12-291-2/+1
| | | | | | bashrc's don't break. svn path=/main/trunk/; revision=9114
* Make the global counter file correspond toZac Medico2007-12-291-24/+37
| | | | | | | | the total number of installation actions that have occurred in the history of this package database. svn path=/main/trunk/; revision=9105
* Remove redundant USERLAND sanity check code from doebuild() sinceZac Medico2007-12-291-4/+1
| | | | | | it's handled in isolated-functions.sh now. svn path=/main/trunk/; revision=9103
* Add back support for silent definition of the dummy lchown()Zac Medico2007-12-291-0/+4
| | | | | | function when ostype == Darwin. svn path=/main/trunk/; revision=9101
* Simplify the userland detection code in portage.data and addZac Medico2007-12-291-10/+5
| | | | | | a bash version of it to isolated-functions.sh. svn path=/main/trunk/; revision=9100
* Remove redundant lchown() compatibility code since theZac Medico2007-12-291-6/+0
| | | | | | getattr(os, "lchown", None) call already handles it. svn path=/main/trunk/; revision=9099
* Move XARGS initialization from portage.data to isolated-functions.sh.Zac Medico2007-12-291-1/+1
| | | | svn path=/main/trunk/; revision=9097
* Move XARGS initialization from portage.data to isolated-functions.sh.Zac Medico2007-12-291-3/+0
| | | | svn path=/main/trunk/; revision=9096
* Add support for showing binary package file sizes in emergeZac Medico2007-12-291-6/+14
| | | | | | --search output. svn path=/main/trunk/; revision=9094
* * Initialize dbapi._categories = None so that we can compareZac Medico2007-12-294-8/+8
| | | | | | | | with None instead of using hasattr. * Remove unwanted self._categories initialization from the portdbapi constructor. svn path=/main/trunk/; revision=9092
* Make doebuild() check XARGS together with ARCH and USERLAND.Zac Medico2007-12-291-2/+2
| | | | svn path=/main/trunk/; revision=9090
* Make the ARCH and USERLAND sanity check use the autodetected USERLANDZac Medico2007-12-291-1/+5
| | | | | | from the portage.data module if necessary. svn path=/main/trunk/; revision=9089
* Bug #121584 - Make the automatic USERLAND detection code recognizeZac Medico2007-12-291-1/+3
| | | | | | GNU/kFreeBSD. svn path=/main/trunk/; revision=9087
* Make key_expand() use dbapi.categories.Zac Medico2007-12-281-1/+1
| | | | svn path=/main/trunk/; revision=9081
* Make dep_expand() stop relying on having a categories list:Zac Medico2007-12-284-6/+30
| | | | | | | | | * Create and use a dbapi.categories property that is automatically generated from dbapi.cp_all(). * Make mutable dbapi instances delete the invalidate the cached categories when they need to be regenerated. svn path=/main/trunk/; revision=9080
* Just ignore it when the global counter file does not matchZac Medico2007-12-281-5/+0
| | | | | | | | | | the highest installed COUNTER since it's normal for them to differ in some cases. For example, the global counter file will contain a higher value if the user merges a package and then immediately unmerges it (unmerge does not update the global counter file, but merge does). svn path=/main/trunk/; revision=9078
* In action_regen(), use writemsg() to send error messages toZac Medico2007-12-281-7/+6
| | | | | | stderr. svn path=/main/trunk/; revision=9066
* Show the EBUILD_FORCE_TEST "Forcing test" messageZac Medico2007-12-281-3/+6
| | | | | | even when "test" is not in IUSE. svn path=/main/trunk/; revision=9065
* Fixes for logic related to FEATURES=test to USE=test mapping:Zac Medico2007-12-281-11/+25
| | | | | | | | | | | | | | | * Add EBUILD_FORCE_TEST to the environment whitelist and filter it from the saved environment in save_ebuild_env(). * Tweak logic inside the ebuild command and config.regenerate() so that EBUILD_FORCE_TEST works even in odd cases like when USE=test is masked. * Only make FEATURES=test map to USE=test when "test" is actually in IUSE. * Remove USE=test from the set of implicit IUSE so that useq() calls in ebuild.sh properly generate a QA Notice when "test" is missing from IUSE. svn path=/main/trunk/; revision=9064
* In getconfig(), pass the infile attribute into the shlexZac Medico2007-12-251-1/+4
| | | | | | | constructor so that shlex.sourcehook() properly joins relative paths. svn path=/main/trunk/; revision=9054
* Fix "Initializing counter" message to show the correct value.Zac Medico2007-12-251-1/+1
| | | | svn path=/main/trunk/; revision=9053
* Bug #203090 - Do not trust the global counterZac Medico2007-12-251-12/+36
| | | | | | file that can lead to invalid COUNTER generation. svn path=/main/trunk/; revision=9052
* - small UI cleanups. *should* not cause problems with lack of missing newlines.Ned Ludd2007-12-252-9/+10
| | | | svn path=/main/trunk/; revision=9050
* Add support for --usepkg and --usepkgonly options together withZac Medico2007-12-211-4/+5
| | | | | | emerge --search. svn path=/main/trunk/; revision=9038
* Make vardbapi cache DESCRIPTION and HOMEPAGE in order to optimizeZac Medico2007-12-211-1/+2
| | | | | | emerge --searchdesc. svn path=/main/trunk/; revision=9031
* Implement binary package visibility filtering for emerge --search.Zac Medico2007-12-211-14/+56
| | | | svn path=/main/trunk/; revision=9029
* Don't show "Size of files: 0 kB" in emerge --search output for installedZac Medico2007-12-211-0/+7
| | | | | | packages that have no available ebuild in the tree. svn path=/main/trunk/; revision=9028
* Implement emerge --search support for installed packages, so itZac Medico2007-12-211-13/+33
| | | | | | works even without a portage tree or binary packages. svn path=/main/trunk/; revision=9027
* Make the "test" flag that's enabled by FEATURES=test intoZac Medico2007-12-211-0/+2
| | | | | | an implicit iuse member. svn path=/main/trunk/; revision=9025
* Fix xmatch "match-all" typo.Zac Medico2007-12-211-1/+1
| | | | svn path=/main/trunk/; revision=9020
* In portage.process.spawn(), make the default fd_pipes value getZac Medico2007-12-211-1/+5
| | | | | | | file descriptors from sys.std{in,out,err} so that they can be overridden. svn path=/main/trunk/; revision=9018
* In portage.spawn(), make the default fd_pipes value get fileZac Medico2007-12-211-1/+5
| | | | | | | descriptors from sys.std{in,out,err} so that they can be overridden. svn path=/main/trunk/; revision=9016
* Tweak profile validation and warning logic a bit.Zac Medico2007-12-212-5/+5
| | | | svn path=/main/trunk/; revision=9015
* Fix references to dbapi._category_re.Zac Medico2007-12-211-2/+2
| | | | svn path=/main/trunk/; revision=9013
* Use regex category validation in binarytree.populate().Zac Medico2007-12-211-2/+2
| | | | svn path=/main/trunk/; revision=9012
* Use a regex to validate package directory names in portdbapi.cp_list()Zac Medico2007-12-212-1/+5
| | | | | | and also simplify the catagory regex a bit. svn path=/main/trunk/; revision=9010
* Add "metadata" and "licenses" to _non_category_dirs.Zac Medico2007-12-211-2/+3
| | | | svn path=/main/trunk/; revision=9008
* Slightly improved the masked package check inside dep_zapdeps().Zac Medico2007-12-211-9/+9
| | | | svn path=/main/trunk/; revision=9006
* Fix a reference to an undefined "mykey" variable.Zac Medico2007-12-211-1/+1
| | | | svn path=/main/trunk/; revision=9005
* Fix a typo in the _non_category_dirs regex.Zac Medico2007-12-201-1/+1
| | | | svn path=/main/trunk/; revision=8997