sourcecred/scripts
Dandelion Mané 6415da7bc8
de-noise scripts/update_snapshots.sh (#1599)
scripts/update_snapshots.sh is intended as a general-purpose snapshot
updater for SourceCred. Currently, it includes updating Discourse
snapshots, but only if an obsolete Discourse API key is present.

Updating Discourse snapshots is very noisy, because the API responses
are not stable (they include the view count, which increments when
making API requests). Also, most times when we want to update our
snapshots, it's because we changed some core data structure, not because
we actually want new data from Discourse. Therefore, we should
disconnect the Discourse snapshot update process from the general
snapshot updating script.

Test plan:
Run `./scripts/update_snapshots.sh` and verify that it does not produce
Discourse update churn. Run
`./src/plugins/discourse/update_discourse_api_snapshots.sh` and verify
that it does update all the Discourse snapshots.
2020-01-27 13:27:37 -08:00
..
build_static_site.sh Hackily add support for mixed GitHub/Discourse projects (#1378) 2019-09-12 17:35:21 +02:00
check-gnu-coreutils.sh Add helpful message when missing gnu-coreutils (#1034) 2019-01-05 12:20:07 -08:00
check-stopships.sh Permit STOPSHIPs in Markdown files (#573) 2018-07-31 10:58:29 -07:00
deploy.sh Include full projects on sourcecred.io (#1270) 2019-08-07 20:07:31 +02:00
docker-entrypoint.sh Adding Docker container with instructions for running sourcecred (#1288) 2019-08-23 13:23:35 +02:00
ensure-flow.sh ensure-flow.sh: simplify, removing dep on GNU grep (#602) 2018-08-22 11:44:20 -07:00
serve_api.py api: add server for easy Observable integration (#1537) 2020-01-09 21:33:09 -08:00
update_snapshots.sh de-noise scripts/update_snapshots.sh (#1599) 2020-01-27 13:27:37 -08:00