SCM

[#5523] "No content added" after svn checkouts

Date:
2014-04-03 09:13
Priority:
3
State:
Closed
Submitted by:
A. Marcia Barbosa (marcia)
Assigned to:
Nobody (None)
Hardware:
Other
Operating System:
Linux
Severity:
major
URL:
http://fuzzysim.r-forge.r-project.org/
Summary:
"No content added" after svn checkouts

Detailed description
I'm the admin of the fuzzySim project on R-Forge, I've read the manual back and forth and repeatedly tried to upload/check out the package, under both Linux Mint (with the terminal) and Windows 7 (with TortoiseSVN), but to no avail. None of the OSs are in a virtual machine. In Linux I get the following error when doing the svn checkout with password authentication:

"svn: E000111: Unable to connect to a repository at URL 'svn://r-forge.r-project.org/svnroot/fuzzysim'
svn: E000111: Can't connect to host 'r-forge.r-project.org': Connection refused"

When checkout using the public key (svn+ssh), it says the following:

perl: warning: Falling back to the standard locale ("C").
"A fuzzysim/pkg
A fuzzysim/www
A fuzzysim/www/index.php
A fuzzysim/README
Checked out revision 1."

So it apparently works, I move my package source files (created in Linux) to the pkg directory, wait overnight, but it still says "No packages available in directory pkg of the SVN repository", and the build system status report is empty (blank page).

Windows doesn't complain when I do the checkout, but again nothing appears on R-Forge: the project page keeps saying "No content added".

"Enable anonymous read access" is ticked in SCM. I have run R CMD check and R CMD build in my computer and it builds fine here, it's just the getting it into R-Forge that I can't manage. In fact I'm not sure I'm doing it right, it does feel like there's some step missing, but I have thoroughly followed the intructions on the R-Forge manual, and my computer savviness doesn't go much farther than this. I've searched the internet for similar errors but found nothing helpful. Are there any additional guidelines you can point me to?

Thanks for any help!

Comments:

Message  ↓
Date: 2014-04-03 17:43
Sender: A. Marcia Barbosa

Ahaa, so that's what you meant by "explicitly add new files"! I know these things may sound incredibly obvious to those in the know, but for self-taught users with no informatics background, such little details are plain enigmas. Thanks a lot for your detailed instructions, this time the Linux terminal did acknowledge the adding and committing of the files. The project summary page on R-Forge still says "0 commits, 0 adds", but I figure there's a normal time lag. Hopefully my package will finally be online tomorrow...

The manual does seem to assume familiarity with svn, but this may not be so common among users with different backgrounds, and reading (and understanding...) the svn manual would just be another huge mountain for us to climb. Adding just a few lines mentioning the "svn add" and "svn commit" to the R-Forge manual could spare many people many problems in the future. In fact I think I'll write those lines myself and send them to the authors of the manual to be considered for a future revision.

Again, thanks a lot! Hopefully this will do it!

Date: 2014-04-03 16:50
Sender: Martin Pacala

Well the manual assumes one is familiar with the use of svn as far as I know. But I'm glad that we have some progress. Now all you still need to do is to do '$svn add filename' before doing '$svn commit'. Commit only checks for modified files, but you need to use add or delete for adding or removing new files as a whole. Only after you add a file can you then commit it and it will be added into the svn repo. I think that should get you running

Date: 2014-04-03 16:11
Sender: A. Marcia Barbosa

Many thanks for your quick reply. That's right, I hadn't committed - there's no mention of that in the R-Forge manual... Anyway I googled "svn commit" and I've done it now ('svn commit fuzzysim/pkg' in the Linux terminal), but there's no sign that anything really happened -- it did not launch an editor for me to compose a commit message, nor did the terminal show any response (something like 'Sending file; Transmitting file data; Committed revision 1') when I committed again, this time adding the message on the command line itself (svn commit -m "added package files"). Also, the project summary page on R-Forge still says "Subversion: 0 commits, 0 adds". Is this normal and do I just have to wait overnight to see any result, or am I still stuck?
Thanks again for any extra help!

Date: 2014-04-03 14:21
Sender: Martin Pacala

Ok I think you actually didn't commit anything yet. After you check something out, you need to explicitly add new files and then commit all changes. only after you make the commit will the modified files get uploaded and r-forge can build your package on the next run

Date: 2014-04-03 11:35
Sender: Martin Pacala

I'm looking into this, I can reproduce the error but can't really see why it's happening.

Attached Files:

Changes

Field Old Value Date By
status_idOpen2014-07-02 12:03mpacala
close_dateNone2014-07-02 12:03mpacala
Thanks to:
Vienna University of Economics and Business Powered By FusionForge