Free and Open Source real time strategy game with a new take on micro-management

Difference between revisions of "Uploading to Savannah"

From Globulation2

Jump to: navigation, search
 
Line 44: Line 44:
* Apply/save, and restart
* Apply/save, and restart
* Further files will be automatically these permissions.
* Further files will be automatically these permissions.
[[Category:Developer Resources]]

Revision as of 09:26, 11 April 2007

(this page will be heavily modified, but experienced people should be able to follow)

Uploading to Savannah

So you have made a package for your system you want to share? Well done. But there is a few things you need to do first. Follow the instructions for you operating system below.

Uploading on Linux

  • First you have to make yourself a gpg key and ssh key.
  • Upload your public ssh key to Savannah
  • Upload your public gpg key to Savannah
  • Wait 1 hour for everything to take effect.
  • Open the console and run
sftp [username]@dl.sv.nongnu.org:/releases/glob2/
  • Or if you prefer a more graphical interface, open Konqueror and run
sftp://[username]@dl.sv.nongnu.org/releases/glob2/

Uploading on Windows

  • Install WinSCP
  • Open PuTTYgen, generate a new 1024 length DSA2-SSH key with a passphrase
  • Save your private file to a folder where it will remain for as long as you use WinSCP
  • Save your public file to you desktop
  • Upload the public ssh key (top box when key is generated) to Savannah
  • Upload the contents of the saves public (not private) key to Savannah (open it using wordpad, then CTRL+A, CTRL+C)
  • Wait 1 hour for everything to take effect.
  • Open WinSCP
  • Set username as the one on Savannah
  • Set password as they passphrase you set during the making of the key
  • Set host as dl.sv.nongnu.org, with port 22
  • Set private file as the one you saved in the place where it will remain
  • Set protocol as SFTP
  • Save the connection information
  • Connection should now work

Setting Permissions

When you upload a file, it belongs to you. No one else can touch it. Which doesn't make it very good for others. So to allow others to move and rename etc, your files, do the following.

Permissions on Linux

  • If using console, type:
chmod 777 [file or folder you uploaded]
  • If you are using Konqueror:
Right click uploaded files, click Properties > Permissions > Advanced Permissions > And tick all boxes in the first three columns (9 boxes in total)

Permissions on Windows

  • In WinSCP, open Properties
  • Go to the Uploads settings page
  • Find the box about setting, click apply permissions, and hit the litle box with three ...
  • Fiddle with the settings till you find the combination 777, usually tick all boxes in the first three columns (9 boxes in total)
  • Apply/save, and restart
  • Further files will be automatically these permissions.
Misc