specs/repositories.rbspec
changeset 59 9099e2455d9c
child 62 de0e8016c2d5
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/specs/repositories.rbspec	Sun Oct 23 22:49:57 2016 +0100
@@ -0,0 +1,87 @@
+# This file defines a set of repositories to fetch source code from. 
+#
+#
+# Following repository sets are defined here:
+#
+#  1.*default*: fetches source from public repositories. Code forked
+#    by Smalltalk/X jv-branch is loaded from Jan Vrany's BitBucket
+#    account (https://bitbucket.org/janvrany/), the rest is loaded
+#    from eXept's public CVS repository (:pserver:cvs@cvs.smalltalk-x.de:/cvs/stx)
+#    Sources of stc and librun (Smalltalk/X VM) are not checked out 
+#    (since they're not freely available) but pre-build binaries are
+#    downloaded from SWING CI server ( https://swing.fit.cvut.cz/jenkins/job/stx_jv/ )
+#
+#    This is the default if no REPOSITORYSET value is set. 
+#
+#
+#  2.*ci-swing*: for use on SWING CI [1]. Uses local mirrors.
+#
+#  3."ci-jv": for use on Jan Vrany's private CI. Uses local mirrors.
+#
+#
+REPOSITORYSET = (ENV['REPOSITORYSET'] || 'default') if not defined? REPOSITORYSET
+
+case REPOSITORYSET 
+when 'default'
+  repository :'exept:public' do
+    type :cvs    
+    url ":pserver:cvs@cvs.smalltalk-x.de:/cvs/stx"
+  end
+
+  repository :'bitbucket:janvrany' do
+    type :hg
+    url "https://bitbucket.org/janvrany"
+    separator '-'
+  end
+
+  if core_developer?
+    repository :'swing:private:hg' do
+      type :hg
+      url "ssh://192.168.12.2//hg"
+      separator '.'
+    end
+  end
+
+when 'ci-swing'
+  repository :'exept:public' do
+    type :cvs    
+    url ":ext:swing.fit.cvut.cz/var/local/cvs"
+  end
+
+  repository :'bitbucket:janvrany' do
+    type :hg
+    url "https://bitbucket.org/janvrany"
+    mirror "ssh://swing.fit.cvut.cz//var/local/hg"
+    separator '-'
+  end
+
+  repository :'swing:private:hg' do
+    type :hg
+    url "ssh://192.168.12.2//hg"
+    separator '.'
+  end
+
+
+when 'ci-jv'
+  repository :'exept:public' do
+    type :cvs    
+    url ":pserver:cvs@cvs.smalltalk-x.de:/cvs/stx"
+  end
+
+  repository :'bitbucket:janvrany' do
+    type :hg
+    url "https://bitbucket.org/janvrany"
+    mirror "ssh://hg@nereid"
+    separator '-'
+  end
+
+  repository :'swing:private:hg' do
+    type :hg
+    url "ssh://hg@nereid"
+    separator '-'
+  end
+
+end
+  
+#    
+# 
\ No newline at end of file