-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Fix: Fixed sorting issues with #-# numbered files #17012
Conversation
Potential copyright issue, as NaturalStringComparer is MIT licensed (so copy of license required), but the copyright notice isn't updated properly. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Potential copyright issue, as NaturalStringComparer is MIT licensed (so copy of license required), but the copyright notice isn't updated properly.
I did a quick search but all of pieces of code are fully made by community members only for Files.
FWIW, .NET 10 will bring a numeric comparison feature so this may no longer needed in the future.
Author credits NaturalStringComparer and using GitHub Code Search on that specific repo does indicate a match. |
Can you link me to that repo? |
@nethbotheju @yaira2 we may as well add a license acknowledgement for NaturalStringComparer: {
// Credit: https://github.com/GihanSoft/NaturalStringComparer
public sealed class NaturalStringComparer
{
}
} |
@0x5bfa I have updated the file with the license acknowledgement comment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Lamparter <[email protected]> Signed-off-by: Neth Botheju <[email protected]>
Co-authored-by: Lamparter <[email protected]> Signed-off-by: Neth Botheju <[email protected]>
@Lamparter Thanks for the formatting suggestions. |
@0x5bfa agreed, this should be a temporary solution. That said, I would like to check with the author before using their code in this manner. |
@GihanSoft thank you for your work on NaturalStringComparer. We're looking to use this in Files without bringing in the entire package. Do you have any objections with the way this is being implemented? |
Sorry being late For advice:
|
@GihanSoft thank you for the response. We'll be happy to add a notice to our about page.
@nethbotheju can you confirm?
.net10 is still in preview so we'll be on .net9 for some time. |
@yaira2 Yes, it uses the latest version of the code, which was updated 5 months ago |
@nethbotheju can you please add a notice to the 'third party libraries' section on the about page? |
@yaira2 Are you referring to the https://files.community/docs/features/integrations section of the website? |
I think it is NOTICE.md |
@yaira2 I have updated the NOTICE.md file with the NaturalStringComparer licenses |
@nethbotheju @GihanSoft thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Resolved / Related Issues
Fixes #17009
Steps used to test these changes
For the test, I have created another single file and copied the NaturalStringComparer code to it and tested the changes.