How to define an SVN project in Krugle

1
How to define an SVN project in Krugle
To search SVN code (or any other version controlled data in the SVN repository) in Krugle you
will need to (A) create a SVN Data Repository and (B) create a Krugle Project with that Data
Repository. Details for these steps:
Create a SVN SCMI Data Repository
1)
Make sure the SVN SCMI service is running on your network. Note the IP
address (including the port identifier).
2)
Sign in to the Krugle Administration Console from an internet browser. Enter the
host name URL assigned to Krugle Enterprise during the initial installation
process, with ":8080" appended to the end of the URL as the port
Krugle SCMI Reference – SVN 03.14
2
3)
Enter valid administration credentials (e.g. those specified during initial
installation of Krugle Enterprise) to Sign In to Krugle. You will then see the
Status tab of the Administration Console:
4)
Click the Projects tab to go to Projects Summary page:
Krugle SCMI Reference – SVN 03.14
3
5)
Click the Data Repositories option in the left navigation pane. You’ll see the
Data Repositories that are currently defined in your system. These Data
Repositories are database records stored in Krugle that contain the information
that Krugle needs to connect to information servers on your network:
6)
To add a Repository in Krugle that will store your SVN information, click the Add
New Data Repository button. You will then see the Data Repository definition
page:
7)
Select SCMI from the Data RepositoryType drop down list – as shown below:
Krugle SCMI Reference – SVN 03.14
4
8)
Enter the verified IP address or hostname which corresponds to the SVN Service
(see step 1 above) repository:
9)
Click Next button to continue defining the Data Repository:
Krugle SCMI Reference – SVN 03.14
5
10)
Enter a descriptive name for the Data Repository. Unless specifically directed by
Krugle, you won’t need to change the Path, Port or Connection Type fields:
11)
Click Save button to complete the specification of the new Data Repository. You’ll
return to the Data:
This completes the process of creating a Data Repository. In the following section, we’ll create a
Krugle Project that incorporates this Data Repository to specify the selected data from the
repository (all of it or part of it) – that Krugle will search.
Create a Krugle Project with SVN Data Repository
A Krugle Project is a definition of the specific data that you want Krugle to crawl.
A Krugle Project can contain all of the information in a SVN repository (or several
repositories), or just a portion of that information. Additionally, the Krugle Project
Krugle SCMI Reference – SVN 03.14
6
can be specified to crawl that information once or to automatically re-crawl and
update that information in the future.
In this section, we explain the basic options in setting up a Krugle Project for the
Nutch project available at the apache.org site https://svn.apache.org/repos/asf:
To specify the information that Krugle will extract from the Apache SVN repository,
navigate to the Projects Summary page in the Krugle Admin console (see Step 2
above if you’re currently not signed in to the Admin console):
Next:
1) In Project Summary page, click the Add New Project option located directly
beneath and to the right of the Snapshot Status area:
Krugle SCMI Reference – SVN 03.14
7
2) On the Add/Edit Project page, click the Advanced Setting link:
Krugle SCMI Reference – SVN 03.14
8
3) Enter the Project information requested in the form. Fields marked with a *
are required:
4) Click the Next button after entering the Project metadata into the form. You
will go to the second step of Add/Edit Project page:
5) Select the Data Repository type which you created in previous section from
the dropdown list (in the following screen, we are selecting the SVN-SCMI):
Krugle SCMI Reference – SVN 03.14
9
6) After selecting the SVN-SCMI item, enter the information shown below:
7) Enter the Location (as the SVN repository address noted for the Nutch
project above), the Parameter (login credentials) and Alias fields- as shown
below. When finished, Click the Add Data Set button:
Krugle SCMI Reference – SVN 03.14
10
8) Click the Add Data Set button to create the Krugle Project. On the following
page click the Finish button. NOTE: this example uses only one Data Set;
multiple Data Sets are supported – but not demonstrated here.
9) You will be redirected to the Project Summary page where the newly created
project will be displayed:
Krugle SCMI Reference – SVN 03.14
11
10) At this point, Krugle will begin to crawl and index your project. After these
steps are successfully completed, you will see a Green check icon in the
Status column for the project:
Krugle SCMI Reference – SVN 03.14
12
This completes the specification of a Krugle Project for SVN. This information can
now be searched.
If you want to search Krugle for the files from the Nutch file:
● Go to Krugle Search Environment(KSE), point your browser to the URL
shown in the VMware console window when Krugle was installed. In this
example, that URL is http://192.168.2.188:
Krugle SCMI Reference – SVN 03.14
13
● Enter the search term: project:SVN-Apache-Nutch, where “SVNApache-Nutch” is the project name you created.
● The results will appear as a list in the Krugle Search Environment results
page:
Krugle SCMI Reference – SVN 03.14
14
●
You can click any file name link (blue text) from the result list to view
details of that result. For example, clicking “nutch”:from the preceding list
will display the contents of that file:
Krugle SCMI Reference – SVN 03.14