* [gentoo-commits] proj/portage:multilib commit in: pym/portage/
@ 2011-02-06 13:09 Thomas Sachau
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Sachau @ 2011-02-06 13:09 UTC (permalink / raw
To: gentoo-commits
commit: d055cc9b6e46f37193841ef89843493e0d61ee7b
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 25 20:40:54 2011 +0000
Commit: Thomas Sachau <tommy <AT> gentoo <DOT> org>
CommitDate: Tue Jan 25 20:40:54 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=d055cc9b
grab_updates: return all after first modified
This ensures that all relevant updates are returned for cases
in which the destination package of an earlier move corresponds to
the source package of a move that comes somewhere later in the entire
sequence of files.
---
pym/portage/update.py | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/pym/portage/update.py b/pym/portage/update.py
index 37cab25..bac09c2 100644
--- a/pym/portage/update.py
+++ b/pym/portage/update.py
@@ -99,7 +99,14 @@ def fixdbentries(update_iter, dbdir):
def grab_updates(updpath, prev_mtimes=None):
"""Returns all the updates from the given directory as a sorted list of
tuples, each containing (file_path, statobj, content). If prev_mtimes is
- given then only updates with differing mtimes are considered."""
+ given then updates are only returned if one or more files have different
+ mtimes. When a change is detected for a given file, updates will be
+ returned for that file and any files that come after it in the entire
+ sequence. This ensures that all relevant updates are returned for cases
+ in which the destination package of an earlier move corresponds to
+ the source package of a move that comes somewhere later in the entire
+ sequence of files.
+ """
try:
mylist = os.listdir(updpath)
except OSError as oe:
@@ -122,8 +129,9 @@ def grab_updates(updpath, prev_mtimes=None):
for myfile in mylist:
file_path = os.path.join(updpath, myfile)
mystat = os.stat(file_path)
- if file_path not in prev_mtimes or \
- long(prev_mtimes[file_path]) != mystat[stat.ST_MTIME]:
+ if update_data or \
+ file_path not in prev_mtimes or \
+ long(prev_mtimes[file_path]) != mystat[stat.ST_MTIME]:
content = codecs.open(_unicode_encode(file_path,
encoding=_encodings['fs'], errors='strict'),
mode='r', encoding=_encodings['repo.content'], errors='replace'
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/portage:multilib commit in: pym/portage/
@ 2011-02-06 13:09 Thomas Sachau
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Sachau @ 2011-02-06 13:09 UTC (permalink / raw
To: gentoo-commits
commit: e06065bffc3f1764500fddf870f4cdccef19e2b8
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 08:02:34 2011 +0000
Commit: Thomas Sachau <tommy <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 08:02:34 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=e06065bf
Fix selinux import error handling.
---
pym/portage/__init__.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 374d077..9732a74 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -309,6 +309,7 @@ shutil = _unicode_module_wrapper(_shutil, encoding=_encodings['fs'])
# Imports below this point rely on the above unicode wrapper definitions.
try:
+ __import__('selinux')
import portage._selinux
selinux = _unicode_module_wrapper(_selinux,
encoding=_encodings['fs'])
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/portage:multilib commit in: pym/portage/
@ 2011-02-06 13:09 Thomas Sachau
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Sachau @ 2011-02-06 13:09 UTC (permalink / raw
To: gentoo-commits
commit: ed29c59f845cc1edbea630bb7e431bec8081e02d
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 1 04:47:57 2011 +0000
Commit: Thomas Sachau <tommy <AT> gentoo <DOT> org>
CommitDate: Tue Feb 1 04:47:57 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ed29c59f
_exec: use default SIGINT/TERM handlers
Avoid issues like bug #353239.
---
pym/portage/process.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/pym/portage/process.py b/pym/portage/process.py
index 00fe4a5..3c15370 100644
--- a/pym/portage/process.py
+++ b/pym/portage/process.py
@@ -349,6 +349,11 @@ def _exec(binary, mycommand, opt_name, fd_pipes, env, gid, groups, uid, umask,
myargs = [opt_name]
myargs.extend(mycommand[1:])
+ # Use default signal handlers in order to avoid problems
+ # killing subprocesses as reported in bug #353239.
+ signal.signal(signal.SIGINT, signal.SIG_DFL)
+ signal.signal(signal.SIGTERM, signal.SIG_DFL)
+
# Quiet killing of subprocesses by SIGPIPE (see bug #309001).
signal.signal(signal.SIGPIPE, signal.SIG_DFL)
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/portage:multilib commit in: pym/portage/
@ 2012-02-26 16:27 Thomas Sachau
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Sachau @ 2012-02-26 16:27 UTC (permalink / raw
To: gentoo-commits
commit: 508c578f765479b7d9fe15cc8126a29e3b934b2b
Author: Thomas Sachau <tommy <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 26 12:39:22 2012 +0000
Commit: Thomas Sachau <tommy <AT> gentoo <DOT> org>
CommitDate: Sun Feb 26 12:39:22 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=508c578f
Keep VERSION var to HEAD
---
pym/portage/__init__.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 72a6817..3495b96 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -2,7 +2,7 @@
# Copyright 1998-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-VERSION="2.2_rc67-r8"
+VERSION="HEAD"
# ===========================================================================
# START OF IMPORTS -- START OF IMPORTS -- START OF IMPORTS -- START OF IMPORT
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/portage:multilib commit in: pym/portage/
@ 2012-02-26 16:27 Thomas Sachau
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Sachau @ 2012-02-26 16:27 UTC (permalink / raw
To: gentoo-commits
commit: 9a678b3d620311e0ffb76e0001dcb229da8ba009
Author: Thomas Sachau <tommy <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 26 13:20:01 2012 +0000
Commit: Thomas Sachau <tommy <AT> gentoo <DOT> org>
CommitDate: Sun Feb 26 13:20:01 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=9a678b3d
Add force-multilib to the list of supported FEATURES
---
pym/portage/const.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pym/portage/const.py b/pym/portage/const.py
index 1858955..90fa952 100644
--- a/pym/portage/const.py
+++ b/pym/portage/const.py
@@ -92,7 +92,7 @@ SUPPORTED_FEATURES = frozenset([
"collision-protect", "compress-build-logs", "compressdebug",
"config-protect-if-modified",
"digest", "distcc", "distcc-pump", "distlocks", "ebuild-locks", "fakeroot",
- "fail-clean", "force-mirror", "force-prefix", "getbinpkg",
+ "fail-clean", "force-mirror", "force-multilib", "force-prefix", "getbinpkg",
"installsources", "keeptemp", "keepwork", "fixlafiles", "lmirror",
"metadata-transfer", "mirror", "multilib-strict", "news",
"noauto", "noclean", "nodoc", "noinfo", "noman",
^ permalink raw reply related [flat|nested] 6+ messages in thread
* [gentoo-commits] proj/portage:multilib commit in: pym/portage/
@ 2012-03-19 0:08 Thomas Sachau
0 siblings, 0 replies; 6+ messages in thread
From: Thomas Sachau @ 2012-03-19 0:08 UTC (permalink / raw
To: gentoo-commits
commit: dcf5750e791f12502ecc6640523f07b9650cd5b2
Author: Thomas Sachau <tommy <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 19 00:07:41 2012 +0000
Commit: Thomas Sachau <tommy <AT> gentoo <DOT> org>
CommitDate: Mon Mar 19 00:07:41 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=dcf5750e
Make wrapping restriction incrementional
---
pym/portage/const.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pym/portage/const.py b/pym/portage/const.py
index 90fa952..95064dd 100644
--- a/pym/portage/const.py
+++ b/pym/portage/const.py
@@ -81,7 +81,7 @@ INCREMENTALS = ("USE", "USE_EXPAND", "USE_EXPAND_HIDDEN",
"CONFIG_PROTECT_MASK", "CONFIG_PROTECT",
"PRELINK_PATH", "PRELINK_PATH_MASK",
"PROFILE_ONLY_VARIABLES",
- "NO_AUTO_FLAG", "MULTILIB_BINARIES")
+ "NO_AUTO_FLAG", "RESTRICT_MULTILIB_BINARIES")
EBUILD_PHASES = ("pretend", "setup", "unpack", "prepare", "configure",
"compile", "test", "install",
"package", "preinst", "postinst","prerm", "postrm",
^ permalink raw reply related [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-03-19 0:08 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-26 16:27 [gentoo-commits] proj/portage:multilib commit in: pym/portage/ Thomas Sachau
-- strict thread matches above, loose matches on Subject: below --
2012-03-19 0:08 Thomas Sachau
2012-02-26 16:27 Thomas Sachau
2011-02-06 13:09 Thomas Sachau
2011-02-06 13:09 Thomas Sachau
2011-02-06 13:09 Thomas Sachau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox