repository-sql.sh

Use this script to generate the final SQL to fetch repository ids for a list of repository paths provided as input.

Note: This is a CollabNet internal script, intended for Ops and Support teams. Use this script along with the CodeSightMigration.sh script for code search functionality.

Location

runtime/scripts/codesearch

Usage

To run the script, use this command in the app server:
repository-sql.sh --file=<<input-file>>
where input-file contains the list of repository paths. For example:
./repository-sql.sh --file=repopathfile.txt

Options

--file=<<input-file>>
Specify the file containing the repository paths.
--help
Print the usage message.