Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I've written few jQuery plugins (as well as some other stuff) and I publish all the code on my blog (http://erraticdev.blogspot.com).

I update them as people tell me about any issues they came across by leaving comments on blog posts. Then I update the code and republish my original post. Worked so far as expected.

But this seems like a bad way of code hosting. It does work I admit but it's not really version controlled. Only latest version (which should be used anyway) is accessible.

I've use Google Code hosting for few of my other non-jQuery projects which seems fine because I can centrally track all my web content (blog an those projects) in Google Analytics. The bad side is it takes some time to set up new projects with writing project page description. Version control seems the main benefit although some projects may not be updated at all... So what's the point then?

My plugins are therefore available as is. No minified versions or similar. I guess I could also upload full + minified version on my Google Docs and link them on my blog if I wanted to, couldn't I?

Question

What would you suggest where (or how) should I make my public code available to public? Should I change code hosting at all apart from having it freely available on my blog?

share|improve this question
3  
GitHub –  Aditya P May 2 '11 at 12:04
add comment

1 Answer

up vote 6 down vote accepted

GitHub is a popular choice. Open-source repositories on GitHub are free.

share|improve this answer
    
Popular choice indeed. but is it feasible for my case? Can I track and analyse visits using Google Analytics? –  Robert Koritnik May 2 '11 at 12:06
    
@Robert: Yes. Every project at github can have an static Project web page. You can put your google analytics there. pages.github.com –  Nerian May 2 '11 at 12:09
    
@Robert: Oh and I totally recommend Github. –  Nerian May 2 '11 at 12:10
    
Am I able to simply upload files as well or do I need local repo as with SVN where I have to use something like Tortoise and then sync my repo to Google Code? –  Robert Koritnik May 2 '11 at 14:19
    
GitHub is a git repository host. You will need to use git. There are lots of good resources for learning git. GitHub is one of them. –  Rein Henrichs May 2 '11 at 15:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.