Commit 08401877ae2e7485cdaf2b758a1aa77818754667

Authored by Antonio Terceiro
1 parent b3229c21

ActionItem1049: removing obsolete doc/rake task

Showing 2 changed files with 6 additions and 17 deletions   Show diff stats
doc/README_FOR_APP.en
@@ -9,7 +9,7 @@ so the process of setting it up is pretty similar to other Rails applications. @@ -9,7 +9,7 @@ so the process of setting it up is pretty similar to other Rails applications.
9 9
10 noosfero is intended to be run in Debian stable. It can work in other environments, but we do not test on them. 10 noosfero is intended to be run in Debian stable. It can work in other environments, but we do not test on them.
11 11
12 -You need to have a Subversion client (svn) installed, as well as: 12 +You need to have git installed, as well as:
13 13
14 * Ruby: http://www.ruby-lang.org/ 14 * Ruby: http://www.ruby-lang.org/
15 * Rake: http://rake.rubyforge.org/ 15 * Rake: http://rake.rubyforge.org/
@@ -32,13 +32,13 @@ There are Debian packages available for all of them but ferret. Try: @@ -32,13 +32,13 @@ There are Debian packages available for all of them but ferret. Try:
32 If you have problems with the setup, use the development mailing list. In 32 If you have problems with the setup, use the development mailing list. In
33 special its possible that the requirements list above is not complete. 33 special its possible that the requirements list above is not complete.
34 34
35 -=== Boostraping the test environment 35 +=== Boostraping a test environment
36 36
37 You can copy and paste the commands below into a terminal (please review the 37 You can copy and paste the commands below into a terminal (please review the
38 commands and make sure you understand what you are doing): 38 commands and make sure you understand what you are doing):
39 39
40 # checkout the code from repository 40 # checkout the code from repository
41 - svn checkout https://svn.colivre.coop.br/svn/noosfero/trunk/ noosfero 41 + git clone git://git.colivre.coop.br/noosfero.git
42 # enter the directory 42 # enter the directory
43 cd noosfero 43 cd noosfero
44 # copy a sample config file 44 # copy a sample config file
@@ -98,8 +98,7 @@ To prepare a release of noosfero, you must follow the steps below: @@ -98,8 +98,7 @@ To prepare a release of noosfero, you must follow the steps below:
98 * Go to the version's wiki topic and edit it to reflect the new reality. 98 * Go to the version's wiki topic and edit it to reflect the new reality.
99 * Attach the generated package to that topic. Before attaching calculate the md5 of the package (with mu5sum and paste the MD5 hash as comment in the attachment form) 99 * Attach the generated package to that topic. Before attaching calculate the md5 of the package (with mu5sum and paste the MD5 hash as comment in the attachment form)
100 * Download the attached and verify the MD5 hash 100 * Download the attached and verify the MD5 hash
101 -* create a svn tag for the released version with <tt>rake tag</tt>. See  
102 - lib/tasks/svn.rake in case of any questions. 101 +* create a git tag for the released version with <tt>git tag</tt>.
103 * IMMEDIATELY change the version in lib/noosfero.rb to the next version. (e.g. 102 * IMMEDIATELY change the version in lib/noosfero.rb to the next version. (e.g.
104 0.2.0 -> 0.3.0) 103 0.2.0 -> 0.3.0)
105 * update an eventual demonstration version that you run. 104 * update an eventual demonstration version that you run.
@@ -110,8 +109,8 @@ completely delete the generated packages and start the process again. @@ -110,8 +109,8 @@ completely delete the generated packages and start the process again.
110 109
111 == Working with translations 110 == Working with translations
112 111
113 -* Update translation files: <tt>rake updatepo</tt>. Then <tt>svn commit</tt> them. 112 +* Update translation files: <tt>rake updatepo</tt>. Then <tt>git commit</tt> them.
114 * Send the PO files to the translators. 113 * Send the PO files to the translators.
115 * Get the PO files back from translators, put in po/ under the correct language 114 * Get the PO files back from translators, put in po/ under the correct language
116 - name (e.,g. po/pt_BR/) and <tt>svn commit</tt>. 115 + name (e.,g. po/pt_BR/) and <tt>git commit</tt>.
117 * test translations: <tt>rake makemo</tt> and browse the application on the web. 116 * test translations: <tt>rake makemo</tt> and browse the application on the web.
lib/tasks/svn.rake
@@ -1,10 +0,0 @@ @@ -1,10 +0,0 @@
1 -require 'noosfero'  
2 -  
3 -namespace 'svn' do  
4 - task 'tag' do  
5 - sh "svn copy #{Noosfero::SVN_ROOT}/trunk #{Noosfero::SVN_ROOT}/tags/#{Noosfero::VERSION}"  
6 - puts "*************************************************************"  
7 - puts "** please remember to change the version in lib/noosfero.rb !"  
8 - puts "*************************************************************"  
9 - end  
10 -end