-
-
Notifications
You must be signed in to change notification settings - Fork 51
Import legacy license data #14
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
Merged
Merged
Conversation
This file contains hidden or 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
Revert "Cc4 es legalcode"
Take George's version of ES translations instead of the master branch.
… have been added in error
Cc0 es legalcode
- command: `dos2unix --keep-bom *` - verified with: - spot check of `git diff` - that `git diff -w` was empty
- command: `gsed -e's/\t/ /g' -e's/ \+$//' -i *` - (gsed is GNU Sed on macOS via Homebrew) - verified with: - spot check of `git diff` - that `git diff -w` was empty
Whitespace cleanup v3
HTML comments within 4.0 and cc0 English licenses
Add English symlinks for 4.0 and cc0
Rebuilt all the Czech 4.0 translations based on the new templates
Corrected link to deed in the footer
Rebuilt all 6 files based on the new template
Corrected link to deed in footer
Rebuilt the 6 files based on the new templates
Corrected misspelling in CC domain name
- Checked if the following translations use slash: -- Copyright and Similar Rights is translated into「著作權及相似權利」 / 「版權及相似權利」 -- Moral rights is translated into 著作人格權 / 精神權利 -- Attribution is translated into 姓名標示 / 署名 - Checked if 提供更多語言的版本 is the correct translation for "Additional languages available" in all 6 files. - Linked 返回授權標章 (which is the translation for "Back to Commons Deed") at the very end of the page to https://creativecommons.org/licenses/......./4.0/deed.zh_TW instead of https://creativecommons.org/licenses/...../4.0/legalcode.zh-Hant in all 6 files.
- Estonian shouldn't be there, it's not yet translated, I removed it. - Until CC0 is translated, I removed the link to it in all 6 files, so now the link goes to the English version. - I corrected the formatting of BY-ND.
Reformatted all files based on the new templates
Corrected the formatting
Corrected style
Added English in the list of languages in the footer
- add hrvatski language footer entry to all non-hrvatski cc0 tranlsations - hrvatski translation - normalize translation FAQ URL - normalize languages anchor to use id instead of name - update language footer
samplingplus_1.0.br.html is a duplicate with a bad filename: 9d702da3695ccd09b5b8cfa016189470 samplingplus_1.0.br.html 9d702da3695ccd09b5b8cfa016189470 samplingplus_1.0_br.html
remove duplicate file with wrong filename
Publish Croatian CC0 translation
Publish corrected German 4.0 translation
Correct Portuguese BY-SA definitions formatting
Correct CC BY* 3.0 South Africa ports RDFs to use appropriate country code
CC 4.0 German translations - add errata text with link
CC BY-SA 4.0 Portuguese translation - add errata text with link
remove invalid dc:source value for CC SA 2.0 JP
kgodey
approved these changes
Apr 13, 2021
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.
I'm glad to see all this work on the new license infrastructure. :)
6 tasks
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fixes
Fixes #11
Description
Technical details
brew install git-filter-repo
cd ~/CreativeCommons/git
git clone https://github.com/creativecommons/creativecommons.org.git src-legalcode
cd src-legalcode
git filter-repo --path-glob 'docroot/legalcode/[bdnsz]*.*' --path-rename docroot/legalcode:legacy/legalcode
GPL_2.0.html
(CC used to serve information about this license, but now redirects)GPL_2.0_pt.html
(CC used to serve information about this license, but now redirects)LGPL_2.1.html
(CC used to serve information about this license, but now redirects)LGPL_2.1_pt.html
(CC used to serve information about this license, but now redirects)r
(old command log)git for-each-ref --format '%(refname:short)' refs/heads | grep -v master | xargs git branch -D
cd ..
git clone https://github.com/creativecommons/cc.licenserdf.git src-rdf
cd src-rdf
git filter-repo --path-glob 'cc/licenserdf/licenses/*.rdf' --path-rename cc/licenserdf/licenses:legacy/rdf-licenses --path cc/licenserdf/rdf --path-rename cc/licenserdf/rdf:legacy/rdf-meta
git for-each-ref --format '%(refname:short)' refs/heads | grep -v master | xargs git branch -D
cd ..
cd cc-licenses-data
git checkout -b legacy
git remote add src-legalcode ../src-legalcode/
git fetch src-legalcode
git merge -m'Merge filtered remote-tracking branch creativecommons.org/master into legacy' --allow-unrelated-histories src-legalcode/master
git remote rm src-legalcode
git remote add src-rdf ../src-rdf/
git fetch src-rdf
git merge -m'Merge filtered remote-tracking branch cc.licenserdf/master into legacy' --allow-unrelated-histories src-rdf/master
git remote rm src-rdf
git remote -v
git diff --name-status main...HEAD | less
git push
cd ..
rm -rf src-legalcode src-rdf
Checklist
Update index.md
).main
ormaster
).visible errors.
Developer Certificate of Origin
Developer Certificate of Origin