-
-
Notifications
You must be signed in to change notification settings - Fork 151
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
LibreJS compatibility #103
Open
jbmagination
wants to merge
2
commits into
expressjs:master
Choose a base branch
from
jbmagination:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 1 commit
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
It's not clear what the purpose of this is, but regardless, this does not link to the correct license. Following this, it pulls the following content, which has the wrong copyright information: http://www.jclark.com/xml/copying.txt
Out license is located at https://github.com/expressjs/serve-index/blob/master/LICENSE generally.
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.
The purpose is for the LibreJS extension to recognize the license. If this is not included, alongside
// @license-end
, it will not be loaded.The magnet used is what is listed here in the documentation for the extension as to what it detects, but I can check and see if I can make the magnet reflect the actual copyright information.
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.
Gotcha. So yea, I used torrent to load the magnet link there and that is what I got. It would be confusing for the loaded source to say that is the license when it is not. As a reminder, the clause in our license requires that the copyright information must stay intact.
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.
Just gave it a test and the magnet works as expected, license recognized. Adding to the PR.Would a squash be helpful?EDIT: This was probably cache.
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.
Thanks! So I have been waiting a long time and so far none of the trackers are able to locate that given bittorrent by the info hash in the magnet link. Are you currently seeding this torrent? Perhapd can you send the bittorrent metadata file that hash points to so I can at least verify this points to the right thing?
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.
Sorry, this somehow totally slipped my inbox. So, it's definitely not pointing to anything right now.
Regardless, I've found a better way to do this that AFAIK also retains copyright information and doesn't need a magnet. Will update the PR when I'm not busy 👍