Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: nbdev_new encounters 404 error with custom GH_HOST #1009

Merged
merged 1 commit into from Sep 8, 2022

Conversation

seeM
Copy link
Member

@seeM seeM commented Sep 7, 2022

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@hamelsmu
Copy link
Member

hamelsmu commented Sep 7, 2022

Does this close #1007 ?

closes #1007

@hamelsmu hamelsmu linked an issue Sep 7, 2022 that may be closed by this pull request
@seeM
Copy link
Member Author

seeM commented Sep 7, 2022

Does this close #1007 ?

closes #1007

Yep it's in the commit message 92ec4ea, which works on merge

nbs/cli.ipynb Show resolved Hide resolved
@@ -60,6 +60,7 @@
"outputs": [],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Line #12.        tag = GhApi(gh_host='https://api.github.com').repos.get_latest_release('fastai', 'nbdev-template').tag_name

I am not confident about this change - my main question is are we sure that all other endpoints other than https://api.github.com do not work? For example, GitHub Enterprise?

It could be that the OpenAPI spec that ghapi is built on only works with the public GitHub API or something like that, but just curious if you happen to know any more details or have some thoughts around this


Reply via ReviewNB

@hamelsmu
Copy link
Member

hamelsmu commented Sep 8, 2022

Yep it's in the commit message 92ec4ea, which works on merge

You are fancy 💃🏽 :)

@seeM seeM merged commit c1f1b4f into fastai:master Sep 8, 2022
@seeM seeM deleted the nbdev-template-gh-host branch September 8, 2022 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nbdev_new encounters 404 error with custom GH_HOST
2 participants