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!
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 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!
Hopefully others will discover this post and find a new tool for their arsenal.
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!
I will suggest someone in management looks at your request.
Thanks a bunch!
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
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.