Comments (6)
@AaronFeickert,
You are right pull request #62 doesn't fix this issue.
The #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.
from nuget-license.
new HttpClient(new HttpClientHandler
{
AllowAutoRedirect = true,
MaxAutomaticRedirections = 5
});
from nuget-license.
Hi @AaronFeickert ,
Thank you for pointing this out.
I have updated the code to handle possible redirections.
#62
On the other hand, the tool retrieves the license URL from the nuget API.
@ChrisMcKee, if you go at the following nuget page
https://www.nuget.org/packages/BCrypt.Net-Next/
you will see that the license of the project is linked with the master instead of main branch.
As a result, the tool will present the license which is associated with nuget.
A possible solution would be to make an extra call to the github URL and if the github redirects to main branch then update the license URL but I am not sure if this is the expected way.
from nuget-license.
Yeah it's sorted in GitHub. Damn branch renaming joys
from nuget-license.
The linked pull request #62 does not appear to fix this.
from nuget-license.
@AaronFeickert , I'll close this issue which resolved with this PR:
#63
from nuget-license.
Related Issues (20)
- Cannot get repository info in json output HOT 3
- Transitive dependencies does not work as expected HOT 11
- dotnet-nuget-license version 3.0.0 is slow on large projects HOT 3
- Possibility of showing Dependency graph? HOT 1
- Why License for System.IdentityModel.Tokens.Jwt wasn't detected? HOT 2
- Wrong licence output HOT 3
- Add option to show only runtime dependencies (no analyzers, local tools, etc) HOT 1
- Support for Central Package Management HOT 10
- Add support for .NET7 HOT 2
- Version `100.100.100` was released on nuget.org HOT 9
- Stack overflow if finding licenses transitive HOT 3
- Tool crashes on url timeout HOT 9
- Feature: forbidden-license-types to take semicolon seperated string
- When overriding with a URL (using --licenseurl-to-license-mappings), the result should be an expression HOT 1
- Dependency on totally different version of package is detected. HOT 2
- [Question] Print the projects of specific nuget HOT 3
- Add quiet log-level
- Add support for .NET8 HOT 20
- Include packages from project references HOT 1
- "dotnet-project-licenses --version" shows wrong version
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nuget-license.