Welcome to Dream.In.Code
Getting Help is Easy!

Join 132,008 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,917 people online right now. Registration is fast and FREE... Join Now!




How to set up an open source project?

 
Reply to this topicStart new topic

How to set up an open source project?

joske
post 10 Jul, 2008 - 04:04 AM
Post #1


D.I.C Head

**
Joined: 4 Sep, 2007
Posts: 156



Thanked 11 times
My Contributions


I would like to start an open source project, but I have no experience in that. I know many open source projects use sourceforge.net, GPL license, and use a CVS system for version management.

Does anyone know a (practical) tutorial or other source of information about what you need to consider when you start an open source project? I would like to know more about issues like:
  • Where to set up your project (sourceforge.net?)
  • How does using a CVS work?
  • How does licensing work? What are consequences?
  • How is the hierarchy when working with multiple people onto one project?
  • What are common programming and documentation styles?
  • ...

Jos
User is offlineProfile CardPM

Go to the top of the page

joske
post 10 Jul, 2008 - 04:51 AM
Post #2


D.I.C Head

**
Joined: 4 Sep, 2007
Posts: 156



Thanked 11 times
My Contributions


QUOTE(joske @ 10 Jul, 2008 - 02:04 PM) *
  • What are common programming and documentation styles?


I just found these pages on C++ Programming Style Guidelines:
http://www.doc.ic.ac.uk/lab/cplus/c%2b%2b.rules/
http://www.possibility.com/Cpp/CppCodingStandard.html
http://geosoft.no/development/cppstyle.html


User is offlineProfile CardPM

Go to the top of the page

MitkOK
post 10 Jul, 2008 - 05:04 AM
Post #3


D.I.C Regular

Group Icon
Joined: 9 Aug, 2007
Posts: 314



Thanked 12 times

Dream Kudos: 250
My Contributions


All of these quoestions you can answer with searching and reading.

PS: Google C++ Style Guide

This post has been edited by MitkOK: 10 Jul, 2008 - 05:04 AM
User is offlineProfile CardPM

Go to the top of the page

Tom9729
post 10 Jul, 2008 - 05:04 AM
Post #4


Debian guru

Group Icon
Joined: 30 Dec, 2007
Posts: 1,447



Thanked 10 times

Dream Kudos: 325
My Contributions


There are several Open Source licenses.

The most "popular" ones right now are the GPLv2, BSD, and Public Domain I suppose.

GPLv2 basically says that anyone can take your code any make changes, but they have to redistribute the changes. It is "viral" in that any projects using GPLv2 code must also be GPLv2.

BSD basically says that anyone can take your code and do whatever they want with it, as long as they leave the copyright information intact. They don't have to redistribute changes.

Public Domain basically says that anyone can do anything they want with your code.

---------------------------------

Common programming, documentation, and project organization are left up to you.

---------------------------------

CVS, Subversion, and GIT are some popular ways of versioning source code. Sourceforge supports SVN and CVS right now. Personally I prefer SVN, but many projects use CVS. Use Google to find tutorials on using either. icon_up.gif

---------------------------------

Sourceforge is good for setting up projects. There is also Codeplex (for Microsoft projects), Savannah (GNU), Freshmeat, Google Code, etc. Chosing one is up to you.

---------------------------------

When in doubt, query Google and observe what other projects are doing. smile.gif
User is offlineProfile CardPM

Go to the top of the page

joske
post 11 Jul, 2008 - 12:52 AM
Post #5


D.I.C Head

**
Joined: 4 Sep, 2007
Posts: 156



Thanked 11 times
My Contributions


Thanks for your replies.

I know, I know "just ask Google" is an answer but it is no answer wink2.gif. I did. But the problem with this kind of things is that it is hard to find your way through all different opinions, and to estimate the value and reliability of online sources. Therefore I rather like to ask an expert to help me get a first rough idea on what comes across, then I can figure the details out by myself.

Tom, thanks for your short explanation of these various licenses, this helps me a lot. I think I will go for GPL. Do you know the main differences between GPLv2 and GPLv3?

User is offlineProfile CardPM

Go to the top of the page

Tom9729
post 11 Jul, 2008 - 06:28 AM
Post #6


Debian guru

Group Icon
Joined: 30 Dec, 2007
Posts: 1,447



Thanked 10 times

Dream Kudos: 325
My Contributions


QUOTE(joske @ 11 Jul, 2008 - 04:52 AM) *

Tom, thanks for your short explanation of these various licenses, this helps me a lot. I think I will go for GPL. Do you know the main differences between GPLv2 and GPLv3?

AFAIK the main difference is that the GPLv3 puts restrictions on DRM used in the software (which is kind of an irony, restrictions on restrictions).

There are some really extensive readings floating around on Google, and Groklaw has a side by side comparison of the two licenses. Needless to say, I don't really care enough to read any more than a page on the subject. smile.gif

Here are two links explaining the "issue" some people have with the GPLv3. I would suggest reading through the comments on the Slashdot article. Not all of the comments are going to be 100% necessarily, and there is a lot of leeway for people spouting illogical opinions, but the discussion brings up some very interesting points and if you can manage to avoid the trolls, there are some very intelligent people posting there. icon_up.gif
http://www.linuxjournal.com/article/9447
http://slashdot.org/article.pl?sid=07/06/0...13&from=rss
User is offlineProfile CardPM

Go to the top of the page

joske
post 11 Jul, 2008 - 10:22 AM
Post #7


D.I.C Head

**
Joined: 4 Sep, 2007
Posts: 156



Thanked 11 times
My Contributions


Thanks. I indeed heard some rumors about GPLv3. Anyway, as far as I understand it correctly, GPLv3 does not have specific additions regarding the program I want to make (mathematics), so I think I will just start with GPLv2.
User is offlineProfile CardPM

Go to the top of the page

JeroenFM
post 15 Jul, 2008 - 06:41 AM
Post #8


D.I.C Head

Group Icon
Joined: 30 Jun, 2008
Posts: 182



Thanked 9 times

Dream Kudos: 100
My Contributions


QUOTE(joske @ 11 Jul, 2008 - 11:22 AM) *

Thanks. I indeed heard some rumors about GPLv3. Anyway, as far as I understand it correctly, GPLv3 does not have specific additions regarding the program I want to make (mathematics), so I think I will just start with GPLv2.


Basically GPLv3 has two specific things that v2 does not:

_ Anti-tivoization clause (if your hardware requires your software to be signed then you must also provide the means to sign said software)
_ Patent protection clause (if you distribute GPLv3 stuff then you also grant any users of the version you distributed and any derivatives a non-revokable license to all applicable patents)

Also, I think the DRM statement made by Tom is a bit vague, I suggest you read this page for the specifics:
http://www.gnu.org/licenses/quick-guide-gplv3.html.

A few more things to consider with regard to license choice is license compatibility. For instance, you can't distribute Apache-licensed software within a GPLv2 program without violating either of the licenses. The GPLv3 does not have this problem.

If your program depends on other libraries much then this should be carefully considered, otherwise it's a matter of preference.
User is offlineProfile CardPM

Go to the top of the page

Tom9729
post 15 Jul, 2008 - 08:09 AM
Post #9


Debian guru

Group Icon
Joined: 30 Dec, 2007
Posts: 1,447



Thanked 10 times

Dream Kudos: 325
My Contributions


QUOTE(JeroenFM @ 15 Jul, 2008 - 10:41 AM) *

Also, I think the DRM statement made by Tom is a bit vague, I suggest you read this page for the specifics:

I didn't know that much about the DRM specifics which (from what I had read) seemed to be one of the significant differences between the two licenses.

That's why I linked to some articles further explaining it. I didn't want to make his brain explode by sending him to the GNU page right off the bat. smile.gif
User is offlineProfile CardPM

Go to the top of the page

born2c0de
post 15 Jul, 2008 - 08:47 AM
Post #10


printf("I'm a %XR",195936478);

Group Icon
Joined: 26 Nov, 2004
Posts: 3,903



Thanked 34 times

Dream Kudos: 2800

Expert In: 80x86 Assembly, C/C++, VB6, VB.NET, C#, J2SE, Win32 API, Reversing

My Contributions


I use this for subversion hosting.
It's pretty decent and gives you 5 free repository modules at a time.
User is offlineProfile CardPM

Go to the top of the page

joske
post 22 Jul, 2008 - 12:47 AM
Post #11


D.I.C Head

**
Joined: 4 Sep, 2007
Posts: 156



Thanked 11 times
My Contributions


Jeroen, thanks for the explanation on GPLv2/GPLv3. So, actually, they do have important differences, which can show up in the future.
I will first check out which licenses are used by the libraries that I possibly will use.

@born2c0de: thanks for the link. That may be a nice solution to get started with subversion control. However, if I start with for example sourceforge.net, I will use system provided there.
User is offlineProfile CardPM

Go to the top of the page

Fast ReplyReply to this topicStart new topic
Time is now: 11/21/08 04:23AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month