-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Also re-generate specs in the same series when building diff (#1261)
So far, the build-diff tool only generated specs that effectively changed in `specs.json`. With this change, it now also re-generate the entries for the specs that are in the same series, and report possible changes to these specs in a new `seriesUpdate` property. The change also switches to active forms for the property names: `add`, `update` and `delete` (instead of `added`, `updated`, `deleted`), because the changes to `index.json` are typically not yet done. This change gets us closer to a mode where we can pre-compute the `index.json` that a pull request would trigger and run tests on them. Still missing: forks. If changes add a `forkOf` property, include a rename of a spec that has a `forkOf` property, or delete a fork, the upstream spec entry needs to be re-generated as well. The code still does not handle that.
- Loading branch information
Showing
1 changed file
with
105 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters