Skip to content
Prev 16187 / 21307 Next

[Bioc-devel] Bioconductor Git: Online interface

I wanna revive this old thread.

I've used Gitea for internal git/issue trackers at the UCSF for quite
a while now and it works really well.  I've also looked into how easy
it would be to use it for pure code exposure and it's pretty
straightforward.  Gitea even has built-in tools for automatically
synchronize toward an existing git server *and* keep it up-to-date,
which makes the process even easier(*).  An example what this looks
like is:

  https://gitea.com/hb/aroma.light

That took me literally 15 seconds to set up.  Note how this is almost
a bare bone *read-only* git code browser, e.g. there's no issue
tracker.  Right now, it would require a teeny hack on the Gitea server
to have the 'git clone' URL to map to the official Bioconductor URL
(or to hide it completely).  It's also possible to link the 'Issue
Tracker' to, say, GitHub issues based on what's in BugReports:, e.g.

  https://gitea.com/hb/QDNAseq

Note that the above read-only approach completely avoids having to map
or maintain user accounts; it's a pure read-only online viewer of the
Bioconductor git repositories.  (Depending on your setup, it might
even be that you can expose the Gitea interface as
https://git.bioconductor.org/ and have
https://git.bioconductor.org/packages/<pkg> take you to the Gitea
package page.)  There's a Swagger API that makes it possible to
automate everything, e.g. creating new repositories for new Bioc
packages.

I'd classify this as a low risk and straightforward project to implement.

/Henrik

(*) Technical details: The most efficient approach would probably be
to link to the existing git repositories via the file system, rather
than going over ssh/https. Linking via the file system avoids any
duplication.  The storage load of running such a Gitea instance would
be very very small.  The Gitea instance don't need write permissions
to the repositories, so there is no risk of Gitea messing up existing
git repositories.

On Thu, Oct 26, 2017 at 1:51 AM Martin Morgan
<martin.morgan at roswellpark.org> wrote: