This is an automated email from the git hooks/post-receive script. x2go pushed a change to branch master in repository buildscripts. from 044eb49 bin/signtarballs: we want the parameter/to_dir to be non-NULL. new 6092d2a bin/build-osx-package: make ${gitrev} global. Will need it later. new 73ca7d4 bin/build-osx-package: make ${is_release} global. Will need it later. new 692f74e bin/build-osx-package: clear out packages on the remote server in smart way to force checksum re-generation. The 3 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/build-osx-package | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) -- 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 6092d2a6bbdb370b608f93f3f143d77dab0d771e Author: Mihai Moldovan <ionic@ionic.de> Date: Fri Apr 7 13:27:43 2017 +0200 bin/build-osx-package: make ${gitrev} global. Will need it later. --- bin/build-osx-package | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/build-osx-package b/bin/build-osx-package index 4cb6a03..cc519b0 100755 --- a/bin/build-osx-package +++ b/bin/build-osx-package @@ -56,6 +56,7 @@ test -f "${HOME}/.buildscripts/${PREFIX}.conf" && . "${HOME}/.buildscripts/${PRE # These parts are not user-serviceable. typeset -ag temp_cleanup="" typeset -g upstream_version="" +typeset -g gitrev="" # End of non-user-serviceable part. set -ex @@ -216,7 +217,7 @@ build_packages() { cd "${temp_dir}/${PROJECT}" git checkout "${CHECKOUT}" || git checkout master find "${PROJECT_DIR}/../" -maxdepth 0 -mindepth 0 -type f | grep -qs "${PROJECT}_"*.orig.tar.gz && cp -- "${PROJECT_DIR}/../${PROJECT}_"*.orig.tar.gz .. - typeset gitrev="$(gitrevno)" + gitrev="$(gitrevno)" # create git changelog immediately prior to building the package git --no-pager log --since "2 years ago" --format="%ai %aN (%h) %n%n%x09*%w(68,0,10) %s%d%n" > ChangeLog.gitlog -- 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 692f74ec4cc5c02aaa10962928ffd0dbefb0e543 Author: Mihai Moldovan <ionic@ionic.de> Date: Fri Apr 7 13:28:21 2017 +0200 bin/build-osx-package: clear out packages on the remote server in smart way to force checksum re-generation. --- bin/build-osx-package | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bin/build-osx-package b/bin/build-osx-package index 237d74c..483bdb7 100755 --- a/bin/build-osx-package +++ b/bin/build-osx-package @@ -308,6 +308,15 @@ upload_packages() { cd "${PKGDIST}/${l_CODENAME}/" 0</dev/null ssh -- "${REPOS_SERVER}" "mkdir -p '${OSX_REPOS_BASE}/${PROJECT}/${COMPONENT}/${upstream_version}'" + # Delete files so that checksums are always regenerated. + if [ "${is_release}" -eq "0" ]; then + # Nightly builds are tracked by date and gitrev, so that multiple packages are possible per day if the repository changes between builds. + 0</dev/null ssh -- "${REPOS_SERVER}" "rm -rf -- '${OSX_REPOS_BASE}/${PROJECT}/${COMPONENT}/${upstream_version}/'*${DATE}.${gitrev}*" + else + # Releases are tracked by date, so that only one specific build per day is available. + 0</dev/null ssh -- "${REPOS_SERVER}" "rm -rf -- '${OSX_REPOS_BASE}/${PROJECT}/${COMPONENT}/${upstream_version}/'*${DATE}*" + fi + # Remove packages that are older than 30 days, if building nightlies. [ "${COMPONENT}" = "${COMPONENT_NIGHTLY}" ] && 0</dev/null ssh -- "${REPOS_SERVER}" "find '${OSX_REPOS_BASE}/${PROJECT}/${COMPONENT}/${upstream_version}/' -mtime +30 -name '*.dmg' -exec rm -f '{}' ';'" || true -- 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 73ca7d46557097f44513bd7ac8cc552742c97c2b Author: Mihai Moldovan <ionic@ionic.de> Date: Fri Apr 7 13:27:58 2017 +0200 bin/build-osx-package: make ${is_release} global. Will need it later. --- bin/build-osx-package | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/build-osx-package b/bin/build-osx-package index cc519b0..237d74c 100755 --- a/bin/build-osx-package +++ b/bin/build-osx-package @@ -56,6 +56,7 @@ test -f "${HOME}/.buildscripts/${PREFIX}.conf" && . "${HOME}/.buildscripts/${PRE # These parts are not user-serviceable. typeset -ag temp_cleanup="" typeset -g upstream_version="" +typeset -g is_release="0" typeset -g gitrev="" # End of non-user-serviceable part. @@ -224,7 +225,7 @@ build_packages() { upstream_version="$(cat VERSION)" - typeset is_release="1" + is_release="1" if [ "${COMPONENT}" = "${COMPONENT_NIGHTLY}" ]; then is_release="0" fi -- Alioth's /srv/git/code.x2go.org/buildscripts.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/buildscripts.git