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.

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 <kasperdanielhan...@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 <dtene...@fhcrc.org> wrote:
> 
>> 
>> 
>> ----- Original Message -----
>>> From: "Sean Davis" <sdav...@mail.nih.gov>
>>> To: "Kasper Daniel Hansen" <kasperdanielhan...@gmail.com>
>>> Cc: bioc-devel@r-project.org, "Dan Tenenbaum" <dtene...@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" <
>>> kasperdanielhan...@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 <
>>> kasperdanielhan...@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 < dtene...@fhcrc.org
>>>>> wrote:
>>>> 
>>>>> This should be fixed now.
>>>>> Thanks.
>>>>> Dan
>>>>> 
>>>>> 
>>>>> ----- Original Message -----
>>>>>> From: "Kasper Daniel Hansen" < kasperdanielhan...@gmail.com >
>>>>>> To: "Dan Tenenbaum" < dtene...@fhcrc.org >
>>>>>> Cc: bioc-devel@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 <
>>>>>> dtene...@fhcrc.org >
>>>>>> wrote:
>>>>>> 
>>>>>> 
>>>>>> 
>>>>>> https://github.com/kasperdanielhansen/minfi
>>>>>> 
>>>>>> 
>>>>> 
>>>> 
>>>> 
>>> 
>>> [[alternative HTML version deleted]]
>>> 
>>> _______________________________________________
>>> Bioc-devel@r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>>> 
>> 
> 
>       [[alternative HTML version deleted]]
> 
> _______________________________________________
> Bioc-devel@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@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to