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

Error when adding custom location #1217

Open
CGenie opened this issue Apr 19, 2024 · 1 comment
Open

Error when adding custom location #1217

CGenie opened this issue Apr 19, 2024 · 1 comment

Comments

@CGenie
Copy link

CGenie commented Apr 19, 2024

So I have this yaml:

workspace:
  publish:
    location:
      git: https://gitlab.iscpif.fr/gargantext/purescript-address-rfc2821

When I try spago build it throws me this error:

❌ Couldn't parse Spago config, error:
  An error occurred while decoding a JSON value:
  Under 'Config':
  At object key package:
  Under 'PackageConfig':
  At object key publish:
  Under 'PublishConfig':
  At object key location:
  Under 'GitHub':
  At object key githubRepo:
  No value was found.
The configuration file help can be found here https://github.com/purescript/sp

I have spago 0.93.29.

The README isn't very specific about this. I see git://.... mentioned, but https should be fine as well? And erroring about missing githubOwner/githubRepo seems that these fields are required anyways.

@f-f
Copy link
Member

f-f commented Apr 19, 2024

We only support packages coming from GitHub at the moment - we intend to add support for other providers once Spago and the Registry get out of beta. See purescript/registry-dev#204 for more info

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

No branches or pull requests

2 participants