Hi Tom,

I agree with Kasper. It is far easier to maintain two repos and sync with your 
Bioconductor package as needed. We have no protocols in place or documentation 
in place to support submodules at the moment.

I also want to add that your setup on GitHub is up to you as a maintainer and 
developer. As long as the repository on the Bioconductor server has all the 
required files to build and make your package work as expected.

I’ll explore submodules a little more and get back to you.

Best,

Nitesh 

> On Jun 14, 2018, at 3:01 AM, Kasper Daniel Hansen 
> <kasperdanielhan...@gmail.com> wrote:
> 
> My opinion: maintain two repos and pull/push between them. You would want
> the ability to have them out of sync anyway.
> 
> Best,
> Kasper
> 
> On Thu, Jun 14, 2018 at 1:16 AM, Thomas Sherman <tsher...@jhu.edu> wrote:
> 
>> Hi all,
>> 
>> I'm a developer for the CoGAPS package (https://github.com/FertigLab/
>> CoGAPS). I'm looking into ways to build our core C++ code as a standalone
>> application and I would like to be able to maintain a single repository for
>> the C++ code and pull that into both repositories for the R package and
>> standalone application. It seems the easiest way to do this would be to
>> have a git submodule in the R package repository that refers to the C++
>> code. However, based on this comment (https://github.com/
>> Bioconductor/Contributions/issues/459#issuecomment-376671397) it seems
>> that is not the desired configuration.
>> 
>> The best alternative I can think of would be to provide a separate library
>> for our core algorithm and then link against that in both the R package and
>> standalone version. In this case, we would have to provide instructions for
>> downloading and building the library - which seems like more work for the
>> end user than if everything was included with a submodule.
>> 
>> I'm wondering if the first approach using a submodule would be possible,
>> and if not, has anyone ran into this issue before and found a nice solution.
>> 
>> Thanks,
>> Tom
>> 
>> 
>>        [[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



This email message may contain legally privileged and/or confidential 
information.  If you are not the intended recipient(s), or the employee or 
agent responsible for the delivery of this message to the intended 
recipient(s), you are hereby notified that any disclosure, copying, 
distribution, or use of this email message is prohibited.  If you have received 
this message in error, please notify the sender immediately by e-mail and 
delete this email message from your computer. Thank you.
_______________________________________________
Bioc-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/bioc-devel

Reply via email to