Skip to content
Prev 14614 / 21307 Next

[Bioc-devel] Submission of packages located at within a repository

Hi Britta,

You could use submodules in git. I took some time to create an example use case for you, at 

	https://github.com/nturaga/main_repository

The ?main_repository? contains a README.md file which you might find useful to go about creating the submodule for your packages/

The example there, shows,

main_repository, (parent repo) located at https://github.com/nturaga/main_repository

	submodule_one (as submodule) located at https://github.com/nturaga/submodule_one


To give you a gist of what you could do:

Main repository is ?MOFA_main?, located at https://github.com/bioFAM/MOFA_main

	submodule 1: MOFA software package located at https://github.com/bioFAM/MOFA

	submodule 2: MOFA data package located at https://github.com/bioFAM/MOFAdata

They would both live in the MOFA_main repository but would act as submodules within their own independent repos. This will allow you to submit from their separate repos.

https://github.com/nturaga/main_repository/blob/master/README.md gives you details on how to create submodules, if you need any assistance. But, I?ll highlight some steps,

Step 0: Rename the main MOFA directory which already exists to MOFA_main.

Step 1: Create two new repos in the bioFAM username, with MOFA, and MOFAdata. 

Step 2: Create submodules in MOFA_main, 

	git submodule init

	git submodule add git at github.com:bioFAM/MOFA MOFA

	git submodule add git at github.com:bioFAM/MOFAdata MOFAdata


Step 3: Add the submodules to MOFA_main

	git commit -m ?Add MOFA and MOFAdata as submodules?.

The ?.gitmodules? should show,

	$ cat .gitmodules

	[submodule ?MOFA"]
		path = MOFA
		url = git at github.com:bioFAM/MOFA

	[submodule ?MOFAdata?]
		path  = MOFAdata
		url = git at github.com:bioFAM/MOFAdata
		

But to answer your question, bioconductor doesn?t have a way to submit multiple packages from within one repository. 

I can assist you in creating submodules, and submitting the repos as required to Bioconductor. Please let me know if you have any questions. Please check the example and the documentation I wrote up in the README.md at https://github.com/nturaga/main_repository.


Best,

Nitesh
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.