Registering Gitweb servers

The Gitweb server must be registered with the Rational® Adapter for Git.

Before you begin

Make sure the Rational Adapter for Git Gitweb additions are deployed to the Gitweb server.

About this task

Register the Gitweb server to make it known to the Rational Adapter for Git so that it can be recognized by Gitweb projects.

Procedure

  1. Point your web browser to the Gitweb home page; for example http://our.git.server/git

    The Rational Adapter for Git banner shows. This is one of the Gitweb additions that you deployed to the Gitweb server.

    Gitweb home with additions

  2. Click the Admin (Administration) icon in the top right portion of the banner and then click Register This Server.

    The Create a New Logical Adapter page opens in a new web browser window.

  3. Confirm that the Rational Adapter for Git URL matches the Gitweb server name, for example http://our.git.server/git
  4. Confirm that Type is Gitweb.

    Create a New Logical Adapter page

  5. Click Save.
  6. The Gitweb server is now registered with the Rational Adapter for Git. The Git Server Connection page is now displayed. An information message displays that directs you to further instructions to take the logical adapter URI and update the same variable in the ./static/oslcConfig.js file. Complete the steps as instructed.

    New Git Server Connection

Results

You have registered the Gitweb server with the Rational Adapter for Git.

What to do next

Register Gitweb projects to make them known to the Change and Configuration Management project and enable the Gitweb features of the Rational Adapter for Git, see Registering Gitweb projects.

Feedback