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.blackduck.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 info@openhub.net

Import/update a list of enlistments?

Hi,

Is there a way to import or update a list of enlistments at once?

For example, this project changed his CVS repository DNS a few months ago and there's more than 100 addresses to update.

Thanks a lot!

gabrielcossette almost 13 years ago
 

Gabriel,

Please check and see if the API offers any help, but I don't know of a specific way that ohloh offers to do this. I do know some individual project managers have done this on their own using scripting. I will note, though, that the projects with the highest numbers of enlistments experience much greater failures overall than those projects with fewer but larger enlistments. It is much more than a linear relationship. Since you have experienced this number of enlistments previously and are (I presume) substituting the new for old one-for-one, you probably know this better than I.

Also, CVS is not our best performing SCM and the initial fetches will take some time.

Let me know here with any questions or problems,

Thanks!

ssnow-blackduck over 12 years ago
 

Thanks for your answer. I previously looked at your API here:
http://meta.ohloh.net/referenceenlistment/

But it seems to be only able to get the current enlistments list, not add/modify current ones. But at least we can have the complete list.

Anyway, I was finally able to write myself an AutoIT script who can send regular HTTP POST requests to add/delete enlistments in batch :) I guess that's the kind of script others have already done.

Have a great day!

gabrielcossette over 12 years ago
 

Gabriel,

Hopefully others will discover this post and find a new tool for their arsenal.

Thanks!

ssnow-blackduck over 12 years ago
 

For sure! If someone wants my AutoIT source, they can just ask for it ;)

But it would still be good to have an official way to manage enlistments in batch from the web interface in the future.

Keep up the good work!

gabrielcossette over 12 years ago
 

Gabriel,

I will suggest someone in management looks at your request.

Here's hoping...

Thanks!

ssnow-blackduck over 12 years ago
 

Thanks a bunch!

gabrielcossette over 12 years ago
 

Gabriel, I'd be interested in getting access to your script (also submitted https://github.com/blackducksw/ohloh_api/issues/32 to help documentation get refined)

I'd like to automate the creation of repos in openhub for the large following organizations which regularly create new repos that should be added to https://www.openhub.net/p/cloudfoundry/enlistments

https://github.com/cloudfoundry/
https://github.com/cloudfoundry-incubator/
https://github.com/cloudfoundry-community/

It would have been great to be able to set up a webhook from github (https://developer.github.com/webhooks/ on the repository event) so that every new repo gets mirrored onto openhub.

bercheg about 10 years ago