Skip to content

bugfix: HTTPS Clone fails with remote pointer not found using Go transport (#836) #842

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

Merged
merged 10 commits into from
Oct 23, 2021

Conversation

codexetreme
Copy link
Contributor

Fixes: #836

Changes:

  • adding a weak bool param for Remote
  • create a new remote in the smartTransportCallback incase one is not found

* create a new remote in the smartTransportCallback incase one is not found
…owner remote is not found in the list of tracked remotes

* adding a test to check if external clone via HTTPS works
… network and external hosted repos)

* updating go.mod (and go.sum) with the new required dependency on gitkit
codexetreme and others added 2 commits October 21, 2021 18:49
Co-authored-by: lhchavez <[email protected]>
Co-authored-by: lhchavez <[email protected]>
@codexetreme
Copy link
Contributor Author

@lhchavez we have to support go 1.11 also? dunno how to fix those tests

also, I hit commit suggestions (once per message) so it actually queued 2 jobs, you can cancel the earliest one

@codexetreme
Copy link
Contributor Author

@lhchavez Can you try running this? If it fails, I'll revert the go mod and go sum changes

@lhchavez
Copy link
Contributor

@lhchavez Can you try running this? If it fails, I'll revert the go mod and go sum changes

please revert them just to keep the deps clean.

@codexetreme
Copy link
Contributor Author

Cool, I'll commit in a small while

@codexetreme
Copy link
Contributor Author

@lhchavez please run it now, I have reverted those files

Copy link
Contributor

@lhchavez lhchavez left a comment

Choose a reason for hiding this comment

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

Thanks for fixing this 🎉!

@lhchavez lhchavez merged commit 0e8009f into libgit2:main Oct 23, 2021
github-actions bot pushed a commit that referenced this pull request Oct 23, 2021
…sport (#836) (#842)

Fixes: #836

Changes:

* adding a weak bool param for Remote
* create a new remote in the smartTransportCallback incase one is not found

(cherry picked from commit 0e8009f)
github-actions bot pushed a commit that referenced this pull request Oct 23, 2021
…sport (#836) (#842)

Fixes: #836

Changes:

* adding a weak bool param for Remote
* create a new remote in the smartTransportCallback incase one is not found

(cherry picked from commit 0e8009f)
github-actions bot pushed a commit that referenced this pull request Oct 23, 2021
…sport (#836) (#842)

Fixes: #836

Changes:

* adding a weak bool param for Remote
* create a new remote in the smartTransportCallback incase one is not found

(cherry picked from commit 0e8009f)
github-actions bot pushed a commit that referenced this pull request Oct 23, 2021
…sport (#836) (#842)

Fixes: #836

Changes:

* adding a weak bool param for Remote
* create a new remote in the smartTransportCallback incase one is not found

(cherry picked from commit 0e8009f)
@hiddeco
Copy link

hiddeco commented Oct 24, 2021

Thanks a bunch both of you 🙇

lhchavez added a commit that referenced this pull request Nov 9, 2021
…sport (#836) (#842) (#846)

Fixes: #836

Changes:

* adding a weak bool param for Remote
* create a new remote in the smartTransportCallback incase one is not found

(cherry picked from commit 0e8009f)
Co-authored-by: Yashodhan Ghadge <[email protected]>
Co-authored-by: lhchavez <[email protected]>
lhchavez added a commit that referenced this pull request Nov 9, 2021
…sport (#836) (#842) (#847)

Fixes: #836

Changes:

* adding a weak bool param for Remote
* create a new remote in the smartTransportCallback incase one is not found

(cherry picked from commit 0e8009f)

Co-authored-by: Yashodhan Ghadge <[email protected]>
Co-authored-by: lhchavez <[email protected]>
lhchavez added a commit that referenced this pull request Nov 9, 2021
…sport (#836) (#842) (#848)

Fixes: #836

Changes:

* adding a weak bool param for Remote
* create a new remote in the smartTransportCallback incase one is not found

(cherry picked from commit 0e8009f)

Co-authored-by: Yashodhan Ghadge <[email protected]>
Co-authored-by: lhchavez <[email protected]>
lhchavez added a commit that referenced this pull request Nov 9, 2021
…sport (#836) (#842) (#849)

Fixes: #836

Changes:

* adding a weak bool param for Remote
* create a new remote in the smartTransportCallback incase one is not found

(cherry picked from commit 0e8009f)

Co-authored-by: Yashodhan Ghadge <[email protected]>
Co-authored-by: lhchavez <[email protected]>
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.

HTTPS Clone fails with remote pointer not found using Go transport
3 participants