-
Notifications
You must be signed in to change notification settings - Fork 711
Extend packages in plan.json with pkg-src field #5487
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
] | ||
RepoSecure{..} -> | ||
J.object [ "type" J..= J.String "secure-repo" | ||
, "path" J..= J.String repoLocalDir |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we really need the "path"
? I don't feel like that's a relevant information; we already know the "remote" label; also the local repo cache path is to be considered an implementation detail; its on-disk format may easily change at some point to account for situations we can't currently represent properly yet.
And most importantly, nor is it even guaranteed that the package is currently cached there! It's called "cache" for a reason :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah, let's remove that one.
This also enables and makes use of the Sphinx todo extension which provides an idiomatic way to annotate TODO items in .rst
(cherry picked from commit 511d03d) Co-authored-by: Alex Biehl <[email protected]>
This PR extends packages in the
plan.json
file with apkg-src
field. This is really helpful for third-party tooling to find the paths to all the project local packages including source repositories and such./cc @hvr @shlevy