Move simple gitlab scraper to project.#124
Draft
xd009642 wants to merge 4 commits into
Draft
Conversation
Adds in the same arguments and tries to integrate some parts. The repo
list is generated and should_stop is followed. But the gitlab and github
scrapings are done sequentially and the gitlab repos aren't saved.
Pending work:
* Integrate with data type
- Github uses integer IDs gitlab uses string so some modification
needed
- Maybe best to include provider in the ID and move to a string ID
- Need to validate the Rust repo that it's really rust etc
- Multi-threading to match the performance of github. But the API
seems to be cursor based so maybe not possible (there might be a
way if it's okay to lose new repos that appear).
421a025 to
42f84a3
Compare
Need to go over the github one some more and make sure I haven't missed any required functionality then integrate properly.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Currently can generate a correct gitlab csv, but needs further integration and polish. Fixes #20
Pending work: