purescript-contrib spago@next migration #1
Replies: 6 comments 10 replies
-
ok, this is for me
already done
yes, done,
ok will move the "authors" field from bower.json to then end of README.md and remove bower.json from all projects
should already be done |
Beta Was this translation helpful? Give feedback.
-
no, to like in purescript-ace/package.json
N.B. this field doesnt do anything , unlike https://docs.npmjs.com/cli/v8/configuring-npm/package-json#people-fields-author-contributors |
Beta Was this translation helpful? Give feedback.
-
Please let's release all these updated libraries with a new major versions to prevent breakages with existing bower projects. |
Beta Was this translation helpful? Give feedback.
-
I know it’s annoying, but we really ought to be careful about these breaking releases and the version ranges we assign to these packages. If a package like aff is at 7.1.0 and is updated to 8.0.0, then a package that depends on it really should support the range >=7.10 <9.0.0 (instead of the typical one major version >=8.0.0 <9.0.0) because the release is not breaking as far as the spago consumers are concerned. We’re just trying to avoid breaking Bower projects. A second consideration we’ve always taken when doing breaking releases is to pause and go through the issues and PRs for the affected libraries to see if there are breaking changes we can go ahead and include. We do them infrequently so if a breaking change doesn’t get merged now it could quite easily have to wait a long time before it gets in. I don’t think there are many of these sitting around but it’s worth considering. I’m unfortunately stretched for time and can’t help out with the updates, so I guess it’s not really my call whether to include breaking changes wherever possible or not, but I wanted to bring it up. That’s how Jordan and I used to handle these and I think it worked well. |
Beta Was this translation helpful? Give feedback.
-
Option 2 seems better to me? What bad things can happen if we do option 2, keep 1. Delete
|
Beta Was this translation helpful? Give feedback.
-
@srghma has submitted PRs for migrating all the repos to spago@next and here is a place for discussion about how that should be done. I want to produce a “spago next migration guide” in this discussion, so that I understand how this should be done.
(I've turned on Github Discussions for purescript-contrib. We could also have this conversation on discourse.purescript.org)
Personally I think we should check
spago.lock
into the repo? When thespago.lock
file format has changed, this is what happens:Which is fine.
Migration Guide Draft
spago.yaml
should specify ranges and should not use a package set. Bump major version of the package.spago.lock
check it in.bower.json
delete.packages.json
delete.psc_package.json
delete.spago.dhall
delete.packages.dhall
delete.Beta Was this translation helpful? Give feedback.
All reactions