-
Notifications
You must be signed in to change notification settings - Fork 15
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
1117 disable scraping #1153
1117 disable scraping #1153
Conversation
@@ -128,6 +128,17 @@ export default function AutosaveRepositoryUrl() { | |||
} | |||
}, [urlError, repository_url, platform.id]) | |||
|
|||
async function saveScrapingDisabledReason({value}: any) { | |||
return fetch(`/api/v1/repository_url?software=eq.${id}`, { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please handle the error in try/catch and show it to using showErrorMessage. The value should not be any but a string|null, right?
e499d1c
to
65ab5ed
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice job!
|
|
|
Disallow Git scraping
Changes proposed in this pull request:
How to test:
docker compose down --volumes && docker compose build --parallel && docker compose up --scale data-generation=0
Related to #1117 (we still need to do this for package managers)
PR Checklist:
docker-compose.yml