[Bioc-devel] Bioconductor git-svn bridge is available

Henrik Bengtsson hb at biostat.ucsf.edu
Mon May 12 19:19:15 CEST 2014


On Mon, May 12, 2014 at 1:32 AM, Moritz Gerstung <mg14 at sanger.ac.uk> wrote:
> Hi all
>
> Following Kasper's idea from a couple of months ago: Would it be possible to have the git-svn bridge synchronise a branch other than master?
>
> If so, one could use the git subtree command,
>
> git subtree split -P minfi -b biocsvn
>
> to create a branch 'biocsvn' only containing minfi directory [package]. This branch would then be synchronised over the git-svn bridge. Changes in the biocsvn branch can be merged back into the master branch and the correct directory with
>
> git subtree merge -P minfi biocsvn
>
> I would also fancy a directory structure as Kasper suggested, where the actual R package is a subdirectory. This would allow for placing extra files such as README.md or Makefile into the root directory and other project related data which shouldn't go into the package, but may be useful, in other directories. As a side effect one can also screw up the git master branch without breaking the devel repository.

Just a FYI: Using .Rbuildignore you can still add Makefile and other
files to the repository that won't go into the package
build/install/check/distro/....  This works regardless of Subversion
of Git.

/Henrik


>
> I'm not a git guru, so maybe I'm missing something here, but it seems feasible.
>
> Cheers,
>
> Moritz
>
> PS. Resent as it bounced from list before.
>
>
> On 21 Feb 2014, at 17:00, Kasper Daniel Hansen <kasperdanielhansen at gmail.com> wrote:
>
>> Thanks everyone, it was worth a question.
>>
>> Perhaps I will figure out how to use submodules.
>>
>> Kasper
>>
>>
>> On Fri, Feb 21, 2014 at 11:45 AM, Dan Tenenbaum <dtenenba at fhcrc.org> wrote:
>>
>>>
>>>
>>> ----- Original Message -----
>>>> From: "Sean Davis" <sdavis2 at mail.nih.gov>
>>>> To: "Kasper Daniel Hansen" <kasperdanielhansen at gmail.com>
>>>> Cc: bioc-devel at r-project.org, "Dan Tenenbaum" <dtenenba at fhcrc.org>
>>>> Sent: Friday, February 21, 2014 7:08:21 AM
>>>> Subject: Re: [Bioc-devel] Fwd: Bioconductor git-svn bridge is available
>>>>
>>>>
>>>>
>>>> I doubt this is possible given the atomic nature of a git repository.
>>>> You might look at using a second git repository and including the
>>>> minfi package as a git submodule of that second repository. Then,
>>>> you can keep things in sync, but the minfi repository remains
>>>> atomic.
>>>>
>>>
>>> I think Sean is correct.
>>> Dan
>>>
>>>
>>>> Sean
>>>> On Feb 21, 2014 9:44 AM, "Kasper Daniel Hansen" <
>>>> kasperdanielhansen at gmail.com > wrote:
>>>>
>>>>
>>>> Question: is it possible to synchronize a subset of a github repos?
>>>> For
>>>> minfi, I would like my github to be
>>>>
>>>> minfi-devel
>>>> /minfi
>>>> OTHER SCRIPTS
>>>>
>>>> where OTHER SCRIPTS could be notes or test scripts I use for internal
>>>> development. I then only want to synchronize the
>>>> minfi-devel/minfi
>>>> directory with Bioc.
>>>>
>>>> Kasper
>>>>
>>>>
>>>> On Sun, Feb 9, 2014 at 9:55 AM, Kasper Daniel Hansen <
>>>> kasperdanielhansen at gmail.com > wrote:
>>>>
>>>>> Seems to work for me; I have now populated my github repo.
>>>>>
>>>>> Thanks for the help,
>>>>> Kasper
>>>>>
>>>>>
>>>>> On Sun, Feb 9, 2014 at 2:35 AM, Dan Tenenbaum < dtenenba at fhcrc.org
>>>>>> wrote:
>>>>>
>>>>>> This should be fixed now.
>>>>>> Thanks.
>>>>>> Dan
>>>>>>
>>>>>>
>>>>>> ----- Original Message -----
>>>>>>> From: "Kasper Daniel Hansen" < kasperdanielhansen at gmail.com >
>>>>>>> To: "Dan Tenenbaum" < dtenenba at fhcrc.org >
>>>>>>> Cc: bioc-devel at r-project.org
>>>>>>> Sent: Saturday, February 8, 2014 7:07:44 PM
>>>>>>> Subject: Re: [Bioc-devel] Fwd: Bioconductor git-svn bridge is
>>>>>>> available
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Yes, see screenshot
>>>>>>>
>>>>>>>
>>>>>>> (I do know I have a whitespace in front of the github url and I
>>>>>>> get a
>>>>>>> note and I fixed it.
>>>>>>>
>>>>>>>
>>>>>>> Kasper
>>>>>>>
>>>>>>>
>>>>>>> On Sat, Feb 8, 2014 at 9:56 PM, Dan Tenenbaum <
>>>>>>> dtenenba at fhcrc.org >
>>>>>>> wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> https://github.com/kasperdanielhansen/minfi
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>
>>>> [[alternative HTML version deleted]]
>>>>
>>>> _______________________________________________
>>>> Bioc-devel at r-project.org mailing list
>>>> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>>>>
>>>
>>
>>       [[alternative HTML version deleted]]
>>
>> _______________________________________________
>> Bioc-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>
>
>
>
> --
>  The Wellcome Trust Sanger Institute is operated by Genome Research
>  Limited, a charity registered in England with number 1021457 and a
>  company registered in England with number 2742969, whose registered
>  office is 215 Euston Road, London, NW1 2BE.
>
> _______________________________________________
> Bioc-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/bioc-devel



More information about the Bioc-devel mailing list