Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Commit

Permalink
BLD: v0.4.0 separation of data and content
Browse files Browse the repository at this point in the history
  • Loading branch information
lacabra committed Apr 15, 2020
1 parent 254e1e0 commit e463aed
Show file tree
Hide file tree
Showing 37 changed files with 55 additions and 41 deletions.
16 changes: 12 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,30 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.4.0] - 2020-04-15
### Changed
- Modified `nominee-schema.json` to split the `data` type into `data` and `content`. Re-classified all nominees originally tagged as data accordingly.
- Added `H5P` and `WHO-app` as new nominees.
- Switched CI from Travis to GitHub Actions.
- Excluded nominees with `ND` licenses and moved them out from `nominees/` into `excluded-nd`.

## [0.3.0] - 2020-03-05
### Added
- Added `scripts/migrate-v0.3.0.js` to automatically migrate to the new version of the JSON schema.
- Imported more than 200 new nominees from [publicgoods/products](https://github.com/publicgoods/products)
- Imported more than 200 new nominees from [publicgoods/products](https://github.com/publicgoods/products).
- Added `scripts/check-filenames.bash` to automatically check the proper naming of nominees.
- Added `scripts/order-fields.js` to automatically check the proper ordering of properties in each nominee file.

### Changed
- Modified 'nominee-schema.json' to match the product-schema.json available at https://github.com/publicgoods/data-schema
- Modified 'nominee-schema.json' to match the product-schema.json available at https://github.com/publicgoods/data-schema.

## [0.2.1] - 2020-10-15
### Added
- Added 32 more nominees supported by UNICEF Venture Fund
- Added 32 more nominees supported by UNICEF Venture Fund.
- Added `scripts/csvToJson.js` to automatically parse a spreadsheet containing a list of nominees and their attributes and generate json files for each nominee.

### Changed
- Modified 'nominee-schema.json' to add a new attribute 'supported_by', which is an array of objects initially containing one property 'org_name'
- Modified `nominee-schema.json` to add a new attribute `supported_by`, which is an array of objects initially containing one property `org_name`.

## [0.2.0] - 2020-01-10
### Added
Expand All @@ -41,6 +48,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Changed language from `candidates` to `nominees` to match the recent changes in [digitalpublicgoods.net](https://digitalpublicgoods.net)
- Renamed folder from `candidates/` to `nominees/`, as well as `candidate-schema.json` to `nominee-schema.json`

[0.4.0]: https://github.com/unicef/publicgoods-candidates/compare/v0.3.0...v0.4.0
[0.3.0]: https://github.com/unicef/publicgoods-candidates/compare/v0.2.1...v0.3.0
[0.2.1]: https://github.com/unicef/publicgoods-candidates/compare/v0.2.0...v0.2.1
[0.2.0]: https://github.com/unicef/publicgoods-candidates/compare/v0.1.0...v0.2.0
Expand Down
2 changes: 1 addition & 1 deletion excluded-nd/merlot.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion excluded-nd/siyavula-open-textbooks.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion excluded-nd/ted.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
1 change: 1 addition & 0 deletions nominee-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -551,6 +551,7 @@
"enum": [
"software",
"data",
"content",
"standard"
]
}
Expand Down
2 changes: 1 addition & 1 deletion nominees/african-storybook.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/book-dash.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/british-columbia-open-textbook-collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/cireha.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"sectors": [],
"type": [
"software",
"data"
"content"
],
"repositoryURL": "https://github.com/cboard-org/cboard",
"organizations": [
Expand Down
2 changes: 1 addition & 1 deletion nominees/ck-12.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/curriki.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/digital-literacy-library.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/fundza-novels.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/global-digital-library.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"sectors": [],
"type": [
"software",
"data"
"content"
],
"repositoryURL": "https://github.com/GlobalDigitalLibraryio/book-api",
"organizations": [
Expand Down
2 changes: 1 addition & 1 deletion nominees/jhsph-opencourseware.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
3 changes: 2 additions & 1 deletion nominees/ka-lite.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
],
"sectors": [],
"type": [
"software"
"software",
"content"
],
"repositoryURL": "https://github.com/learningequality/ka-lite",
"organizations": [
Expand Down
2 changes: 1 addition & 1 deletion nominees/khan-academy.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/mit-opencourseware.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/oer-africa.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/oer-commons.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
3 changes: 2 additions & 1 deletion nominees/open-ag-data-alliance.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"sectors": [],
"type": [
"software",
"data"
"data",
"content"
],
"organizations": [
{
Expand Down
3 changes: 2 additions & 1 deletion nominees/open-demographics.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
],
"sectors": [],
"type": [
"software"
"content",
"data"
],
"repositoryURL": "https://github.com/drnikki/open-demographics",
"organizations": [
Expand Down
2 changes: 1 addition & 1 deletion nominees/open-stax.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/open-textbook-library.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/open-up-resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
3 changes: 2 additions & 1 deletion nominees/openfarm.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@
"sectors": [],
"type": [
"software",
"data"
"data",
"content"
],
"repositoryURL": "https://github.com/openfarmcc/OpenFarm",
"organizations": [
Expand Down
2 changes: 1 addition & 1 deletion nominees/openlearn.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
3 changes: 2 additions & 1 deletion nominees/phet-interactive-simulations.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"sectors": [],
"type": [
"software",
"data"
"data",
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/practical-plants.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "Pubic Library of Science",
"name": "Public Library of Science",
"aliases": [
"PLOS"
],
"description": "A library of open-access journal sand other scientific literature under an open-content license.",
"description": "A library of open-access journal and other scientific literature under an open-content license.",
"website": "https://journals.plos.org/",
"license": [
{
Expand All @@ -19,7 +19,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/rah-e-maa.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Rah-e-maa",
"description": "A mobile app that mproves maternal health in Pakistan by engaging fathers",
"description": "A mobile app that improves maternal health in Pakistan by engaging fathers",
"website": "https://www.superabbu.com",
"license": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/saylor-academy.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/skillscommons.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/storyweaver.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
],
"sectors": [],
"type": [
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/wikihow.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"sectors": [],
"type": [
"software",
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion nominees/wikipedia.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"sectors": [],
"type": [
"software",
"data"
"content"
],
"organizations": [
{
Expand Down
2 changes: 1 addition & 1 deletion scripts/push.bash
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
git clone https://github.com/unicef/publicgoods-website.git ../publicgoods-website
git clone https://github.com/unicef/publicgoods-scripts.git ../publicgoods-scripts
pushd ../publicgoods-scripts && ./static.bash && npm install && node index.js && popd
pushd ../publicgoods-scripts && ./static.bash && npm install && node index.js && node generate_nominees.js && ./moveFiles.bash && popd
git config --global user.email "[email protected]"
git config --global user.name "Victor Grau Serrat"
pushd ../publicgoods-website
Expand Down

0 comments on commit e463aed

Please sign in to comment.