Skip to content
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

[Feature] Import CC0 1.0 'da' Danish (dansk) translation #133

Closed
1 task done
TimidRobot opened this issue May 31, 2023 · 0 comments · Fixed by #134
Closed
1 task done

[Feature] Import CC0 1.0 'da' Danish (dansk) translation #133

TimidRobot opened this issue May 31, 2023 · 0 comments · Fixed by #134
Assignees
Labels
📄 aspect: text Concerns the textual material in the repository ✨ goal: improvement Improvement to an existing feature 🟨 priority: medium Not blocking but should be fixed soon 🏁 status: ready for work Ready for work

Comments

@TimidRobot
Copy link
Member

TimidRobot commented May 31, 2023

Problem

CC0 1.0 da Danish (dansk) translation was recently added to (legacy) production:

Description

Import/cherry pick the appropriate commits and publish files.

Import Process

  1. Add CC0 1.0 'da' Danish (dansk) translation creativecommons.org#1271
  2. Clone this repository (creativecommons/cc-legal-tools-data)
    • Perform any needed configuration (ex. GnuPG signing)
  3. Create working/destination branch (from main default branch)
    git checkout -b cc0-da
  4. Add creativecommons/creativecommons.org as a remote (named legacy) and update branches
    git remote add legacy https://github.com/creativecommons/creativecommons.org.git
    git remote update
  5. Cherry-pick relevant commits:
    git cherry-pick fd6ef563d3ff3533145328b3b81db5c9d047a242

    CONFLICT (file location): docroot/legalcode/zero_1.0_da.html added in fd6ef563d3 (Stage 1st version of Danish CC0) inside a directory that was renamed in HEAD, suggesting it should perhaps be moved to legacy/legalcode/zero_1.0_da.html.
    error: could not apply fd6ef563d3... Stage 1st version of Danish CC0

    git add legacy/legalcode/zero_1.0_da.html
    git cherry-pick --continue
    git cherry-pick 22d010bed9e56fdf913a8a3e0a05a0d34c931d1d
  6. Verify history:
    git log --follow legacy/legalcode/zero_1.0_da.html
    commit 27e8ab5a33d147e5855f750336784b290e645d6a (HEAD -> cc0-da-legalcode)
    Author: Timid Robot Zehta <timid@creativecommons.org>
    Date:   2022-12-09 14:18:54 -0800
    
        ran `../../tools/cc0_update.py zero_1.0*.html` to update translation links
    
    commit a15f61a5384f1fb45352eeff9128459c445b42ec
    Author: George Hari Popescu <george@creativecommons.org>
    Date:   2019-07-30 14:15:50 +0300
    
        Stage 1st version of Danish CC0
    
  7. Verify difference from source branch (main default branch):
    git diff main...HEAD
    
  8. Remove remote legacy and update branches
    git remote remove legacy
    
    git remote update
    git prune
  9. Push cc0-da branch and create Pull Request

Related Documentation

Additional context

See previous related work:

Implementation

  • I would be interested in implementing this feature.
@TimidRobot TimidRobot added 🟨 priority: medium Not blocking but should be fixed soon 🏁 status: ready for work Ready for work ✨ goal: improvement Improvement to an existing feature 📄 aspect: text Concerns the textual material in the repository labels May 31, 2023
@TimidRobot TimidRobot self-assigned this May 31, 2023
@TimidRobot TimidRobot added this to Ready for Development in Active Sprint via automation May 31, 2023
Active Sprint automation moved this from Ready for Development to Done Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📄 aspect: text Concerns the textual material in the repository ✨ goal: improvement Improvement to an existing feature 🟨 priority: medium Not blocking but should be fixed soon 🏁 status: ready for work Ready for work
Projects
Active Sprint
  
Done
Development

Successfully merging a pull request may close this issue.

1 participant