5. Site-wide functions

5.1. Introduction
5.2. Searching in GForge
5.3. Trove map
5.4. Snippet Library
5.5. Project Help

5.1. Introduction

The side-wide functions are available anytime, they are not dependent on the single projects.

The site-wide functions handle data that are not relevant to a single project, as code fragments, project classification, project helps, etc.

The single site-wide functions available to the users are:

  • Project help

  • Search

  • Snippet Library

  • Trove map

5.2. Searching in GForge

You can search in GForge for the following arguments:

People

You can search for login name or the complete username. The search is not case sensitive. Inserted text must be at least 3 characters.

Software/Group

You can search for software groups. Inserted text must be at least 3 characters.

Skill

You can search for skills inserted by the users. Only public skills profiles can be searched. Inserted text must be at least 3 characters.

You can search for People or Software groups by selecting the item in the combo box and inserting the search text in the text box.

If the user is inside one of the Trackers, a voice Tracker appears in the combo box.

If the user is inside a forum, a voice Forum appears in the combo box.

5.3. Trove map

This allows users to classify their projects in a tree so that they can be found more easily.

5.4. Snippet Library

The Snippet Library function of GForge is very interesting; it allows to collect all the type of information/knowledge which is not a complete piece of code and which is usually difficult to organize/share.

A typical example are sophisticated shell commands, javascript functions, perl one-liner, SQL expressions that perform special queries, an algorithm, etc.

5.4.1. Inserting a new snippet

You can insert a new Snippet by clicking on the Submit a New Snippet link.

A form appears, where the following information can be inserted:

Title

Insert the title of the snippet. This will be displayed in the list of the snippets.

Description

Insert the description of the snippet.

Type

Select the type of the snippet: function, full script, Howto, class, Readme.

License

Select the license you want to use for your snippet.

Language

Select the language of the snippet (if it is language dependent).

Category

Classify your snippet in categories tree.

Version

You should insert here the version of the snippet. For a new snippet, insert 1.0.

Code

Paste here the code of the snippet.

5.4.2. Browsing snippets

You can browse snippets by clicking the Browse link.

You can browse snippets by Language or by Category. The resulting table shows the list of all snippets of the Language/Category. You can click on the snippet number to view the detail of the snippet.

5.4.3. Modifying a snippet

You cannot modify an existing snippet, but you can add a new version of the snippet by clicking on the Submit a new version link on the bottom part of the detail page of the snippet.

Adding a new version does not delete the old version, all previous versions will be available.

5.5. Project Help

This feature allows users to search for help for their projects.