-
Notifications
You must be signed in to change notification settings - Fork 132
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
Add support for publishing to the PureScript registry #850
Comments
Whatever decision we make for Spago should be mirrored to Pulp: |
We don't have a
Depending on what we decide to do in purescript/registry#327 then before step (3) we'd also build the project, take the build plan, and feed it to the API inside the In this way we would not have to push to Pursuit directly, nor we'd have to generate a |
Should it? If I understand correctly our aim in implementing the publishing flow now is to (1) validate the design and (2) provide a first migration path for folks already willing to publish on the registry. This means that we need at least one client implementing some sort of flow, but we're not required to fix all of them right now |
Sorry, I was thinking of the
The user has to commit either a purescript/registry#327 (comment) If a Spago user just wants to publish to the new registry and doesn't care that their package will not be propagated to Pursuit, then they don't need a
One way or another a This is one reason why it may be better for Spago to generate a manifest for the user and ask them to commit it: they can edit the bounds to something sensible. Spago already does this with Bowerfiles. |
This is a bit off-topic for I'm not saying that we need Pulp to be able to publish to the new registry now, and we can start with just Spago. However, I'm saying that we shouldn't leave Pulp users without a way to publish to the new registry long-term. We don't have good usage statistics on the relative use of Spago vs. Pulp; my gut sense is that there are many more Spago users, but the NPM weekly downloads for the two tools are basically the same, so clearly there are still a lot of Pulp users out there. I would like Pulp users to be able to publish to the new registry also. It's easier for them, in fact, because their |
This is DONE 🙂 |
Users of current Spago will not be able to use the PureScript registry until they upgrade to a new config format as tracked in #842. However, they can still publish to the registry using the registry's legacy mode.
Spago should either update the
publish
command to push to both the new registry and to Pursuit, or add a new command that allows users to generate a.purs.json
file and publish to the new registry. That way, current Spago users can still publish their packages even if they aren't yet using the new registry.The text was updated successfully, but these errors were encountered: