Skip to content
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

Refactor the crawler to use Developers Italia API #302

Merged
merged 24 commits into from
Oct 17, 2022

Conversation

bfabio
Copy link
Member

@bfabio bfabio commented Aug 23, 2022

Adapt the crawler to use Developers Italia API

@bfabio bfabio force-pushed the developers-italia-api branch 3 times, most recently from 914e2dd to bef2a25 Compare August 31, 2022 14:00
@bfabio bfabio force-pushed the developers-italia-api branch 2 times, most recently from e090a87 to 0ae85a9 Compare September 14, 2022 09:05
CanonicalURL represents the canonical URL of a repository that the code
hosting platforms resolves to when given an alias (fe. old name before
a repo rename).
@bfabio bfabio force-pushed the developers-italia-api branch 6 times, most recently from 1956f28 to fc85ab6 Compare October 13, 2022 15:36
@bfabio bfabio changed the title wip: Developers Italia API Refactor the crawler to use Developers Italia API Oct 13, 2022
@sebbalex sebbalex self-requested a review October 13, 2022 16:37
Add an API client with convenience methods to use the Developers Italia
API.
The delete command is just an API call now, having it in the crawler
is not more convenient than just using curl.
Remove blacklists, they are handled at API level with the "active"
fields in software and publishers.

Fix italia#179.
The filename is not expected to change, since it's standard mandated.
Introduce SKIP_VITALITY configuration to skip the repository clone
and vitality calculation.
Don't panic if config.toml is missing, but instead fallback to
environment variables (as per README).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants