- Infos im HLRS Wiki sind nicht rechtsverbindlich und ohne Gewähr -
- Information contained in the HLRS Wiki is not legally binding and HLRS is not responsible for any damages that might result from its use -

HLRS GForge

From HLRS Platforms
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
GForge is a free software fork of the web-based project-management and collaboration software originally created for SourceForge. GForge is licensed under the GNU General Public License. GForge provides project hosting, version control (CVS and Subversion), bug-tracking, and messaging.
Developer: GForge Group
Platforms: HLRS GForge Server
Category: Project Management and Collaboration
License: GNU GPL
Website: GForge Homepage


Registration

Create an account

In order to register please fill in the registration form.

Create a project

As soon as your account is activated you can login to the HLRS GForge Server (HLRS GForge Login Page). Now you can join already existing projects or create your own projects. On "MyPage" click on "Register project" or follow the link to the project registration and fill in the form.

Note: Be sure to mention your HLRS collaboration project (e.g. HPC-Europa2, PRACE) or your HLRS contact in the field "2. Project Purpose And Summarization". This description will be the basis for the approval of your project. This description will not be used as a public description of your project. It must be written in English.


Usage

The online home of Version Control with Subversion provides detailed information about all SVN commands.

Note: The HLRS GForge server is accessible from all HLRS platforms.

Checkout (Repository herunterladen)

Als erstes muss man das Repository vom Server herunterladen. Dies geht mit

svn co --username $username https://svn.gforge.hlrs.de/svn/$projektname $zielpfad

wenn kein Zielpfad angegeben wird, wird ein neues Unterverzeichnis $projektname erstellt

Commit (Änderungen hochladen)

Um Änderungen hochzuladen den Befehl

svn ci

im Repository Verzeichnis eingeben. Es wird ein Editor geöffnet in dem man sie Änderungen am Repository dokumentieren muss, nach Beenden des Editors werden die Änderungen hochgeladen.

Update (Neuste Revision herunterladen)

Um die neuste Revision des Repositories herunterzuladen muss man in das Repository-Verzeichnis wechseln und

svn up

eingeben

Abfrage lokaler Änderungen

Die Änderungen der lokalen Kopie des Repositories kann man einfach mit

svn status

anschauen, anstatt wie unter CVS die up Funktion zu verwenden

Dateien hinzufügen/löschen

Dateien und Verzeichnisse kann man mit

svn rm $dateiname

löschen, und mit

svn add $dateiname

in das Repository hinzufügen

Hilfe/ svn help

svn help

gibt die Liste der möglichen Befehle aus. Um mehr über einen bestimmten befehlt zu erfahren gibt man

svn help $befehl

ein
Beispiel:

jann@gforge:~$ svn help status
status (stat, st): Print the status of working copy files and directories.
usage: status [PATH...]
With no args, print only locally modified items (no network access). With -u, add working revision and server out-of-date information. With -v, print full revision information on every item.
The first five columns in the output are each one character wide: First column: Says if item was added, deleted, or otherwise changed ' ' no modifications 'A' Added 'C' Conflicted 'D' Deleted 'G' Merged 'I' Ignored 'M' Modified 'R' Replaced 'X' item is unversioned, but is used by an externals definition '?' item is not under version control [...]

See also

External links