From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7523B1381F3 for ; Thu, 1 Aug 2013 12:44:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3FB1EE0ADA; Thu, 1 Aug 2013 12:44:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C1A50E0A63 for ; Thu, 1 Aug 2013 12:44:55 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C77AC33EAEC for ; Thu, 1 Aug 2013 12:44:54 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 52B63E468F for ; Thu, 1 Aug 2013 12:44:53 +0000 (UTC) From: "André Erdmann" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "André Erdmann" Message-ID: <1375359982.29ed894fc47817f4a67c90af6c1fe664d6c95dc0.dywi@gentoo> Subject: [gentoo-commits] proj/R_overlay:master commit in: roverlay/ X-VCS-Repository: proj/R_overlay X-VCS-Files: roverlay/argutil.py roverlay/main.py X-VCS-Directories: roverlay/ X-VCS-Committer: dywi X-VCS-Committer-Name: André Erdmann X-VCS-Revision: 29ed894fc47817f4a67c90af6c1fe664d6c95dc0 X-VCS-Branch: master Date: Thu, 1 Aug 2013 12:44:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: ed28f18a-cf62-4b45-9a21-5f2b34bc4647 X-Archives-Hash: 7b0dbaadf7758c736d2de0d80d3affb8 commit: 29ed894fc47817f4a67c90af6c1fe664d6c95dc0 Author: André Erdmann mailerd de> AuthorDate: Thu Aug 1 12:26:22 2013 +0000 Commit: André Erdmann mailerd de> CommitDate: Thu Aug 1 12:26:22 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/R_overlay.git;a=commit;h=29ed894f roverlay: disable revbump check via --no-revbump The revbump-on-tarball-change check when doing incremental overlay creation takes some time. The --no-revbump switch allows to disable it. --- roverlay/argutil.py | 9 +++++++++ roverlay/main.py | 5 ++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/roverlay/argutil.py b/roverlay/argutil.py index b101169..1f9a0bf 100644 --- a/roverlay/argutil.py +++ b/roverlay/argutil.py @@ -389,6 +389,14 @@ def get_parser ( command_map, default_config_file, default_command='create' ): ) arg ( + '--no-revbump', + help="disable revbump-on-tarball change (saves time)", + dest='revbump', + default=True, + action='store_false', + ) + + arg ( '--dump-file', help=''' standard file or stdout target for dumping information @@ -483,6 +491,7 @@ def parse_argv ( command_map, **kw ): force_distroot = p.force_distroot, skip_manifest = p.no_manifest, incremental = p.incremental, + revbump = p.revbump, immediate_ebuild_writes = p.immediate_ebuild_writes, dump_file = p.dump_file, fixup_category_move = p.fixup_category_move, diff --git a/roverlay/main.py b/roverlay/main.py index 7830d23..dff81a8 100644 --- a/roverlay/main.py +++ b/roverlay/main.py @@ -292,7 +292,10 @@ def main ( ) repo_list.add_packages ( overlay_creator.add_package ) - overlay_creator.enqueue_postponed() + if OPTION ( 'revbump' ): + overlay_creator.enqueue_postponed() + else: + overlay_creator.discard_postponed() overlay_creator.release_package_rules()