Skip to content

Add gitlab repositories information retrieval #1249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
163 changes: 139 additions & 24 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ procfs = "0.7"
criterion = "0.3"
kuchiki = "0.8"
rand = "0.8"
mockito = "0.29"

[build-dependencies]
time = "0.1"
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,10 @@ docker-compose run -- database add-directory <DIRECTORY> [PREFIX]
# Updates github stats for crates.
# You need to set CRATESFYI_GITHUB_USERNAME, CRATESFYI_GITHUB_ACCESSTOKEN
# environment variables in order to run this command.
# Set DOCSRS_GITLAB_ACCESSTOKEN to raise the rate limit,
# or leave it blank to fetch repositories at a slower rate.
# You can set this environment variables in ~/.cratesfyi.env file.
docker-compose run -- database update-github-fields
cargo run -- database update-repository-fields
```

If you want to explore or edit database manually, you can connect to the database
Expand Down
Loading