pck-update: add a msg asking developers to run quality and security test
Signed-off-by: Davide Madrisan <davide.madrisan@gmail.com>
This commit is contained in:
parent
130aac1f60
commit
b8a3d879d1
@ -43,10 +43,14 @@ Sun Jan 15 2012 Davide Madrisan <davide.madrisan(a)gmail.com>
|
|||||||
New test: check for setgid directories.
|
New test: check for setgid directories.
|
||||||
|
|
||||||
+ update
|
+ update
|
||||||
tests/test01_pkgquality
|
* tests/test01_pkgquality
|
||||||
tests/test02_pkgsecurity - Davide Madrisan:
|
tests/test02_pkgsecurity - Davide Madrisan:
|
||||||
Rework coloring schema and make output a bit more compact.
|
Rework coloring schema and make output a bit more compact.
|
||||||
|
|
||||||
|
* pck-update - Davide Madrisan:
|
||||||
|
Action 5: add a message asking developers to run quality and security
|
||||||
|
tests.
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
Changes in version 1.8.2
|
Changes in version 1.8.2
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# pck-update -- plugin for @package@
|
# pck-update -- plugin for @package@
|
||||||
# Copyright (C) 2004-2011 Davide Madrisan <davide.madrisan@gmail.com>
|
# Copyright (C) 2004-2012 Davide Madrisan <davide.madrisan@gmail.com>
|
||||||
|
|
||||||
[ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 3 ] &&
|
[ -z "$BASH" ] || [ ${BASH_VERSION:0:1} -lt 3 ] &&
|
||||||
{ echo $"this script requires bash version 3 or better" >&2 && exit 1; }
|
{ echo $"this script requires bash version 3 or better" >&2 && exit 1; }
|
||||||
@ -2250,18 +2250,25 @@ specfile is newer than srpm (according to modification date)"
|
|||||||
# as the dependencies check is done before, it is safe to pass
|
# as the dependencies check is done before, it is safe to pass
|
||||||
# --nodeps to non-simulated build commands.
|
# --nodeps to non-simulated build commands.
|
||||||
eval "\
|
eval "\
|
||||||
rpmbuild -bs $rpmbuild_opts --nodeps $SRPM_SPECFILE_WITH_PATH $USER_RPMDEFINE_OPTS 2>&1"
|
rpmbuild -bs $rpmbuild_opts --nodeps \
|
||||||
|
$SRPM_SPECFILE_WITH_PATH $USER_RPMDEFINE_OPTS 2>&1"
|
||||||
elif [ "$nosrpm" = 1 ]; then
|
elif [ "$nosrpm" = 1 ]; then
|
||||||
notify.note "${NOTE}"$"building the rpm packages""${NORM}..."
|
notify.note "${NOTE}"$"building the rpm packages""${NORM}..."
|
||||||
eval "\
|
eval "\
|
||||||
rpmbuild -bb $rpmbuild_opts --nodeps $SRPM_SPECFILE_WITH_PATH $USER_RPMDEFINE_OPTS 2>&1"
|
rpmbuild -bb $rpmbuild_opts --nodeps \
|
||||||
|
$SRPM_SPECFILE_WITH_PATH $USER_RPMDEFINE_OPTS 2>&1"
|
||||||
else
|
else
|
||||||
notify.note "${NOTE}"$"building rpm and srpm packages""${NORM}..."
|
notify.note "${NOTE}"$"building rpm and srpm packages""${NORM}..."
|
||||||
eval "\
|
eval "\
|
||||||
rpmbuild -ba $rpmbuild_opts --nodeps $SRPM_SPECFILE_WITH_PATH $USER_RPMDEFINE_OPTS 2>&1"
|
rpmbuild -ba $rpmbuild_opts --nodeps \
|
||||||
|
$SRPM_SPECFILE_WITH_PATH $USER_RPMDEFINE_OPTS 2>&1"
|
||||||
fi
|
fi
|
||||||
[ $? -eq 0 ] ||
|
if [ $? -eq 0 ]; then
|
||||||
|
notify.note "\n${NOTE}"$"\
|
||||||
|
It seems good but do not forget to run quality and security tests.""${NORM}"
|
||||||
|
else
|
||||||
notify.error $"rpmbuild exited with error code \`$?'"
|
notify.error $"rpmbuild exited with error code \`$?'"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
6) notify.note "[${NOTE}step $step${NORM}] -- ${NOTE}"$"\
|
6) notify.note "[${NOTE}step $step${NORM}] -- ${NOTE}"$"\
|
||||||
build the list of the build requirements""${NORM}"
|
build the list of the build requirements""${NORM}"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# translation of it.po to Italiana
|
# translation of it.po to Italiana
|
||||||
# Copyright (C) 2004-2008 Davide Madrisan
|
# Copyright (C) 2004-2008,2012 Davide Madrisan
|
||||||
# Davide Madrisan <davide.madrisan@gmail.com>
|
# Davide Madrisan <davide.madrisan@gmail.com>
|
||||||
|
|
||||||
msgid ""
|
msgid ""
|
||||||
@ -497,3 +497,6 @@ msgstr "rimozione dei pacchetti sorgente e delle patch, se presenti"
|
|||||||
|
|
||||||
msgid "removing"
|
msgid "removing"
|
||||||
msgstr "rimozione di"
|
msgstr "rimozione di"
|
||||||
|
|
||||||
|
msgid "It seems good but do not forget to run quality and security tests."
|
||||||
|
msgstr "Sembra ok ma non dimenticare di eseguire i test di qualità e sicurezza."
|
||||||
|
Loading…
Reference in New Issue
Block a user