From 3e7de31fb0ed2a8f46c42bddfb9525957390569e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 12 Jul 2010 15:31:47 +0200 Subject: [PATCH] Manually call repoman manifest/full with old repoman. If we're using old repoman version, call 'repoman full' before asking for confirmation to allow fixing minor problems before committing. That implies calling 'repoman manifest' too. Additionally, don't complain about outdated repoman before the patched version is released. --- sunrise-commit | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sunrise-commit b/sunrise-commit index 592d453..c2cd98b 100755 --- a/sunrise-commit +++ b/sunrise-commit @@ -353,9 +353,12 @@ main() { if [ $? -eq 2 ]; then old_repoman= - say "${GREEN}Please update portage to newer version in order to have repoman supporting" - say "--ask option and thus delay the following question until after 'repoman full'.${RESET}" - say + #say "${GREEN}Please consider updating portage to newer version.${RESET}" + #say + req repoman manifest + if ! repoman full; then + [ -n "${force}" ] || die 'Please correct the problems pointed out by repoman.' + fi confirm fi