Commit Graph

10358 Commits

Author SHA1 Message Date
a10804 aaa8d6243f Merge branch 'master' of https://github.com/VladoKuruc/hibernate-orm 2020-06-29 10:52:17 +02:00
Vlado Kuruc 3c8a759ede Revert "HHH-14064 - Fix documentation for schema-generation"
This reverts commit e14edd6ba5.
2020-06-29 08:48:22 +02:00
Vlado Kuruc 653f8a7022 Revert "HHH-14077 : Added test case"
This reverts commit b3c9c42555.
2020-06-29 08:48:22 +02:00
Vlado Kuruc 79bb65d68a Revert "HHH-14077 : CVE-2019-14900 SQL injection issue using JPA Criteria API"
This reverts commit b7439ea4b0.
2020-06-29 08:48:22 +02:00
Vlado Kuruc f400dad8ca Revert "HHH-14081 CompositeIdFkGeneratedValueIdentityTest and CompositeIdFkGeneratedValueTest failures on Oracle db"
This reverts commit e7ae025ca7.
2020-06-29 08:48:22 +02:00
Vlado Kuruc 91daacb017 Revert "HHH-14077 PostgreSQL, skip testLiteralProjectionAndGroupBy (PostgreSQL does not support literals in group by statement)"
This reverts commit 40234a54c5.
2020-06-29 08:48:22 +02:00
Vlado Kuruc 89b79b522d Revert "HHH-14075 : Changes to loaders and TwoPhaseLoad to allow "internal" loading to be reused by hibernate-reactive"
This reverts commit cca67ac091.
2020-06-29 08:48:22 +02:00
Vlado Kuruc 69a9136235 Revert "HHH-14023 H2Dialect: SequenceInformationExtractorLegacyImpl for 1.4.201+"
This reverts commit 47566f99c7.
2020-06-29 08:48:22 +02:00
Vlado Kuruc 0043f5e665 Revert "HHH-14023 H2Dialect: adjust NUMERIC, DECIMAL & VARBINARY for 1.4.201+"
This reverts commit b41d812659.
2020-06-29 08:48:22 +02:00
Vlado Kuruc 7176f8db46 Revert "Add gradle task to automate the CI release"
This reverts commit f11b327ea3.
2020-06-29 08:48:22 +02:00
Vlado Kuruc fe53256780 Revert "Fix error detection in executeGitCommand"
This reverts commit 22c6917837.
2020-06-29 08:48:22 +02:00
Vlado Kuruc de63a82acc Revert "Fix incorrect message for the second commit during release"
This reverts commit b8e62f4394.
2020-06-29 08:48:22 +02:00
Vlado Kuruc 7bf6d9c0e1 Revert "Use a less verbose syntax for git commands"
This reverts commit 6f1c70c7d7.
2020-06-29 08:48:22 +02:00
Vlado Kuruc efddc103f5 Revert "Move the update to version.properties to a release task"
This reverts commit a13232b194.
2020-06-29 08:48:22 +02:00
Vlado Kuruc bb6ee8459b Revert "Add more precondition checks to release tasks"
This reverts commit 4968b94fbc.
2020-06-29 08:48:22 +02:00
Vlado Kuruc c7999ce669 Revert "Push to github atomically and only if the release succeeds"
This reverts commit 8f1709a483.
2020-06-29 08:48:22 +02:00
Vlado Kuruc 8fdc7423f7 Revert "Enable automatic Maven Central sync when calling task bintrayPublish"
This reverts commit 40ff3424ca.
2020-06-29 08:48:22 +02:00
Vlado Kuruc 2807cad413 Revert "Add changeLogFile task"
This reverts commit b9a6f882bb.
2020-06-29 08:48:22 +02:00
Vlado Kuruc dab48c8a98 Revert "HHH-14083 Fix issue with git command"
This reverts commit 58000f7895.
2020-06-29 08:48:22 +02:00
Vlado Kuruc 857e89c1bc Revert "HHH-14083 add ciRelease dependency to bintray upload"
This reverts commit ffbb1826ee.
2020-06-29 08:48:22 +02:00
Vlado Kuruc 30cc39ac2b Revert "HHH-14083 add task release must run after addVersionCommit task"
This reverts commit 4c9c50bc40.
2020-06-29 08:48:22 +02:00
Andrea Boriero 4c9c50bc40 HHH-14083 add task release must run after addVersionCommit task 2020-06-29 08:46:54 +02:00
Andrea Boriero ffbb1826ee HHH-14083 add ciRelease dependency to bintray upload 2020-06-29 08:46:54 +02:00
Andrea Boriero 58000f7895 HHH-14083 Fix issue with git command 2020-06-29 08:46:54 +02:00
Andrea Boriero b9a6f882bb Add changeLogFile task 2020-06-29 08:46:54 +02:00
Yoann Rodière 40ff3424ca Enable automatic Maven Central sync when calling task bintrayPublish
Copied from https://github.com/hibernate/hibernate-reactive/pull/246

Note you need to call the bintrayPublish task after calling
bintrayUpload, otherwise it won't work.

So you will need to use something like this:

./gradlew bintrayUpload bintrayPublish -P PERSONAL_BINTRAY_USER=... -P PERSONAL_BINTRAY_API_KEY=... -P SONATYPE_OSSRH_USER=... -P SONATYPE_OSSRH_PASSWORD=...
2020-06-29 08:46:54 +02:00
Yoann Rodière 8f1709a483 Push to github atomically and only if the release succeeds 2020-06-29 08:46:54 +02:00
Yoann Rodière 4968b94fbc Add more precondition checks to release tasks 2020-06-29 08:46:54 +02:00
Yoann Rodière a13232b194 Move the update to version.properties to a release task
This is necessary if we want to check that the working tree is empty as
part of the release process (see next commit).
2020-06-29 08:46:54 +02:00
Yoann Rodière 6f1c70c7d7 Use a less verbose syntax for git commands 2020-06-29 08:46:54 +02:00
Yoann Rodière b8e62f4394 Fix incorrect message for the second commit during release 2020-06-29 08:46:54 +02:00
Yoann Rodière 22c6917837 Fix error detection in executeGitCommand
1. proc.consumeProcessErrorStream does not work correctly: it creates a
   thread to asynchronously copy the content of the stream to the string
   buffer, and does not provide any way to know when it's done. As a
   result, sometimes the buffer is correctly filled in after
   consumeProcessErrorStream returns, sometimes it's not.
2. Checking stderr to know if there was an error is not a good idea: a
   process can run just fine and give output on stderr (logs,
   basically), and a process can fail without giving any output on
   stderr. Checking the status code is more reliable.
2020-06-29 08:46:54 +02:00
Andrea Boriero f11b327ea3 Add gradle task to automate the CI release 2020-06-29 08:46:54 +02:00
Falko Modler b41d812659 HHH-14023 H2Dialect: adjust NUMERIC, DECIMAL & VARBINARY for 1.4.201+ 2020-06-29 08:46:54 +02:00
Falko Modler 47566f99c7 HHH-14023 H2Dialect: SequenceInformationExtractorLegacyImpl for 1.4.201+ 2020-06-29 08:46:54 +02:00
Gail Badner cca67ac091 HHH-14075 : Changes to loaders and TwoPhaseLoad to allow "internal" loading to be reused by hibernate-reactive 2020-06-29 08:46:54 +02:00
Andrea Boriero 40234a54c5 HHH-14077 PostgreSQL, skip testLiteralProjectionAndGroupBy (PostgreSQL does not support literals in group by statement) 2020-06-29 08:46:54 +02:00
Andrea Boriero e7ae025ca7 HHH-14081 CompositeIdFkGeneratedValueIdentityTest and CompositeIdFkGeneratedValueTest failures on Oracle db 2020-06-29 08:46:54 +02:00
Gail Badner b7439ea4b0 HHH-14077 : CVE-2019-14900 SQL injection issue using JPA Criteria API 2020-06-29 08:46:54 +02:00
Gail Badner b3c9c42555 HHH-14077 : Added test case 2020-06-29 08:46:54 +02:00
Martin Vietz e14edd6ba5 HHH-14064 - Fix documentation for schema-generation 2020-06-29 08:46:54 +02:00
Andrea Boriero 604b594226 HHH-14083 add task release must run after addVersionCommit task 2020-06-22 19:53:36 +01:00
Andrea Boriero 34930bf0f0 HHH-14083 add ciRelease dependency to bintray upload 2020-06-22 19:53:36 +01:00
Andrea Boriero 766ed3f2bf HHH-14083 Fix issue with git command 2020-06-22 19:53:36 +01:00
Andrea Boriero 4668466fd7 Add changeLogFile task 2020-06-22 19:53:36 +01:00
Yoann Rodière 1fcef3a632 Enable automatic Maven Central sync when calling task bintrayPublish
Copied from https://github.com/hibernate/hibernate-reactive/pull/246

Note you need to call the bintrayPublish task after calling
bintrayUpload, otherwise it won't work.

So you will need to use something like this:

./gradlew bintrayUpload bintrayPublish -P PERSONAL_BINTRAY_USER=... -P PERSONAL_BINTRAY_API_KEY=... -P SONATYPE_OSSRH_USER=... -P SONATYPE_OSSRH_PASSWORD=...
2020-06-22 19:53:36 +01:00
Yoann Rodière 1ad029c6d9 Push to github atomically and only if the release succeeds 2020-06-22 19:53:36 +01:00
Yoann Rodière 02abce69fa Add more precondition checks to release tasks 2020-06-22 19:53:36 +01:00
Yoann Rodière 70721d80a7 Move the update to version.properties to a release task
This is necessary if we want to check that the working tree is empty as
part of the release process (see next commit).
2020-06-22 19:53:36 +01:00
Yoann Rodière 7dbd813996 Use a less verbose syntax for git commands 2020-06-22 19:53:36 +01:00