From: "Paweł Hajdan" <phajdan.jr@gentoo.org> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] proj/arch-tools:new-pybugz commit in: / Date: Mon, 8 Oct 2012 16:02:38 +0000 (UTC) [thread overview] Message-ID: <1349712078.08d0025e085923f23e02e4f6009a651d7d7619b7.phajdan.jr@gentoo> (raw) commit: 08d0025e085923f23e02e4f6009a651d7d7619b7 Author: Pawel Hajdan, Jr <phajdan.jr <AT> gentoo <DOT> org> AuthorDate: Mon Oct 8 16:01:18 2012 +0000 Commit: Paweł Hajdan <phajdan.jr <AT> gentoo <DOT> org> CommitDate: Mon Oct 8 16:01:18 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/arch-tools.git;a=commit;h=08d0025e More robust commit logic: - do not overwrite own changes when stabilizing multiple versions of the same package - ignore unrelated failures on other arches --- batch-stabilize.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/batch-stabilize.py b/batch-stabilize.py index bede303..c7b676f 100755 --- a/batch-stabilize.py +++ b/batch-stabilize.py @@ -138,6 +138,9 @@ if __name__ == "__main__": if run_command(["cvs", "up", pn], options.repo, log_file)[0] != 0: print '!!! cvs up failed' sys.exit(1) + for (pn, ebuild_name) in stabilization_dict[bug_id]: + cvs_path = os.path.join(options.repo, pn) + print_and_log('Working in %s...' % cvs_path, log_file) if run_command(["ekeyword", options.arch, ebuild_name], cvs_path, log_file)[0] != 0: print '!!! ekeyword failed' sys.exit(1) @@ -159,7 +162,7 @@ if __name__ == "__main__": if run_command(["repoman", "manifest"], cvs_path, log_file)[0] != 0: print '!!! repoman manifest failed' sys.exit(1) - if run_command(["repoman", "commit", "-m", commit_message], cvs_path, log_file)[0] != 0: + if run_command(["repoman", "commit", "--ignore-arches", "-m", commit_message], cvs_path, log_file)[0] != 0: print '!!! repoman commit failed' sys.exit(1) params = {}
WARNING: multiple messages have this Message-ID (diff)
From: "Paweł Hajdan" <phajdan.jr@gentoo.org> To: gentoo-commits@lists.gentoo.org Subject: [gentoo-commits] proj/arch-tools:master commit in: / Date: Mon, 8 Oct 2012 16:03:20 +0000 (UTC) [thread overview] Message-ID: <1349712078.08d0025e085923f23e02e4f6009a651d7d7619b7.phajdan.jr@gentoo> (raw) Message-ID: <20121008160320.-lmrPtvLE0hj2sNnTYZO-zlTveq-uNjxylAdgOONcQc@z> (raw) commit: 08d0025e085923f23e02e4f6009a651d7d7619b7 Author: Pawel Hajdan, Jr <phajdan.jr <AT> gentoo <DOT> org> AuthorDate: Mon Oct 8 16:01:18 2012 +0000 Commit: Paweł Hajdan <phajdan.jr <AT> gentoo <DOT> org> CommitDate: Mon Oct 8 16:01:18 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/arch-tools.git;a=commit;h=08d0025e More robust commit logic: - do not overwrite own changes when stabilizing multiple versions of the same package - ignore unrelated failures on other arches --- batch-stabilize.py | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/batch-stabilize.py b/batch-stabilize.py index bede303..c7b676f 100755 --- a/batch-stabilize.py +++ b/batch-stabilize.py @@ -138,6 +138,9 @@ if __name__ == "__main__": if run_command(["cvs", "up", pn], options.repo, log_file)[0] != 0: print '!!! cvs up failed' sys.exit(1) + for (pn, ebuild_name) in stabilization_dict[bug_id]: + cvs_path = os.path.join(options.repo, pn) + print_and_log('Working in %s...' % cvs_path, log_file) if run_command(["ekeyword", options.arch, ebuild_name], cvs_path, log_file)[0] != 0: print '!!! ekeyword failed' sys.exit(1) @@ -159,7 +162,7 @@ if __name__ == "__main__": if run_command(["repoman", "manifest"], cvs_path, log_file)[0] != 0: print '!!! repoman manifest failed' sys.exit(1) - if run_command(["repoman", "commit", "-m", commit_message], cvs_path, log_file)[0] != 0: + if run_command(["repoman", "commit", "--ignore-arches", "-m", commit_message], cvs_path, log_file)[0] != 0: print '!!! repoman commit failed' sys.exit(1) params = {}
next reply other threads:[~2012-10-08 16:02 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-10-08 16:02 Paweł Hajdan [this message] 2012-10-08 16:03 ` [gentoo-commits] proj/arch-tools:master commit in: / Paweł Hajdan -- strict thread matches above, loose matches on Subject: below -- 2012-10-08 16:03 Paweł Hajdan 2012-08-01 7:16 ` [gentoo-commits] proj/arch-tools:new-pybugz " Paweł Hajdan 2012-10-08 16:03 [gentoo-commits] proj/arch-tools:master " Paweł Hajdan 2012-08-01 7:16 ` [gentoo-commits] proj/arch-tools:new-pybugz " Paweł Hajdan 2012-08-01 11:08 Paweł Hajdan 2012-08-01 7:28 Paweł Hajdan 2012-06-04 9:18 Paweł Hajdan
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=1349712078.08d0025e085923f23e02e4f6009a651d7d7619b7.phajdan.jr@gentoo \ --to=phajdan.jr@gentoo.org \ --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: linkBe 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