Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
10-21-2007, 02:05 AM
|
#1
|
Member
Registered: May 2003
Location: India
Distribution: Ubuntu 7.04, Fedora Core 9
Posts: 168
Rep:
|
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!
|
|
|
10-21-2007, 02:19 AM
|
#2
|
Amigo developer
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928
|
Why don't you ask sourceforge?
|
|
|
10-21-2007, 02:37 AM
|
#3
|
Member
Registered: May 2003
Location: India
Distribution: Ubuntu 7.04, Fedora Core 9
Posts: 168
Original Poster
Rep:
|
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?
|
|
|
10-21-2007, 02:39 AM
|
#4
|
Moderator
Registered: May 2001
Posts: 29,415
|
Quote:
Originally Posted by montylee
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?
Last edited by unSpawn; 10-21-2007 at 02:41 AM.
|
|
|
10-21-2007, 03:09 AM
|
#5
|
Member
Registered: May 2003
Location: India
Distribution: Ubuntu 7.04, Fedora Core 9
Posts: 168
Original Poster
Rep:
|
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
|
|
|
10-21-2007, 03:57 AM
|
#6
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
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.
|
Last edited by matthewg42; 10-21-2007 at 03:58 AM.
Reason: typo: fist -> first
|
|
|
10-21-2007, 04:08 AM
|
#7
|
Senior Member
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247
Rep:
|
You don't need cvs or svn if you're working alone!
|
|
|
10-21-2007, 04:18 AM
|
#8
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
Quote:
Originally Posted by Alien_Hominid
You don't need cvs or svn if you're working alone!
|
Well, you might want to keep a revision history...
|
|
|
10-21-2007, 10:49 AM
|
#9
|
Member
Registered: May 2003
Location: India
Distribution: Ubuntu 7.04, Fedora Core 9
Posts: 168
Original Poster
Rep:
|
ya, basically i want to keep the revision history. I think the option i mentioned should work. Thanks for ur replies
|
|
|
10-22-2007, 01:46 AM
|
#10
|
Member
Registered: May 2003
Location: India
Distribution: Ubuntu 7.04, Fedora Core 9
Posts: 168
Original Poster
Rep:
|
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.
|
|
|
10-22-2007, 04:42 AM
|
#11
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
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.
|
|
|
10-22-2007, 06:17 AM
|
#12
|
Member
Registered: May 2003
Location: India
Distribution: Ubuntu 7.04, Fedora Core 9
Posts: 168
Original Poster
Rep:
|
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.
|
|
|
10-22-2007, 06:49 AM
|
#13
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
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
|
|
|
10-22-2007, 07:33 AM
|
#14
|
Member
Registered: May 2003
Location: India
Distribution: Ubuntu 7.04, Fedora Core 9
Posts: 168
Original Poster
Rep:
|
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'
|
|
|
10-22-2007, 07:40 AM
|
#15
|
Senior Member
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530
Rep:
|
I've never done it, so I would refer you to the sourceforge documentation.
|
|
|
All times are GMT -5. The time now is 11:19 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|