Comments (10)
from strider-github.
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?
from strider-github.
I saw a couple of commits - 39345dd
and
0abde9a
(however, parts of those commits are now gone from the code - in d404010)
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?
from strider-github.
Can you add a // TODO: add enterprise support
line where you remove those lines? Thanks.
from strider-github.
done!
On Thu, Aug 20, 2015 at 11:35 PM, Ilya Radchenko [email protected]
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
#50 (comment)
.
from strider-github.
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:
- api.js:423 - here we are assuming that the team id is the /a/b/this. All enterprise api urls start with /api/v3, so all we need to do is add a replace('/api/v3/', '') to 421.
- webapp.js - the appConfig object needs to use the environment variable overrides, if defined
- all situations where github.com is used need to be made dynamic, to either use the environment override or github.com.
- Docs need to be updated with steps on setting up the app, etc.
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.
from strider-github.
Glad to have you onboard @apiv! Looking forward to your PRs.
We already have an issue about using a github API module here: #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.
from strider-github.
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.
from strider-github.
#56 merged, this issue should be all set to close.
from strider-github.
I'll close this once I release the GE changes.
from strider-github.
Related Issues (20)
- Error creating project (Failed to setup repo: Bad status code: 401) HOT 2
- sendJob should return true, because if we reach that point in the code, the job has been successfully created?
- Github auth callback url issue HOT 22
- Please update version on npm to 2.2.0 HOT 5
- Setting up a private project I can access but do not own HOT 3
- Fix tests
- File version mismatch on npm install HOT 1
- Allow specification of APP_ID, SECRET, DOMAIN, ENDPOINT per account HOT 1
- webhooks.js expecting objects to exist that do not HOT 2
- Use SSH authentication instead of HTTPS HOT 3
- Unable to 'run' new projects due to ssh failure (publickey) HOT 10
- Delete branch HOT 12
- Strider fails to install deploy key
- Strider build 'undefined' branch when tag is pushed HOT 4
- Plugin crashes when pull request has merge conflict HOT 2
- Webhook error on release HOT 2
- Git Clone Invalid Syntax HOT 1
- git clone fails HOT 9
- Question: Do you need an email address for Github to work? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from strider-github.