LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   Sourceforge.net project confusion (https://www.linuxquestions.org/questions/programming-9/sourceforge-net-project-confusion-593399/)

montylee 10-21-2007 02:05 AM

Sourceforge.net project confusion
 
Hi,

I am working on a software which will use the GPL License. I want to host the project on sourceforge.net. Now, i have created the project page on sourceforge, but my project is currently in development. I want to host the code in sourceforge CVS so that i can maintain the code properly and store revisions, but i don't want other people to access the code until it is complete i.e. until i release it. Can this be done i.e. can i make the CVS access to my project private until the project is complete?

Thanks in advance!

gnashley 10-21-2007 02:19 AM

Why don't you ask sourceforge?

montylee 10-21-2007 02:37 AM

i thought i would get a quicker answer here. Also, sourceforge people reply only from Monday to Friday and today is Sunday.

One more query: Which one should i use at sourceforge: CVS or Subversion?

unSpawn 10-21-2007 02:39 AM

Quote:

Originally Posted by montylee (Post 2931326)
can i make the CVS access to my project private until the project is complete?

I remember looking into that too when I moved Rootkit Hunter over to SF. AFAIK with CVS in general you should be able to, but (from what SF docs I read) at SF you can restrict access only for developers (personal accounts) r/w access but not for anonymous r/o access. If you're uncomfortable with your code being readable you should keep it in local CVS until cooked well & ready to serve. But since your project isn't known to anyone, and as long as you don't promote its whereabouts, I think it would be a one in a million chance someone stumbling on your code. OTOH, why wouldn't you favour more eyeballs? Isn't that what SF and OSS are about? The help you get from others? For free?

montylee 10-21-2007 03:09 AM

yup, that's true. But still i want to put the code for people only when it's complete. Ok, i found a setting to disable SVN/CVS access. It's under the admin option. What i can do is upload my code to SVN and then disable SVN using the given option. By disabling the SVN, users would not be able to view the SVN link on the project page. But the data in the SVN will stay as it is. I'll try it.

First i need to learn to use SVN :)

matthewg42 10-21-2007 03:57 AM

Did you read the sourceforge site documentation? no? You should - it's pretty good.

Let's see... help... documentation... CVS... permissions. Aha. The very first sentence in this section is:
Quote:

Read access cannot be restricted: This limitation is imposed to ensure all code is available to the public per the spirit of the Open Source Definition. No means is provided nor supported to restrict anonymous access to a project's CVS repository.

Alien_Hominid 10-21-2007 04:08 AM

You don't need cvs or svn if you're working alone!

matthewg42 10-21-2007 04:18 AM

Quote:

Originally Posted by Alien_Hominid (Post 2931394)
You don't need cvs or svn if you're working alone!

Well, you might want to keep a revision history...

montylee 10-21-2007 10:49 AM

ya, basically i want to keep the revision history. I think the option i mentioned should work. Thanks for ur replies :)

montylee 10-22-2007 01:46 AM

Hey, one query: How do i add files to my SVN repository? It's currently empty. I tried using TortoiseSVN on Windows. When i click on a folder and click import or export or SVN Checkout, it asks for a URL, i give it the URL to my SVN repository but after a while it gives an error. This maybe because there are no files in my repository. I followed this tutorial:
http://haacked.com/archive/2006/02/2...urceForge.aspx

Now, what should i do to add files to my repository? Should i try the command-line SVN from my Ubuntu terminal? I am at office at the moment, so can't try it now.

matthewg42 10-22-2007 04:42 AM

I don't know how much of a response you are going to get asking about a Windows application here. I use SVN on Linux, and use the command line client. If you want to use that I can help, or you can refer to one of the tutorials and guides on the net.

montylee 10-22-2007 06:17 AM

Ya, i know i shouldn't be asking about a windows application. I just wanted to know if i can add new files to an empty repository thru the terminal SVN commands in my Ubuntu installation.

matthewg42 10-22-2007 06:49 AM

This tutorial looks like a nice one with examples which include what you want to do:

http://artis.imag.fr/~Xavier.Decoret...svn/index.html

montylee 10-22-2007 07:33 AM

wow, thanks! The tutorial looks nice and easy. I'll try uploading my code using the mentioned commands. Basically, i need to check-in my code into sourceforge.net SVN first. According to the tutorial, the following command should be used for importing existing projects:

svn import /path/to/project/ file:///home/user/svn/project/trunk -m 'Initial import'

Now, initially i'll practice importing into my local repository. Now, when i am ready to upload my code to sourceforge.net SVN, will the following command work fine?

svn import /path/to/project/ https://something.svn.sourceforge.ne...omething/trunk -m 'Initial import'

matthewg42 10-22-2007 07:40 AM

I've never done it, so I would refer you to the sourceforge documentation.


All times are GMT -5. The time now is 07:08 AM.