https://github.com/gafawork/scopre-repository
Easyfind for Gitlab
https://github.com/gafawork/scopre-repository
git gitlab
Last synced: 6 months ago
JSON representation
Easyfind for Gitlab
- Host: GitHub
- URL: https://github.com/gafawork/scopre-repository
- Owner: gafawork
- License: apache-2.0
- Created: 2024-07-14T12:09:00.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-12-25T09:46:09.000Z (7 months ago)
- Last Synced: 2025-12-26T22:42:09.085Z (7 months ago)
- Topics: git, gitlab
- Language: Java
- Homepage:
- Size: 373 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Scopre Repository for Gitlab
Java Library for search in the GitLab repository
Java library for searching Gitlab Server repositories.
---
## GitLab Server Version Support
gitlab4j-api which supports versions 11.0+ of Gitlab Community Edition and Gitlab Enterprise Edition
---
### Generate Jar
```
mvn clean install
```
---
### Using Scopre Repository
| parameter | functionality | sample |
|-----------------------------|--------------------------------------------------------------|------------------------------------------------------|
| -d, --debug | debug | -d |
| -t, --token | token [REQUIRED] | -t glpat-x3Udy1PSS5_AgRwjUDu |
| -f, --filter | filter files | -f "pom.xml" "config.properties" |
| -s, --search | one text or list of many text as input for search [REQUIRED] | -s "context" "Spring-boot" |
| -b, --searchBranches | branch(es) | -b "master" "develop" |
| -h, hostUrl | host gitlab [REQUIRED] | -h https://gitlab.com |
| -n, --projectName | project name | -n "gitlab-search" "gafawork" |
| -p, --parallel | total threads | -p 4 |
| -c, --classPlugin | plugin for execute | -c plugin.gafawork.scopre.repository.SystemOutPlugin |
| -i, --inputFile | input file filter projects | -i inputFilterFile.csv |
### **Java 21 Requirement**
### **Project Set Up**
To run Gitlab-Search, you must run it via the command line using the parameters below:
```
java -jar ./target/scopre-repository-1.0-jar-with-dependencies.jar
-d
-t glpat-x2UHy2PSS7_AGRwKqUDu
-p 4
-f pom.xml
-s jasper
-b master
-h https://gitlab.com
```
```
java -jar ./target/scopre-repository-1.0-jar-with-dependencies.jar
-d
-t glpat-x2UHy2PSS7_AGRwKqUDu
-p 4
-f ^.*.java$
-s "String" "Integer"
-b master
-h https://gitlab.com
```
```
java -jar ./target/scopre-repository-1.0-jar-with-dependencies.jar
-d
-t glpat-x2UHy2PSS7_AGRwKqUDu
-p 4
-f ^.*.java$
-s "String" "Integer"
-b master
-h https://gitlab.com
-c plugin.gafawork.scopre.repository.SystemOutPlugin
```
```
java -jar ./target/scopre-repository-1.0-jar-with-dependencies.jar
-d
-t glpat-x2UHy2PSS7_AGRwKqUDu
-p 4
-f ^.*.java$
-s "String" "Integer"
-b master
-h https://gitlab.com
-i inputfile.csv
```
**Output:**

**Note: **
- report-yyyy-MM-dd hh-mm-ss.csv file generated with the search result.

- report-yyyy-MM-dd hh-mm-ss.txt file generated with the search result.
