From 8aeb8434d64f1f501b3f5590747c13bd3f379f3b Mon Sep 17 00:00:00 2001
From: Mike Frysinger 2.1. FTP and WWW sites that carry nano.
+ 2.4. By GIT (for the brave).
2.2. RedHat and derivatives (.rpm) packages.
2.3. Debian (.deb) packages.
- 2.4. By subversion (for the brave).
+ 7.5. Can I have write access to the GIT tree?3.1. How do I install the RPM or DEB package?
3.2. Compiling from source: WHAT THE HECK DO I DO NOW?
@@ -61,7 +61,7 @@ 7.2. I want to send the development team a big load of cash (or just a thank you).
7.3. How do I submit a bug report or patch?
7.4. How do I join the development team?
- 7.5. Can I have write access to the subversion tree?
You can also have a look at the Package Pool to see all the available binary and source packages.
-+For the 'bleeding edge' current version of nano, you can use subversion to download the current source code. Note: believe it or not, by downloading code that has not yet stabilized into an official release, there could quite possibly be bugs, in fact the code may not even compile! Anyway, see the nano SVN document for info on anonymous SVN access to the nano source.
For the 'bleeding edge' current version of nano, you can use GIT to download the current source code. Note: believe it or not, by downloading code that has not yet stabilized into an official release, there could quite possibly be bugs, in fact the code may not even compile! Anyway, see the nano GIT document for info on anonymous GIT access to the nano source.
Please submit patches for nano via the Savannah project's patch manager for the nano project.
-The easiest way is to consistently send in good patches that add some needed functionality, fix a bug or two, and/or make the program more optimized/efficient. Then ask nicely and you will probably be added to the Savannah development list and be given SVN write access after a while. There is a lot of responsibility that goes along with being a team member, so don't think it's just something to add to your resume.
+The easiest way is to consistently send in good patches that add some needed functionality, fix a bug or two, and/or make the program more optimized/efficient. Then ask nicely and you will probably be added to the Savannah development list and be given write access after a while. There is a lot of responsibility that goes along with being a team member, so don't think it's just something to add to your resume.
Re-read Section 7.4 and you should know the answer.
+2016/04/17 - Update docs to refer to GIT instead of subversion. (Mike)
2015/07/18 - More small fixes and updates. (Benno)
2014/04/24 - A bunch of small fixes and updates. (Benno)
2009/11/30 - Update various bits for nano 2.2.x. (DLR)
diff --git a/po/LINGUAS b/po/LINGUAS index 51f16128..1ceb6b70 100644 --- a/po/LINGUAS +++ b/po/LINGUAS @@ -1,2 +1,2 @@ # List of available languages. -bg ca cs da de eo es eu fi fr ga gl hr hu id it ja ms nb nl nn pl pt_BR ro ru sl sr sv tr uk vi zh_CN zh_TW +bg ca cs da de eo es eu fi fr ga gl hr hu id it ja ms nb nl nn pl pt_BR ro ru sl sr sv tr uk vi zh_CN zh_TW diff --git a/po/update_linguas.sh b/po/update_linguas.sh index b97f6756..036e53b7 100755 --- a/po/update_linguas.sh +++ b/po/update_linguas.sh @@ -1,21 +1,16 @@ #!/bin/sh +cd "$(dirname "$0")" || exit echo "Updating translations via TP" && \ rsync -Lrtvz translationproject.org::tp/latest/nano/ . -# -NEWSTUFF=`svn status | grep "^\? .*.po$" | awk '{ print $NF }'` -if [ "x$NEWSTUFF" != "x" ]; then - echo "Adding new languaes to SVN" - svn add $NEWSTUFF -fi -# +git add -v *.po echo "Updating LINGUAS for all translations" FILE=LINGUAS -echo "# List of available languages." >$FILE -/bin/ls *.po | tr '\n' ' ' | sed 's/\.po//g' >>$FILE -echo >> $FILE -# -if [ "x$NEWSTUFF" != "x" ]; then - echo -n "New langs found, re-running configure and make at top level (silently)..." +echo "# List of available languages." >"${FILE}" +echo $(printf '%s\n' *.po | LC_ALL=C sort | sed 's/\.po//g') >>"${FILE}" +git add -v "${FILE}" +NEWSTUFF=$(git status --porcelain *.po) +if [ -n "${NEWSTUFF}" ]; then + printf "New langs found, re-running configure and make at top level (silently)..." (cd .. && ./configure && make) >/dev/null echo "done" fi