From: "André Erdmann" <dywi@mailerd.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/overlay/
Date: Mon, 30 Jul 2012 15:53:20 +0000 (UTC) [thread overview]
Message-ID: <1343663611.2d4af7c3ebe183400bcb0b732518e03d189cf35b.dywi@gentoo> (raw)
commit: 2d4af7c3ebe183400bcb0b732518e03d189cf35b
Author: André Erdmann <dywi <AT> mailerd <DOT> de>
AuthorDate: Mon Jul 30 15:50:05 2012 +0000
Commit: André Erdmann <dywi <AT> mailerd <DOT> de>
CommitDate: Mon Jul 30 15:53:31 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=2d4af7c3
overlay: skip_manifest
---
roverlay/overlay/category.py | 7 ++++++-
roverlay/overlay/creator.py | 5 +++--
roverlay/overlay/root.py | 10 +++++++++-
3 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/roverlay/overlay/category.py b/roverlay/overlay/category.py
index 2d66246..6623446 100644
--- a/roverlay/overlay/category.py
+++ b/roverlay/overlay/category.py
@@ -133,7 +133,12 @@ class Category ( object ):
package.show ( **show_kw )
# --- end of show (...) ---
- def write ( self, overwrite_ebuilds, keep_n_ebuilds, cautious ):
+ def write ( self,
+ overwrite_ebuilds,
+ keep_n_ebuilds,
+ cautious,
+ skip_manifest=False
+ ):
"""Writes this category to its filesystem location.
returns: None (implicit)
diff --git a/roverlay/overlay/creator.py b/roverlay/overlay/creator.py
index 5b0a973..5f346fe 100644
--- a/roverlay/overlay/creator.py
+++ b/roverlay/overlay/creator.py
@@ -72,7 +72,7 @@ class OverlayCreator ( object ):
LOGGER = logging.getLogger ( 'OverlayCreator' )
- def __init__ ( self, logger=None, allow_write=True ):
+ def __init__ ( self, skip_manifest, logger=None, allow_write=True ):
if logger is None:
self.logger = self.__class__.LOGGER
@@ -91,7 +91,8 @@ class OverlayCreator ( object ):
eclass_files = config.get ( 'OVERLAY.eclass_files', None ),
ebuild_header = config.get ( 'EBUILD.default_header', None ),
incremental = USE_INCREMENTAL_WRITE,
- write_allowed = allow_write
+ write_allowed = allow_write,
+ skip_manifest = skip_manifest
)
self.depresolver = easyresolver.setup ( self._err_queue )
diff --git a/roverlay/overlay/root.py b/roverlay/overlay/root.py
index ae3267f..53babdf 100644
--- a/roverlay/overlay/root.py
+++ b/roverlay/overlay/root.py
@@ -30,6 +30,7 @@ class Overlay ( object ):
ebuild_header,
write_allowed,
incremental,
+ skip_manifest,
runtime_incremental=True
):
"""Initializes an overlay.
@@ -47,8 +48,12 @@ class Overlay ( object ):
* incremental -- enable/disable incremental writing:
use already existing ebuilds (don't recreate
them)
+ * skip_manifest -- skip Manifest generation to save time
+ !!! The created overlay cannot be used with
+ emerge/portage
* runtime_incremental -- see package.py:PackageDir.__init__ (...),
Defaults to ?FIXME?
+
"""
self.name = name
self.logger = logger.getChild ( 'overlay' )
@@ -66,6 +71,8 @@ class Overlay ( object ):
self._categories = dict()
self._header = EbuildHeader ( ebuild_header )
+ self.skip_manifest = skip_manifest
+
# fixme or ignore: calculating eclass names twice,
# once here and another time when calling _init_overlay
self._header.set_eclasses ( frozenset (
@@ -325,7 +332,8 @@ class Overlay ( object ):
cat.write (
overwrite_ebuilds=False,
keep_n_ebuilds=config.get ( 'OVERLAY.keep_nth_latest', None ),
- cautious=True
+ cautious=True,
+ skip_manifest=self.skip_manifest
)
else:
# FIXME debug print
next reply other threads:[~2012-07-30 15:54 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-30 15:53 André Erdmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2014-08-23 19:03 [gentoo-commits] proj/R_overlay:master commit in: roverlay/overlay/ André Erdmann
2014-07-29 18:29 ` André Erdmann
2014-07-18 16:20 André Erdmann
2014-07-18 2:28 [gentoo-commits] proj/R_overlay:wip/addition_control " André Erdmann
2014-07-18 16:20 ` [gentoo-commits] proj/R_overlay:master " André Erdmann
2014-07-18 2:28 [gentoo-commits] proj/R_overlay:wip/addition_control " André Erdmann
2014-07-18 16:20 ` [gentoo-commits] proj/R_overlay:master " André Erdmann
2014-04-01 16:38 André Erdmann
2013-09-18 14:00 André Erdmann
2013-09-17 13:49 André Erdmann
2013-09-03 15:51 André Erdmann
2013-09-03 13:15 André Erdmann
2013-09-03 8:35 André Erdmann
2013-09-02 16:21 André Erdmann
2013-09-02 16:21 André Erdmann
2013-08-29 12:36 André Erdmann
2013-08-20 21:46 André Erdmann
2013-08-20 21:46 André Erdmann
2013-07-29 14:56 André Erdmann
2013-07-10 15:10 [gentoo-commits] proj/R_overlay:gsoc13/next " André Erdmann
2013-07-10 16:16 ` [gentoo-commits] proj/R_overlay:master " André Erdmann
2013-06-22 15:24 André Erdmann
2013-06-18 14:12 André Erdmann
2013-06-13 16:34 André Erdmann
2013-04-25 16:44 André Erdmann
2013-04-25 16:44 André Erdmann
2013-02-09 21:28 André Erdmann
2013-02-09 20:45 André Erdmann
2013-02-09 20:45 André Erdmann
2013-01-30 20:16 André Erdmann
2012-08-17 17:26 André Erdmann
2012-08-03 13:38 André Erdmann
2012-08-01 21:10 André Erdmann
2012-07-30 8:52 André Erdmann
2012-07-30 8:52 André Erdmann
2012-07-24 16:59 [gentoo-commits] proj/R_overlay:overlay_wip " André Erdmann
2012-07-30 8:52 ` [gentoo-commits] proj/R_overlay:master " André Erdmann
2012-07-05 16:00 André Erdmann
2012-07-04 18:21 André Erdmann
2012-07-03 17:48 André Erdmann
2012-06-27 14:46 André Erdmann
2012-06-26 15:42 André Erdmann
2012-06-22 18:13 André Erdmann
2012-06-21 16:55 André Erdmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1343663611.2d4af7c3ebe183400bcb0b732518e03d189cf35b.dywi@gentoo \
--to=dywi@mailerd.de \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox