You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e76a6bb
Browse filesBrowse the repository at this point in the historyBrowse files
fix(api): read public-crates, so the gate covers only the external libraries (#142)
* fix(api): read public-crates, so the gate covers only the external libraries
When public-crates of the visibility table is set, api reads only the
libraries that public-crates and exclude-crates name: the same libraries that
visibility treats as an external API. The list of HEAD selects the libraries
of both trees. A narrowed item of an internal crate is then no removed
finding.
Signed-off-by: Bart Waardenburg <bart@waardenburg.dev>
* fix(api): add --public-crate and --all-published, and read the names of the base
One selection reads both trees with the names of HEAD and of the base, so a
library that a change removes with its name still gives crate-removed.
exclude-crates adds a library also without public-crates, as for visibility.
The table is read before the checkout of the base tree.
Signed-off-by: Bart Waardenburg <bart@waardenburg.dev>
* style(api): format the api tests
Signed-off-by: Bart Waardenburg <bart@waardenburg.dev>
---------
Signed-off-by: Bart Waardenburg <bart@waardenburg.dev>
0 commit comments