Fabian Groffen [Sun, 5 Sep 2010 19:26:15 +0000 (21:26 +0200)]
Merge remote branch 'overlays-gentoo-org/master' into prefix
Zac Medico [Sun, 5 Sep 2010 19:24:49 +0000 (12:24 -0700)]
Make LazyImportPortageBaselineTestCase use a PollScheduler instance
directly since TaskScheduler isn't really needed.
Zac Medico [Sun, 5 Sep 2010 19:20:47 +0000 (12:20 -0700)]
Make PipeReaderTestCase use a PollScheduler instance directly since
TaskScheduler isn't really needed.
Fabian Groffen [Sun, 5 Sep 2010 19:01:31 +0000 (21:01 +0200)]
report offset, fwiw
Fabian Groffen [Sun, 5 Sep 2010 19:00:07 +0000 (21:00 +0200)]
Merge remote branch 'overlays-gentoo-org/master' into prefix
Fabian Groffen [Sun, 5 Sep 2010 18:58:45 +0000 (20:58 +0200)]
print up-to-date copyright years
Zac Medico [Sun, 5 Sep 2010 18:55:59 +0000 (11:55 -0700)]
Bug #336085 - Fix logic error inside
slot_conflict_handler._prepare_conflict_msg_and_check_for_specificity()
which causes an irrelevant "use" collision reason to be passed to
highlight_violations().
Sebastian Luther [Sun, 5 Sep 2010 18:01:44 +0000 (11:01 -0700)]
Fix want_restart_for_use_change() to flatten deps before comparing tokens as sets.
Fabian Groffen [Sun, 5 Sep 2010 13:49:13 +0000 (15:49 +0200)]
Merge remote branch 'overlays-gentoo-org/master' into prefix
Conflicts:
bin/ebuild-helpers/4/dodoc
Fabian Groffen [Sun, 5 Sep 2010 13:42:02 +0000 (15:42 +0200)]
use right name, typo in the copy process
Zac Medico [Sun, 5 Sep 2010 12:17:10 +0000 (05:17 -0700)]
In IpcDaemonTestCase, assert that process and daemon isAlive() methods
return False after each run.
Fabian Groffen [Sun, 5 Sep 2010 11:58:16 +0000 (13:58 +0200)]
initialise config() with _eprefix set to the configured portage.const.EPREFIX val
Zac Medico [Sun, 5 Sep 2010 11:54:48 +0000 (04:54 -0700)]
Clean up and simplify PipeReaderTestCase.
Ulrich Mueller [Sun, 5 Sep 2010 11:52:14 +0000 (13:52 +0200)]
Update copyright header.
Ulrich Mueller [Sun, 5 Sep 2010 11:50:09 +0000 (13:50 +0200)]
dodoc, prepalldocs: Don't test for EAPI; use helpers in subdir 4 instead.
Zac Medico [Sun, 5 Sep 2010 11:39:03 +0000 (04:39 -0700)]
Add a test to check what portage submodules are imported by 'import portage', and assert that it doesn not rise above the current baseline.
Fabian Groffen [Sun, 5 Sep 2010 11:38:02 +0000 (13:38 +0200)]
Merge remote branch 'overlays-gentoo-org/master' into prefix
Conflicts:
bin/ebuild-helpers/prepinfo
pym/portage/const.py
Fabian Groffen [Sun, 5 Sep 2010 11:34:16 +0000 (13:34 +0200)]
always apply EPREFIX prepending to GLOBAL_CONFIG_PATH
Fabian Groffen [Sun, 5 Sep 2010 11:23:15 +0000 (13:23 +0200)]
document DEPCACHE_PATH GLOBAL_CONFIG_PATH getting EPREFIX-ed
Fabian Groffen [Sun, 5 Sep 2010 11:20:45 +0000 (13:20 +0200)]
DATADIR is no longer necessary, same trickery exists for GLOBAL_CONFIG_PATH as for DEPCACHE_PATH
Fabian Groffen [Sun, 5 Sep 2010 11:12:34 +0000 (13:12 +0200)]
initialise config() with _eprefix set to the configured portage.const.EPREFIX val
Ulrich Mueller [Fri, 3 Sep 2010 17:33:41 +0000 (19:33 +0200)]
Don't regenerate GNU Info if the dir contains a .keepinfodir file, bug 257260.
Zac Medico [Sun, 5 Sep 2010 09:39:35 +0000 (02:39 -0700)]
Make the "MASKED PACKAGES" section of the emerge man page refer to
package.accept_keywords instead of package.keywords.
Zac Medico [Sun, 5 Sep 2010 09:18:36 +0000 (02:18 -0700)]
Fix depgraph._wrapped_select_pkg_highest_available_imp() to check
USE settings for installed packages when --newuse is enabled.
Fabian Groffen [Sun, 5 Sep 2010 09:09:20 +0000 (11:09 +0200)]
Merge remote branch 'overlays-gentoo-org/master' into prefix
Fabian Groffen [Sun, 5 Sep 2010 09:08:06 +0000 (11:08 +0200)]
Split out LinkageMap{MachO,PeCoff,XCoff} in separate files like LinkageMapELF
Zac Medico [Sun, 5 Sep 2010 08:47:20 +0000 (01:47 -0700)]
Use lazy imports for CacheError and OrderedDict in the base portage
module.
Zac Medico [Sun, 5 Sep 2010 08:19:32 +0000 (01:19 -0700)]
Add a more generic AbstractEbuildProcess._elog() method to replace
the existing _eerror() method.
Zac Medico [Sun, 5 Sep 2010 07:56:44 +0000 (00:56 -0700)]
Make EbuildPhase._elog() use the NOCOLOR variable from self.settings,
so presence of color in the log file is consistent.
Fabian Groffen [Sun, 5 Sep 2010 07:51:51 +0000 (09:51 +0200)]
Merge remote branch 'overlays-gentoo-org/master' into prefix
Zac Medico [Sun, 5 Sep 2010 07:28:49 +0000 (00:28 -0700)]
Take the code which displays ebuild information before pkg_setup,
and move it from ebuild.sh to EbuildPhase. This way we can easily
use python to extend it for bug #336019.
Zac Medico [Sun, 5 Sep 2010 07:07:11 +0000 (00:07 -0700)]
Remove redundant initial os.sep argument to os.path.join() calls
involving EROOT.
Zac Medico [Sun, 5 Sep 2010 06:59:13 +0000 (23:59 -0700)]
In show_invalid_depstring_notice(), use normal Package attributes
instead of the old Task.__getitem__() approach that relies on
the values inside the hash key.
Zac Medico [Sun, 5 Sep 2010 06:23:54 +0000 (23:23 -0700)]
In AbstractEbuildProcess._start(), verify that PORTAGE_BUILDIR
exists and bail out if necessary.
Zac Medico [Sun, 5 Sep 2010 05:47:42 +0000 (22:47 -0700)]
Add scheduler._init_installed_graph() and _destroy_installed_graph()
methods and use them to free memory when calling _calc_resume_list()
for emerge --keep-going.
Zac Medico [Sun, 5 Sep 2010 00:09:31 +0000 (17:09 -0700)]
Refere to package.accept_keywords instead of package.keywords in
the release note about emerge --autounmask.
Zac Medico [Sat, 4 Sep 2010 23:39:13 +0000 (16:39 -0700)]
Ignore build-time blockers from DEPEND in
BlockerDB.findInstalledBlockers(), since the
given package should be built already.
Zac Medico [Sat, 4 Sep 2010 23:00:36 +0000 (16:00 -0700)]
Add a Scheduler._frozen_config attribute that will be useful for
dependency calculations related to aggressive parallelization
(bug #279623). The FakeVartree instances are shared with the
existing BlockerDB instances.
Fabian Groffen [Sat, 4 Sep 2010 18:29:59 +0000 (20:29 +0200)]
fix a double prefix caused by new EROOT-minded setup
Fabian Groffen [Sat, 4 Sep 2010 18:25:25 +0000 (20:25 +0200)]
Merge remote branch 'overlays-gentoo-org/master' into prefix
Fabian Groffen [Sat, 4 Sep 2010 18:24:43 +0000 (20:24 +0200)]
use EROOT with NEWS_LIB_PATH
Fabian Groffen [Sat, 4 Sep 2010 18:17:42 +0000 (20:17 +0200)]
use EROOT with WORLD_SETS_FILE
Fabian Groffen [Sat, 4 Sep 2010 18:11:31 +0000 (20:11 +0200)]
Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage
Arfrever Frehtes Taifersar Arahesis [Sat, 4 Sep 2010 18:10:50 +0000 (20:10 +0200)]
Don't set _, which is reserved for portage.localization._().
Fabian Groffen [Sat, 4 Sep 2010 18:08:53 +0000 (20:08 +0200)]
Merge branch 'master' of git+ssh://git.overlays.gentoo.org/proj/portage
Fabian Groffen [Sat, 4 Sep 2010 18:08:35 +0000 (20:08 +0200)]
use EROOT with WORLD_FILE
Zac Medico [Sat, 4 Sep 2010 17:59:10 +0000 (10:59 -0700)]
Remove redundant writemsg_stdout() call in search.output() which causes
duplicate emerge --search output when package sets are matched.
Fabian Groffen [Sat, 4 Sep 2010 17:57:53 +0000 (19:57 +0200)]
use EROOT with CACHE_PATH
Fabian Groffen [Sat, 4 Sep 2010 17:57:34 +0000 (19:57 +0200)]
use EROOT with VDB_PATH
Fabian Groffen [Sat, 4 Sep 2010 17:43:53 +0000 (19:43 +0200)]
use EROOT with VDB_PATH
Fabian Groffen [Sat, 4 Sep 2010 17:29:22 +0000 (19:29 +0200)]
Merge remote branch 'overlays-gentoo-org/master' into prefix
Dropped EPREFIX from vars that are used with target_root accordingly.
Conflicts:
pym/portage/const.py
Fabian Groffen [Sat, 4 Sep 2010 17:21:21 +0000 (19:21 +0200)]
fix comments to match latest intentions in the code
Arfrever Frehtes Taifersar Arahesis [Sat, 4 Sep 2010 16:53:26 +0000 (18:53 +0200)]
Fix typo.
Fabian Groffen [Sat, 4 Sep 2010 09:38:58 +0000 (11:38 +0200)]
Merge remote branch 'overlays-gentoo-org/master' into prefix
Zac Medico [Sat, 4 Sep 2010 09:02:29 +0000 (02:02 -0700)]
In BinpkgExtractorAsync, add -q to bzip2 opts, in order to avoid
"trailing garbage after EOF ignored" warning messages due to xpak
trailer.
Zac Medico [Sat, 4 Sep 2010 06:51:31 +0000 (23:51 -0700)]
Replace svn-trunk with VERSION in doc/fragment/version, for use as a
sed template as is done with the man page headers.
Zac Medico [Sat, 4 Sep 2010 06:35:47 +0000 (23:35 -0700)]
Add missing portage import in portage.locks.
Zac Medico [Sat, 4 Sep 2010 06:25:24 +0000 (23:25 -0700)]
In the short timeout test for QueueScheduler.run(), assert that the
subprocess has stopped.
Zac Medico [Sat, 4 Sep 2010 06:16:55 +0000 (23:16 -0700)]
Add back PortageException handler inside mod_mail_summary.finalize()
since portage.mail.send_mail() can raise this exception.
Zac Medico [Sat, 4 Sep 2010 06:00:55 +0000 (23:00 -0700)]
Make ebuild-ipc.py call portage._disable_legacy_globals() since it
doesn't need any of that stuff.
Zac Medico [Sat, 4 Sep 2010 05:51:59 +0000 (22:51 -0700)]
Make portage.locks avoid importing the portage.output module when in
quiet mode. This is one less import triggered by ebuild-ipc.py, which
should be as lightweight as possible.
Zac Medico [Sat, 4 Sep 2010 05:39:15 +0000 (22:39 -0700)]
Move registration of the close_portdbapi_caches() exit hook from the
portage base module to the portree module, so that the base portage
module can be imported without triggering import of the portage.process
(for atexit_register) and portage.dbapi.porttree modules. Also, don't
bother to commit the mtimedb in the exit hook since it's not really
needed.
Zac Medico [Sat, 4 Sep 2010 05:08:26 +0000 (22:08 -0700)]
Use a lazy import for portage.dep instide portage.util.
Zac Medico [Sat, 4 Sep 2010 04:56:48 +0000 (21:56 -0700)]
Move portage.locks imports to the top of the file.
Zac Medico [Sat, 4 Sep 2010 01:26:57 +0000 (18:26 -0700)]
Adjust AlarmSignal.unregister() call in ebuild-ipc.
Zac Medico [Sat, 4 Sep 2010 01:19:16 +0000 (18:19 -0700)]
Use AlarmSignal for timout handling in mod_mail_summary.finalize().
Zac Medico [Sat, 4 Sep 2010 01:11:00 +0000 (18:11 -0700)]
Make AlarmSignal._signal_handler() restore the default SIGALRM
handler.
Zac Medico [Sat, 4 Sep 2010 01:05:12 +0000 (18:05 -0700)]
Use AlarmSignal for timeout handling in elog_process().
Zac Medico [Sat, 4 Sep 2010 01:02:29 +0000 (18:02 -0700)]
Fix breakage from previous commit.
Zac Medico [Sat, 4 Sep 2010 00:50:53 +0000 (17:50 -0700)]
Move AlarmSignal.unregister() call to a better place in action_sync().
Zac Medico [Sat, 4 Sep 2010 00:47:22 +0000 (17:47 -0700)]
Use AlarmSignal for alarm timeout in action_sync().
Zac Medico [Sat, 4 Sep 2010 00:23:08 +0000 (17:23 -0700)]
Make AlarmSignal.register() require a time parameter and pass it to
signal.alarm().
Zac Medico [Sat, 4 Sep 2010 00:11:03 +0000 (17:11 -0700)]
Add AlarmSignal.register() and unregister() classmethods in order to
handle interaction with the signal module.
Zac Medico [Fri, 3 Sep 2010 22:39:15 +0000 (15:39 -0700)]
Add a test case for intentionally short timeout with QueueScheduler.run().
Zac Medico [Fri, 3 Sep 2010 21:23:58 +0000 (14:23 -0700)]
Add support for a timeout argument to QueueScheduler.run() and
use it in IpcDaemonTestCase to implement a 40 second timeout
in test cases.
Zac Medico [Fri, 3 Sep 2010 21:17:12 +0000 (14:17 -0700)]
Bug #335777 - Add a 40 second timeout in ebuild-ipc.py, so that if an
orphan is left for any reason then it will exit with an error message
instead of hanging indefinitely.
Zac Medico [Fri, 3 Sep 2010 21:11:07 +0000 (14:11 -0700)]
Account for package.use.force/mask in previous commit.
Sebastian Luther [Fri, 3 Sep 2010 20:42:05 +0000 (22:42 +0200)]
autounmask: Don't print masked/forced flags in "required by" comments
Sebastian Luther [Fri, 3 Sep 2010 20:23:11 +0000 (22:23 +0200)]
Old "Change USE" message: Don't screw up if the highest version is masked and parent changes exist
Fabian Groffen [Fri, 3 Sep 2010 15:37:28 +0000 (17:37 +0200)]
Merge remote branch 'overlays-gentoo-org/master' into prefix
Conflicts:
bin/ebuild.sh
pym/portage/package/ebuild/config.py
Fabian Groffen [Fri, 3 Sep 2010 15:34:38 +0000 (17:34 +0200)]
Add changes to files from merge
94ce7d2
Fabian Groffen [Fri, 3 Sep 2010 15:30:54 +0000 (17:30 +0200)]
Merge remote branch 'overlays-gentoo-org/master' into prefix
Conflicts:
bin/ebuild
bin/ebuild-helpers/ecompressdir
bin/ebuild-helpers/prepalldocs
bin/ebuild-helpers/prepallman
bin/ebuild-helpers/prepinfo
bin/ebuild-helpers/prepman
bin/egencache
bin/regenworld
mkrelease.sh
pym/_emerge/AtomArg.py
pym/_emerge/Binpkg.py
pym/_emerge/BinpkgExtractorAsync.py
pym/_emerge/Blocker.py
pym/_emerge/Package.py
pym/_emerge/actions.py
pym/_emerge/depgraph.py
pym/portage/_legacy_globals.py
pym/portage/data.py
pym/portage/dbapi/vartree.py
pym/portage/package/ebuild/config.py
pym/portage/package/ebuild/fetch.py
Zac Medico [Fri, 3 Sep 2010 11:05:54 +0000 (04:05 -0700)]
Make emerge display a warning message if FEATURES contains keepwork
or keeptemp since these features may confuse users and lead them
to report invalid bugs.
Zac Medico [Fri, 3 Sep 2010 07:49:10 +0000 (00:49 -0700)]
Fix VDB_PATH handling in ebuild(1) to join with EROOT.
Zac Medico [Fri, 3 Sep 2010 06:21:06 +0000 (23:21 -0700)]
Add a "Delayed Evaluation of Disjunctive Dependency Choices" section
to depenency resolution documentation.
Zac Medico [Fri, 3 Sep 2010 01:54:47 +0000 (18:54 -0700)]
Unify to different pieces of code that handle sandbox considerations for
TEMP, TMP, and TMPDIR variables.
Zac Medico [Thu, 2 Sep 2010 22:08:35 +0000 (15:08 -0700)]
Fix whenago() to show times as integers instead of floats.
Zac Medico [Thu, 2 Sep 2010 21:33:48 +0000 (14:33 -0700)]
Add backward compatible config.pmaskdict and punmaskdict properties
that return copies of the corresponding MaskManager attributes. This
is safe since MaskManager now stores the values in these dicts as
immutable tuples.
Zac Medico [Thu, 2 Sep 2010 21:32:12 +0000 (14:32 -0700)]
Make MaskManager use tuples for values inside _pmaskdict and
_punmaskdict.
Zac Medico [Thu, 2 Sep 2010 21:31:35 +0000 (14:31 -0700)]
Implement ExtendedAtomDict.copy().
Zac Medico [Thu, 2 Sep 2010 21:10:51 +0000 (14:10 -0700)]
Bug #335620 - Add backward compatible config.virtuals and virts_p
properties, and trigger a DeprecationWarning if they are accessed.
Zac Medico [Thu, 2 Sep 2010 20:15:10 +0000 (13:15 -0700)]
Prevent local x variable in ebuild_main() from showing up in
environment.bz2.
Zac Medico [Thu, 2 Sep 2010 20:06:08 +0000 (13:06 -0700)]
Prevent the local filter_opts variable in filter_readonly_variables()
from being saved in environment.bz2.
Zac Medico [Thu, 2 Sep 2010 19:56:24 +0000 (12:56 -0700)]
Filter more variables that don't need to end up in environment.bz2.
Zac Medico [Thu, 2 Sep 2010 19:54:50 +0000 (12:54 -0700)]
Fix breakage for python3 from trying to mix bytes and unicode in
load_default_config().
Zac Medico [Thu, 2 Sep 2010 19:24:02 +0000 (12:24 -0700)]
Add a _SANDBOX_COMPAT_LEVEL constant which will be used to enable
a workaround for bug #288863 in the stable branch.
Fabian Groffen [Thu, 2 Sep 2010 19:23:05 +0000 (21:23 +0200)]
make sure we avoid double slashes
Cygwin is kind of allergic to them, as on windows two starting slashes
typically mean somethinglike network share/access. Bug #334271
Zac Medico [Thu, 2 Sep 2010 19:13:59 +0000 (12:13 -0700)]
When signaling successful exit from an ebuild phase via ebuild-ipc,
first check for non-empty $SANDBOX_LOG and signal unsuccessful exit
if necessary. This fixes an issue with phases being treated as
successful even when there were sandbox violations.
Michał Górny [Thu, 2 Sep 2010 18:31:12 +0000 (20:31 +0200)]
Omit dotfiles in /usr/share/portage/config/sets (e.g. vim swapfiles).
Zac Medico [Thu, 2 Sep 2010 18:00:56 +0000 (11:00 -0700)]
Bug #248603 - Add a _ENABLE_REPO_NAME_WARN constant that's used to
disable warnings about "missing repo_name entries" for the stable
branch.