Forums : Technical Issue Help

Dear Open Hub Users,

We’re excited to announce that we will be moving the Open Hub Forum to https://community.synopsys.com/s/black-duck-open-hub. Beginning immediately, users can head over, register, get technical help and discuss issue pertinent to the Open Hub. Registered users can also subscribe to Open Hub announcements here.


On May 1, 2020, we will be freezing https://www.openhub.net/forums and users will not be able to create new discussions. If you have any questions and concerns, please email us at [email protected]

Refusing to add valid repository

The system refuses to accept the following repository: http://brlcad.svn.sourceforge.net/svnroot/brlcad/rt^3/trunk , the error message is does not appear to be a valid Subversion connection string -- maybe because of the '^'?

With http://brlcad.svn.sourceforge.net/svnroot/brlcad/rt%5E3/trunk (encoding the caret) the error is different: The server did not respond to a 'svn info' command. Is the URL correct?

However it is a valid repository in both cases:

[13:29] mafm@wainu ~ $ svn info http://brlcad.svn.sourceforge.net/svnroot/brlcad/rt%5E3/trunk
Path: trunk
URL: http://brlcad.svn.sourceforge.net/svnroot/brlcad/rt%5E3/trunk
Repository Root: http://brlcad.svn.sourceforge.net/svnroot/brlcad
...

[13:29] mafm@wainu ~ $ svn info http://brlcad.svn.sourceforge.net/svnroot/brlcad/rt^3/trunk
Path: trunk
URL: http://brlcad.svn.sourceforge.net/svnroot/brlcad/rt%5E3/trunk
Repository Root: http://brlcad.svn.sourceforge.net/svnroot/brlcad
...

Manuel A. Ferna... almost 16 years ago
 

Hi Manuel,

The problem was indeed caused by the caret ^ character, which our validator was rejecting.

Encoding the caret brought on a whole extra set of problems, since our code re-encodes the URL you provide.

I've changed our validator to allow ^ in the latter part of the URL, and it seems to work now. Let me know if you have any more troubles.

Thanks,

Robin

Robin Luckey almost 16 years ago
 

Hello,

Thank you very much, now it added the repository without problems.

However, I noticed that the first repository has an error --which already had before, don't know for how long--, it seems that has problems importing it (Step 1 of 3: Downloading source code history (Failed)). Maybe you could also take a look when you have time.

Regards.

Manuel A. Ferna... almost 16 years ago
 

Erm, just to be clear -- I mean the first respository of BRL-CAD project, in this URL: http://www.ohloh.net/projects/3996/enlistments

Manuel A. Ferna... almost 16 years ago
 

Hi Manuel,

I restarted the BRL-CAD trunk and will watch the project update.

Andy Verprauskus almost 16 years ago
 

Hi again,

When you re-added it worked fine, but both repositories are not updated for 3/4 days now, while a handful projects that I looked into have been updated in the last day.

I understand that maybe the first repository is not updated frequently due to its size or something like that, but the second is small... so I don't know. Do you know what's happening?

Manuel A. Ferna... almost 16 years ago
 

Hi Manuel,

Lately, we running about 3 to 4 days behind on updates, so this in itself is not unusual. However, I dug a little deeper and found that we were in fact having some server issues which caused this project to be stuck. I've fixed the problem, and an update is now scheduled.

Thanks for the heads-up,

Robin

Robin Luckey almost 16 years ago
 

Hi Robin,

Oh I see. Now they had 5 and 6 respectively before being updated, but that part is fine now.

I still have another problem though (the same that caused me to investigate in the first place), that for BRL-CAD the rt^3 repository doesn't seem to count for commits, and when I try to add myself to the project I can't, because I only commited to that part.

Enlistment:
http://www.ohloh.net/projects/3996/enlistments

SVN browse for the module:
http://brlcad.svn.sourceforge.net/viewvc/brlcad/rt^3/trunk/

So I've been commited for 2 weeks but they are still not counted in the recent updates... it was not processed yet or there's yet another problem?

Cheers.

Manuel A. Ferna... almost 16 years ago
 

Hi Manuel,

It looks like our system only found a single commit in the rt^3 repository, which is clearly wrong. I'm running some tests now.

It's possible there is a point in our system which is confused by the ^ character in the URL in some way that prevents it from finding the commits, or possibly our system thinks that all of the commits are empty (because the files are not recognized thanks to the ^ character).

I'll let you know what I find out.

Robin

Robin Luckey almost 16 years ago
 

Hi again,

Well, this is really not a big problem for me, but I continue to report on this because I guess that you're interested in fixing possible bugs.

The thing is that now both repositories are up to date, but it counts only around 25 commits for me, the first being on 30th June.

But I have...
$ svn log | egrep ^r.* \| mafm \| | wc -l
75

The first being:
r31350 | mafm | 2008-06-10 11:35:19 +0100 (Tue, 10 Jun 2008) | 1 line

And in June:
$ svn log | egrep ^r.* \| mafm \| | grep Jun | wc -l
62

This is clearly different from what appears in: http://www.ohloh.net/projects/3996/commits?commit=Update&page=3&query=mafm

Cheers!

Manuel A. Ferna... almost 16 years ago
 

Hi Manuel,

This was very mysterious. I spent a lot of time digging around, but I couldn't come up with explanation for the missing commits.

In the end, I simply regenerated the report from scratch to see if the error would repeat. Instead, it looks like we now have a correct report.

You can see your new and improved list of commits here.

I'm sure this whole thing is starting to look pretty fragile, but I think we're finally there. I'm still bothered that I couldn't explain the missing commits.

Robin Luckey almost 16 years ago
 

Hi Robin,

Ok, thank you very much. I'll let you know if I find more problems...

Regards.

Manuel A. Ferna... almost 16 years ago