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 1: Line 1:
(this page will be heavily modified, but experienced people should be able to follow)
(this page is new, minimal, but will be heavily modified, and experienced people should be able to follow it atm)


==Uploading to Savannah==
==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.
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.
{{Warning|Warning Regarding Pass phrases|<br />* * * The guide below uses pass phrases for security. While they are not needed, and all step about them can be ignored,<br />it is advised you do use them, so that no one can steal you keys and use them to wreck havoc on the release server.}}
===Uploading on Linux===
===Uploading on Linux===
*First you have to make yourself a gpg key and ssh key.
*First you have to make yourself a gpg key and ssh key.
Line 12: Line 13:
* Or if you prefer a more graphical interface, open Konqueror and run
* Or if you prefer a more graphical interface, open Konqueror and run
:sftp://[username]@dl.sv.nongnu.org/releases/glob2/
:sftp://[username]@dl.sv.nongnu.org/releases/glob2/

===Uploading on Windows===
===Uploading on Windows===
* Install WinSCP
* Install WinSCP
Line 22: Line 22:
* Wait 1 hour for everything to take effect.
* Wait 1 hour for everything to take effect.
* Open WinSCP
* Open WinSCP
* Set host as dl.sv.nongnu.org, with port 22
* Set username as the one on Savannah
* Set username as the one on Savannah
* Set password as they passphrase you set during the making of the key
* 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 private file as the one you saved in the place where it will remain
* Set protocol as SFTP
* Set protocol as SFTP (with SCP fallback)
* Save the connection information
* Save the connection information
* Connection should now work
* Connection should now work
* Using the norton Commander interface, hit CTRL+O
* Type /releases/glob2/, hit Add, then click Ok
:(further uses require you to open the bookmarks, select it, and click Ok to get there)


==Setting Permissions==
==Setting Permissions==
Line 34: Line 37:
===Permissions on Linux===
===Permissions on Linux===
* If using console, type:
* If using console, type:
:chmod 777 [file or folder you uploaded]
:chmod 775 [file or folder you uploaded]
* If you are using Konqueror:
* 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)
:Right click uploaded files, click Properties > Permissions > Advanced Permissions > And tick all boxes in the first three columns minus Others Write (8 boxes in total)
===Permissions on Windows===
===Permissions on Windows===
* In WinSCP, open Properties
* In WinSCP, hit CTRL+ALT+P (or Options > Preferences)
* Go to the Uploads settings page
* Go to the Transfer settings page
* Find the box about setting, click apply permissions, and hit the litle box with three ...
* Find the box about Upload options, click Set 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)
* In the Octal text box, write 775 (it should then select all boxes in the first three columns minus Others Write (8 boxes in total)). Click close.
* Click ok. Further files will be automatically these permissions.
* Apply/save, and restart
* Further files will be automatically these permissions.
[[Category:Developer Resources]]
[[Category:Developer Resources]]

Revision as of 20:22, 11 April 2007

(this page is new, minimal, but will be heavily modified, and experienced people should be able to follow it atm)

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.

Warning Regarding Pass phrases:
* * * The guide below uses pass phrases for security. While they are not needed, and all step about them can be ignored,
it is advised you do use them, so that no one can steal you keys and use them to wreck havoc on the release server.

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 host as dl.sv.nongnu.org, with port 22
  • Set username as the one on Savannah
  • Set password as they passphrase you set during the making of the key
  • Set private file as the one you saved in the place where it will remain
  • Set protocol as SFTP (with SCP fallback)
  • Save the connection information
  • Connection should now work
  • Using the norton Commander interface, hit CTRL+O
  • Type /releases/glob2/, hit Add, then click Ok
(further uses require you to open the bookmarks, select it, and click Ok to get there)

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 775 [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 minus Others Write (8 boxes in total)

Permissions on Windows

  • In WinSCP, hit CTRL+ALT+P (or Options > Preferences)
  • Go to the Transfer settings page
  • Find the box about Upload options, click Set Permissions, and hit the litle box with three ...
  • In the Octal text box, write 775 (it should then select all boxes in the first three columns minus Others Write (8 boxes in total)). Click close.
  • Click ok. Further files will be automatically these permissions.
Misc