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

The crawler shouldn't create YAML files #243

Closed
bfabio opened this issue Aug 30, 2021 · 1 comment
Closed

The crawler shouldn't create YAML files #243

bfabio opened this issue Aug 30, 2021 · 1 comment
Assignees

Comments

@bfabio
Copy link
Member

bfabio commented Aug 30, 2021

The crawler should not create YAML files
(softwares.yml, amministrazioni.yml, software_categories.yml, software-open-source.yml, software-riuso.yml, software_scopes.yml, software_tags.yml), instead the site should query directly the API and build the data it needs.

Pros:

  • Single source of truth
  • Decouples the crawler from the website
  • Ability to switch the API server in a preview build of the website
bfabio added a commit to bfabio/developers.italia.it that referenced this issue May 11, 2022
Don't get the list of possible publiccode's scopes from the crawler,
it's a static list defined in the Standard (https://yml.publiccode.tools).

Related to italia/publiccode-crawler#243
bfabio added a commit to bfabio/developers.italia.it that referenced this issue May 11, 2022
@bfabio
Copy link
Member Author

bfabio commented May 11, 2022

software_tags.yml is not created any longer, it's just on crawler.developers.italia.it from an old run. We can remove it once italia/developers.italia.it#1200 is in.

bfabio added a commit to bfabio/publiccode-crawler that referenced this issue May 11, 2022
bfabio added a commit to bfabio/developers.italia.it that referenced this issue May 11, 2022
bfabio added a commit to bfabio/developers.italia.it that referenced this issue May 11, 2022
Don't get the list of possible publiccode's scopes from the crawler,
it's a static list defined in the Standard (https://yml.publiccode.tools).

Related to italia/publiccode-crawler#243
bfabio added a commit to italia/developers.italia.it that referenced this issue May 12, 2022
Don't get the list of possible publiccode's scopes from the crawler,
it's a static list defined in the Standard (https://yml.publiccode.tools).

Related to italia/publiccode-crawler#243
bfabio added a commit to bfabio/publiccode-crawler that referenced this issue Aug 31, 2022
bfabio added a commit to bfabio/publiccode-crawler that referenced this issue Aug 31, 2022
bfabio added a commit to bfabio/publiccode-crawler that referenced this issue Sep 12, 2022
bfabio added a commit to bfabio/publiccode-crawler that referenced this issue Sep 14, 2022
bfabio added a commit to bfabio/publiccode-crawler that referenced this issue Oct 6, 2022
@bfabio bfabio self-assigned this Oct 13, 2022
bfabio added a commit to bfabio/publiccode-crawler that referenced this issue Oct 13, 2022
bfabio added a commit to bfabio/publiccode-crawler that referenced this issue Oct 13, 2022
bfabio added a commit to bfabio/publiccode-crawler that referenced this issue Oct 13, 2022
@bfabio bfabio closed this as completed in 1c8fd9d Oct 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant