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.
Ulrich Müller [Wed, 31 Oct 2012 17:42:20 +0000 (18:42 +0100)]
repoman: add check for deprecated licenses, bug 440638
Michał Górny [Wed, 31 Oct 2012 10:07:19 +0000 (11:07 +0100)]
Deprecate python-distutils-ng.
python-r1 & distutils-r1 are almost drop-in replacements.
Zac Medico [Tue, 30 Oct 2012 23:11:35 +0000 (16:11 -0700)]
dblink.mergeme(): use stack instead of recursion
Maybe this helps reduce memory consumption when merging packages with
lots of subdirectories like gentoo-sources (bug #320859).
Zac Medico [Sun, 28 Oct 2012 19:25:58 +0000 (12:25 -0700)]
validate_desktop_entry: handle df-utils-0.21 hint
Zac Medico [Sat, 27 Oct 2012 10:00:50 +0000 (03:00 -0700)]
die: use local IFS setting
This is needed at least for splitting ${EBUILD_OVERLAY_ECLASSES}, in
order to avoid potentially strange results.
Zac Medico [Fri, 26 Oct 2012 17:45:54 +0000 (10:45 -0700)]
emerge --info: show linker version, bug #436294
Zac Medico [Fri, 26 Oct 2012 17:24:37 +0000 (10:24 -0700)]
test_slot_conflict_rebuild: add a valid rebuild
Zac Medico [Fri, 26 Oct 2012 17:13:16 +0000 (10:13 -0700)]
depgraph: use _match_slot in multislot match
This amkes sub-slot matching work correctly.
Zac Medico [Fri, 26 Oct 2012 07:43:20 +0000 (00:43 -0700)]
backtracking: discard extra rebuilds, bug #439688
Zac Medico [Fri, 26 Oct 2012 06:31:36 +0000 (23:31 -0700)]
Add test case for bug #439688.
Zac Medico [Fri, 26 Oct 2012 06:06:17 +0000 (23:06 -0700)]
depgraph: trigger rebuild for unbuilt child
This will fix bug #439694, where built slot-operator deps failed
to trigger rebuilds if the deps were initially broken.
Zac Medico [Fri, 26 Oct 2012 04:57:01 +0000 (21:57 -0700)]
depgraph: no multislot tweak for built slot op
The multislot tweak from bug #220341 (see commit
65a421ae35acd5639ad1258e220754a85e55de6e) triggered erroneous matches
for built slot-operator deps, causing the depgraph to treat unsatisfied
built slot-operator deps as if they were satisfied (one of the issues
uncovered in bug #439694).
Zac Medico [Fri, 26 Oct 2012 03:44:28 +0000 (20:44 -0700)]
Add test case for bug #439694.
Zac Medico [Thu, 25 Oct 2012 19:48:56 +0000 (12:48 -0700)]
merge-sync: handle unmerge corner cases
In dblink_merged_path we need to distinguish between existing and
non-existing, since we need an existing path of syncfs.
Zac Medico [Thu, 25 Oct 2012 15:31:16 +0000 (08:31 -0700)]
merge-sync: syncfs on parent of dir for unmerge
Note that we use a realpath and a regular stat here, since we want to
follow any symlinks back to the real device where the real parent
directory resides.
Zac Medico [Thu, 25 Oct 2012 09:32:35 +0000 (02:32 -0700)]
MergeProcess: cache syncfs libc library lookup
Zac Medico [Thu, 25 Oct 2012 08:35:31 +0000 (01:35 -0700)]
Add FEATURES=merge-sync, for bug #439584.
Zac Medico [Thu, 25 Oct 2012 08:34:37 +0000 (01:34 -0700)]
Add portage.util._ctypes module, for bug #439584.
Zac Medico [Thu, 25 Oct 2012 06:59:31 +0000 (23:59 -0700)]
dblink: add hooks to sync disk for bug #439584
Zac Medico [Thu, 25 Oct 2012 03:21:41 +0000 (20:21 -0700)]
Use checkbashisms for init.d scripts, bug #439490
Arfrever Frehtes Taifersar Arahesis [Wed, 24 Oct 2012 21:00:20 +0000 (23:00 +0200)]
install_symlink_html_docs(): Additional fix for compatibility with subslots.
Gregory M. Turner [Tue, 23 Oct 2012 02:35:12 +0000 (19:35 -0700)]
.gitignore: ignore tags file (for ctags)
Signed-off-by: Gregory M. Turner <gmturner007@ameritech.net>
Brian Dolbec [Sun, 21 Oct 2012 18:21:34 +0000 (11:21 -0700)]
emaint logs --help: fix module-options typo
Zac Medico [Fri, 19 Oct 2012 02:18:14 +0000 (19:18 -0700)]
Test PopenProcess + PipeLogger.
Zac Medico [Fri, 19 Oct 2012 01:27:59 +0000 (18:27 -0700)]
PipeReader: unregister in _cancel
Zac Medico [Fri, 19 Oct 2012 01:23:02 +0000 (18:23 -0700)]
PipeLogger/Reader: remove redundant isAlive()
Parent class AbstractPollTask has equivalent implementation.
Zac Medico [Fri, 19 Oct 2012 01:15:00 +0000 (18:15 -0700)]
SpawnProcess: split out a PipeLogger class
The copyright dates for these classes begin in 2008, since SpawnProcess
code is derived from the EbuildFetcherAsync class which was added in
commit
e4edadf5ae7063f375d76be151c6d0e949980ecf in 2008.
Zac Medico [Thu, 18 Oct 2012 06:37:20 +0000 (23:37 -0700)]
ManifestTask: use null stdin when checking sig
Zac Medico [Thu, 18 Oct 2012 05:57:09 +0000 (22:57 -0700)]
Handle InvalidData from _pkg_str.
Zac Medico [Thu, 18 Oct 2012 05:34:17 +0000 (22:34 -0700)]
Remove old binhost protocol for bug #438640.
The old protocol has been deprecated since portage-2.1.6 (2009), so it
should be completely irrelevant now.
Zac Medico [Thu, 18 Oct 2012 04:58:08 +0000 (21:58 -0700)]
config.setcpv: use constructed _pkg_str for mycpv
Zac Medico [Thu, 18 Oct 2012 04:18:56 +0000 (21:18 -0700)]
emaint: sync MoveHandler check code with dbapi's
Zac Medico [Thu, 18 Oct 2012 04:06:00 +0000 (21:06 -0700)]
emaint: fix MoveHandler for EAPI 5 sub-slot
Zac Medico [Thu, 18 Oct 2012 03:43:17 +0000 (20:43 -0700)]
doebuild: fix REPLACING_VERSIONS EAPI 5 sub-slot
Zac Medico [Thu, 18 Oct 2012 03:32:20 +0000 (20:32 -0700)]
bintree/portree: fix getslot for EAPI 5 sub-slot
Zac Medico [Thu, 18 Oct 2012 03:12:33 +0000 (20:12 -0700)]
SecuritySet: fix for EAPI 5 sub-slot in SLOT
Zac Medico [Thu, 18 Oct 2012 03:06:45 +0000 (20:06 -0700)]
LibraryConsumerSet: fix for EAPI 5 sub-slot
Zac Medico [Thu, 18 Oct 2012 03:02:26 +0000 (20:02 -0700)]
StaticFileSet: fix for EAPI 5 sub-slot in SLOT
Zac Medico [Thu, 18 Oct 2012 02:51:52 +0000 (19:51 -0700)]
_sets/dbapi: fix for EAPI 5 sub-slot in SLOT
Zac Medico [Thu, 18 Oct 2012 02:35:09 +0000 (19:35 -0700)]
depgraph: fix for EAPI 5 sub-slot in SLOT
Zac Medico [Thu, 18 Oct 2012 02:09:49 +0000 (19:09 -0700)]
actions.py: use _pkg_str for EAPI 5 sub-slot
Zac Medico [Thu, 18 Oct 2012 01:59:40 +0000 (18:59 -0700)]
repoman: fix KEYWORDS.dropped for EAPI 5 sub-slot
Zac Medico [Thu, 18 Oct 2012 01:56:18 +0000 (18:56 -0700)]
getmaskingreason: use _pkg_str
Zac Medico [Thu, 18 Oct 2012 01:43:27 +0000 (18:43 -0700)]
ManifestTask: stricter gpg key comparison
Use normalization and == comparison instead of the "in" operator.
Zac Medico [Thu, 18 Oct 2012 01:24:34 +0000 (18:24 -0700)]
ManifestTask: use PopenProcess more
Zac Medico [Thu, 18 Oct 2012 01:23:11 +0000 (18:23 -0700)]
PopenProcess: child_watch_add if no pipe_reader
Zac Medico [Thu, 18 Oct 2012 01:02:50 +0000 (18:02 -0700)]
MaskManager: use _pkg_str