public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "André Erdmann" <dywi@mailerd.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/R_overlay:gsoc13/next commit in: roverlay/config/, roverlay/
Date: Sat, 22 Jun 2013 15:14:27 +0000 (UTC)	[thread overview]
Message-ID: <1371913528.aeaedce89d9a55c4f1bff62bd694eecd08b1f547.dywi@gentoo> (raw)

commit:     aeaedce89d9a55c4f1bff62bd694eecd08b1f547
Author:     André Erdmann <dywi <AT> mailerd <DOT> de>
AuthorDate: Sat Jun 22 15:05:28 2013 +0000
Commit:     André Erdmann <dywi <AT> mailerd <DOT> de>
CommitDate: Sat Jun 22 15:05:28 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=aeaedce8

config, argutil: verify distmap

---
 roverlay/argutil.py         | 12 +++++++++++-
 roverlay/config/entrymap.py |  6 ++++++
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/roverlay/argutil.py b/roverlay/argutil.py
index fe541ac..34147d7 100644
--- a/roverlay/argutil.py
+++ b/roverlay/argutil.py
@@ -262,6 +262,13 @@ def get_parser ( command_map, default_config_file, default_command='create' ):
    )
 
    arg (
+      '--distmap-verify', default=argparse.SUPPRESS,
+      help   = 'check integrity of files in OVERLAY_DISTDIR_ROOT',
+      dest   = 'distmap_verify',
+      action = 'store_true',
+   )
+
+   arg (
       '--stats',
       help="print some stats",
       dest="stats",
@@ -439,7 +446,7 @@ def parse_argv ( command_map, **kw ):
 
    if given ( 'distdirs' ):
       if given ( 'distroot' ):
-         raise Exception ( "--distdir and --disroot are mutually exclusive!" )
+         raise Exception ( "--distdir and --distroot are mutually exclusive!" )
 
       doconf ( (), 'REPO.config_files' )
       extra ['distdirs'] = frozenset ( p.distdirs )
@@ -458,6 +465,9 @@ def parse_argv ( command_map, **kw ):
    if given ( 'manifest_implementation' ):
       doconf ( p.manifest_implementation, 'OVERLAY.manifest_implementation' )
 
+   if given ( 'distmap_verify' ):
+      doconf ( p.distmap_verify, 'OVERLAY.DISTDIR.verify' )
+
 
    return ( commands, p.config, conf, extra )
 # --- end of parse_argv (...) ---

diff --git a/roverlay/config/entrymap.py b/roverlay/config/entrymap.py
index 0176964..136b4b5 100644
--- a/roverlay/config/entrymap.py
+++ b/roverlay/config/entrymap.py
@@ -301,6 +301,11 @@ CONFIG_ENTRY_MAP = dict (
       value_type  = yesno,
    ),
 
+   overlay_distdir_verify = dict (
+      description = 'check integrity of distdir files on startup',
+      value_type  = yesno,
+   ),
+
    # * alias
    backup_desc               = 'overlay_backup_desc',
    eclass                    = 'overlay_eclass',
@@ -310,6 +315,7 @@ CONFIG_ENTRY_MAP = dict (
    distdir                   = 'overlay_distdir_root',
    distdir_strategy          = 'overlay_distdir_strategy',
    distdir_flat              = 'overlay_distdir_flat',
+   distdir_verify            = 'overlay_distdir_verify',
 
    # --- overlay
 


WARNING: multiple messages have this Message-ID (diff)
From: "André Erdmann" <dywi@mailerd.de>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/config/, roverlay/
Date: Sat, 22 Jun 2013 15:24:20 +0000 (UTC)	[thread overview]
Message-ID: <1371913528.aeaedce89d9a55c4f1bff62bd694eecd08b1f547.dywi@gentoo> (raw)
Message-ID: <20130622152420.AEQfH3VA3wzDVS8h9eXGNgvmXBLbHe2bpp_nmoP2Kqc@z> (raw)

commit:     aeaedce89d9a55c4f1bff62bd694eecd08b1f547
Author:     André Erdmann <dywi <AT> mailerd <DOT> de>
AuthorDate: Sat Jun 22 15:05:28 2013 +0000
Commit:     André Erdmann <dywi <AT> mailerd <DOT> de>
CommitDate: Sat Jun 22 15:05:28 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=aeaedce8

config, argutil: verify distmap

---
 roverlay/argutil.py         | 12 +++++++++++-
 roverlay/config/entrymap.py |  6 ++++++
 2 files changed, 17 insertions(+), 1 deletion(-)

diff --git a/roverlay/argutil.py b/roverlay/argutil.py
index fe541ac..34147d7 100644
--- a/roverlay/argutil.py
+++ b/roverlay/argutil.py
@@ -262,6 +262,13 @@ def get_parser ( command_map, default_config_file, default_command='create' ):
    )
 
    arg (
+      '--distmap-verify', default=argparse.SUPPRESS,
+      help   = 'check integrity of files in OVERLAY_DISTDIR_ROOT',
+      dest   = 'distmap_verify',
+      action = 'store_true',
+   )
+
+   arg (
       '--stats',
       help="print some stats",
       dest="stats",
@@ -439,7 +446,7 @@ def parse_argv ( command_map, **kw ):
 
    if given ( 'distdirs' ):
       if given ( 'distroot' ):
-         raise Exception ( "--distdir and --disroot are mutually exclusive!" )
+         raise Exception ( "--distdir and --distroot are mutually exclusive!" )
 
       doconf ( (), 'REPO.config_files' )
       extra ['distdirs'] = frozenset ( p.distdirs )
@@ -458,6 +465,9 @@ def parse_argv ( command_map, **kw ):
    if given ( 'manifest_implementation' ):
       doconf ( p.manifest_implementation, 'OVERLAY.manifest_implementation' )
 
+   if given ( 'distmap_verify' ):
+      doconf ( p.distmap_verify, 'OVERLAY.DISTDIR.verify' )
+
 
    return ( commands, p.config, conf, extra )
 # --- end of parse_argv (...) ---

diff --git a/roverlay/config/entrymap.py b/roverlay/config/entrymap.py
index 0176964..136b4b5 100644
--- a/roverlay/config/entrymap.py
+++ b/roverlay/config/entrymap.py
@@ -301,6 +301,11 @@ CONFIG_ENTRY_MAP = dict (
       value_type  = yesno,
    ),
 
+   overlay_distdir_verify = dict (
+      description = 'check integrity of distdir files on startup',
+      value_type  = yesno,
+   ),
+
    # * alias
    backup_desc               = 'overlay_backup_desc',
    eclass                    = 'overlay_eclass',
@@ -310,6 +315,7 @@ CONFIG_ENTRY_MAP = dict (
    distdir                   = 'overlay_distdir_root',
    distdir_strategy          = 'overlay_distdir_strategy',
    distdir_flat              = 'overlay_distdir_flat',
+   distdir_verify            = 'overlay_distdir_verify',
 
    # --- overlay
 


             reply	other threads:[~2013-06-22 15:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-22 15:14 André Erdmann [this message]
2013-06-22 15:24 ` [gentoo-commits] proj/R_overlay:master commit in: roverlay/config/, roverlay/ André Erdmann
  -- strict thread matches above, loose matches on Subject: below --
2013-06-22 15:24 André Erdmann
2013-06-20 23:40 ` [gentoo-commits] proj/R_overlay:gsoc13/next " André Erdmann
2013-07-12 12:36 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=1371913528.aeaedce89d9a55c4f1bff62bd694eecd08b1f547.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