Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

publiccode.yml crawler for the Open Source software catalog of Developers Italia

License

NotificationsYou must be signed in to change notification settings

italia/publiccode-crawler

Repository files navigation

Go Report CardJoin the #publiccode channelGet invited

Description

Developers Italia providesa catalog of Free and Open Sourcesoftware aimed to Public Administrations.

publiccode-crawler retrieves thepubliccode.yml files from therepositories of publishers found in theDevelopers Italia API.

Setup and deployment processes

publiccode-crawler can either run manually on the target machine or it can be deployedfrom a Docker container.

Manually configure and build

  1. Renameconfig.toml.example toconfig.toml and set the variables

    NOTE: The application also supports environment variables in substitutionto config.toml file. Remember: "environment variables get higher priority thanthe ones in configuration file"

  2. Build the binary withgo build

Docker

You can build the Docker image using

docker build .

or use the image published to DockerHub:

docker run -it italia/publiccode-crawler

Commands

publiccode-crawler crawl

Gets the list of publishers fromhttps://api.developers.italia.it/v1/publishersand starts to crawl their repositories.

publiccode-crawler crawl publishers*.yml

Gets the list of publishers inpublishers*.yml and starts to crawltheir repositories.

publiccode-crawler crawl-software <software> <publisher>

Crawl just the software specified as parameter.It takes the software URL and its publisher id as parameters.

Ex.publiccode-crawler crawl-software https://api.developers.italia.it/v1/software/a2ea59b0-87cd-4419-b93f-00bed8a7b859 edb66b3d-3e36-4b69-aba9-b7c4661b3fdd

Other commands

  • crawler download-publishers downloads organizations and repositories fromtheonboarding portal repositoryand saves them to a publishers YAML file.

See also

Authors

Developers Italia is a project byAgID and theItalian Digital Team, which developed thecrawler and maintains this repository.

About

publiccode.yml crawler for the Open Source software catalog of Developers Italia

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors45


[8]ページ先頭

©2009-2025 Movatter.jp