Commit Graph

739 Commits

Author SHA1 Message Date
Carter Jernigan b05c85193c [#447] Gradle 7.4.2 2022-04-06 15:42:46 -04:00
Carter Jernigan 97285fb031 [#439] GitHub Cache action v3 2022-03-28 07:59:26 -04:00
Carter Jernigan 5ab1d0b26e [#440] Fix close repository GitHub Action name 2022-03-28 07:59:26 -04:00
Carter Jernigan d796665419 [#444] Remove unnecessary closeAndReleaseRepository
Snapshot deployments don’t need to be closed
2022-03-28 07:59:26 -04:00
Carter Jernigan 3aa0543305 Fix snapshot publishing 2022-03-21 19:04:40 -04:00
Honza Rychnovsky 885478ebcc
Pull request template update: (#436)
- link to Code Review Guidelines fix
- reviewer instructions text minor change
2022-03-17 08:23:34 +01:00
Carter Jernigan f1046bae53 [#434] Add workflow to unwedge Maven Central deployments 2022-03-16 13:50:43 -04:00
Carter Jernigan 9ee2fd1300 [#430] Extend build timeout for deployment 2022-03-16 08:52:05 -04:00
Honza 860d94e7cd [#429] Gradle version to 7.4.1. Update distribution SHA-256 checksum. 2022-03-15 21:26:56 +01:00
Carter Jernigan 02ca70e65f [#427] Fix JVM args to prevent OOM 2022-03-11 06:19:27 -05:00
Carter Jernigan 0f29cde97c [#426] Cancel concurrent pull request builds 2022-03-11 06:19:27 -05:00
Carter Jernigan 06b2b524c6 [#425] Pin GitHub Action versions
Previously versions were using tags.  By pinning them to SHAs, it ensures the versions cannot be changed.

Also note that I used the latest release, so many of the actions received a version bump as part of this change.
2022-03-11 06:19:27 -05:00
Carter Jernigan 8cab95ee96 [#418] Room 2.4.2 2022-03-03 16:48:10 -05:00
Carter Jernigan f797cfef72 [#423] Rust Gradle plugin 0.9.2 2022-03-03 16:48:10 -05:00
Carter Jernigan 6b2002afbe [#419] KSP 1.6.10-1.0.4 2022-03-03 16:48:10 -05:00
Carter Jernigan ff9eee6358 [#413] Apply ktlint formatting changes 2022-03-03 16:48:10 -05:00
Carter Jernigan bcfdd9ab21 [#413] ktlint 0.44.0 2022-03-03 16:48:10 -05:00
Carter Jernigan 0d2271c4bb [#420] GRPC 1.44.1 2022-03-03 16:48:10 -05:00
Carter Jernigan 848562b7de [#417] Android Gradle Plugin 7.1.2 2022-03-03 16:48:10 -05:00
Carter Jernigan fcc148e9d2 Set signing secrets as command line arguments
It was suggested that GitHub Actions might have an issue with the periods in the signing Gradle properties.  This is an attempt to see if that is the issue.

From Gradle’s perspective `ORG_GRADLE_PROJECT_signing.secretKeyRingFile=` as an environment variable should be equivalent to a command line argument of `-Psigning.secretKeyRingFile=`
2022-02-18 09:39:11 -05:00
Carter Jernigan b06d8040c1 Use organization developer identity 2022-02-18 09:39:11 -05:00
Carter Jernigan 94d4a37bb4 Explicitly set Maven group ID 2022-02-18 09:39:11 -05:00
Carter Jernigan f3b66797d3 [#394] Add robo test configuration 2022-02-10 08:06:43 -05:00
Carter Jernigan 5e92e578cb [#405] Ktlint 0.43.2 2022-02-09 12:29:43 -05:00
Carter Jernigan ea15791c4a [#404] Protoc 3.19.4 2022-02-09 12:29:43 -05:00
Carter Jernigan dba6be030e [#400] Androidx Updates 2022-02-09 12:29:43 -05:00
Carter Jernigan 3a8dbd0498 [#402] Mockito 4.3.1 2022-02-09 12:29:43 -05:00
Carter Jernigan 01f4218180 [#401] GRPC 0.44.0 2022-02-09 12:29:43 -05:00
Carter Jernigan b88d08a0c1 [#371] Rust Gradle plugin 0.9.1 2022-02-09 12:29:43 -05:00
Carter Jernigan 675872b668 [#399] Gradle 7.4 2022-02-09 12:29:43 -05:00
Carter Jernigan aae9361306 [#403] Gradle versions plugin 0.42.0 2022-02-09 12:29:43 -05:00
Carter Jernigan bf1b47cbbc [#391] Android Gradle Plugin 7.1.1 2022-02-09 12:29:43 -05:00
Carter Jernigan 1e3e114e8a [#392] Fix collection of CI results 2022-02-08 07:28:00 -05:00
Carter Jernigan 8a312e19e0 Fix publishing Gradle task closeAndReleaseRepository 2022-02-07 13:03:03 -05:00
Carter Jernigan 08d87df372 Disabling signing for publishToMavenLocal
This is an attempt to fix release build deployments
2022-02-04 07:13:02 -05:00
Carter Jernigan c2ce1f201b [#381] Automatically release snapshots 2022-02-04 07:12:41 -05:00
Carter Jernigan 4cb764e2fc [#387] Correct path for attaching library to CI results 2022-02-04 07:12:11 -05:00
Carter Jernigan 099986de39 [#373] Add PR and issue templates
This updates our templates to be more consistent with the Secant app repository.

Note that the checklist item for code coverage was removed for now, until we improve the test infrastructure for the SDK.

This also addresses a security reminder, by explicitly stating that one shouldn't run the demo app from a pull request until after reviewing the code changes.
2022-02-03 11:07:43 -05:00
Carter Jernigan 0da0802e2a Fix version name for snapshot releases 2022-02-03 11:07:11 -05:00
Carter Jernigan d08210a170 Add environment for GitHub Actions deployment 2022-02-02 15:22:49 -05:00
Carter Jernigan 1ab79286f4 [#374] Android Gradle Plugin 7.1 2022-02-02 14:22:55 -05:00
Carter Jernigan be530e000e [#379] Increase CI timeout to avoid flakiness 2022-02-02 14:22:33 -05:00
Carter Jernigan 01d766d8f8 [#380] Fix maven local publishing during release deployments 2022-02-02 14:22:33 -05:00
Carter Jernigan 7a84fa3e8f Bump version to 1.4.0-beta01
The bump to 1.3.0-beta20 happened in a separate branch off of master and will be tagged.
2022-01-28 12:18:29 -05:00
Carter Jernigan 37d39610e8 [#376] Add new checkpoints 2022-01-27 15:41:25 -05:00
Carter Jernigan fe7f8d5e0d Bugfix for building snapshots on GitHub Actions 2022-01-27 13:42:29 -05:00
Carter Jernigan 3c575a497c Configure build with GitHub Actions
Also configure testing with Firebase Test Lab
2022-01-26 15:19:28 -05:00
Carter Jernigan 6c8ac20655 [#358] Snapshot publishing 2022-01-19 17:00:58 -05:00
Carter Jernigan f96a07a06b [#365] Add detekt baseline file
A followup issue exists to come back and resolve these issues

fix
2022-01-19 17:00:58 -05:00
Carter Jernigan 5f40d7a14e [#344] Minimize threads; reduce risk of SQLite issues
While there are a lot of changes, the most significant are:
 - Update the main entrypoint of the SDK to use a suspending function and eliminate lazy initialization.  This also resolves #310
 - Changing Dao methods to `suspend`, allowing Room to implicitly manage the threading model under the hood
 - Explicitly set the executor thread for the `CompactBlockDb` and `DerivedDataDb`, which is the same thread used when calling into the Rust native library.  Room will then use this thread for `suspend` fun calls into it
 - With the above set, remove unnecessary hops to Dispatchers.IO which is a thread pool
 - Eliminate lazy initialization in `PagedTransactionRepository` to make it easier to reason about the threading model and resolve #355 where the database was being touched from the UI thread

Note that `PendingTransactionsDb` is not opted into this single-threaded approach, because that database is not shared with the Rust code
2022-01-19 15:27:30 -05:00