Skip to content

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

Merged
merged 8 commits into from
Aug 2, 2018

Conversation

alexbiehl
Copy link
Member

@alexbiehl alexbiehl commented Aug 1, 2018

This PR extends packages in the plan.json file with a pkg-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

Copy link
Member

@23Skidoo 23Skidoo left a 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
Copy link
Member

@hvr hvr Aug 1, 2018

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 :-)

Copy link
Member Author

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.

hvr added 2 commits August 2, 2018 19:05
This also enables and makes use of the Sphinx todo extension which
provides an idiomatic way to annotate TODO items in .rst
@hvr hvr merged commit 4216274 into haskell:master Aug 2, 2018
@alexbiehl alexbiehl deleted the pr/cabalplan branch August 2, 2018 18:01
hvr added a commit that referenced this pull request Aug 2, 2018
(cherry picked from commit 511d03d)

Co-authored-by: Alex Biehl <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants