[zanata/zanata-server] fe76f4: Change resId for plaintext and libreoffice to use ...

GitHub noreply at github.com
Tue Mar 17 06:19:33 UTC 2015


  Branch: refs/heads/hash-on-release
  Home:   https://github.com/zanata/zanata-server
  Commit: fe76f4fb8cf95ddb7d6eaaad4f76185dc7505a9e
      https://github.com/zanata/zanata-server/commit/fe76f4fb8cf95ddb7d6eaaad4f76185dc7505a9e
  Author: David Mason <drdmason at gmail.com>
  Date:   2015-03-17 (Tue, 17 Mar 2015)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/adapter/OkapiFilterAdapter.java
    M zanata-war/src/main/java/org/zanata/adapter/OpenOfficeAdapter.java
    M zanata-war/src/main/java/org/zanata/adapter/PlainTextAdapter.java
    A zanata-war/src/main/java/org/zanata/liquibase/custom/ChangePositionalResIdToContentHash.java
    A zanata-war/src/main/resources/db/changelogs/db.changelog-3.7.xml
    M zanata-war/src/main/resources/db/db.changelog.xml

  Log Message:
  -----------
  Change resId for plaintext and libreoffice to use content hash.

This includes migration of resId in all existing documents of
the above types to be the content hash.

Conflicts:
	zanata-war/src/main/resources/db/changelogs/db.changelog-3.7.xml

The conflicting file did not yet exist on this branch (this is a back-ported change)
so it was added with only the basic xml structure and the relevant change.

An element was also added in the main db.changelog file to import the conflicting
file.


  Commit: 03d48b6bdd438881e23776f2f70e20d50eb50682
      https://github.com/zanata/zanata-server/commit/03d48b6bdd438881e23776f2f70e20d50eb50682
  Author: David Mason <drdmason at gmail.com>
  Date:   2015-03-17 (Tue, 17 Mar 2015)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/adapter/OkapiFilterAdapter.java

  Log Message:
  -----------
  Add warning note to some text unit id sources


  Commit: e4ad8892ff54f7a2b5b6f26af32dce29db7285e4
      https://github.com/zanata/zanata-server/commit/e4ad8892ff54f7a2b5b6f26af32dce29db7285e4
  Author: David Mason <drdmason at gmail.com>
  Date:   2015-03-17 (Tue, 17 Mar 2015)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/liquibase/custom/ChangePositionalResIdToContentHash.java

  Log Message:
  -----------
  Use try-with-resources for prepared statements when migrating resId from positional to content hash


  Commit: 823f613f8829d0110623f248bfe99c3a626c75e9
      https://github.com/zanata/zanata-server/commit/823f613f8829d0110623f248bfe99c3a626c75e9
  Author: David Mason <drdmason at gmail.com>
  Date:   2015-03-17 (Tue, 17 Mar 2015)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/liquibase/custom/ChangePositionalResIdToContentHash.java

  Log Message:
  -----------
  Improve logging during id migration from positional to hash-based.


Compare: https://github.com/zanata/zanata-server/compare/071bd611385c...823f613f8829


More information about the zanata-commits mailing list