Skip to content

Finish building Postgres support#133

Merged
djmitche merged 2 commits intoGothenburgBitFactory:mainfrom
djmitche:finish-docs
Jul 30, 2025
Merged

Finish building Postgres support#133
djmitche merged 2 commits intoGothenburgBitFactory:mainfrom
djmitche:finish-docs

Conversation

@djmitche
Copy link
Collaborator

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.

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.
Comment on lines +48 to +49
- name: Load .env file
uses: xom9ikk/dotenv@v2
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this be deleted since you've deleted the .env file?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, and the build-args too!

- If you only need a place to sync your tasks, using cloud storage may be
cheaper and easier than running taskchampion-sync-server. See
[task-sync(5)](http://taskwarrior.org/docs/man/task-sync.5/) for details on
confusing cloud storage.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The task-sync docs aren't that bad. :)

Suggested change
confusing cloud storage.
cloud storage.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What subliminal short-circuit made me type that?!

@djmitche djmitche merged commit ab6df36 into GothenburgBitFactory:main Jul 30, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants