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

Changes from issue #1634 to remove preview header: antiope breaks support for Github Enterprise #2082

Closed
jimjaeger opened this issue Sep 4, 2021 · 7 comments

Comments

@jimjaeger
Copy link

Github and Github enterprise have different release cycles and time to release features for granduate feature from preview state.

The changes to remove the check api preview header (#1634) break compatibility for github enterprise.

Is there any chance to active the header again or make it configurable?

@gmlewis
Copy link
Collaborator

gmlewis commented Sep 4, 2021

Is there any reason why you can't remain on the version of this repo that still provided this custom preview header?

@jimjaeger
Copy link
Author

jimjaeger commented Sep 4, 2021

Well, go-github is used by https://github.com/palantir/bulldozer. Older bulldozer versions does not work anymore with github enterprise. So I had to upgrade. Bulldozer developers decided to upgrade to go-github/v38. As result the tool became incompatible to github enterprise in another way because ghe has still check api in preview state.

May you could make it configurable so bulldozer could provide a configuration for github enterpise support.

@gmlewis
Copy link
Collaborator

gmlewis commented Sep 4, 2021

Oh, OK, I see your dilemma. We can revert #1636 and re-address that issue some time in the distant future.
I can work on that later today unless there are any objections.

@gmlewis
Copy link
Collaborator

gmlewis commented Sep 4, 2021

Oh, OK, I see your dilemma. We can revert #1636 and re-address that issue some time in the distant future.
I can work on that later today unless there are any objections.

Before I do that, however, can you please take a look at this thread: #1859 (comment)
and see if the proposed Client() solution is sufficient to give you a workaround to call an older version of this client library (which has support for the custom preview header you are interested in)?

@jimjaeger
Copy link
Author

Thanks for the fast reply. I am to admit I am not involved in bulldozer project. And I am not familiar with Golang. I am just enduser from bulldozer who looks for a solution.

I compiled a custom version from latest bulldozer code + revert the removal from the header in go-github code. And the solution works well.

I opened a ticket for bulldozer to discuss solution options: palantir/bulldozer#260.
I hope bulldozer owners can help to sort out which solution is the best and if the proposed client aspect above may help.

@jimjaeger
Copy link
Author

Seems the bulldozer guys did not comment here. Finally I built my custom custom bulldozer version and will stick with till the github version get an update. Thanks for the help.

@gmlewis
Copy link
Collaborator

gmlewis commented Mar 17, 2025

Closing issue as workaround was found above:
#2082 (comment)

@gmlewis gmlewis closed this as completed Mar 17, 2025
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

No branches or pull requests

2 participants