Menu

Execution

James Goodger

Running EvoFETCH

EvoFETCH works by analysing source control repositories in conjunction with data mined by the CVSAnalY tool.

For details of how to install and use CVSAnalY, see http://projects.libresoft.es/wiki/cvsanaly

Extracting Data

To use EvoFETCH to extract data from a repository and a database produced by CVSAnalY, use the following Python script from the src/snavtofamix folder:

python cvsanaly2cdif.py [options] projectName repositoryURI

projectName -- name of the project in CVSAnalY database
repositoryURI -- URI of a source control repository to analyse

Options: |
--------------------|-------------------
-h, --help | Show online help

Database: |
--------------------|---------------------------------------------------------
--db-driver | Output database driver [mysql|sqlite], defaults to mysql
-u, --db-user | Database user name, defaults to operator
-p, --db-password | Database user password
-d, --db-database | Database name, defaults to cvsanaly
-H, --db-hostname | Name of the host where database server is running, defaults to localhost

Heuristics: |
--------------------|-----------------------------------------------------------------
-w, --window | Sliding time window to apply to CVS, in seconds. Defaults to 120

Example

python cvsanaly2cdif.py -u root -p pass -d mydb xmlsec git://git.gnome.org/xmlsec

This will connect to a MySQL database named mydb, using the user name root with the password pass.

EvoFETCH will look for a repository in the database named xmlsec and will use git://git.gnome.org/xmlsec when checking out code from the repository.

The xmlsec project name is also used to create a folder to hold the files produced by EvoFETCH and the CDIF files will also all be prefixed with xmlsec.

[Creating RSF Data] >>


Related

Wiki: Creating RSF Data
Wiki: Home