Skip to content

Commit

Permalink
refactor: sys_get_temp_dir centralized in Helper classes (TempFile & …
Browse files Browse the repository at this point in the history
…TempDirectory) (#929)
  • Loading branch information
theus77 authored Jun 25, 2024
1 parent 5e3ff80 commit a95d2e8
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
8 changes: 5 additions & 3 deletions elasticms-admin/commands/commands.md
Original file line number Diff line number Diff line change
Expand Up @@ -464,7 +464,7 @@ Options:
--bulk-size=BULK-SIZE Size of the elasticsearch scroll request [default: 500]
--target-environment[=TARGET-ENVIRONMENT] Environment with the target documents
--xliff-version[=XLIFF-VERSION] XLIFF format version: 1.2 2.0 [default: "1.2"]
--filename[=FILENAME] Generate the XLIFF specified file
--basename[=BASENAME] XLIFF export file basename [default: "ems-extract.xlf"]
--base-url[=BASE-URL] Base url, in order to generate a download link to the XLIFF file
--locale-field[=LOCALE-FIELD] Field containing the locale
--encoding[=ENCODING] Encoding used to generate the XLIFF file [default: "UTF-8"]
Expand Down Expand Up @@ -507,7 +507,9 @@ Arguments:
Options:
--publish-to[=PUBLISH-TO] If defined the revision will be published in the defined environment
--archive If set another revision will be flagged as archived
--locale-field[=LOCALE-FIELD] Field containing the locale [default: "locale"]
--translation-field[=TRANSLATION-FIELD] Field containing the translation field [default: "translation_id"]
--locale-field[=LOCALE-FIELD] Field containing the locale
--translation-field[=TRANSLATION-FIELD] Field containing the translation field
--dry-run If set nothing is saved in the database
--current-revision-only Translations will be updated only is the source revision is still a current revision
--base-url[=BASE-URL] Base url, in order to generate a download link to the error report
```
12 changes: 12 additions & 0 deletions upgrade.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Upgrade

* [version 5.19.x](#version-519x)
* [version 5.17.x](#version-517x)
* [version 5.15.x](#version-515x)
* [version 5.14.x](#version-514x)
Expand All @@ -9,6 +10,17 @@
* [version 4.x](#version-4x)
* [Tips and tricks](#tips-and-tricks)

## version 5.19.x

* Xliff command options have been updated
* The `--filename` option in the `emsco:xliff:extract` command has been replaced by a `--basename` option and does not contains a path anymore, just a file basename.

Example replace ```emsco:xliff:extract live '{}' nl de title --filename=/tmp/pages-nl-to-de.xlf```
by ```emsco:xliff:extract live '{}' nl de title --basename=pages-nl-to-de.xlf```
* In case of warning or error in the `emsco:xliff:update` command the report file is no more available locally. The report is upladed in the admin's storages. The directly get a link to the report you need to specify a `--base-url` option.

Example ```emsco:xliff:update /tmp/pages-nl-to-de.xlf --base-url=https://my-admin.my-project.tld```

## version 5.17.x

* Check routes single colon is deprecated
Expand Down

0 comments on commit a95d2e8

Please sign in to comment.