question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

GitHub branch redirects appear to fail

See original GitHub issue

GitHub allows for branch redirects (for example, for projects that rename their default branch from master to main). The tool doesn’t appear to follow these redirects, so license text fetching can fail.

I’m happy to submit a PR with a fix, if the desired behavior is that such redirects are followed by default.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
tomchavakiscommented, Mar 25, 2021

@AaronFeickert, You are right pull request #62 doesn’t fix this issue. The https://github.com/tomchavakis/nuget-license/pull/61 is working only if you use the flag export-license-texts in case that you want to have all the licenses in text files. Unfortunately, there are other cases with other licenses that instead of text the output is HTML. I’ll try to fix it asap.

0reactions
tomchavakiscommented, Apr 5, 2021

@AaronFeickert , I’ll close this issue which resolved with this PR: https://github.com/tomchavakis/nuget-license/pull/63

Read more comments on GitHub >

github_iconTop Results From Across the Web

Redirects for moved repos don't seem to work · Issue #467
I have a repo that was moved, and I can't create a pull request to it. I have a branch pushed to origin...
Read more >
Release's download URL is redirecting #46420
So the Github download URl seems to redirect somewhere. The URL itself is working as it suppose to, you are able to download...
Read more >
error with branch upstream/master · Issue #5181 · desktop ...
In the background the app periodically checks if there are new commits on the default branch, and if so the blue dot appears...
Read more >
git - What does the warning "redirecting to" actually mean?
"Slight" means that it is there, but it can be fixed automatically, so Git doesn't give an error, but rather a warning.
Read more >
Too many redirects or authentication replays error when Git ...
The UI and API seem unable to set new credentials if the existing ... Please check the URL, default branch name, and authentication...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found