Skip to content

Conversation

@rzyns
Copy link

@rzyns rzyns commented Mar 4, 2021

While attempting to install hpack from the link referred to in the README:

$ curl -sSL https://github.com/sol/hpack/raw/master/get-hpack.sh | bash
bash: line 6: syntax error near unexpected token `newline'
bash: line 6: `<!DOCTYPE html>'
curl: (23) Failed writing body (103 != 1370)

So, I figured I'd just do a quick string replace and submit a PR. It's just a quick edit and I haven't done any of the usual prerequisite legwork like checking to see if this duplicates work in an existing PR or anything, so feel free to completely disregard this PR and close it if it's not helpful ;)

@sol sol enabled auto-merge (rebase) July 29, 2021 10:20
@sol sol disabled auto-merge July 29, 2021 10:21
Copy link
Owner

@sol sol left a comment

Choose a reason for hiding this comment

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

Hey! Nice catch. Some of the repos did not change. Can you help with fixing this?

* Given this [package.yaml](https://github.com/hspec/sensei/blob/master/package.yaml) running `hpack` will generate [sensei.cabal](https://github.com/hspec/sensei/blob/master/sensei.cabal)
* Given this [package.yaml](https://github.com/haskell-compat/base-orphans/blob/master/package.yaml) running `hpack` will generate [base-orphans.cabal](https://github.com/haskell-compat/base-orphans/blob/master/base-orphans.cabal)
* Given this [package.yaml](https://github.com/sol/hpack/blob/main/package.yaml) running `hpack` will generate [hpack.cabal](https://github.com/sol/hpack/blob/main/hpack.cabal)
* Given this [package.yaml](https://github.com/zalora/getopt-generics/blob/main/package.yaml) running `hpack` will generate [getopt-generics.cabal](https://github.com/zalora/getopt-generics/blob/main/getopt-generics.cabal)
Copy link
Owner

Choose a reason for hiding this comment

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

This repo still uses master, albeit the repo itself mas moved to https://github.com/soenkehahn/getopt-generics/.

* Given this [package.yaml](https://github.com/sol/hpack/blob/main/package.yaml) running `hpack` will generate [hpack.cabal](https://github.com/sol/hpack/blob/main/hpack.cabal)
* Given this [package.yaml](https://github.com/zalora/getopt-generics/blob/main/package.yaml) running `hpack` will generate [getopt-generics.cabal](https://github.com/zalora/getopt-generics/blob/main/getopt-generics.cabal)
* Given this [package.yaml](https://github.com/hspec/sensei/blob/main/package.yaml) running `hpack` will generate [sensei.cabal](https://github.com/hspec/sensei/blob/main/sensei.cabal)
* Given this [package.yaml](https://github.com/haskell-compat/base-orphans/blob/main/package.yaml) running `hpack` will generate [base-orphans.cabal](https://github.com/haskell-compat/base-orphans/blob/main/base-orphans.cabal)
Copy link
Owner

Choose a reason for hiding this comment

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

I think this repo still uses master as well.

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.

3 participants