Forum:Project organization: make code public and keep notes private
1
2
Entering edit mode
9.0 years ago
A. Domingues ★ 2.7k

tl;dr: I want to put the code in github, but want to keep the notes taken during development private. How do people generally do it?

There are several papers/tutorials/books in which one can find best practices and practical suggestion on how to organize a bioinfo project. I am following most of those. For each project:

  • a folder structures is created, data/docs/results/scripts;
  • a markdown file or more detailing all the analysis, the fails, and some of the most important results;
  • this put under version control (docs and scripts only) and hosted in bitbucket (private repos because unpublished ).

So far this system has served me well. However, I now have some scripts that could be useful for others, and it is only fair that I share those (github is my choice). This is easy enough to do, but I also have some notes (a markdown document) in the project folder, taken during development that I would rather keep under some form of version control, but not posted publicly. These contain failed approaches, musings, miscellaneous code, etc, that could be useful to figure out later why approach A was chosen, and B failed (am I the only one keeping this type notes?).

How do others do it? Keep a separate, local dev version? Keep notes somewhere else outside the project folder? Am I missing something?

This is not a question as such, since I am mostly interested in opinions on the practical ways that people use to develop and keep notes of (very) small tools/scripts that are made publicly available.

github software best-practices • 2.7k views
ADD COMMENT
2
Entering edit mode
9.0 years ago

I maintain a private git repository that has a separate directory for each project that has private information associated with it.

ADD COMMENT
0
Entering edit mode

Cheers! Sounds reasonably easy and straightforward.

ADD REPLY
0
Entering edit mode

I would also do the same. You can upload the private repo to github and bitbucket, and configure as another remote source. You can save all your private changes in a different branch, and push the branch only to this remote source.

ADD REPLY
0
Entering edit mode

You can upload the private repo to github and bitbucket, and configure as another remote source.

Ah, something that did not occur to me: same project/folder in github and bitbucket

You can save all your private changes in a different branch, and push the branch only to this remote source.

This is sound a tad more complicated, but time to read more about git.

ADD REPLY

Login before adding your answer.

Traffic: 1545 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6