rformassspectrometry / book

R for Mass Spectrometry documentation
https://rformassspectrometry.github.io/book
8 stars 7 forks source link

Conversion to BiocBook #11

Open js2264 opened 9 months ago

js2264 commented 9 months ago

Hi @lgatto and colleagues, I had the opportunity to discuss with you during the EuroBioc23 conf. I've been working on adapting your great book to the BiocBook infrastructure. If you are interested in accepting this PR, let me know and we can discuss in more detail to make sure things run ok.

Few points worth bringing up:

Let me know if there is anything unclear!

lgatto commented 9 months ago

This looks great, thank you very much for this @js2264 and sorry for not getting back to you in time. I will take time by the end of the year and get back to you.

lgatto commented 9 months ago

This leads me to the following personal comment, that rformassspectrometry/book is not very informative, and notably is in conflict with the conventions for Bioconductor package submissions (which state that the package repository should have the same name as the package itself). If you intend to submit this book as a BiocBook package to Bioconductor, you'd have to consider renaming the repository or the package.

This is a good point, indeed. But the book is foremost part of the R for Mass Spectrometry initiative, and the repo name book makes most sense here. I suppose we could rename the repo RforMassSpectrometryBook, to fit the Bioconductor package name requirement, event though I can see two issues:

I am also wondering to what extend the naming rule should be applied as is in the context of books.

js2264 commented 9 months ago

This leads me to the following personal comment, that rformassspectrometry/book is not very informative, and notably is in conflict with the conventions for Bioconductor package submissions (which state that the package repository should have the same name as the package itself). If you intend to submit this book as a BiocBook package to Bioconductor, you'd have to consider renaming the repository or the package.

This is a good point, indeed. But the book is foremost part of the R for Mass Spectrometry initiative, and the repo name book makes most sense here. I suppose we could rename the repo RforMassSpectrometryBook, to fit the Bioconductor package name requirement, event though I can see two issues:

  • we have been using the link that URL for some time (I know Github does redirection, but we already redirect from github.com/Rformassspectrometry/docs :-/ ) and
  • github.com/rformassspectrometry/RforMassSpectrometryBook is overly long and confusing

I am also wondering to what extend the naming rule should be applied as is in the context of books.

IMO these are valid reasons to keep book as a repo name and choose a separate name for the actual package (in DESCRIPTION). I'm not sure how much this can be negotiated with reviewers during submission, but because this is a book hopefully there can be a little bit of flexiility.

As a remainder:

  1. if you intend to submit the package to bioconductor as a book package, a URL pointing to versioned books will be https://bioconductor.org/books/<BIOC_VERSION>/<PACKAGE_NAME>/.
  2. Regardless of whether it ends up on BioC, a Docker image is built and available at docker pull ghcr.io/<GITHUB_USER>/<package_name_in_lowercase>:<PACKAGE_VERSION>.

So the package name is quite important, even though it won't be directly installed by end-users.

lgatto commented 9 months ago

@jorainer - what do you think if converting the book to a BiocBook/package? I think we should go for it, merge, as address the (minor) open points as we go.