This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository buildscripts. from 4110038 bin/: copy create_package_descr perl script from SuSE inst-source-utils package. new 17c6e93 bin/create_package_descr: add 'use lib' statement to load the embedded 'vendor' module. new 84bbf8f bin/createsusetagsrepo: add the remaining funcationality. The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: bin/create_package_descr | 9 +++++++++ bin/createsusetagsrepo | 14 +++++++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts. commit 17c6e93d380e07e5a20853f35aab152a6f959d2e Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Oct 29 05:51:14 2016 +0200 bin/create_package_descr: add 'use lib' statement to load the embedded 'vendor' module. --- bin/create_package_descr | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bin/create_package_descr b/bin/create_package_descr index ada467d..a15fc0b 100755 --- a/bin/create_package_descr +++ b/bin/create_package_descr @@ -30,6 +30,15 @@ BEGIN { $| = 1; +# We need "use lib" to pull in our copied "vendor" modules. +use File::Basename; +use Cwd 'abs_path'; + +my $script_path = abs_path ($0); +$script_path = dirname (script_path); + +use lib "$script_path/../perl/modules" + use File::stat; use FileHandle; use strict; -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git
This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository buildscripts. commit 84bbf8fb27a5c8a90e2aa0e3a9d8ead1d970db1b Author: Mihai Moldovan <ionic@ionic.de> Date: Sat Oct 29 23:27:25 2016 +0200 bin/createsusetagsrepo: add the remaining funcationality. --- bin/createsusetagsrepo | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/bin/createsusetagsrepo b/bin/createsusetagsrepo index 27b12df..281008d 100755 --- a/bin/createsusetagsrepo +++ b/bin/createsusetagsrepo @@ -66,6 +66,15 @@ EOF printf '%s\n' "${tmp_str}" > "content" } +create_directory () { + typeset prefix='./descr/' + typeset file='directory.yast' + + rm -f -- "${prefix}/${file}" + + find "${prefix}" -print | sed -e "s#${prefix}##" > "${prefix}/${file}" +} + set -e repo_top_dir="${1}" @@ -75,9 +84,12 @@ component="${2:?"No component string provided."}" test -n "${repo_top_dir}" || usage -cd "${repo_top_dir}" || error "Unable to switch to provided repository top directory." +cd "${repo_top_dir}" || error "Unable to switch to provided repository top directory '${repo_top_dir}'." create_metadata +create_package_descr -o descr -x /dev/null + +create_directory exit "0" -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git