Skip to content

Package ocaml-fsrs.0.1.0-alpha3 #27920

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

chaosarium
Copy link

ocaml-fsrs.0.1.0-alpha3

OCaml implementation of the FSRS scheduler
A library implementing the FSRS (Free Spaced Repetition Scheduler) algorithm in OCaml.



🐫 Pull-request generated by opam-publish v2.5.0

@ivnhk
Copy link

ivnhk commented May 25, 2025

Hey @chaosarium

Thank you for the contribution

I see the following linter issues:

Error in ocaml-fsrs.0.1.0-alpha3: No package source directory provided.
Error in ocaml-fsrs.0.1.0-alpha3: error 60: Upstream check failed: "The archive doesn't match checksum:

Regarding the checksum, this is the respective error:

https://github.com/chaosarium/ocaml-fsrs/archive/refs/tags/0.1.0-alpha3.tar.gz (Bad checksum, expected sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855)
Error in ocaml-fsrs.0.1.0-alpha3:              error 60: Upstream check failed: "The archive doesn't match checksum:
                - archive: sha256=c59a658e8bb848e84df0e89703b1bde5199022ba1e682886fba93e8a401575c1, in opam file: sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
              ."


url {
src: "https://github.com/chaosarium/ocaml-fsrs/archive/refs/tags/0.1.0-alpha3.tar.gz"
checksum: "sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
Copy link

Choose a reason for hiding this comment

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

Suggested change
checksum: "sha256=e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
checksum: "sha256=c59a658e8bb848e84df0e89703b1bde5199022ba1e682886fba93e8a401575c1"

Copy link

Choose a reason for hiding this comment

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

Not sure that's what you need, but it'll fix the CI error related to the checksum

@ivnhk
Copy link

ivnhk commented May 25, 2025

Additional question: do you plan to support Windows?

bug-reports: "https://github.com/chaosarium/ocaml-fsrs/issues"
depends: [
"dune" {>= "3.17"}
"ocaml"
Copy link

Choose a reason for hiding this comment

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

Would you like to specify a lower bound for ocaml dependency?

@yawaramin
Copy link
Contributor

A few comments:

  1. Can you remove the ocaml- prefix from the package name? See https://github.com/ocaml/opam-repository/tree/master/governance/policies#7-new-package-names-should-avoid-the-ocaml-prefixsuffix
  2. Would you mind adding an interface file and docstrings for the library? Opam packages are built and their docs are published in the OCaml website. As it is right now this package will be published with only type signatures on the doc pages, which won't be a great user experience.
  3. Would you mind using the full form of the terminology within the documentation itself so that users don't have to refer elsewhere to know what the package is and why they should use it? Eg it seems like 'FSRS' is a 'Free Spaced Repetition Scheduler' algorithm used by tools like Anki. It would be good to mention what this is and why/when to use it in the docs themselves.

@mseri
Copy link
Member

mseri commented Aug 7, 2025

Also please use ~alpha3 in your versioning: 0.1.0~alpha < 0.1.0 < 0.1.0-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants