Open saraf opened 9 years ago
I'm not aware if anyone has ever used Github Enterprise with Strider successfully, if they have, then it looks like a possible API change?
I saw a couple of commits - https://github.com/Strider-CD/strider-github/commit/39345dd3c72a73fa150a6d08487619c51cfc3fe2 and https://github.com/Strider-CD/strider-github/commit/0abde9aef27a2bcaece596ab681f0b36cb08e56e (however, parts of those commits are now gone from the code - in https://github.com/Strider-CD/strider-github/commit/d40401074b2bac2b2e94a687ffa559ce0f3c56ef)
Also saw - http://strider.readthedocs.org/en/latest/intro.html#github-github-enterprise-bitbucket and, a reference in the code - https://github.com/Strider-CD/strider-github/blob/master/lib/api.js#L406-L409 (However, this code is unlikely to work - since we do not get a uri in the res.request anymore.)
Is it okay to then remove those lines in api.js that are dead - so that someone who will implement github enterprise support will have a clean start?
Can you add a // TODO: add enterprise support
line where you remove those lines? Thanks.
done!
On Thu, Aug 20, 2015 at 11:35 PM, Ilya Radchenko notifications@github.com wrote:
Can you add a // TODO: add enterprise support line where you remove those lines? Thanks.
— Reply to this email directly or view it on GitHub https://github.com/Strider-CD/strider-github/issues/50#issuecomment-133032054 .
With some local modifications, I've gotten strider-github to connect to our enterprise github server. I'm working on making more appropriate modifications right now, and should have a pull request up in the next few days.
Basically, what needs to be done:
Anyways, I really like the Strider-CD project so far. It's a huge step up from jenkins, and has a UI that I can actually... use.
P.S.
Have we considered using an external library for the github api interface? There are a few npm packages out there that take care of connecting to the github api with OAuth. Perhaps we could leverage one of these packages instead of having all of the api call code in-house? The package I'm thinking of is octonode, which supports everything that this project needs right now. Just an idea, let me know what you think.
Glad to have you onboard @apiv! Looking forward to your PRs.
We already have an issue about using a github API module here: https://github.com/Strider-CD/strider-github/issues/1 but we would still need to keep the gitane
module around. If you want to tackle this, go for it. I'll try to help as much as possible.
Cool, I've made #56 to add enterprise support without the API refactor. I still want to take a shot at refactoring the API to use octonode, I'm just still getting acquainted with passport and the Strider-CD api. I might have some questions along the way, so I'll open a new issue for 'Use octonode' when I get started.
I'll close this once I release the GE changes.
I have set up GH Enterprise (trial for 45 days) on a VM.
Am setting the ENV variables and running strider as follows:
When trying to add a Github account gets me to an error page
So, what are the steps needed to get this working with github enterprise?