UnstableChanges

Summary

  1. Dependency upgrade: jts 1.15.1 -> 1.16.0 as per geotools 20-SNAPSHOT (details)
  2. Fix compile error due to transitive upgrade of commons-lang (details)
  3. Patch storage/postgres from master@8672764438 (details)
  4. Reduce memory footprint of OjbectId (details)
  5. Reduce memory footprint of RevTree default implementation (details)
  6. Add methods to RevTree to allow traversing its contents without (details)
  7. Use the new RevTree methods where appropriate (details)
  8. Use ObjectId.readFrom()/writeTo() where appropriate (details)
  9. Fix compile errors after backporting postgres module from master (details)
  10. Add postgres backend commands to create DDL and upgrade database (details)
  11. Add CLI commands ls-repos, postgres-ddl, and postgres-upgrade (details)
  12. re-apply code formatting, missed by mistake (details)
  13. Disallow running geogig on an updated database schema (details)
  14. Add 1.2.1 postgres upgrade instructions to the docs (details)
  15. Revert cucumber feature location paths, 2.1.x's cli is not further (details)
  16. Fix compile errors after forward porting ede863 from 2.1.x (details)
Commit 8e3b400838593f58d9389953825ab7bbb9c40320 by groldan
Dependency upgrade: jts 1.15.1 -> 1.16.0 as per geotools 20-SNAPSHOT
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/parent/pom.xml (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/storage/datastream/v2_3/FloatPackedCoordinateSequence.java (diff)
Commit 7f0e2c470a21195722e944bac8b875b658e180b6 by groldan
Fix compile error due to transitive upgrade of commons-lang
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/web/api/src/main/java/org/locationtech/geogig/web/api/ParameterSet.java (diff)
Commit 9e73f645a32f79e9efc0d9671b48599e4fd34596 by groldan
Patch storage/postgres from master@8672764438
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGStorageProvider.java (diff)
The file was removedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/PGObjectStoreConformanceTest.java
The file was removedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/PGRefDatabaseTest.java
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/functional/RunPGPorcelainFunctionalTest.java (diff)
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGBlobStore.java
The file was addedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/v9/PGConflictsDatabaseConformanceTest.java
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/PGTestDataSourceProvider.java (diff)
The file was removedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/PGConfigDatabaseTest.java
The file was addedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/v9/PGConfigDatabaseTest.java
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGStorage.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/PGId.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/EnvironmentBuilder.java
The file was removedsrc/storage/postgres/geogig_postgres.sql
The file was addedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/config/EnvironmentBuilderTest.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/ConnectionConfig.java
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/Version.java
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/performance/PGObjectDatabaseStressTest.java (diff)
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGId.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGObjectDatabase.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGRefDatabase.java
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/functional/RunPGPlumbingFunctionalTest.java (diff)
The file was removedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/DataSourceManagerTest.java
The file was modifiedsrc/storage/postgres/pom.xml (diff)
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/functional/RunPGGenralFunctionalTest.java (diff)
The file was removedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/PGConflictsDatabaseTest.java
The file was addedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/v9/PGConflictsDatabaseTest.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/GetAllOp.java
The file was addedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/v9/PGObjectDatabaseConformanceTest.java
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGRefDatabase.java
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/PGTemporaryTestConfig.java (diff)
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGGraphDatabase.java
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGStorageModule.java (diff)
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/PGTestProperties.java (diff)
The file was addedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/v9/PGObjectStoreConformanceTest.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGObjectStoreGetAllIterator.java
The file was addedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/v9/PGStorageTestUtil.java
The file was addedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/v9/PGRefDatabaseTest.java
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/integration/PGGraphDatabaseTest.java (diff)
The file was addedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/config/PGStorageTest.java
The file was removedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/PGBlobStoreTest.java
The file was removedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/PGStorageTest.java
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGObjectStore.java
The file was removedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/PGObjectDatabaseConformanceTest.java
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGRepositoryResolver.java (diff)
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/DataSourceManager.java
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/DataSourceManager.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/Version.java
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/TableNames.java
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGGraphDatabase.java
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/functional/RunPGRemoteFunctionalTest.java (diff)
The file was removedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/PGIndexDatabaseConformanceTest.java
The file was addedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/v9/PGIndexDatabaseConformanceTest.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGIndexDatabase.java
The file was removedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/EnvironmentBuilderTest.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGObjectStoreObjectIterator.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/GetObjectOp.java
The file was addedsrc/storage/postgres/geogig_postgres_9.sql
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGConfigDatabase.java
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGObjectDatabase.java
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/integration/PGRevTreeBuilderTest.java (diff)
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/Environment.java
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGIndexDatabase.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGConflictsDatabase.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGObjectStore.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGConfigDatabase.java
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGConflictsDatabase.java
The file was removedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/PGStorageTestUtil.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/TableNames.java
The file was removedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/PGConflictsDatabaseConformanceTest.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/Environment.java
The file was addedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/config/DataSourceManagerTest.java
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/EnvironmentBuilder.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/PGStorage.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/PGStorageTableManager.java
The file was addedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/v9/PGBlobStoreTest.java
The file was removedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGBlobStore.java
Commit 0ec6b82b9c8b038358a2622e11baa65a5b0ff1a2 by groldan
Reduce memory footprint of OjbectId
By storing the 20 bytes of the SHA1 hash in an ObjectId as an int and
two longs, instead of a byte[20], the memory footprint of a single
ObjectId is reduced from ~56 bytes to ~32 bytes.
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/api/src/main/java/org/locationtech/geogig/model/RevObjects.java (diff)
The file was modifiedsrc/api/src/test/java/org/locationtech/geogig/model/ObjectIdTest.java (diff)
The file was modifiedsrc/api/src/main/java/org/locationtech/geogig/model/ObjectId.java (diff)
Commit 0fba8d497a5785de35c62829c4bc6e977b93fff2 by groldan
Reduce memory footprint of RevTree default implementation
Avg size of leaf tree with 512 entries: before 107960 bytes, after 87440
bytes. Avg size of buckets tree with 32 entries: before 4624 bytes,
after 3304 bytes.
The file was modifiedsrc/api/src/main/java/org/locationtech/geogig/model/RevObjects.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/model/impl/AbstractRevObject.java (diff)
The file was modifiedsrc/api/src/main/java/org/locationtech/geogig/model/Node.java (diff)
The file was modifiedsrc/api/src/main/java/org/locationtech/geogig/model/ObjectId.java (diff)
The file was modifiedsrc/api/src/main/java/org/locationtech/geogig/model/Bucket.java (diff)
Commit d4d04536c0909f82c42ff583bc11588dd30282c3 by groldan
Add methods to RevTree to allow traversing its contents without
potentially creating defensive copies
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/api/src/main/java/org/locationtech/geogig/model/RevTree.java (diff)
Commit d0f18ae93d8745c4591e134b1bc437c728720ece by groldan
Use the new RevTree methods where appropriate
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/plumbing/diff/DepthTreeIterator.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/model/internal/DAGNode.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/model/internal/TreeCache.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/model/internal/ClusteringStrategy.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/repository/impl/DepthSearch.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/model/internal/QuadTreeClusteringStrategy.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/storage/datastream/FormatCommonV2.java (diff)
The file was modifiedsrc/web/api/src/main/java/org/locationtech/geogig/remote/http/PostOrderIterator.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/plumbing/diff/PreOrderDiffWalk.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/storage/datastream/v2_3/RevTreeFormat.java (diff)
The file was modifiedsrc/web/api/src/main/java/org/locationtech/geogig/web/api/ResponseWriter.java (diff)
The file was modifiedsrc/api/src/main/java/org/locationtech/geogig/model/RevObjects.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/storage/datastream/v2_3/BucketSet.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/model/impl/RevTreeImpl.java (diff)
The file was modifiedsrc/api/src/main/java/org/locationtech/geogig/model/RevTree.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/repository/impl/SpatialOps.java (diff)
The file was modifiedsrc/api/src/main/java/org/locationtech/geogig/model/HashObjectFunnels.java (diff)
Commit 6d5547b5d9c5fab6cc9821cc8f5dce6c2f46842f by groldan
Use ObjectId.readFrom()/writeTo() where appropriate
Avoid unnecessary heap garbage in creating temporary byte arrays when
ObjectId.readFrom()/writeTo() can be used instead.
Replace calls of deprecated ObjectId.createNoClone() by
ObjectId.create()
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/plumbing/merge/MergeStatusBuilder.java (diff)
The file was modifiedsrc/storage/rocksdb/src/main/java/org/locationtech/geogig/rocksdb/RocksdbObjectStore.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/storage/datastream/FormatCommonV2.java (diff)
The file was modifiedsrc/core/src/test/java/org/locationtech/geogig/model/impl/RevObjectTestSupport.java (diff)
The file was modifiedsrc/api/src/main/java/org/locationtech/geogig/model/HashObjectFunnels.java (diff)
The file was modifiedsrc/api/src/main/java/org/locationtech/geogig/model/ObjectId.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/storage/datastream/v2_3/DataBuffer.java (diff)
The file was modifiedsrc/web/api/src/main/java/org/locationtech/geogig/remote/http/BinaryPackedObjects.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGObjectStore.java (diff)
The file was modifiedsrc/api/src/test/java/org/locationtech/geogig/model/HashObjectFunnelsTest.java (diff)
The file was modifiedsrc/web/api/src/test/java/org/locationtech/geogig/spring/controller/TaskControllerTest.java (diff)
The file was modifiedsrc/storage/rocksdb/src/main/java/org/locationtech/geogig/rocksdb/RocksdbIndexDatabase.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/storage/datastream/FormatCommonV1.java (diff)
The file was modifiedsrc/api/src/main/java/org/locationtech/geogig/repository/IndexInfo.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/storage/datastream/FormatCommonV2_2.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/plumbing/HashObject.java (diff)
The file was modifiedsrc/web/api/src/test/java/org/locationtech/geogig/spring/controller/BatchObjectsControllerTest.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/storage/datastream/DataStreamSerializationFactoryV1.java (diff)
The file was modifiedsrc/api/src/main/java/org/locationtech/geogig/model/RevObjects.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/storage/datastream/v2_3/BucketSet.java (diff)
The file was modifiedsrc/storage/rocksdb/src/main/java/org/locationtech/geogig/rocksdb/RocksdbGraphDatabase.java (diff)
The file was modifiedsrc/storage/rocksdb/src/main/java/org/locationtech/geogig/rocksdb/RocksdbConflictsDatabase.java (diff)
The file was modifiedsrc/web/api/src/main/java/org/locationtech/geogig/spring/service/LegacyApplyChangesService.java (diff)
Commit dd5ace89eb28642498d91880b0461c69b8fdefaf by groldan
Fix compile errors after backporting postgres module from master
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/PGStorageTableManager.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGConfigDatabase.java (diff)
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/v9/PGIndexDatabaseConformanceTest.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGObjectStore.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGIndexDatabase.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGRepositoryResolver.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/DataSourceManager.java (diff)
The file was modifiedsrc/core/src/main/java/org/locationtech/geogig/porcelain/VersionOp.java (diff)
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/performance/PGObjectDatabaseStressTest.java (diff)
The file was modifiedsrc/web/functional/src/test/java/org/geogig/web/postgresql/functional/PGWebTestRepoURIBuilder.java (diff)
Commit 2c9940a2a6b705a6894173b3384edd75cd09e37e by groldan
Add postgres backend commands to create DDL and upgrade database
CreateDDL creates the DDL script that's used to initialize a PostgreSQL
geogig database.
PGDatabaseUpgrade upgrades a geogig database from geogig < 1.2.1, by
adding the dstindex column to the geogig_graph_edge table and running
rebuild-graph on all its repositories. This is necessary to ensure the
proper order of parent commit ids when traversing the commit graph.
Otherwise merge commits might be reported to have the left and right
source commits swapped.
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modified.gitignore (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/PGStorageTableManager.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/Environment.java (diff)
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/commands/SchemaUpgrade0To1.java
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/PGStorage.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/Version.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/TableNames.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/EnvironmentBuilder.java (diff)
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/commands/CreateDDL.java
The file was addedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/commands/PGDatabaseUpgrade.java
Commit 8588284424290f6500d0233a40f9a4ef3169c00e by groldan
Add CLI commands ls-repos, postgres-ddl, and postgres-upgrade
* ls-repos show repository names at a given base URI (i.e. directory or
database). The verbose option can be used to generate CSV or a nice
table with some extra information like number of branches, commits,
feature types, and features per repository.
* postgres-ddl is an utility to generate the DDL script to initialize a
PostgreSQL database to be used by Geogig. Most of the time Geogig does
it all by itself when first accessing the database, but it could be the
case where the database user used to connect with has no enough
proviledges and the script needs to be run by hand using psql for
example.
* postgres-upgrade is an utility to upgrade an existing geogig database
from any geogig version prior to 1.2.1. It will create a geogig_metadata
table and add a column to geogig_graph_edge in that is used to ensure
the correct order of commit parents in a commit graph traversal.
Curiously, in Postgres 9.4 it worked by accident, but Postgres 9.5+
returns the parents in different order unless the query instructs it how
to, which is ok and exposed a bug in geogig itself.
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/cli/src/main/java/org/locationtech/geogig/cli/GeogigCLI.java (diff)
The file was addedsrc/cli-app/src/main/java/org/locationtech/geogig/cli/storage/LsRepos.java
The file was addedsrc/cli-app/src/main/java/org/locationtech/geogig/cli/storage/PGCreateDDL.java
The file was addedsrc/cli-app/src/main/java/org/locationtech/geogig/cli/storage/PGStorageUpgrade.java
The file was modifiedsrc/cli/src/main/java/org/locationtech/geogig/cli/Console.java (diff)
The file was addedsrc/cli-app/src/main/java/org/locationtech/geogig/cli/storage/StorageCommandsModule.java
The file was addedsrc/cli-app/src/main/resources/META-INF/services/org.locationtech.geogig.cli.CLIModule
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/commands/CreateDDL.java (diff)
Commit ac9380300910815b28b12dd04b0590883e92be4f by groldan
re-apply code formatting, missed by mistake
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/Environment.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/DataSourceManager.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGIndexDatabase.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/EnvironmentBuilder.java (diff)
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/config/EnvironmentBuilderTest.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/commands/PGDatabaseUpgrade.java (diff)
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/v9/PGConflictsDatabaseTest.java (diff)
The file was modified.gitignore (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/GetObjectOp.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/commands/CreateDDL.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/PGStorageTableManager.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/PGStorage.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/Version.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/commands/SchemaUpgrade0To1.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/GetAllOp.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/TableNames.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/PGRepositoryResolver.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGObjectStoreGetAllIterator.java (diff)
The file was modifiedsrc/cli/src/main/java/org/locationtech/geogig/cli/Console.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGObjectStoreObjectIterator.java (diff)
Commit 7e23a8d5b00950a9e0452feb0ae6c786688e7a45 by groldan
Disallow running geogig on an updated database schema
When PGConfigDatabase first connects, it checks that the geogig database
schema is compatible with the geogig version being run, and if not fails
fast with a message indicating that geogig `postgres-upgrade` should be
run first.
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/v9/PGConfigDatabase.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/PGStorage.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/DataSourceManager.java (diff)
The file was modifiedsrc/storage/postgres/src/main/java/org/locationtech/geogig/storage/postgresql/config/PGStorageTableManager.java (diff)
Commit bc2ee33dea64dafc47aec11d7b789926e09f44b7 by groldan
Add 1.2.1 postgres upgrade instructions to the docs
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifieddoc/upgrade/source/index.rst (diff)
The file was addeddoc/upgrade/source/Upgrade_1.2_to_1.2.1.rst
Commit a860e5fb3c1ccf7c62277755a82caf2f58f912d7 by groldan
Revert cucumber feature location paths, 2.1.x's cli is not further
modularized
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/functional/RunPGPlumbingFunctionalTest.java (diff)
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/functional/RunPGGenralFunctionalTest.java (diff)
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/functional/RunPGPorcelainFunctionalTest.java (diff)
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/functional/RunPGRemoteFunctionalTest.java (diff)
Commit 52023ac745603717671d12155b0b839d7d78e047 by groldan
Fix compile errors after forward porting ede863 from 2.1.x
Signed-off-by: Gabriel Roldan <groldan@boundlessgeo.com>
The file was modifiedsrc/storage/postgres/src/test/java/org/locationtech/geogig/storage/postgresql/performance/PGObjectDatabaseStressTest.java (diff)