I've got my builds to automtically upload the binaries and instruct files, but somehow they don't get processed.
Here's the resulting log file:
2009-04-01 07:25:20 18567 Instruct file '/home/chroot/projects/o/openrasta/instructs/ohloh.xml' running.
2009-04-01 07:25:20 18567 Error: #/usr/lib/ruby/1.8/net/http.rb:2097:in
2009-04-01 07:25:20 18567 Instruct file '/home/chroot/projects/o/openrasta/instructs/ohloh.xml' failed.
Is there something I'm going wrong on my side or is the upload service b0rked?
Sorry for the complications; this can be difficult to debug when things go wrong.
The answer is that things were a little bit borked on both ends. I was able to get the submission to go through by making the following two changes:
First, I removed the namespace declaration
xmlns="urn:schemas-ohloh:instructfule" from the XML file. Even without the spelling error, our system doesn't know what this is, and the XML file won't validate.
Second, it looks like we have a case-sensitivity issue in our code. Because the project URL on Ohloh was
OpenRasta, but the upload directory was named
openrasta, the two did not match and the upload was not completed.
I was able to get the upload to complete by changing the URL on Ohloh to
openrasta and resubmitting the job.
For various technical reasons, this is a lot more complicated than simply changing our code to do a case-insensitive lookup. This will be a complicated bug to fix. In the near term, if you want to keep using the scripted uploader, then the URL name on Ohloh will have to remain the lowercase
Let me know if you have any more troubles with the uploader.
thanks for the answer. The xmlns instruction wasn't there originally. Should've thought it would get borked.
So it was just because the URIs are case-sensitive!
Thanks a lot for that, it explains it. You should just update the documentation :)
Off to do my official beta1 release!
Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.