Commit Graph

20 Commits

Author SHA1 Message Date
ab6df362bf Finish building Postgres support (#133)
This includes:
 - Building a Docker image for Postgres as well as SQLite
 - Fuller instructions for usage of the package, including the Postgres builds.

A few related things changed here:
 - `.env` is not used anymore -- the defaults in the Dockerfiles are
   sufficient
 - The Rust version in the Dockerfiles is increased to match the MSRV,
   and with it the Alpine version bumped to one built with that Rust
   version.
 - Cargo dependencies on native-tls and openssl updated to include only
   the `vendored` feature, so as not to require a system openssl
   installation.
 - Two GitHub jobs are set up, to build the two different Docker images
 - The documentation incorrectly suggested using `DELETE .. CASCADE` to
   delete clients. This syntax does not exist, as the cascading delete
   is configured in the schema.
2025-07-29 21:52:33 -04:00
c445ac475a Add a binary that uses a Postgres backend
Building of this binary is controlled with features, allowing downstream
users to build just the SQLite version and not be concerned with the
tokio-postgres dependency tree (which includes links to OpenSSL and
other details). The Postgres version is disabled by default.

This does not change the binary name for the SQLite build, just to avoid
confusion for people upgrading to the new version.
2025-07-25 22:01:14 -04:00
8b1f7e2b30 Apply suggestions from code review
Co-authored-by: ryneeverett <ryneeverett@gmail.com>
2025-07-17 12:00:22 -04:00
309abce339 Add taskchampion-sync-server-storage-postgres
This is built to be more robust than the SQLite storage, and to
integrate with other applications. The idea is that for example a web
application might interact with the same DB to create and delete clients
as customers come and go.
2025-07-14 12:37:50 -04:00
60436a5524 Add mdbook documentation for the sync server 2025-07-13 17:39:19 -04:00
cd874bc56a Update crates and bump MSRV to 1.82.0 2025-07-10 17:29:28 -04:00
91763641c6 run the security scan weekly, not daily 2025-06-01 20:41:21 -04:00
5c42107006 Add an MSRV (#89)
This just copies TaskChampion's MSRV for the moment.
2025-02-16 16:48:12 -05:00
65a3d806d7 Followup to the 0.5.0 release (#76)
* Document RELEASING.md process
* Bump version numbers
* Do not automatically produce GH releases, and do not build binaries to attach to them
* Only build docker images on tags
* Use the `latest` Docker image tag in the Docker-compose config
2024-12-15 22:51:57 -05:00
2b1ad12a79 Add cargo-semver-checks (#59) 2024-11-17 17:59:39 -05:00
47ce4c1e3b Split the server into three crates (#56)
This will make it easier to build variations on the server, or embed it
into larger projects.
2024-11-17 15:12:42 -05:00
5769781553 Add a suite of Rust-related actions (#55)
* Add a suite of Rust-related actions

* cargo fmt

* nightly for rustdoc
2024-11-17 14:25:53 -05:00
c1862d30ad pin rustsec/audit-check 2024-10-30 20:16:50 -04:00
da9a4c11e9 use rustsec/audit-check at main, not master (#42) 2024-09-30 20:54:29 -04:00
158aea10bd Bump docker/build-push-action from 5 to 6
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 5 to 6.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 23:16:00 +00:00
3c671da68c Read versions from .env file 2024-05-03 08:46:05 +02:00
41f3e87bdf Merge pull request #7 from ogarcia/containerfile
Adds Dockerfile and first version of pipelines
2024-05-01 22:26:18 -04:00
d86e08647a Improves build using matrix 2024-05-01 14:19:01 +02:00
2dba081381 update workflows 2024-04-21 17:25:59 -04:00
1f8362c5d0 Adds Containerfile and first version of pipelines 2024-04-08 13:56:32 +02:00