From 4e04321b2291abc6fe2014f7d02430674bb2dc72 Mon Sep 17 00:00:00 2001 From: vszakats Date: Sun, 17 Mar 2013 16:07:05 +0100 Subject: [PATCH] deleted website updater script. no longer needed with GitHub --- ChangeLog.txt | 4 ++ package/updt_web_nightly.sh | 77 ------------------------------------- 2 files changed, 4 insertions(+), 77 deletions(-) delete mode 100755 package/updt_web_nightly.sh diff --git a/ChangeLog.txt b/ChangeLog.txt index 55a6689575..f28a2b8a2d 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,10 @@ * Change, ! Fix, % Optimization, + Addition, - Removal, ; Comment */ +2013-03-17 16:06 UTC+0100 Viktor Szakats (harbour syenar.net) + - package/updt_web_nightly.sh + - deleted website updater script. no longer needed with GitHub + 2013-03-17 16:06 UTC+0100 Viktor Szakats (harbour syenar.net) * package/updt_web_nightly.sh * updated repo name diff --git a/package/updt_web_nightly.sh b/package/updt_web_nightly.sh deleted file mode 100755 index 1438bae348..0000000000 --- a/package/updt_web_nightly.sh +++ /dev/null @@ -1,77 +0,0 @@ -#!/bin/sh - -# --------------------------------------------------------------- -# Copyright 2012-2013 Viktor Szakats (harbour syenar.net) -# See COPYING.txt for licensing terms. -# --------------------------------------------------------------- - -# -# HOWTO upload unattended to sourceforge.net -# ========================================== -# -# 1. Generate SSH key pair: -# -# $ ssh-keygen -t dsa -C "$HB_SFNET_USER,harbour-project@web.sourceforge.net" -# -# where '$HB_SFNET_USER' is your sf.net username. -# -# IMPORTANT: Leave pass-phrase empty -# -# 2. Paste content of generated public key file (by default 'id_dsa.pub') into -# 'Authorized keys' edit box and press 'Update' button on this page: -# -# https://sourceforge.net/account/ssh -# -# You have to be logged in to sf.net. -# -# 3. Wait up to 10 minutes for key to be activated -# -# 4. Now you can use your private key file (by default 'id_dsa') instead of -# password to upload files. To use this script as is, set 'HB_SFNET_FRS_PRIVATE_KEY' -# envvar to your private key file and 'HB_SFNET_USER' envvar to your -# sf.net username, f.e.: -# -# $ export HB_SFNET_WEB_PRIVATE_KEY=~/.ssh/id_dsa -# $ export HB_SFNET_USER=myuser -# $ ./updt_web_nightly.sh -# -# Official link with more detailed procedures: -# http://sourceforge.net/apps/trac/sourceforge/wiki/SSH%20keys -# - -echo Starting Harbour website update... - -rm -f -r _hb_web_src -mkdir _hb_web_src || { - echo "Failed to create directory _hb_web_src" - exit 1 -} -cd _hb_web_src - -echo Downloading sources... - -curl -O -L -s https://github.com/harbour/harbour.github.com/archive/master.tar.gz -tar -zxvf master.tar.gz - -echo Updating website... - -destdir="/home/groups/h/ha/harbour-project/htdocs/" - -if [ -d $destdir ] -then - echo Copying site to sf.net web area... - - rsync -r harbour.github.com-master/* $destdir -else - if [ "$HB_SFNET_WEB_PRIVATE_KEY" -a "$HB_SFNET_USER" ] - then - echo Uploading site to sf.net web area... - desthost=",harbour-project@web.sourceforge.net:" - rsync -zr -e "ssh -i $HB_SFNET_WEB_PRIVATE_KEY" harbour.github.com-master/* $HB_SFNET_USER$desthost$destdir - fi -fi - -cd .. -rm -f -r _hb_web_src - -echo Ended Harbour website update.