Über Open CoDE Software Wiki Diskussionen GitLab

Skip to content

🐛 Fix Git client for public repos

Kurt Garloff requested to merge fix-git-client into main

Created by: janiskemper

What this PR does / why we need it: Two bugs happen with public repos and no git token set:

  • isPrivateRepo does not work as an error is returned if the git client was not successfully built. This commit replaces the utility function.
  • there was no handling of redirects that Github API gives us for downloading release assets in the case of public repos. This commit adds it.

TODOs:

  • squash commits
  • include documentation
  • add unit tests

Merge request reports

Loading