PageRenderTime 27ms CodeModel.GetById 12ms RepoModel.GetById 1ms app.codeStats 0ms

/src/Rakefile

https://bitbucket.org/troter/home
Rakefile | 230 lines | 205 code | 6 blank | 19 comment | 1 complexity | 72ff618f91e612eff999c9752e2fd5b3 MD5 | raw file
  1. # -*- utf-8 -*-
  2. REPOSITORIES = [
  3. # python
  4. %w[hg https://bitbucket.org/mirror/cpython cpython],
  5. %w[hg https://bitbucket.org/jython/jython jython],
  6. %w[hg https://bitbucket.org/pypy/pypy pypy],
  7. %w[hg http://selenic.com/repo/hg hg],
  8. %w[hg http://selenic.com/repo/hg-stable hg-stable],
  9. %w[hg https://bitbucket.org/danielmartins/freehg freehg],
  10. %w[hg https://bitbucket.org/zzzeek/sqlalchemy sqlalchemy],
  11. %w[hg https://bitbucket.org/mchaput/whoosh whoosh],
  12. %w[hg https://bitbucket.org/marcinkuzminski/rhodecode rhodecode],
  13. %w[hg https://bitbucket.org/denis/gevent gevent],
  14. %w[hg https://bitbucket.org/cherrypy/cherrypy cherrypy],
  15. %w[hg https://bitbucket.org/simplecodes/wtforms wtforms],
  16. %w[hg https://bitbucket.org/thomaswaldmann/moin-2.0 moin-2.0],
  17. %w[hg https://bitbucket.org/tarek/distribute distribute],
  18. %w[hg https://bitbucket.org/scons/scons scons],
  19. %w[hg https://bitbucket.org/danjac/newsmeme newsmeme],
  20. %w[hg https://bitbucket.org/tk0miya/blockdiag blockdiag],
  21. %w[hg https://bitbucket.org/hpk42/pytest pytest],
  22. %w[hg https://bitbucket.org/ianb/paste paste],
  23. %w[hg https://bitbucket.org/ianb/pastedeploy pastedeploy],
  24. %w[hg https://bitbucket.org/ianb/pastescript pastescript],
  25. %w[hg https://bitbucket.org/birkenfeld/pygments-main pygments-main],
  26. %w[hg https://bitbucket.org/EnTeQuAk/lodgeit-main lodgeit-main],
  27. %w[git git://github.com/kennethreitz/requests.git requests],
  28. %w[git git://github.com/mitsuhiko/werkzeug.git werkzeug],
  29. %w[git git://github.com/mitsuhiko/jinja2.git jinja2],
  30. %w[git git://github.com/nose-devs/nose.git nose],
  31. %w[git git://github.com/facebook/tornado.git tornado],
  32. %w[git git://github.com/Pylons/webob.git webob],
  33. %w[git git://github.com/Pylons/pyramid.git pyramid],
  34. %w[git git://github.com/fabric/fabric.git fabric],
  35. %w[git git://github.com/fabric/patchwork.git patchwork],
  36. %w[git git://github.com/basho/riak-python-client.git riak-python-client],
  37. %w[git git://github.com/Linux2Go/riakalchemy.git riakalchemy],
  38. # python-packaging
  39. %w[hg https://bitbucket.org/tarek/distribute distribute],
  40. %w[hg https://bitbucket.org/python_mirrors/distutils2 distutils2],
  41. %w[git git://github.com/pypa/pip.git pip],
  42. %w[git git://github.com/pypa/virtualenv.git virtualenv],
  43. %w[hg https://bitbucket.org/dhellmann/virtualenvwrapper virtualenvwrapper],
  44. # flask
  45. %w[git git://github.com/mitsuhiko/flask.git flask],
  46. %w[git git://github.com/mitsuhiko/flask-oauth.git flask-oauth],
  47. %w[git git://github.com/adamrt/flask-evolution.git flask-evolution],
  48. %w[git git://github.com/mitsuhiko/flask-sqlalchemy.git flask-sqlalchemy],
  49. %w[hg https://bitbucket.org/leafstorm/flask-login flask-login],
  50. %w[hg https://bitbucket.org/danjac/flask-wtf flask-wtf],
  51. # django
  52. %w[git git://github.com/django/django django],
  53. %w[hg https://bitbucket.org/jespern/django-piston django-piston],
  54. %w[hg https://bitbucket.org/ubernostrum/django-registration django-registration],
  55. %w[hg https://bitbucket.org/izi/django-admin-tools django-admin-tools],
  56. %w[hg https://bitbucket.org/david/django-storages django-storages],
  57. %w[hg https://bitbucket.org/andrewgodwin/south south],
  58. %w[hg https://bitbucket.org/wkornewald/django-nonrel django-nonrel],
  59. %w[hg https://bitbucket.org/ubernostrum/django-profiles django-profiles],
  60. %w[hg https://bitbucket.org/wkornewald/django-mediagenerator django-mediagenerator],
  61. %w[hg https://bitbucket.org/tyrion/django-autocomplete django-autocomplete],
  62. %w[hg https://bitbucket.org/david/django-oauth django-oauth],
  63. %w[hg https://bitbucket.org/david/django-oauth-plus django-oauth-plus],
  64. %w[hg https://bitbucket.org/carljm/django-localeurl django-localeurl],
  65. %w[hg https://bitbucket.org/carljm/django-model-utils django-model-utils],
  66. %w[hg https://bitbucket.org/carljm/django-form-utils django-form-utils],
  67. %w[hg https://bitbucket.org/wkornewald/django-filetransfers django-filetransfers],
  68. %w[git git://github.com/tomchristie/django-rest-framework.git django-rest-framework],
  69. %w[git git://github.com/django-extensions/django-extensions.git django-extensions],
  70. %w[git git://github.com/jtauber/django-notification.git django-notification],
  71. %w[git git://github.com/SmileyChris/easy-thumbnails.git easy-thumbnails],
  72. %w[git git://github.com/jbalogh/django-nose.git django-nose],
  73. %w[git git://github.com/jdriscoll/django-imagekit.git django-imagekit],
  74. %w[git git://github.com/pinax/pinax.git pinax],
  75. %w[git git://github.com/toastdriven/django-tastypie.git django-tastypie],
  76. %w[git git://github.com/omab/django-social-auth.git django-social-auth],
  77. %w[git git://github.com/alex/django-taggit.git django-taggit],
  78. %w[git git://github.com/ashchristopher/django-sass.git django-sass],
  79. %w[git git://github.com/alex/django-project-skeleton.git django-project-skeleton],
  80. # django site
  81. %w[git git://github.com/rtfd/readthedocs.org.git readthedocs.org],
  82. %w[git git://github.com/mozilla/mozillians.git mozillians],
  83. %w[git git://github.com/mozilla/bedrock.git bedrock],
  84. %w[git git://github.com/mozilla/kuma.git kuma],
  85. %w[git git://github.com/mozilla/kitsune.git kitsune],
  86. %w[git git://github.com/mozilla/mozilla-taskboard.git mozilla-taskboard],
  87. %w[git git://github.com/mozilla/zamboni.git zamboni],
  88. %w[git git://github.com/django-de/djangosnippets.org.git djangosnippets.org],
  89. # ruby
  90. %w[git git://github.com/shyouhei/ruby.git ruby],
  91. %w[git git://github.com/jruby/jruby.git jruby],
  92. %w[git git://github.com/rubinius/rubinius.git rubinius],
  93. %w[git git://github.com/rack/rack.git rack],
  94. %w[git git://github.com/rack/rack-contrib.git rack-contrib],
  95. %w[git git://github.com/sinatra/sinatra.git sinatra],
  96. %w[git git://github.com/sinatra/sinatra-contrib.git sinatra-contrib],
  97. %w[git git://github.com/intridea/omniauth.git omniauth],
  98. %w[git git://github.com/thoughtbot/factory_girl.git factory_girl],
  99. %w[git git://github.com/pluginaweek/state_machine.git state_machine],
  100. %w[git git://github.com/rubyist/aasm.gti aasm],
  101. %w[git git://github.com/capistrano/capistrano.git capistrano],
  102. %w[git git://github.com/github/gollum.git gollum],
  103. %w[git git://github.com/dreverri/gollum-site.git gollum-site],
  104. # rails
  105. %w[git git://github.com/rails/rails.git rails],
  106. %w[git git://github.com/rails/arel.git arel],
  107. # rails data structure
  108. %w[git git://github.com/swanandp/acts_as_list.git acts_as_list],
  109. %w[git git://github.com/amerine/acts_as_tree.git acts_as_tree],
  110. %w[git git://github.com/stefankroes/ancestry.git ancestry],
  111. # rails auth
  112. %w[git git://github.com/thoughtbot/clearance.git clearance],
  113. %w[git git://github.com/plataformatec/devise.git devise],
  114. %w[git git://github.com/binarylogic/authlogic.git authlogic],
  115. %w[git git://github.com/NoamB/sorcery.git sorcery],
  116. %w[git git://github.com/technoweenie/restful-authentication.git restful-authentication],
  117. # rails file upload
  118. %w[git git://github.com/thoughtbot/paperclip.git paperclip],
  119. %w[git git://github.com/valums/file-uploader.git file-uploader],
  120. # rails paginate
  121. %w[git git://github.com/mislav/will_paginate.git will_paginate],
  122. %w[git git://github.com/amatsuda/kaminari.git kaminari],
  123. # rails test
  124. %w[git git://github.com/bmabey/email-spec.git email-spec],
  125. %w[git git://github.com/rspec/rspec-rails.git rspec-rails],
  126. %w[git git://github.com/thoughtbot/factory_girl_rails.git factory_girl_rails],
  127. # rails etc
  128. %w[git git://github.com/RailsApps/rails3-application-templates.git rails3-application-templates],
  129. %w[git git://github.com/ryanb/complex-form-examples.git complex-form-examples],
  130. %w[git git://github.com/smartinez87/exception_notification.git exception_notification],
  131. %w[git git://github.com/railsbp/rails_best_practices.git rails_best_practices],
  132. %w[git git://github.com/bbatsov/rails-style-guide.git rails-style-guide],
  133. %w[git git://github.com/goncalossilva/rails3_acts_as_paranoid.git rails3_acts_as_paranoid],
  134. %w[git git://github.com/datamapper/dm-rails.git dm-rails],
  135. %w[git git://github.com/datamapper/dm-core.git dm-core],
  136. %w[git git://github.com/datamapper/dm-types.git dm-types],
  137. %w[git git://github.com/datamapper/dm-aggregates.git dm-aggregates],
  138. %w[git git://github.com/datamapper/dm-validations.git dm-validations],
  139. %w[git git://github.com/datamapper/dm-constraints.git dm-constraints],
  140. %w[git git://github.com/datamapper/dm-is-list.git dm-is-list],
  141. %w[git git://github.com/datamapper/dm-is-tree.git dm-is-tree],
  142. %w[git git://github.com/datamapper/dm-is-nested_set.git dm-is-nested_set],
  143. %w[git git://github.com/datamapper/dm-is-state_machine.git dm-is-state_machine],
  144. %w[git git://github.com/datamapper/dm-is-searchable.git dm-is-searchable],
  145. %w[git git://github.com/datamapper/dm-ar-finders.git dm-ar-finders],
  146. %w[git git://github.com/datamapper/dm-do-adapter.git dm-do-adapter],
  147. %w[git git://github.com/datamapper/dm-mysql-adapter.git dm-mysql-adapter],
  148. %w[git git://github.com/fabrik42/acts_as_api.git acts_as_api],
  149. %w[git git://github.com/josevalim/rails-footnotes.git rails-footnotes],
  150. %w[git git://github.com/rails/pjax_rails.git pjax_rails],
  151. %w[git git://github.com/ryanb/nested_form.git nested_form],
  152. %w[git git://github.com/plataformatec/simple_form.git simple_form],
  153. %w[git git://github.com/teambox/teambox.git teambox],
  154. # java
  155. %w[svn https://www.seasar.org/svn/s2container/trunk/seasar2/ seasar2],
  156. %w[svn https://www.seasar.org/svn/s2container/trunk/s2-tiger/ s2-tiger],
  157. %w[svn https://www.seasar.org/svn/cubby/trunk/cubby-project/ cubby-project],
  158. %w[svn https://www.seasar.org/svn/doma/trunk/doma/ doma],
  159. %w[svn http://slim3.googlecode.com/svn/trunk/ slim3-read-only],
  160. %w[svn http://google-guice.googlecode.com/svn/trunk/ google-guice-read-only],
  161. %w[svn http://primefaces.googlecode.com/svn/primefaces/trunk/ primefaces-read-only],
  162. %w[svn http://h2database.googlecode.com/svn/trunk/ h2database-read-only],
  163. %w[svn https://svn.java.net/svn/jersey~svn/tags/jersey-1.9.1 jersey-1.9.1],
  164. %w[svn https://svn.java.net/svn/jersey~svn/trunk/jersey jersey-trunk],
  165. %w[svn https://resteasy.svn.sourceforge.net/svnroot/resteasy/trunk resteasy-trunk],
  166. %w[svn https://resteasy.svn.sourceforge.net/svnroot/resteasy/tags/RESTEASY_JAXRS_2_1_0_GA/ resteasy-jaxrs-2.1.0-ga],
  167. %w[svn http://svn.apache.org/repos/asf/geronimo/specs/trunk/ geronimo-specs-trunk],
  168. %w[svn http://svn.apache.org/repos/asf/tomcat/trunk/ tomcat-trunk],
  169. %w[svn http://svn.apache.org/repos/asf/wicket/trunk/ wicket-trunk],
  170. %w[svn http://svn.apache.org/repos/asf/maven/maven-3/trunk maven-3],
  171. %w[git http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git org.eclipse.jetty.project],
  172. %w[git git://github.com/KentBeck/junit junit],
  173. %w[git git://github.com/jenkinsci/jenkins.git jenkins],
  174. %w[git git://github.com/yusuke/twitter4j.git twitter4j],
  175. %w[git git://github.com/espenhw/malabar-mode.git malabar-mode],
  176. # clojure
  177. %w[git git://github.com/clojure/clojure.git clojure],
  178. %w[git git://github.com/clojure/clojure-contrib.git clojure-contrib],
  179. %w[git git://github.com/clojure/java.jdbc.git java.jdbc],
  180. %w[git git://github.com/clojure/tools.macro.git tools.macro],
  181. %w[git git://github.com/clojure/data.json.git data.json],
  182. %w[git git://github.com/mmcgrana/ring.git ring],
  183. %w[git git://github.com/mmcgrana/clj-html.git clj-html],
  184. %w[git git://github.com/duelinmarkers/clj-record.git clj-record],
  185. %w[git git://github.com/medSage/clj-http.git clj-http],
  186. # groovy
  187. %w[git git://github.com/russel/groovy.git groovy],
  188. %w[git git://github.com/grails/grails-core.git grails-core],
  189. # erlang
  190. %w[hg http://hg.rabbitmq.com/rabbitmq-codegen rabbitmq-codegen],
  191. %w[hg http://hg.rabbitmq.com/rabbitmq-server rabbitmq-server],
  192. %w[git git://github.com/basho/riak.git riak],
  193. %w[git git://github.com/basho/riak_core.git riak_core],
  194. %w[git git://github.com/basho/riak_kv.git riak_kv],
  195. # scheme
  196. %w[git git://gauche.git.sourceforge.net/gitroot/gauche/Gauche Gauche],
  197. %w[git git://github.com/kiyoka/nendo.git nendo],
  198. %w[hg http://www.stklos.net/hg/hgweb.cgi stklos],
  199. %w[git git://code.call-cc.org/chicken-core chicken-core],
  200. ]
  201. VCS_COMMAND = {
  202. :hg => 'clone',
  203. :git => 'clone',
  204. :svn => 'checkout',
  205. }
  206. desc "Display repositories"
  207. task :list do
  208. REPOSITORIES.each do |repository|
  209. vcs, url, name = *repository
  210. puts "#{name} [#{vcs}] #{url}"
  211. end
  212. end
  213. REPOSITORIES.each do |repository|
  214. vcs, url, name = *repository
  215. desc "Clone #{name}"
  216. task "clone-#{name}" do
  217. if File.directory?(name)
  218. STDERR.puts "WARNING: already exists #{name} directory."
  219. else
  220. sh "#{vcs} #{VCS_COMMAND[vcs.to_sym]} #{url} #{name}"
  221. end
  222. end
  223. end
  224. task :default => :list