4 ms·
~/code ~/code/${company_or_topical} ~/code/${company_or_topical}/${project} Where company or topical are things like 'cloudkick', 'asf' or 'personal'. (I
by pquerna 17y ago
~/code
~/code/${company_or_topical}
~/code/${company_or_topical}/${project}
Where company or topical are things like 'cloudkick', 'asf' or 'personal'. (I guess you could say, its "who owns the IP").
Some of these subdirectories are actually symlinks to encrypted DMGs, again depending on who owns the IP.
Project is the top level checkout of the projects.. My 'asf' (aka Apache Software Foundation) directory contains 84 project level checkouts.
I also keep a ~/work/temp directory full of random source tarballs if I need to look at how something works. Currently contains glibc, python 2.6 & 3.1, dojo, and about 30 other open source projects, normally ones I'm not normally involved in patching, but often run into... difficulties with. Nothing resolves bad documentation quicker than looking at the source code...
I tend to nuke temp once every 6 months.
- jgalvez 17y agoHa, that's precisely how I organize it too :)
- labria 17y agoAlmost the same. But i have one more level above ${company_or_topical}, ${language}. I don't really know why, kind of a personal tradition.
- labria 17y agoPlus a /open_source/ folder for sources of OSS projects i follow or hack on.
- mark_l_watson 17y ago"""Some of these sub-directories are actually symlinks to encrypted DMGs, again depending on who owns the IP.""" That is how I handle customer proprietary data also for customers who want their work encrypted.
- nikz 17y agoI use Knox - http://www.knoxformac.com/ http://www.knoxformac.com/ - similar thing, much nicer UI.
- savrajsingh 17y agoWow, I also have ~/code directory, with each subdir as a local copy of a different project repository. Logical, I guess. :)
- trolocsis 17y agoI do a similar procedure, but I prefix the company or topic with an @ symbol to signify the underlying directory is a group. IE: ~/code/@asf/httpd-dev ~/code/@asf/hadoop-trunk ~/code/@linux/linux ~/code/@linux/git The @ symbol will sort the grouped directories first when sorted by alphabetical.