Skip to content

Add command to check for differences between local and upstream strings #17

@mfederczuk

Description

@mfederczuk

A command which exits with a code of zero when the local strings are up to date with the upstream, or with a code of nonzero when there are changes to the strings that haven't been fetched yet.

I'd have two ideas how this could be implemented:

  • reverse engineer the strings file that is already downloaded and compare between it and the upstream (though that would kinda defeat the purpose of only needing to download all strings if there is a difference + parsing the strings file might be quite a hassle)
  • keep a "last modified" date field on the upstream and also download and save it in the strings file (just like there is right now the texterify_timestamp), and compare these two dates if an update is necessary

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions