Comments (8)
I use github
module which seems to accept a url
configuration param. But I don't provide any way to fill it right now.
I'll push very quickly a change in a new branch so you can test if it fits your need.
from github-todos.
I tried something in a new branch feature/16-github-url
. You can try it with:
npm install -g "naholyr/github-todos#feature/16-github-url"
This version exposes a new option "github.url", in your case you should then
ght config github.host BASE_DOMAIN
ght config github.url /api/v3
Not sure where you should put the slashes or not, I've seen they used a single concatenation in github
module instead of path.join()
so you may need to customize that too.
I have no Github Enterprise to test so tell me if it suits you before I push it :)
from github-todos.
Looks like that worked, thanks!
The leading slash on /api/v3
is required.
from github-todos.
I take that back. It looks like I can auth against that url, but I these errors look like it's trying to use the standard API somewhere:
$ github-todos _hook -R 0.4.45..0.4.52
[Github-Todos] Error { [Error: {"message":"Not Found","documentation_url":"https://developer.github.com/v3"}]
message: '{"message":"Not Found","documentation_url":"https://developer.github.com/v3"}',
code: 404 }
{"message":"Not Found","documentation_url":"https://developer.github.com/v3"}
from github-todos.
Looks like a future PR for github module ;)
Could you please try again after a new npm i -g "naholyr/github-todos#feature/16-github-url"
prepending with DEBUG=*
to
enable debug info output (DEBUG=* github-todos _hook …
) and tell me what
you get?
from github-todos.
Ok, I figured out what's going on here (and I'd like to avoid posting the output because it includes some semi-private data). The problem was actually the value that I had in the repo
field in .github-todos
.
First, I had tried the name of my remote (e.g. origin) so when that didn't work, I copied the full repository URL. It seems that I just need org/reponame.
from github-todos.
Yes, yes you do :)
Maybe I should add a validation step in issue service for those cases.
Le jeu. 11 déc. 2014 18:05, Ian Remmel [email protected] a écrit :
Ok, I figured out what's going on here (and I'd like to avoid posting the
output because it includes some semi-private data). The problem was
actually the value that I had in the repo field in .github-todos.First, I had tried the name of my remote (e.g. origin) so when that didn't
work, I copied the full repository URL. It seems that I just need
org/reponame.—
Reply to this email directly or view it on GitHub
#16 (comment).
from github-todos.
Note: added validateConfig
in 2.3.0
from github-todos.
Related Issues (20)
- Error on `github-todos init` HOT 4
- Decouple from githooks? HOT 5
- Writing two TODO on subsequent lines, put them in same issue HOT 3
- Add an option to rename issue title on the fly HOT 3
- Target text file HOT 1
- github-todos can break git push on very large commits HOT 4
- /usr/bin/env: node: No such file or directory HOT 3
- Error while tryping to `github-todos auth` HOT 3
- Custom Host support HOT 6
- XDG support/customization for global config file
- Failed injecting issues HOT 4
- Repeating issues HOT 3
- Token is saved in .github-todos, which is not in .gitignore by default
- Do not create issue - Throws error
- plain export HOT 2
- Git push fails fs.js:557 HOT 3
- Gitlab issue service? HOT 2
- Unhandled rejection ReferenceError: primordials is not defined HOT 2
- Trying to get in touch regarding a security issue
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 github-todos.