Marius Mauch [Sat, 9 Feb 2008 23:15:25 +0000 (23:15 -0000)]
reapply repoman typo fix
svn path=/main/tags/2.2_pre1/; revision=9317
Zac Medico [Sat, 9 Feb 2008 22:05:24 +0000 (22:05 -0000)]
Bug #208743 - Update dosed docs to indicate that "s:${D}::g" is used
as the default expression if none other is given.
svn path=/main/trunk/; revision=9313
Marius Mauch [Sat, 9 Feb 2008 15:39:49 +0000 (15:39 -0000)]
add tagging capabilities and cli options
svn path=/main/trunk/; revision=9312
Marius Mauch [Sat, 9 Feb 2008 15:13:35 +0000 (15:13 -0000)]
add preserve-libs info to make.conf.example
svn path=/main/trunk/; revision=9311
Marius Mauch [Sat, 9 Feb 2008 13:31:05 +0000 (13:31 -0000)]
more minor doc updates regarding package sets
svn path=/main/trunk/; revision=9310
Marius Mauch [Sat, 9 Feb 2008 13:23:36 +0000 (13:23 -0000)]
minor documentation updates
svn path=/main/trunk/; revision=9309
Marius Mauch [Sat, 9 Feb 2008 12:47:58 +0000 (12:47 -0000)]
new script for creating release tarballs
svn path=/main/trunk/; revision=9308
Marius Mauch [Sat, 9 Feb 2008 12:04:51 +0000 (12:04 -0000)]
removing obsolete cruft
svn path=/main/trunk/; revision=9307
Zac Medico [Sat, 9 Feb 2008 04:58:39 +0000 (04:58 -0000)]
Bug #208708 - Show informative warning messages for installed
packages that are masked.
svn path=/main/trunk/; revision=9301
Zac Medico [Fri, 8 Feb 2008 11:46:53 +0000 (11:46 -0000)]
Fix some broken variable references found by pyflakes.
svn path=/main/trunk/; revision=9299
Zac Medico [Fri, 8 Feb 2008 08:39:58 +0000 (08:39 -0000)]
Bug #208708 - Fix masked package display some more:
- Warn if all matching ebuilds are masked or the installed
package itself is masked.
- Do not warn if there are simply no matching ebuilds since
that would be annoying in some cases.
svn path=/main/trunk/; revision=9293
Zac Medico [Fri, 8 Feb 2008 08:01:09 +0000 (08:01 -0000)]
Don't show unmasked packages (currently installed packages) in
the masking display.
svn path=/main/trunk/; revision=9292
Zac Medico [Fri, 8 Feb 2008 04:33:30 +0000 (04:33 -0000)]
Add DISTDIR to the EbuildQuote.var_names. Thanks to Betelgeuse.
svn path=/main/trunk/; revision=9290
Zac Medico [Fri, 8 Feb 2008 01:26:13 +0000 (01:26 -0000)]
Bug #208708 - Fix warnings for system or world packages that are masked.
svn path=/main/trunk/; revision=9289
Zac Medico [Fri, 8 Feb 2008 00:32:49 +0000 (00:32 -0000)]
Bug #208743 - Clarify dosed docs to indicate that sed is performed
in place of a file in ${D}.
svn path=/main/trunk/; revision=9287
Zac Medico [Fri, 8 Feb 2008 00:19:50 +0000 (00:19 -0000)]
Bug #208782 - Consistently use double quotes rather than mixining in single
quotes.
svn path=/main/trunk/; revision=9285
Zac Medico [Fri, 8 Feb 2008 00:12:37 +0000 (00:12 -0000)]
Bug #209144 - For emerge --sync, don't return 0 when the server
is out of date.
svn path=/main/trunk/; revision=9283
Zac Medico [Thu, 7 Feb 2008 23:30:49 +0000 (23:30 -0000)]
Bug #155993 - Update environment.bz2 after postinst in case
installation phases need to pass some variables to
uninstallation phases.
svn path=/main/trunk/; revision=9281
Zac Medico [Wed, 6 Feb 2008 08:43:57 +0000 (08:43 -0000)]
For the useq() IUSE qa check, use [[ $u =~ $PORTAGE_IUSE ]] instead
of egrep since apparently it's compatible in this case. Thanks to
igli for this.
svn path=/main/trunk/; revision=9279
Zac Medico [Wed, 6 Feb 2008 06:08:51 +0000 (06:08 -0000)]
Make qa_source and qa_call save the return value and return it. Thanks
to igli for suggesting.
svn path=/main/trunk/; revision=9278
Marius Mauch [Tue, 5 Feb 2008 21:29:15 +0000 (21:29 -0000)]
don't try to copy manually removed libraries (bug #208946)
svn path=/main/trunk/; revision=9277
Marius Mauch [Tue, 5 Feb 2008 19:02:24 +0000 (19:02 -0000)]
display errors that occured during package set initalization
svn path=/main/trunk/; revision=9276
Marius Mauch [Tue, 5 Feb 2008 18:57:08 +0000 (18:57 -0000)]
don't record internal providers in NEEDED records as they are pointless for all useful applications in portage and complicate them instead (e.g. bug #205531)
svn path=/main/trunk/; revision=9275
Marius Mauch [Tue, 5 Feb 2008 08:21:06 +0000 (08:21 -0000)]
Use local time for elog summaries
svn path=/main/trunk/; revision=9273
Zac Medico [Fri, 1 Feb 2008 04:36:25 +0000 (04:36 -0000)]
portage-2.1.4.1
==================================
* If you have an overlay then you should remove **/files/digest-*
files (Manifest1) because they are no longer supported.
* If earlier versions of portage will be used to generate manifests
for your overlay then you should add a file named manifest1_obsolete
to the root of the repository in order to disable generation of the
Manifest1 digest files.
svn path=/main/trunk/; revision=9264
Zac Medico [Fri, 1 Feb 2008 03:11:56 +0000 (03:11 -0000)]
Remove the manifest1 digest file removal code since it's no longer
needed.
svn path=/main/trunk/; revision=9262
Zac Medico [Fri, 1 Feb 2008 02:53:08 +0000 (02:53 -0000)]
Remove the manifest1 digest filter from PORTAGE_RSYNC_OPTS since it's
no longer needed.
svn path=/main/trunk/; revision=9260
Zac Medico [Fri, 1 Feb 2008 00:04:52 +0000 (00:04 -0000)]
Make the manifest1_compat constructor parameter default to False
to prevent potential interference from stale old digest files in
overlays.
svn path=/main/trunk/; revision=9258
Zac Medico [Thu, 31 Jan 2008 23:45:12 +0000 (23:45 -0000)]
Bug #205718 - Fix quoting of ${INSTALL_MASK} where appropriate. Thanks
to Ed Catmur <ed@catmur.co.uk> for this patch.
svn path=/main/trunk/; revision=9256
Zac Medico [Thu, 31 Jan 2008 20:25:20 +0000 (20:25 -0000)]
Disable manifest1_compat for ebuild --force digest.
svn path=/main/trunk/; revision=9254
Zac Medico [Thu, 31 Jan 2008 20:04:56 +0000 (20:04 -0000)]
Unconditionally disable manifest1 compatibility since it's been dropped
from the main tree and nobody needs it anymore.
svn path=/main/trunk/; revision=9252
Zac Medico [Thu, 31 Jan 2008 09:31:23 +0000 (09:31 -0000)]
Make the autotools.eclass functions exempt from the autotools
QA Notice.
svn path=/main/trunk/; revision=9249
Zac Medico [Thu, 31 Jan 2008 07:46:28 +0000 (07:46 -0000)]
Add 'local' to the list of non_category_dirs since it's commonly
used for layman overlays.
svn path=/main/trunk/; revision=9241
Zac Medico [Thu, 31 Jan 2008 04:15:48 +0000 (04:15 -0000)]
* Bug #205966 - Don't show binhost password when displaying the uri.
* Fix a cpv variable name typo.
svn path=/main/trunk/; revision=9238
Zac Medico [Wed, 30 Jan 2008 22:52:57 +0000 (22:52 -0000)]
Remove the last traces of the ebuild.autotools check.
svn path=/main/trunk/; revision=9236
Zac Medico [Wed, 30 Jan 2008 22:49:47 +0000 (22:49 -0000)]
- Remove ebuild.autotools repoman check since it produces lots
of false positives (bug #207104) and its hard to parse bash
- Use QA_INTERCEPTORS in ebuild.sh to implement a runtime
'QA Notice' when autotools is called directly
svn path=/main/trunk/; revision=9235
Zac Medico [Wed, 30 Jan 2008 18:45:49 +0000 (18:45 -0000)]
use strip(os.sep) on paths prior to os.path.join (branches/prefix
r9228)
svn path=/main/trunk/; revision=9230
Alec Warner [Sun, 27 Jan 2008 11:26:48 +0000 (11:26 -0000)]
Pull more functions out of repoman proper and into repoman.utilities, correct a typo, clean up imports
svn path=/main/trunk/; revision=9227
Alec Warner [Sun, 27 Jan 2008 11:26:01 +0000 (11:26 -0000)]
Pull more functions out of repoman proper and into repoman.utilities
svn path=/main/trunk/; revision=9226
Alec Warner [Sun, 27 Jan 2008 11:05:41 +0000 (11:05 -0000)]
import ordering, prevent errors from mucking up module namespace in checks, fix typo from last commit, rename 'm' to autotools_match, fix spacing between classes
svn path=/main/trunk/; revision=9225
Alec Warner [Sun, 27 Jan 2008 06:01:19 +0000 (06:01 -0000)]
Restore desktop.invalid as a warning; was an intergration error
svn path=/main/trunk/; revision=9222
Alec Warner [Sat, 26 Jan 2008 20:53:20 +0000 (20:53 -0000)]
Move random functions out of repoman and into utilties.py
svn path=/main/trunk/; revision=9221
Zac Medico [Tue, 22 Jan 2008 22:14:24 +0000 (22:14 -0000)]
Bug #206772 - Enable bashrc once again for the clean phase.
svn path=/main/trunk/; revision=9220
Zac Medico [Mon, 21 Jan 2008 01:43:38 +0000 (01:43 -0000)]
We need to implement diefunc() since environment.bz2 files contain
calls to it (due to alias expansion).
svn path=/main/trunk/; revision=9217
Zac Medico [Sun, 20 Jan 2008 22:28:25 +0000 (22:28 -0000)]
Replace the current diefunc() and die alias with a single die() function.
The previous arguments to diefunc() weren't used anyway. The result is
that the die message looks better because it doesn't show the alias and
all of it's arguments which are totally irrelevant. (branches/prefix
r9212)
svn path=/main/trunk/; revision=9216
Alec Warner [Sat, 19 Jan 2008 23:18:12 +0000 (23:18 -0000)]
Add a note that PORTDIR is a repository of software and that users should not add random directories in it.
svn path=/main/trunk/; revision=9209
Zac Medico [Fri, 18 Jan 2008 22:58:21 +0000 (22:58 -0000)]
Check for quoted ${A}. Thanks to maekke for this patch.
svn path=/main/trunk/; revision=9206
Alec Warner [Sun, 13 Jan 2008 01:03:50 +0000 (01:03 -0000)]
fix typo in emerge-webrsync from r9118
svn path=/main/trunk/; revision=9201
Alec Warner [Sun, 13 Jan 2008 00:55:21 +0000 (00:55 -0000)]
style fixes (imports), add support for --version (bug 138159)
svn path=/main/trunk/; revision=9200
Zac Medico [Sat, 12 Jan 2008 02:53:42 +0000 (02:53 -0000)]
Add some notes about enhancements related to binary package support
that's now in 2.1.4.
svn path=/main/trunk/; revision=9197
Zac Medico [Sat, 12 Jan 2008 01:39:39 +0000 (01:39 -0000)]
Remove redundant return statement.
svn path=/main/trunk/; revision=9195
Zac Medico [Sat, 12 Jan 2008 01:35:08 +0000 (01:35 -0000)]
In preprocess_ebuild_env(), move a filter_readonly_variables call
out of a subshell since FreeBSD and prefix users have reported
apparent corruption of the PATH environment variable that triggers
calls to the wrong version of sed (one that does not support the
-r option). An example of what users have observed:
>>> Source compiled.
sed: illegal option -- r
usage: sed script [-Ealn] [-i extension] [file ...]
sed [-Ealn] [-i extension] [-e script] ... [-f script_file] ... [file ...]
Traceback (most recent call last):
File "/usr/lib/portage/bin/filter-bash-environment.py", line 51, in <module>
compile_egrep_pattern(args[0]), file_in, file_out)
File "/usr/lib/portage/bin/filter-bash-environment.py", line 34, in filter_bash_environment
file_out.write(line)
IOError: [Errno 32] Broken pipe
svn path=/main/trunk/; revision=9194
Zac Medico [Sat, 12 Jan 2008 00:18:44 +0000 (00:18 -0000)]
Replace hardcoded value with max_desc_len.
svn path=/main/trunk/; revision=9192
Zac Medico [Fri, 11 Jan 2008 23:42:59 +0000 (23:42 -0000)]
Bug #203887 - Make repoman recognize RESTRICT="installsources".
svn path=/main/trunk/; revision=9190
Zac Medico [Fri, 11 Jan 2008 23:07:10 +0000 (23:07 -0000)]
Bug #205318 - Handle errno.ENOTDIR thrown from the lstat call
inside dblink._security_check().
svn path=/main/trunk/; revision=9188
Zac Medico [Fri, 11 Jan 2008 22:24:30 +0000 (22:24 -0000)]
Adjust the max DESCRIPTION.toolong length to 100 characters so that
it's not too small and only about 3% of packages will trigger it.
svn path=/main/trunk/; revision=9186
Zac Medico [Fri, 11 Jan 2008 11:59:15 +0000 (11:59 -0000)]
Fix a typo.
svn path=/main/trunk/; revision=9184
Zac Medico [Fri, 11 Jan 2008 09:27:38 +0000 (09:27 -0000)]
Add a new "ebuild.autotools" check for when ebuilds call
autotools directly instead of using autotools.eclass.
Thanks to Betelgeuse for the initial patch.
svn path=/main/trunk/; revision=9179
Zac Medico [Fri, 11 Jan 2008 08:19:55 +0000 (08:19 -0000)]
* Make pkgcmp() pass the ebuild revision directly into vercmp() since
there is code there to handle it already. This eliminates some
redundant revision comparison code. Thanks to peper for the patch.
* Add some vercmp() test cases for comparison of ebuild revisions.
svn path=/main/trunk/; revision=9178
Zac Medico [Fri, 11 Jan 2008 07:22:07 +0000 (07:22 -0000)]
Add a DESCRIPTION.toolong warning for when the DESCRIPTION line is
over 80 characters long. Thanks to Betelgeuse for the patch.
svn path=/main/trunk/; revision=9177
Zac Medico [Fri, 11 Jan 2008 06:51:09 +0000 (06:51 -0000)]
Bug #162450 - Try to avoid having so many bugs marked UPSTREAM by
encouraging users to report 'poor programming practices' QA issues
upstream and show them the $HOMEPAGE for convenience.
svn path=/main/trunk/; revision=9176
Zac Medico [Fri, 11 Jan 2008 05:14:43 +0000 (05:14 -0000)]
Bug #203887 - Implement RESTRICT=installsources for binaries that are
not compatible with debugedit.
svn path=/main/trunk/; revision=9167
Zac Medico [Fri, 11 Jan 2008 04:31:53 +0000 (04:31 -0000)]
Bug #203316 - Fix isvalidatom() to properly detect invalid operators
used together with slot atoms. Thanks to Arfrever Frehtes Taifersar
Arahesis <Arfrever.FTA@GMail.Com> for the patch.
svn path=/main/trunk/; revision=9166
Zac Medico [Fri, 11 Jan 2008 02:18:39 +0000 (02:18 -0000)]
Fix the "Appending to PORTDIR_OVERLAY..." feature which was
broken by the previous commit.
svn path=/main/trunk/; revision=9165
Zac Medico [Fri, 11 Jan 2008 02:03:15 +0000 (02:03 -0000)]
Make sure that portdb.findname() returns the correct ebuild.
svn path=/main/trunk/; revision=9164
Zac Medico [Fri, 11 Jan 2008 00:28:34 +0000 (00:28 -0000)]
Bug #204425 - Remove --delete-after from the default PORTAGE_RSYNC_OPTS.
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
Zac Medico [Fri, 11 Jan 2008 00:05:39 +0000 (00:05 -0000)]
Bug#204668 - Fix WORKDIR quoting in econf() when updating
config.guess and config.sub.
svn path=/main/trunk/; revision=9162
Zac Medico [Thu, 10 Jan 2008 23:02:01 +0000 (23:02 -0000)]
Bug #162542 - When dropping privileges for FEATURES=userpriv,
automatically detect permission problems with CCACHE_DIR and
recursively adjust permissions only when necessary.
svn path=/main/trunk/; revision=9160
Zac Medico [Tue, 8 Jan 2008 09:05:24 +0000 (09:05 -0000)]
After loading the environment, make sure the color variables
are in sync with the current NOCOLOR setting.
svn path=/main/trunk/; revision=9158
Zac Medico [Tue, 8 Jan 2008 04:56:31 +0000 (04:56 -0000)]
When spawing the "depend" phase, use file descriptors from sys.std*
streams.
svn path=/main/trunk/; revision=9157
Zac Medico [Mon, 7 Jan 2008 22:17:34 +0000 (22:17 -0000)]
Bug #204753 - Add "distfiles" and "packages" to the list of
non-category directories.
svn path=/main/trunk/; revision=9155
Zac Medico [Sun, 6 Jan 2008 20:22:03 +0000 (20:22 -0000)]
Bug #204651 - Make repoman respect NOCOLOR=true.
svn path=/main/trunk/; revision=9151
Zac Medico [Sat, 5 Jan 2008 22:00:45 +0000 (22:00 -0000)]
Make filter_readonly_variables() filter PATH in any case since
we never want to save of reload it.
svn path=/main/trunk/; revision=9147
Zac Medico [Sat, 5 Jan 2008 21:33:09 +0000 (21:33 -0000)]
Filter PATH along with FEATURES when loading environment.bz2.
svn path=/main/trunk/; revision=9145
Alec Warner [Sat, 5 Jan 2008 20:31:31 +0000 (20:31 -0000)]
per bug 204468, remove old check from repoman (all ebuilds in gentoo-x86 are migrated).
svn path=/main/trunk/; revision=9144
Zac Medico [Fri, 4 Jan 2008 20:49:05 +0000 (20:49 -0000)]
Send eerror and ewarn messages to stderr. This is important in
case somebody calls portageq inside a global scope command
substitution. The output needs to go to stderr so that the
die message from the subshell is visible.
svn path=/main/trunk/; revision=9140
Zac Medico [Thu, 3 Jan 2008 15:39:08 +0000 (15:39 -0000)]
Recognize export statements when filtering the environment. This
is needed for compatibility with environment.bz2 files generated
by paludis.
svn path=/main/trunk/; revision=9137
Zac Medico [Wed, 2 Jan 2008 15:00:39 +0000 (15:00 -0000)]
Bug #204020 - Make grabfile() properly raise PermissionDenied when
appropriate instead of silently ignoring permission errors.
svn path=/main/trunk/; revision=9135
Zac Medico [Mon, 31 Dec 2007 11:43:03 +0000 (11:43 -0000)]
When searching for "test" in IUSE, account for IUSE defaults.
svn path=/main/trunk/; revision=9128
Zac Medico [Mon, 31 Dec 2007 09:54:15 +0000 (09:54 -0000)]
Fix config.setcpv() to properly call config.regenerate() in cases
when USE needs to be regenerated due to FEATURES=test to USE=test
mapping.
svn path=/main/trunk/; revision=9126
Zac Medico [Sat, 29 Dec 2007 20:14:05 +0000 (20:14 -0000)]
As suggested by grobian, treat Darwin just like USERLAND=gnu
since they seem to be switching commands to gnu anyway.
svn path=/main/trunk/; revision=9118
Zac Medico [Sat, 29 Dec 2007 19:54:20 +0000 (19:54 -0000)]
Fix USERLAND references to handle Darwin like BSD.
svn path=/main/trunk/; revision=9117
Zac Medico [Sat, 29 Dec 2007 19:36:57 +0000 (19:36 -0000)]
Fix broken Darwin USERLAND detection.
svn path=/main/trunk/; revision=9116
Zac Medico [Sat, 29 Dec 2007 18:20:43 +0000 (18:20 -0000)]
Add PKGDIR to the config.environ() whitelist so that people's
bashrc's don't break.
svn path=/main/trunk/; revision=9114
Zac Medico [Sat, 29 Dec 2007 17:56:30 +0000 (17:56 -0000)]
Fix handling of leading / charactes some more.
svn path=/main/trunk/; revision=9112
Zac Medico [Sat, 29 Dec 2007 17:41:18 +0000 (17:41 -0000)]
Make the ecompressdir vecho output show a leading / on
the directory path. Thanks to armin76.
svn path=/main/trunk/; revision=9111
Zac Medico [Sat, 29 Dec 2007 16:47:05 +0000 (16:47 -0000)]
Document that docinto works for dohtml.
svn path=/main/trunk/; revision=9109
Zac Medico [Sat, 29 Dec 2007 13:50:58 +0000 (13:50 -0000)]
Rely on USERLAND since it's automatically generated by
isolated-functions.sh when necessary.
svn path=/main/trunk/; revision=9107
Zac Medico [Sat, 29 Dec 2007 13:31:38 +0000 (13:31 -0000)]
Make the global counter file correspond to
the total number of installation actions
that have occurred in the history of this
package database.
svn path=/main/trunk/; revision=9105
Zac Medico [Sat, 29 Dec 2007 12:37:26 +0000 (12:37 -0000)]
Remove redundant USERLAND sanity check code from doebuild() since
it's handled in isolated-functions.sh now.
svn path=/main/trunk/; revision=9103
Zac Medico [Sat, 29 Dec 2007 12:14:27 +0000 (12:14 -0000)]
Add back support for silent definition of the dummy lchown()
function when ostype == Darwin.
svn path=/main/trunk/; revision=9101
Zac Medico [Sat, 29 Dec 2007 12:07:56 +0000 (12:07 -0000)]
Simplify the userland detection code in portage.data and add
a bash version of it to isolated-functions.sh.
svn path=/main/trunk/; revision=9100
Zac Medico [Sat, 29 Dec 2007 11:49:38 +0000 (11:49 -0000)]
Remove redundant lchown() compatibility code since the
getattr(os, "lchown", None) call already handles it.
svn path=/main/trunk/; revision=9099
Zac Medico [Sat, 29 Dec 2007 11:36:20 +0000 (11:36 -0000)]
Move XARGS initialization from portage.data to isolated-functions.sh.
svn path=/main/trunk/; revision=9097
Zac Medico [Sat, 29 Dec 2007 11:30:30 +0000 (11:30 -0000)]
Move XARGS initialization from portage.data to isolated-functions.sh.
svn path=/main/trunk/; revision=9096
Zac Medico [Sat, 29 Dec 2007 10:41:14 +0000 (10:41 -0000)]
Add support for showing binary package file sizes in emerge
--search output.
svn path=/main/trunk/; revision=9094
Zac Medico [Sat, 29 Dec 2007 09:58:56 +0000 (09:58 -0000)]
* Initialize dbapi._categories = None so that we can compare
with None instead of using hasattr.
* Remove unwanted self._categories initialization from the
portdbapi constructor.
svn path=/main/trunk/; revision=9092
Zac Medico [Sat, 29 Dec 2007 09:04:45 +0000 (09:04 -0000)]
Make doebuild() check XARGS together with ARCH and USERLAND.
svn path=/main/trunk/; revision=9090
Zac Medico [Sat, 29 Dec 2007 08:57:05 +0000 (08:57 -0000)]
Make the ARCH and USERLAND sanity check use the autodetected USERLAND
from the portage.data module if necessary.
svn path=/main/trunk/; revision=9089
Zac Medico [Sat, 29 Dec 2007 08:38:43 +0000 (08:38 -0000)]
Bug #121584 - Make the automatic USERLAND detection code recognize
GNU/kFreeBSD.
svn path=/main/trunk/; revision=9087