[前][次][番号順一覧][スレッド一覧]

ruby-changes:41247

From: naruse <ko1@a...>
Date: Sat, 26 Dec 2015 19:01:40 +0900 (JST)
Subject: [ruby-changes:41247] naruse:r53319 (trunk): Revert "* tool/post-commit.sh: copied from svn server."

naruse	2015-12-26 19:01:35 +0900 (Sat, 26 Dec 2015)

  New Revision: 53319

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=53319

  Log:
    Revert "* tool/post-commit.sh: copied from svn server."
    
    manged in another repo

  Removed files:
    trunk/tool/post-commit.sh
  Modified files:
    trunk/ChangeLog
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 53318)
+++ ChangeLog	(revision 53319)
@@ -5,10 +5,6 @@ Sat Dec 26 18:29:01 2015  Kouhei Sutou https://github.com/ruby/ruby/blob/trunk/ChangeLog#L5
 	  [Bug #11489]
 	  Reported by Aleksandar Kostadinov. Thanks!!!
 
-Sat Dec 26 18:21:17 2015  NARUSE, Yui  <naruse@r...>
-
-	* tool/post-commit.sh: copied from svn server.
-
 Sat Dec 26 11:26:38 2015  Nobuyoshi Nakada  <nobu@r...>
 
 	* miniinit.c (Init_enc): add some common aliases of built-in
Index: tool/post-commit.sh
===================================================================
--- tool/post-commit.sh	(revision 53318)
+++ tool/post-commit.sh	(revision 53319)
@@ -1,72 +0,0 @@ https://github.com/ruby/ruby/blob/trunk/tool/post-commit.sh#L0
-#!/bin/sh
-
-{ date; echo '### start ###'; uptime; } >> /tmp/post-commit.log
-
-PATH=/opt/csw/bin:/usr/sfw/bin:/usr/bin:/bin
-export PATH
-HOME=/home/svn
-export HOME
-
-REPOS="$1"
-REV="$2"
-
-{ date; echo $REPOS; echo $REV; echo svnadmin; uptime; } >> /tmp/post-commit.log
-
-svnadmin dump -q -r "$REV" --incremental "$REPOS" | bzip2 -c > /var/svn/dump/ruby/$REV.bz2
-
-{ date; echo commit-email.rb; uptime; } >> /tmp/post-commit.log
-
-~svn/scripts/svn-utils/bin/commit-email.rb \
-   "$REPOS" "$REV" ruby-cvs@r... \
-   -I ~svn/scripts/svn-utils/lib \
-   --name Ruby \
-   --viewvc-uri http://svn.ruby-lang.org/cgi-bin/viewvc.cgi \
-   -r http://svn.ruby-lang.org/repos/ruby \
-   --rss-path /tmp/ruby.rdf \
-   --rss-uri http://svn.ruby-lang.org/rss/ruby.rdf \
-   --error-to cvs-admin@r...
-
-{ date; echo update-version.h.rb; uptime; } >> /tmp/post-commit.log
-
-~svn/scripts/svn-utils/bin/update-version.h.rb "$REPOS" "$REV" &
-
-#~svn/scripts/svn-utils/bin/commit-email-test.rb \
-#   "$REPOS" "$REV" eban@r... \
-#   -I ~svn/scripts/svn-utils/lib \
-#   --name Ruby \
-#   --viewvc-uri http://svn.ruby-lang.org/cgi-bin/viewvc.cgi \
-#   --error-to eban@r...
-
-#   --from admin@r...
-#   -r http://svn.ruby-lang.org/repos/ruby \
-#   --rss-path ~/ruby.rdf \
-#   --rss-uri http://svn.ruby-lang.org/rss/ruby.rdf \
-
-{ date; echo redmine fetch changesets; uptime; } >> /tmp/post-commit.log
-
-curl "https://bugs.ruby-lang.org/sys/fetch_changesets?key=`cat ~svn/config/redmine.key`" &
-
-{ date; echo auto-style; uptime; } >> /tmp/post-commit.log
-
-~svn/scripts/svn-utils/bin/auto-style.rb ~svn/ruby/trunk &
-
-{ date; echo github sync; uptime; } >> /tmp/post-commit.log
-
-cd /var/git-svn/ruby
-sudo -u git git svn fetch --all
-
-# Push branch or tag
-for ref in `svnlook changed -r $REV $REPOS | grep '^[AU ]' |                                            sed 's!^..  \(\(trunk\)/.*\|\(tags\|branches\)/\([^/]*\)/.*\)!\2\4!' | sort -u`; do
-  case $ref in
-  trunk) sudo -u git git push origin svn/trunk:trunk ;;
-  ruby_*) sudo -u git git push origin svn/$ref:$ref ;;
-  v*) echo git tag -f $ref svn/tags/$ref && git push origin $ref ;;
-  esac
-done
-
-# Delete tags or branches
-for ref in `svnlook changed -r $REV $REPOS |                                                            grep '^D   \(tags\|branches\)/[^/]*/$' | sed 's!^D   \(tags\|branches\)/\([^/]*\)/$!\2!'`; do
-  sudo -u git git push origin :$ref
-done
-
-{ date; echo '### end ###'; uptime; } >> /tmp/post-commit.log

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]