jackfirth / rebellion

A collection of core libraries for Racket
https://pkgs.racket-lang.org/package/rebellion
Apache License 2.0
80 stars 16 forks source link

Old rebellion causes errors in resyntax install #497

Open samdphillips opened 3 years ago

samdphillips commented 3 years ago

Installing resyntax with an old rebellion already installed gives a spectacular number of errors during raco pkg install. Here is one of the many errors:

raco setup: error: during making for <pkgs>/resyntax/default-recommendations
raco setup:   open-input-file: cannot open module file
raco setup:     module path: rebellion/collection/range-set
raco setup:     path: /home/sam/.racket/8.0/pkgs/rebellion/collection/range-set.rkt
raco setup:     system error: no such file or directory; rkt_err=3
raco setup:     compiling: <pkgs>/resyntax/default-recommendations/syntax-rules-shortcuts-test.rkt
jackfirth commented 3 years ago

Time for versioning. Steps:

  1. Declare version 1.0 in the rebellion info.rkt file.
  2. Declare dependency on 1.0 in the resyntax info.rkt file.
  3. Remember to bump version and include history notes when making API changes.

Step 3 is the tricky one. If we had some tooling to figure out the API diff of a change, that would be handy, but alas nothing like that exists yet.