UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050803 Firefox/1.0.6 IP: 84.58.193.101 URI: http://wesnoth.slack.it/?WescampInstructions - - - - - Index: WescampInstructions =================================================================== RCS file: /home/wesnoth/cvsroot/wikiroot/WescampInstructions,v retrieving revision 1.25 diff -u -r1.25 WescampInstructions --- WescampInstructions 8 Aug 2005 16:01:57 -0000 1.25 +++ WescampInstructions 8 Aug 2005 16:23:24 -0000 @@ -104,6 +104,7 @@ #!/bin/csh -f + set SVN_SSH = 'ssh -l (your berlios.de username without parantheses)' set libpath = '~/Library/Preferences/Wesnoth/data/campaigns/Liberty' set wescamp = '~/Library/Preferences/Wesnoth/data/campaigns/Liberty-po' @@ -147,6 +148,7 @@ yourself. #!/bin/csh -f + set SVN_SSH = 'ssh -l (your berlios.de username without parantheses)' set libpath = '~/Library/Preferences/Wesnoth/data/campaigns/Liberty' set wescamp = '~/Library/Preferences/Wesnoth/data/campaigns/Liberty-po' @@ -165,6 +167,28 @@ and is more consistent with everything else you have been doing. +||Using SVN without Password|| + +If you don't want to type your password all the time, you can upload a ssh key for your computer to berlios.de and +you'll be logged in automatically while using WesCamp from that computer. + +1. Log in into your account and change to this page: http://developer.berlios.de/account/editsshkeys.php + +2. Create (in your terminal/shell, not the browser) the needed key: + ssh-keygen -t rsa + +3. open the created file with a texteditor like vim. The file should be in this folder: ~/.ssh/id_rsa.pub + +4. copy the strings from that file to the website you already opend. Somewhere in the middle there is a textbox. The +result should look like this: + ssh-rsa REALLY_MANY_WEIRD_COMBINED_CHARS_THAT_DO_NOT_MAKE_ANY_SENSE_AT_ALL [EMAIL PROTECTED] + +5. After you copied your key into that field hit the button called "Update". It will take some time until your key is +activated (up to six hours). + +Once activated, this allows ssh to authentificate you (on the computer where the key was generated) without requiring +you to type your password again. + ||Summary|| This page showed you how to set up a wescamp/SVN repository on your local computer. A method was presented for pulling @@ -191,76 +215,6 @@ utils.cfg or deaths.cfg file. You should adapt the process to commit ALL files that contain translatable text. -||Short version|| - -1) Get yourself an account at developer.berlios.de - -2) Log in into your account and change to this page: http://developer.berlios.de/account/editsshkeys.php - -3) Create (in your terminal/shell, not the browser) the needed key. You do this with the following steps: - ssh-keygen -t rsa - -4) open the created file with a texteditor like vim. The file should be in this folder: ~/.ssh/id_rsa.pub - -5) copy the strings from that file to the website you already opend. Somewhere in the middle there is a textbox. The -result should look like this: - ssh-rsa REALLYMANYWEIRDCOMBINEDCHARSTHATDONOTMAKEANYSENSEATALL [EMAIL PROTECTED] - -6) After you copied your key into that field hit the button called "Update". It will take some time until your key is -update (up to six hours). - -7) The work at berlios is finished. Now you work on your Computer. First you need to fetch the programm called svn. You -find it here: http://subversion.tigris.org/project_packages.html Scroll down to your platform. The following is mac -specific: Please use the version that does not require fink. Mount the .dmg. Now click the installer to install the -file. You will need to add something to your path variable. That is also described in the readme, but i'll describe it -in here, too: -* after installing change back to the terminal and do this: - cd /etc -* now open the file 'profile' with an editor (you can also use a different editor than vim, it is your choise)as root: -sudo vim profile -* there you will find a line that starts with PATH=". In that line you need to put :/usr/local/bin at the end. After -adding this, this line looks like this for me: - PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin" -* now you installed SVN and you can go on. After reopening the Terminal you should be able to type 'svn' (without the -colons) and get a result like this: "Type 'svn help' for usage." - -8) After svn is installed and setup correctly you can go on with fetching the files. For this you open up the Terminal, -change into the folder you want (you can also do this directly in your homw folder, it should harm nothing) and type the -follwoing things: (you will download ALL the campaigns that are in wescamp!) - export SVN_SSH="ssh -l BERLIOSUSERNAME" - svn checkout svn+ssh://svn.berlios.de/svnroot/repos/wescamp-i18n -You will be asked for the password of your Account at berlios. Type in the password you also need for the login at -developer.berlios.de. Afterwards it will ask you for your passphrase for your ssh key if you did specify one. If you did -not specify a passphrase it dhould not ask any more questions. Congratulaions, you downloaded all the files for the -first time. - -9) You will now have a new folder with the name "wescamp-i18n". In there are all the campaigns. cd into the dir with -your campaign. This could be cd wescamp-i18n/Two_Brothers-po/Two_Brothers. You can put your files into their (the normal -folderstructure like for the campaignserver). Afterwards you can simply commit the files with this command: - export SVN_SSH="ssh -l BERLIOSUSERNAME" - svn ci filename -This only works if the file already exists at berlios. If the file is new you need to do this: - export SVN_SSH="ssh -l BERLIOSUSERNAME" - svn add filename - svn ci filename -You will be asked for a password or, if you specified one, for your passphrase. Before you commit it, your default -texteditor will open up and you can enter your commitmessage. On a mac this will be vim. To be able to insert text, hit -'i'. In the bottom-left corner it will say insert. Write your text (eventually with "String changes" so that Torangan -knows he has to update), hit 'esc' and type ':x' to commit. If you do want to abort you need to hit ':q'. Now you -uploaded/added files to the rep. - -10) The only thing left now is to integrate the translations into the package at the campaignserver. For this you only -need to copy the stuff from the folder "wescamp-i18n/Two_Brothers-po/Two_Brothers/translations" to the place you got -your campaign that you upload. You need to have the complete folder translations in there. - -11) After getting the whole bunch of files for the first time you do NOT need to update the folder with the command "svn -checkout" but with this one: - export SVN_SSH="ssh -l BERLIOSUSERNAME" - svn update svn+ssh://svn.berlios.de/svnroot/repos/wescamp-i18n -You always need to start that from the same folder, eg the home folder. - -That is all you should need to know about updating and downloading stuff from and to wescamp. - ||See Also|| * WesCamp
_______________________________________________ Wesnoth-wiki-changes mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/wesnoth-wiki-changes
