- 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: Difference between revisions

From HLRS Platforms
Jump to navigationJump to search
Line 21: Line 21:


== Usage ==
== Usage ==
The online home of [http://svnbook.red-bean.com/ Version Control with Subversion] provides detailed information about all SVN commands.
{{Note
{{Note
| text = The HLRS GForge server is accessible from all HLRS platforms.  
| text = The HLRS GForge server is accessible from all HLRS platforms.  
}}
}}
==== Checkout (Repository herunterladen) ====
=== SVN usage ===
Als erstes muss man das Repository vom Server herunterladen. Dies geht mit
The online home of [http://svnbook.red-bean.com/ Version Control with Subversion] provides detailed information about all SVN commands. You can checkout your SVN project like this:
  svn co --username $username https://svn.gforge.hlrs.de/svn/$projektname $zielpfad
  svn co --username $username https://svn.gforge.hlrs.de/svn/$projectname $path
wenn kein Zielpfad angegeben wird, wird ein neues Unterverzeichnis $projektname erstellt
If $path is not provided a new subdirectory $projectname will be created. You can upload changes like this:
==== Commit (Änderungen hochladen) ====
Um Änderungen hochzuladen den Befehl
  svn ci
  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.
In order to update your local copy use the update command:
==== Update (Neuste Revision herunterladen) ====
Um die neuste Revision des Repositories herunterzuladen muss man in das Repository-Verzeichnis wechseln und
  svn up
  svn up
eingeben
Files and directories can bw removed with
==== Abfrage lokaler Änderungen ====
  svn rm $filename
Die Änderungen der lokalen Kopie des Repositories kann man einfach mit
and added with
svn status
  svn add $filename
anschauen, anstatt wie unter CVS die up Funktion zu verwenden
With the command
==== 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
  svn help
gibt die Liste der möglichen Befehle aus.
the help page of SVN is displayed.
Um mehr über einen bestimmten befehlt zu erfahren gibt man
svn help $befehl
ein<br>
Beispiel:
jann@gforge:~$ svn help status
status (stat, st): Print the status of working copy files and directories.
usage: status [PATH...]<br>
  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.<br>
  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 ==
== See also ==

Revision as of 11:40, 1 March 2010

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

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

SVN usage

The online home of Version Control with Subversion provides detailed information about all SVN commands. You can checkout your SVN project like this:

svn co --username $username https://svn.gforge.hlrs.de/svn/$projectname $path

If $path is not provided a new subdirectory $projectname will be created. You can upload changes like this:

svn ci

In order to update your local copy use the update command:

svn up

Files and directories can bw removed with

svn rm $filename

and added with

svn add $filename

With the command

svn help

the help page of SVN is displayed.

See also

External links