80b458d719
Summary: Our registry was defined to simply be a list of IDs. This is insufficiently flexible; we want to be able to annotate these IDs with, e.g., last-updated times (#989). This commit wraps the entries in a simple object, updating clients appropriately. Test Plan: - Run `node ./bin/sourcecred.js load sourcecred/example-github` with a repository registry in the old format, and note that it errors appropriately. - Run `yarn build` with a repository registry in the old format, and note that it errors (“Compat mismatch”). - Delete the old registry and re-run the `load` command. Note that it runs successfully and outputs a registry. Run `yarn build`; note that this works. - Load data for two repositories. Run `yarn start`. Note that the list of prototypes still works, and that you can navigate to and render attributions for individual project pages. - Verify that `yarn test --full` passes. wchargin-branch: repo-id-registry-metadata |
||
---|---|---|
.. | ||
__snapshots__/example-github-load | ||
.gitignore | ||
Makefile | ||
SHARNESS_LICENSE | ||
aggregate-results.sh | ||
dummy.t | ||
sharness.sh | ||
test_build_static_site.t | ||
test_js_tests_have_top_level_describe_block_with_filename.t | ||
test_load_example_github.t |