Skip to content
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

Support github: field in extra-deps #39

Merged
merged 4 commits into from
Mar 6, 2022
Merged

Conversation

fumieval
Copy link
Contributor

@fumieval fumieval commented Mar 3, 2022

No description provided.

<*> m .: "commit"
<*> m .:? "subdirs" .!= []
where github m = ("[email protected]:" <>) <$> (m .: "github")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this be

    where github m = (\x -> "[email protected]:" <> x <> ".git") <$> (m .: "github")

?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed. AFAIU it works without ".git"

@hasufell
Copy link
Owner

hasufell commented Mar 3, 2022

I also noticed that the following is supported for snapshot location as well:

github:user/repo:path -> https://raw.githubusercontent.com/user/repo/master/path

@hasufell
Copy link
Owner

hasufell commented Mar 3, 2022

Can we add a test?

@hasufell
Copy link
Owner

hasufell commented Mar 6, 2022

ping

@hasufell hasufell merged commit 1a4f617 into hasufell:master Mar 6, 2022
@hasufell
Copy link
Owner

hasufell commented Mar 6, 2022

@fumieval
Copy link
Contributor Author

fumieval commented Mar 7, 2022

Thanks!

Btw I didn't touch the snapshot location stuff because specifying a git location isn't supported in the original code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants