Zac Medico [Fri, 28 Dec 2012 22:31:10 +0000 (14:31 -0800)]
_ctypes: don't cache library, bug #448858
Zac Medico [Fri, 28 Dec 2012 21:36:04 +0000 (13:36 -0800)]
man pages: refer to /etc/portage/make.conf
Zac Medico [Fri, 28 Dec 2012 21:21:45 +0000 (13:21 -0800)]
quickpkg.1: document options, bug #243192
Zac Medico [Fri, 28 Dec 2012 06:30:07 +0000 (22:30 -0800)]
PipeReaderBlockingIO handle threading ImportError
Zac Medico [Fri, 28 Dec 2012 01:35:49 +0000 (17:35 -0800)]
EventLoop.iteration(): avoid busy waiting
In order to avoid blocking forever when may_block is True (the
default), callers must be careful to ensure that at least one of the
following conditions is met:
1) An event source or timeout is registered which is guaranteed
to trigger at least on event (a call to an idle function
only counts as an event if it returns a False value which
causes it to be stop being called)
2) Another thread is guaranteed to call one of the thread-safe
methods which notify iteration to stop waiting (such as
idle_add or timeout_add).
These rules ensure that iteration is able to block until an event
arrives, without doing any busy waiting that would waste CPU time.
This will fix busy waiting which would be triggered by
PopenPipeBlockingIOTestCase when waiting for the thread from
PipeReaderBlockingIO to call idle_add.
Zac Medico [Thu, 27 Dec 2012 08:15:22 +0000 (00:15 -0800)]
Add PipeReaderBlockingIO, Jython experimentation.
Zac Medico [Thu, 27 Dec 2012 03:10:16 +0000 (19:10 -0800)]
merge-sync: handle PyPy syncfs fail, bug #446610
Zac Medico [Thu, 27 Dec 2012 02:31:18 +0000 (18:31 -0800)]
EventLoop: thread-safe idle_add and timeout_add
This may be useful for using threads to handle blocking IO with Jython,
since Jython lacks the fcntl module which is needed for non-blocking IO
(see http://bugs.jython.org/issue1074).
Zac Medico [Wed, 26 Dec 2012 22:47:10 +0000 (14:47 -0800)]
repoman: fix git_supports_gpg_sign
Zac Medico [Mon, 24 Dec 2012 22:13:22 +0000 (14:13 -0800)]
emerge -h: add @ prefix to system and world sets
Zac Medico [Mon, 24 Dec 2012 21:12:03 +0000 (13:12 -0800)]
vardbapi: tweak deprecated constructor param
Zac Medico [Mon, 24 Dec 2012 21:06:43 +0000 (13:06 -0800)]
binarytree: tweak deprecated constructor param
Zac Medico [Mon, 24 Dec 2012 20:20:58 +0000 (12:20 -0800)]
porttree.py: tweak deprecated constructor params
Trigger a DeprecationWarning even when None is passed in for one of the
deprecated parameters, ensuring that any potentially unsafe usage
triggers the warning.
Arfrever Frehtes Taifersar Arahesis [Sun, 23 Dec 2012 05:32:24 +0000 (06:32 +0100)]
Support subslots in command line arguments.
Zac Medico [Sat, 22 Dec 2012 08:21:30 +0000 (00:21 -0800)]
runtests.sh: add pypy-2.0 to PYTHON_VERSIONS
Zac Medico [Fri, 21 Dec 2012 22:01:48 +0000 (14:01 -0800)]
repoman: exempt virtuals from KEYWORDS.stable
Zac Medico [Wed, 19 Dec 2012 21:48:00 +0000 (13:48 -0800)]
config: clarify that default target_root is /
Arfrever Frehtes Taifersar Arahesis [Wed, 19 Dec 2012 03:56:59 +0000 (04:56 +0100)]
Rename a private module in preparation for extending its functionality.
Zac Medico [Tue, 18 Dec 2012 07:10:19 +0000 (23:10 -0800)]
depclean warning: count nested sets, bug #298298
Zac Medico [Tue, 18 Dec 2012 07:03:45 +0000 (23:03 -0800)]
depclean summary: count nested sets, bug #298298
Zac Medico [Sun, 16 Dec 2012 08:56:26 +0000 (00:56 -0800)]
repoman: fix dep check for * and ~* keywords
We want the effective ACCEPT_KEYWORDS to correspond to the current
profile's arch (rather than using wildcards).
Zac Medico [Sat, 15 Dec 2012 23:41:48 +0000 (15:41 -0800)]
repoman: check deps for * and ~* keywords
Zac Medico [Sat, 15 Dec 2012 22:23:53 +0000 (14:23 -0800)]
repoman keywords.dropped: handle * and ~*
Zac Medico [Sat, 15 Dec 2012 22:04:28 +0000 (14:04 -0800)]
Handle closed sys.__stdin__, for multiprocessing
Buggy code in python's multiprocessing/process.py closes sys.stdin and
reassigns it to open(os.devnull), but fails to update the corresponding
__stdin__ reference. So, detect that case and handle it appropriately.
The buggy code is visible in http://hg.python.org/lookup/r73708.
Michał Górny [Sat, 15 Dec 2012 14:43:29 +0000 (15:43 +0100)]
makeopts_jobs is declared in multiprocessing, not eutils.
Zac Medico [Tue, 11 Dec 2012 20:40:48 +0000 (12:40 -0800)]
Add QA_CONFIGURE_OPTIONS variable.
Zac Medico [Tue, 11 Dec 2012 17:14:41 +0000 (09:14 -0800)]
xattr-helper.py: fix AssertionError string format
Zac Medico [Tue, 11 Dec 2012 11:09:27 +0000 (03:09 -0800)]
xattr-helper.py: fix backslash quoting
Arfrever Frehtes Taifersar Arahesis [Tue, 11 Dec 2012 09:39:38 +0000 (10:39 +0100)]
Disallow SLOT="${slot}/${subslot}=" in ebuilds.
Zac Medico [Tue, 11 Dec 2012 09:00:25 +0000 (01:00 -0800)]
prepstrip: preserve xattrs, bug #446420
Zac Medico [Mon, 10 Dec 2012 22:05:09 +0000 (14:05 -0800)]
prepstrip: handle objcopy failure, bug #446774
Zac Medico [Mon, 10 Dec 2012 08:55:18 +0000 (00:55 -0800)]
dblink._elog_process: obey phasefilter arg
This would make a difference when collecting messages for prerm/postrm
when uninstalling the previous instance of a package that's been
updated.
Zac Medico [Mon, 10 Dec 2012 08:38:51 +0000 (00:38 -0800)]
MergeProcess: avoid duplicate elog, bug #446136
Zac Medico [Mon, 10 Dec 2012 02:07:40 +0000 (18:07 -0800)]
get_real_flag: handle implicit iuse
Zac Medico [Mon, 10 Dec 2012 00:56:05 +0000 (16:56 -0800)]
emerge --info: handle bug #446358 more
- old-style virtuals
- masked packages
Zac Medico [Mon, 10 Dec 2012 00:26:14 +0000 (16:26 -0800)]
get_real_flag: handls use-dep default bug #446666
Zac Medico [Sat, 8 Dec 2012 09:24:52 +0000 (01:24 -0800)]
emerge --verbose: [ y | n ] for bug #446324
Zac Medico [Sat, 8 Dec 2012 01:49:27 +0000 (17:49 -0800)]
emerge --info: don't error for existing packages
This will fix bug #446358.
Zac Medico [Wed, 5 Dec 2012 21:19:16 +0000 (13:19 -0800)]
Avoid duplicate desktop QA notice, bug #446136
Zac Medico [Wed, 5 Dec 2012 18:01:30 +0000 (10:01 -0800)]
getmaskingstatus: fix ~* KEYWORDS handling
Since commit
9144faeb653b9f1dbe74c69f85cd48f26761aa2f,
KeywordsManager.getMissingKeywords() has had support for ~* in KEYWORDS
being matched by any unstable keyword in ACCEPT_KEYWORDS. However,
getmaskingstatus still returned "missing keyword" for this case. Now,
getmaskingstatus is fixed so that it won't erroneously return
"missing keyword" in this case.
Zac Medico [Tue, 4 Dec 2012 06:00:29 +0000 (22:00 -0800)]
emerge --sync: search PATH for rsync binary
This allows to use rsync from prefix when necessary.
Zac Medico [Sun, 2 Dec 2012 22:15:05 +0000 (14:15 -0800)]
show_masked_packages: handle missing license file
This will fix bug #445628.
Zac Medico [Sat, 1 Dec 2012 23:22:59 +0000 (15:22 -0800)]
emerge --depclean: rm unavailable slot bug 445506
Zac Medico [Sat, 1 Dec 2012 21:41:37 +0000 (13:41 -0800)]
prepstrip: add comment for bug #445336
Zac Medico [Sat, 1 Dec 2012 21:17:14 +0000 (13:17 -0800)]
prepstrip: avoid duplicates for bug #445336
This prevents us from trying to hardlink duplicate splitdebug files,
avoiding ln "File exists" failure as reported in bug #445336.
Zac Medico [Sat, 1 Dec 2012 21:14:56 +0000 (13:14 -0800)]
Revert "prepstrip: avoid duplicates for bug #445336"
This reverts commit
bba20c632e79426cd006dd2b732fcaed079ac43a.
The sort needs to be inside the subshell in order for it to
work as intended. A correct patch will follow.
Zac Medico [Sat, 1 Dec 2012 03:37:12 +0000 (19:37 -0800)]
prepstrip: avoid duplicates for bug #445336
This prevents us from trying to hardlink duplicate splitdebug files,
avoiding ln "File exists" failure as reported in bug #445336.
Michał Górny [Fri, 30 Nov 2012 09:11:45 +0000 (10:11 +0100)]
Add --oneshot to the portage update suggestion.
Most users probably have it in the @world already but I don't think
everybody needs it there explicitly.
Zac Medico [Fri, 30 Nov 2012 06:24:06 +0000 (22:24 -0800)]
_LockThread: daemon = True
Arfrever Frehtes Taifersar Arahesis [Fri, 30 Nov 2012 02:09:00 +0000 (03:09 +0100)]
portage.util.movefile.movefile(): Try to preserve mtime of symlinks with Python >=3.3.
Zac Medico [Thu, 29 Nov 2012 21:39:53 +0000 (13:39 -0800)]
repoman: handle missing @DEPRECATED lic group
Arfrever Frehtes Taifersar Arahesis [Thu, 29 Nov 2012 20:30:35 +0000 (21:30 +0100)]
Fix return value of portage.util.movefile.movefile() for symlinks with Python >=3.3.
Zac Medico [Thu, 29 Nov 2012 07:52:49 +0000 (23:52 -0800)]
emerge: add --quiet-fail for bug #440982
Lucas Bickel [Thu, 15 Nov 2012 21:50:52 +0000 (22:50 +0100)]
fix ebuild rpm command for rpm 4.10.0
* changes dyn_spec to use a sources_dir in the sandbox
* remove deprecated Buildroot from specfile
* call rpmbuild with --target instead of Buildroot
* grab machine_name from $CHOST and use as --target in rpmbuild
* use dir in sandbox instead of /usr/src/rpm/RPMS
Zac Medico [Wed, 28 Nov 2012 12:13:57 +0000 (04:13 -0800)]
portage.5: rm obsolete eclass-overrides warning
This will fix bug #434942. The warning shouldn't be needed anymore
since commit
e760c8d2a4ccc56e351ac37904c715f596b58e42 makes egencache
generate md5-dict format by default, and use of the older pms format
triggers a deprecation warning since commit
02a6bf1ac95861831a303f220c7a41b9bbd398ab.
Zac Medico [Tue, 27 Nov 2012 16:33:45 +0000 (08:33 -0800)]
test_portdb_cache: use python -Wi
Zac Medico [Tue, 27 Nov 2012 16:23:46 +0000 (08:23 -0800)]
portdbapi: DeprecationWarning for 'pms' cache
Zac Medico [Tue, 27 Nov 2012 15:45:53 +0000 (07:45 -0800)]
egencache: enable md5-dict format by default
WARNING: Portage versions prior to portage-2.1.11.14 will NOT
recognize the 'md5-dict' format unless it is explicitly listed
in metadata/layout.conf (refer to portage(5) for example usage).
WARNING: For backward compatibility, the obsolete 'pms' cache
format will still be generated by default if the metadata/cache/
directory exists in the repository.
Zac Medico [Tue, 27 Nov 2012 06:02:38 +0000 (22:02 -0800)]
Add Package.built_time property.
Zac Medico [Tue, 27 Nov 2012 05:34:24 +0000 (21:34 -0800)]
Package: add defined_phases, properties, restrict
Zac Medico [Tue, 27 Nov 2012 04:37:41 +0000 (20:37 -0800)]
Rename Package.metadata to _metadata.
The raw metadata is considered a private low-level internal. This
makes the Package class consistent with the _pkg_str class.
Zac Medico [Tue, 27 Nov 2012 03:59:46 +0000 (19:59 -0800)]
Use Package.repo where appropriate.
Zac Medico [Tue, 27 Nov 2012 03:45:33 +0000 (19:45 -0800)]
Use Package.counter where appropriate.
Zac Medico [Mon, 26 Nov 2012 03:26:46 +0000 (19:26 -0800)]
similar_name_search: fix lower/upper case bugs
Arfrever Frehtes Taifersar Arahesis [Sun, 25 Nov 2012 11:02:11 +0000 (12:02 +0100)]
Update doc string of portage.dep.extract_affecting_use().
Arfrever Frehtes Taifersar Arahesis [Sun, 25 Nov 2012 10:40:06 +0000 (11:40 +0100)]
unpack(): Handle suffixes in case-insensitive way.
Arfrever Frehtes Taifersar Arahesis [Sun, 25 Nov 2012 10:33:10 +0000 (11:33 +0100)]
__sb_append_var(): Quote tr arguments to avoid filename expansion. Avoid a subshell.
Zac Medico [Sat, 24 Nov 2012 22:08:23 +0000 (14:08 -0800)]
emerge --info: search similar names, bug #444596
Zac Medico [Sat, 24 Nov 2012 21:56:51 +0000 (13:56 -0800)]
depgraph: split out similar_name_search func
This will allow the code to be re-used for bug #444596. Copyright
begins in 2011 since that's when the code for this feature was first
added in commit
aa78cc8da18015b7d1e4eec277b5a7f940fe357c.
Zac Medico [Sat, 24 Nov 2012 21:14:32 +0000 (13:14 -0800)]
emerge --info: report unmatched atom, bug #444596
Arfrever Frehtes Taifersar Arahesis [Sat, 24 Nov 2012 12:28:44 +0000 (13:28 +0100)]
EAPI="5-progress": Add automatic unpack dependencies.
Arfrever Frehtes Taifersar Arahesis [Thu, 22 Nov 2012 22:16:05 +0000 (23:16 +0100)]
Fix a typo.
Arfrever Frehtes Taifersar Arahesis [Thu, 22 Nov 2012 22:11:35 +0000 (23:11 +0100)]
Fix some typos and improve amount of whitespace.
Mike Frysinger [Thu, 22 Nov 2012 17:42:42 +0000 (12:42 -0500)]
strip trailing whitespace
No functional changes here.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Arfrever Frehtes Taifersar Arahesis [Thu, 22 Nov 2012 21:53:09 +0000 (22:53 +0100)]
Bug #440680: Add boost-utils to list of deprecated eclasses.
Arfrever Frehtes Taifersar Arahesis [Thu, 22 Nov 2012 21:48:57 +0000 (22:48 +0100)]
Automatically generate list of repoman checks.
This also reenables InheritDeprecated check, which has been disabled in
commit
597826a1cabf654f9b3fff88425d04303e921577.
Zac Medico [Thu, 22 Nov 2012 12:23:20 +0000 (04:23 -0800)]
EventLoop: handle Linux 2.4 errno 38 for epoll
Zac Medico [Wed, 21 Nov 2012 04:38:32 +0000 (20:38 -0800)]
flat_hash.__iter__: validate keys
Zac Medico [Sat, 17 Nov 2012 17:31:53 +0000 (09:31 -0800)]
Add Package.eapi property.
Arfrever Frehtes Taifersar Arahesis [Fri, 16 Nov 2012 04:46:41 +0000 (05:46 +0100)]
Fix some typos.
Arfrever Frehtes Taifersar Arahesis [Fri, 16 Nov 2012 04:44:05 +0000 (05:44 +0100)]
Fix PORTAGE_BUILDIR_LOCKED typo.
Arfrever Frehtes Taifersar Arahesis [Fri, 16 Nov 2012 04:35:57 +0000 (05:35 +0100)]
EAPI="5-progress": Add package_manager_build_user() and package_manager_build_group().
Zac Medico [Thu, 15 Nov 2012 16:07:59 +0000 (08:07 -0800)]
fixdbentries: add deprecation warning
It's unused since commit
c974a023882485b8eeae35bac35c1f00d1a0725b.
Arfrever Frehtes Taifersar Arahesis [Thu, 15 Nov 2012 07:19:21 +0000 (08:19 +0100)]
EAPI="4-python" and EAPI="5-progress": Add support for use.aliases and package.use.aliases.
Zac Medico [Thu, 15 Nov 2012 03:41:15 +0000 (19:41 -0800)]
validate_desktop_entry: ignore Encoding key
See bug #443100.
Zac Medico [Thu, 15 Nov 2012 00:02:38 +0000 (16:02 -0800)]
vardbapi.move_ent: rm wrong fixdbentries call
The parent argument was wrong, as reported in bug #367215 comment #22,
and this call was uneeded anyway because dbapi.update_ents handles
it with update_dbentries.
Zac Medico [Wed, 14 Nov 2012 19:54:59 +0000 (11:54 -0800)]
Atom.without_use: preserve blocker prefix
Zac Medico [Wed, 14 Nov 2012 17:41:38 +0000 (09:41 -0800)]
test_update_dbentry: test bug #367215
Zac Medico [Wed, 14 Nov 2012 17:28:16 +0000 (09:28 -0800)]
update_dbentry: avoid self-blocker, bug #367215
Zac Medico [Wed, 14 Nov 2012 17:16:10 +0000 (09:16 -0800)]
Pass settings to _pkg_str constructor.
Forgotten in commit
0b4e6c27e87e57fac09fa28d3ed1320cb6a83ad9.
Zac Medico [Wed, 14 Nov 2012 07:08:05 +0000 (23:08 -0800)]
update_dbentry: add parent arg for bug #367215
Zac Medico [Wed, 14 Nov 2012 03:17:24 +0000 (19:17 -0800)]
repoman: validate use restrict atoms, bug #442786
Zac Medico [Tue, 13 Nov 2012 17:57:26 +0000 (09:57 -0800)]
elog/mod_save_summary: wrap IOError, bug #441948
Zac Medico [Tue, 13 Nov 2012 17:48:55 +0000 (09:48 -0800)]
elog/mod_save: wrap IOException for bug #441948
Zac Medico [Sun, 11 Nov 2012 17:57:52 +0000 (09:57 -0800)]
pkg_pretend: keep temp on failure for bug #442536
Zac Medico [Wed, 7 Nov 2012 16:48:40 +0000 (08:48 -0800)]
emerge-webrsync: rsync -o -g, bug #442190
This fixes a regression since the -a option was removed in
commit
e672b5ccbbbe38eda5c733fc799a20d92a8bdf75.
Zac Medico [Tue, 6 Nov 2012 08:28:40 +0000 (00:28 -0800)]
prepstrip: check USERLAND outside of loop
Zac Medico [Tue, 6 Nov 2012 05:42:18 +0000 (21:42 -0800)]
prepstrip: handle empty inode list
Michał Górny [Mon, 5 Nov 2012 08:32:05 +0000 (09:32 +0100)]
COLLISION_IGNORE jython compiled modules as well.
Jython names its compiled modules *$py.class.
Zac Medico [Mon, 5 Nov 2012 02:51:20 +0000 (18:51 -0800)]
prepstrip: account for new inode created by strip
Since strip creates a new inode, we need to know the initial set of
inodes in advance, so that we can avoid interference due to trying
to strip the same (hardlinked) file multiple times in parallel.
See bug #421099.