From: Ricardo Wurmus <rekado@elephly.net>
To: zimoun <zimon.toutoune@gmail.com>
Cc: 54787@debbugs.gnu.org
Subject: bug#54787: importer Bioconductor: no tarball, only Git
Date: Thu, 14 Apr 2022 15:57:25 +0200 [thread overview]
Message-ID: <87k0brvk73.fsf@elephly.net> (raw)
In-Reply-To: <86k0brzuph.fsf@gmail.com>
zimoun <zimon.toutoune@gmail.com> writes:
> On Thu, 14 Apr 2022 at 13:43, Ricardo Wurmus <rekado@elephly.net> wrote:
>
>> We probably should *not* use RELEASE_3_14 (or whatever) as the commit,
>> though, because that is a moving target. We need to resolve to the
>> actual commit and use its hash.
>>
>> I wonder how the updater would need to be changed. It would need to
>> know about the release branch and look for new commits in that branch
>> only.
>
> To be honest, I have not checked the Bioconductor documentation about
> their Git repo structure. What I see is:
>
> $ git clone https://git.bioconductor.org/packages/CHETAH
> $ cd CHETAH
> $ git branch -av
> * master 5d5f5df [origin/master] Pass serialized S4 instances thru updateObject()
> remotes/origin/HEAD -> origin/master
> remotes/origin/RELEASE_3_10 063de2d bump x.y.z version to even y prior to creation of RELEASE_3_10 branch
> remotes/origin/RELEASE_3_11 701ca7f bump x.y.z version to even y prior to creation of RELEASE_3_11 branch
> remotes/origin/RELEASE_3_12 cd3dd78 bump x.y.z version to even y prior to creation of RELEASE_3_12 branch
> remotes/origin/RELEASE_3_13 1eacdb8 bump x.y.z version to even y prior to creation of RELEASE_3_13 branch
> remotes/origin/RELEASE_3_14 03295c9 bump x.y.z version to even y prior to creation of RELEASE_3_14 branch
> remotes/origin/RELEASE_3_9 22b53f2 version bump
> remotes/origin/master 5d5f5df Pass serialized S4 instances thru updateObject()
>
>
> Do we follow ’master’? Is it a mirror of what Bioconductor names their
> 3.14 release?
We should not follow “master”. That’s the development branch. We
should follow the current release branch.
> My guess was that RELEASE_3_14 mirrors their 3.14 release.
Correct.
>>> Well, I am also in favor to break the API and move %bioconductor-version
>>> and %bioconductor-url to (guix build-system r). WDYT? It would
>>> simplify some things (#36805 and #39885), I guess.
>>
>> We tried this before and we couldn’t do this because of a circular
>> reference.
>
> Well, I have something that works. So I do not know if this circular
> reference is still there.
If “make as-derivation” does not fail it is probably okay.
>> That’s because the importer doesn’t let us specify a different branch.
>> We should add that, but it’s strictly separate from the migration we’re
>> about to embark on.
>
> I am not familiar with the updater (guix refresh -u). My plan is:
>
> 1. Add bioconductor-git-reference
> 2. Adapt the bioconductor importer.
> 3. Updater?
The updater is closely connected to the importer. It just needs to be
told how it can find new releases.
> The question is: do we have to include the migration in the updater? Or
> do we do the migration by custom scripts?
We can do the migration manually. But if we end up with a broken
updater I won’t be able to update Bioconductor packages in bulk; that
would be a serious problem for future maintenance.
> Note that, because we do not support shallow clones, the complete
> sources will be a bit bigger; since they contain all the Bioconductor
> history of all the packages.
Doesn’t Guile-Git support shallow clones? In any case, this should not
be an obstacle for us. Ensuring long-term reproducibility is more
important than space savings.
--
Ricardo
next prev parent reply other threads:[~2022-04-14 14:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-08 11:48 bug#54787: importer Bioconductor: no tarball, only Git zimoun
2022-04-11 16:15 ` Ricardo Wurmus
2022-04-12 16:25 ` zimoun
2022-04-14 11:43 ` Ricardo Wurmus
2022-04-14 12:59 ` zimoun
2022-04-14 13:57 ` Ricardo Wurmus [this message]
2022-04-14 15:03 ` zimoun
2022-04-14 14:04 ` Maxime Devos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k0brvk73.fsf@elephly.net \
--to=rekado@elephly.net \
--cc=54787@debbugs.gnu.org \
--cc=zimon.toutoune@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.