Project

General

Profile

Feature #75469

Avatar?id=14398&size=22x22

Need to automate PO file generation

Added by Anonymous over 2 years ago. Updated over 2 years ago.

Status:
Done
Priority:
No priority
Assignee:
Kris Moore
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.

In the ticket this is copied from 70554 I added the ability to automatically generate a PR from extracted PO files, to complete this it would be nice if this could be automated via a jenkins job. So that PRs can be automatically generated once every week that I can merge in. The jail or vm that runs this job will need hub installed on it and node + npm or yarn (depending on whether it is stable or master). It will need to run the following commands to do the automatic generation right: 'git checkout <base branch, master or freenas/11.2-stable>' then 'npm (or yarn) run create_po_pr). The following utility will also need to be installed for this to work as it is used to create PRs: https://www.freshports.org/devel/hub/. Also the initial checkout of the github repo will need to be done with a token that has full repo access, if the repo is cloned as such it should recognize the token: 'git clone https://oath2:&lt;token&gt;@github.com/freenas/webui'


Related issues

Copied from FreeNAS - Feature #70554: Automate PO file generation for new UI localizationDone

History

#1 Updated by Anonymous over 2 years ago

  • Copied from Feature #70554: Automate PO file generation for new UI localization added

#2 Updated by Dru Lavigne over 2 years ago

  • Target version changed from 11.2-U3 to Master - FreeNAS Nightlies

#4 Avatar?id=14398&size=24x24 Updated by Kris Moore over 2 years ago

  • Status changed from Unscreened to In Progress
  • Assignee changed from Martin Wilke to Kris Moore

Working on Jenkins Job to do this now

#5 Updated by Anonymous over 2 years ago

  • Status changed from In Progress to Closed
  • Needs QA changed from Yes to No
  • Needs Merging changed from Yes to No

Works good now, thanks for setting this up for me :)

#6 Updated by Dru Lavigne over 2 years ago

  • Status changed from Closed to Done

Also available in: Atom PDF