0.0.21 • Published 2 years ago

sill-web v0.0.21

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

Purpose

Private and public data about software in the SILL catalog come from scattered sources: from the original sill.csv file, from the sill-referent.csv file in a private repo, from Wikidata, Le comptoir du libre, etc.

Another problem is that the SILL updates are shared informally on a private mailing list, forcing the maintainer of the sill.csv file to centralize updates: this repository prepares a process that will be handled through a web interface where contributors will be able to update their own SILL entries by themselves.

Published data

This repo publish a sill2.json files that compiles data from softwares.csv and Le comptoir du libre.

It will be used from code.gouv.fr to expose the SILL.

Dev

This repo contains a private submodules that should be checked out after cloning the repo.

Checking out the code

git clone https://github.com/etalab/sill
cd sill
git submodule update --init --recursive
cd data/referents
git checkout main

Generating the json files

yarn build # Compile the code
yarn start # Generate the data/**/*.json files

Contributing

All changes to the data/**/*.csv file will triggers new publication of updated *.json (assuming the changes are valid).

Editing referent.csv

cd data/referents
git add -A
git commit -am "<Describe the changes made on data/referents/referents.csv>"
git push
cd ../..
git add -A
git commit -am "Update sill-referent submodule"
git push

Publishing a new version of the types definitions

To update the version of the src/types.ts published as an NPM modules just bump the version of the package.json file.

Licences

DINUM and contributors of the repository, 2019-2022.