theslinux-home branch core updated 383e85c git.hook.post-receive: remove :rvm support

  • From: git@xxxxxxxxxxxxxxxxxxxx
  • To: theslinux-phantom@xxxxxxxxxxxxx
  • Date: Sat, 24 Aug 2013 08:04:20 -0700

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "theslinux-home".

The branch, core has been updated
       via  383e85cf1db7e5151b1b567ba9f58aab44277b05 (commit)
       via  1f8a934893989b76c01f29f0fa45b943e0aa4110 (commit)
      from  8a2c94c0ee6905305f90a3016909b7b379b64fc7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 383e85cf1db7e5151b1b567ba9f58aab44277b05
Author: Ky-Anh Huynh <kyanh@xxxxxxxxxxxxx>
Date:   Sat Aug 24 22:02:21 2013 +0700

    git.hook.post-receive: remove :rvm support
    
    Because we now have Ruby-2.0 in the system wide

commit 1f8a934893989b76c01f29f0fa45b943e0aa4110
Author: Ky-Anh Huynh <kyanh@xxxxxxxxxxxxx>
Date:   Wed Aug 21 04:50:54 2013 +0700

    git.hook.post-receive-email: clean up subject
    
    Remove :branch, :tag, .. ($refname_type) I do not see them useful.
    It is easy to see what is a branch/tag. Do not know if there is
    any special cases (not branch, not tag)?

-----------------------------------------------------------------------

Summary of changes:
 bin/git.hook.post-receive-email.sh | 2 +-
 bin/git.hook.post-receive.sh       | 4 ----
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/bin/git.hook.post-receive-email.sh 
b/bin/git.hook.post-receive-email.sh
index fc65807..ddcfe10 100755
--- a/bin/git.hook.post-receive-email.sh
+++ b/bin/git.hook.post-receive-email.sh
@@ -229,7 +229,7 @@ generate_email_header()
        # Generate header
        cat <<-EOF
        To: $recipients
-       Subject: $projectdesc $refname_type $short_refname ${change_type}d 
$describe
+       Subject: $projectdesc.$short_refname ${change_type}d $describe
        MIME-Version: 1.0
        Content-Type: text/plain; charset=utf-8
        Content-Transfer-Encoding: 8bit
diff --git a/bin/git.hook.post-receive.sh b/bin/git.hook.post-receive.sh
index e4093bd..3164a2a 100755
--- a/bin/git.hook.post-receive.sh
+++ b/bin/git.hook.post-receive.sh
@@ -33,10 +33,6 @@ die() {
 }
 
 _setup() {
-  export rvm_path="/home/rvm/.rvm"
-  source "${rvm_path}/scripts/rvm"
-  rvm use default 1>&2
-
   { ruby -v | grep -q 'ruby 2.0' ; } \
   || die "Unable to find Ruby >= 2.0"
 


hooks/post-receive
-- 
theslinux-home
--
Purpose: Store commits, feeds from other projects
Post: mailto:theslinux-phantom@xxxxxxxxxxxxx
Archive, Gmane: http://theslinux.org/lists/phantom/
Subscribe: mailto:theslinux-phantom-request@xxxxxxxxxxxxx?Subject=subscribe
Unsubscribe: mailto:theslinux-phantom-request@xxxxxxxxxxxxx?Subject=unsubscribe
Other information: http://theslinux.org/lists (vi) or 
http://theslinux.org/lists/en (en)
Support: mailto:theslinux-questions@xxxxxxxxxxxxx

Other related posts:

  • » theslinux-home branch core updated 383e85c git.hook.post-receive: remove :rvm support - git