Project

General

Profile

Feature #70554

Automate PO file generation for new UI localization

Added by Erin Clark almost 2 years ago. Updated over 1 year ago.

Status:
Done
Priority:
No priority
Assignee:
Erin Clark
Category:
GUI (new)
Estimated time:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

Description

PO files can become quickly out of date as the docs churn so we need an automatic mechanism to run the extract command and either create a PR or auto merge the changes.


Related issues

Related to FreeNAS - Bug #69744: Update translation files with current stringsDone
Copied to FreeNAS - Feature #75469: Need to automate PO file generationDone

Associated revisions

Revision 824b97cc (diff)
Added by Erin Clark over 1 year ago

WIP: Begin creating script for creating PR for PO file generation Ticket: #70554

Revision 111a49af (diff)
Added by Erin Clark over 1 year ago

Maybe this will make a PR? I hope Ticket: #70554

Revision c5f10935 (diff)
Added by Erin Clark over 1 year ago

Fix missing import Ticket: #70554

Revision 7cdfbe9d (diff)
Added by Erin Clark over 1 year ago

Another missing import Ticket: #70554

Revision 1ee25240 (diff)
Added by Erin Clark over 1 year ago

Maybe this will work Ticket: #70554

Revision 4c9e1f3d (diff)
Added by Erin Clark over 1 year ago

Nope I need quotes Ticket: #70554

Revision 88805ee0 (diff)
Added by Erin Clark over 1 year ago

Trying something else Ticket: #70554

Revision 4d5ae226 (diff)
Added by Erin Clark over 1 year ago

Should use auth instead of authenticate Ticket: #70554

Revision 2fa38ded (diff)
Added by Erin Clark over 1 year ago

Try rewriting this script using hub to create PRs Ticket: #70554

Revision 3b8c3aaf (diff)
Added by Erin Clark over 1 year ago

Add quotes to title Ticket: #70554

Revision 830dd59c (diff)
Added by Erin Clark over 1 year ago

Add branch name to title Ticket: #70554

Revision 14be49f3 (diff)
Added by Erin Clark over 1 year ago

Try rewriting this script using hub to create PRs Ticket: #70554 (cherry picked from commit 2fa38ded01587c8cb0979ced730cdd5c7bd7fa6e)

Revision b612be87 (diff)
Added by Erin Clark over 1 year ago

Add quotes to title Ticket: #70554 (cherry picked from commit 3b8c3aaf58cb9504fe3cf533cfb67dbe4d3e1131)

Revision e9f51633 (diff)
Added by Erin Clark over 1 year ago

Add branch name to title Ticket: #70554 (cherry picked from commit 830dd59c1c74b7245a2224eb073b79b80f43a679)

Revision 761b9a02 (diff)
Added by Erin Clark over 1 year ago

Use yarn instead of npm for 11.3 Ticket: #70554

History

#1 Updated by Erin Clark almost 2 years ago

  • Related to Bug #69744: Update translation files with current strings added

#2 Updated by Erin Clark over 1 year ago

  • Status changed from Unscreened to In Progress
  • Needs Doc changed from Yes to No

Stable PR: https://github.com/freenas/webui/pull/1927
Master PR: https://github.com/freenas/webui/pull/1926

Running either npm or yarn run create_po_pr should extract the PO files and create a PR with them using hub. Now all I need is a jenkins job that runs this every 2 weeks or so.

#3 Updated by Erin Clark over 1 year ago

#4 Updated by Erin Clark over 1 year ago

  • Status changed from In Progress to Ready for Testing
  • Needs QA changed from Yes to No
  • Needs Merging changed from Yes to No

The UI side portion of this is merged in, we just need an automated task running it on jenkins side now

#5 Updated by Dru Lavigne over 1 year ago

  • Category changed from GUI (new) to Build system
  • Status changed from Ready for Testing to In Progress
  • Assignee changed from Erin Clark to Kris Moore
  • Target version changed from 11.2-U3 to Master - FreeNAS Nightlies

#7 Updated by Dru Lavigne over 1 year ago

  • Subject changed from Need to automate PO file generation to Automate PO file generation for new UI localization

#8 Updated by Dru Lavigne over 1 year ago

  • Category changed from Build system to GUI (new)
  • Status changed from In Progress to Done
  • Assignee changed from Kris Moore to Erin Clark

Also available in: Atom PDF