From: "André Erdmann" <dywi@mailerd.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/overlay/
Date: Wed, 1 Aug 2012 21:10:35 +0000 (UTC) [thread overview]
Message-ID: <1343823422.91736d8f9c07b1d64c42b6ddb0ab6b7da80ceb99.dywi@gentoo> (raw)
commit: 91736d8f9c07b1d64c42b6ddb0ab6b7da80ceb99
Author: André Erdmann <dywi <AT> mailerd <DOT> de>
AuthorDate: Wed Aug 1 12:17:02 2012 +0000
Commit: André Erdmann <dywi <AT> mailerd <DOT> de>
CommitDate: Wed Aug 1 12:17:02 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=91736d8f
actually skip manifest creation with --no-manifest
---
roverlay/overlay/category.py | 13 +++++++------
roverlay/overlay/root.py | 12 ++++++------
2 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/roverlay/overlay/category.py b/roverlay/overlay/category.py
index 6623446..3551b81 100644
--- a/roverlay/overlay/category.py
+++ b/roverlay/overlay/category.py
@@ -137,7 +137,7 @@ class Category ( object ):
overwrite_ebuilds,
keep_n_ebuilds,
cautious,
- skip_manifest=False
+ write_manifest
):
"""Writes this category to its filesystem location.
@@ -205,14 +205,15 @@ class Category ( object ):
# write manifest files
# fixme: debug print
- #self.logger.info ( "Writing Manifest files for {}".format ( name ) )
- print ( "Writing Manifest files ..." )
- for package in self._subdirs.values():
- package.write_manifest ( ignore_empty=True )
+ if write_manifest:
+ #self.logger.info ( "Writing Manifest files for {}".format ( name ) )
+ print ( "Writing Manifest files ..." )
+ for package in self._subdirs.values():
+ package.write_manifest ( ignore_empty=True )
else:
for package in self._subdirs.values():
- package.write ( **write_kwargs )
+ package.write ( write_manifest=write_manifest, **write_kwargs )
self.remove_empty()
# --- end of write (...) ---
diff --git a/roverlay/overlay/root.py b/roverlay/overlay/root.py
index 53babdf..3efdf66 100644
--- a/roverlay/overlay/root.py
+++ b/roverlay/overlay/root.py
@@ -330,10 +330,10 @@ class Overlay ( object ):
for cat in self._categories.values():
cat.write (
- overwrite_ebuilds=False,
- keep_n_ebuilds=config.get ( 'OVERLAY.keep_nth_latest', None ),
- cautious=True,
- skip_manifest=self.skip_manifest
+ overwrite_ebuilds = False,
+ keep_n_ebuilds = config.get ( 'OVERLAY.keep_nth_latest', None ),
+ cautious = True,
+ write_manifest = not self.skip_manifest
)
else:
# FIXME debug print
@@ -353,11 +353,11 @@ class Overlay ( object ):
returns: None (implicit)
"""
- if self._writeable:
+ if self._writeable and not self.skip_manifest:
# FIXME: it would be good to ensure that profiles/categories exist
for cat in self._categories.values():
cat.write_manifest ( **manifest_kw )
- else:
+ elif not self.skip_manifest:
# FIXME debug print
print (
"Dropped write_manifest request for readonly overlay {}!".format (
next reply other threads:[~2012-08-01 21:11 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-01 21:10 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-07-30 15:53 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=1343823422.91736d8f9c07b1d64c42b6ddb0ab6b7da80ceb99.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