Commit graph

90 commits

Author SHA1 Message Date
Paul van Tilburg 03c51e2a2c
Bump the version to 0.3.5
All checks were successful
Check and lint using Cargo / Check and lint (push) Successful in 2m10s
Release / Release (push) Successful in 1m14s
Release / Release Rust crate (push) Successful in 2m53s
Release / Release Docker image (push) Successful in 8m41s
2024-02-27 15:37:56 +01:00
Paul van Tilburg cc1a0e4748
Update the changelog 2024-02-27 15:37:35 +01:00
Paul van Tilburg d2b90c16f6
Fix clippy issue 2024-02-27 15:37:05 +01:00
Paul van Tilburg d5eed08072
Bump the version to 0.3.4
Some checks failed
Check and lint using Cargo / Check and lint (push) Has been cancelled
Release / Release (push) Has been cancelled
Release / Release Rust crate (push) Has been cancelled
Release / Release Docker image (push) Has been cancelled
2024-02-27 15:28:09 +01:00
Paul van Tilburg 247e9d51f5
Update the changelog 2024-02-27 15:27:21 +01:00
Paul van Tilburg 5241d90e79
Cargo update; fixes several security advisories
Fixes RUSTSEC-2024-0003 and RUSTSEC-2023-0072
2024-02-27 15:25:21 +01:00
Paul van Tilburg c61bbfef5b
Bump the version to 0.3.3
All checks were successful
Check and lint using Cargo / Check and lint (push) Successful in 2m35s
Release / Release (push) Successful in 1m14s
Release / Release Rust crate (push) Successful in 3m28s
Release / Release Docker image (push) Successful in 11m19s
2023-11-03 21:25:03 +01:00
Paul van Tilburg f3ff02e4ff
Update the changelog 2023-11-03 21:24:22 +01:00
Paul van Tilburg f2be089fb9
Add missing dates 2023-11-03 21:16:26 +01:00
Paul van Tilburg 45b3f52e71
Cargo update; fixes RUSTSEC-2020-0071
Fix the usage of a deprecated method.
2023-11-03 21:12:04 +01:00
Paul van Tilburg ff12875a08
Bump the version to 0.3.2
All checks were successful
Check and lint using Cargo / Check and lint (push) Successful in 2m41s
Release / Release (push) Successful in 1m20s
Release / Release Rust crate (push) Successful in 3m46s
Release / Release Docker image (push) Successful in 8m18s
2023-08-27 13:30:11 +02:00
Paul van Tilburg 1bf6a4e772
Update the changelog 2023-08-27 13:29:48 +02:00
Paul van Tilburg c6f7511fc7
Switch to Debian bookworm Docker image for runtime
The Rust Docker build image is also based on Bookworm and would lead to
a binary that is linked against OpenSSL 3 which would then not be
available in the bullseye runtime Docker image.
2023-08-27 13:28:28 +02:00
Paul van Tilburg 3fed86d36f
Bump the version to 0.3.1
All checks were successful
Check and lint using Cargo / Check and lint (push) Successful in 3m15s
Release / Release (push) Successful in 1m26s
Release / Release Rust crate (push) Successful in 4m15s
Release / Release Docker image (push) Successful in 11m37s
2023-08-26 11:50:26 +02:00
Paul van Tilburg d3cc19524b
Update the changelog 2023-08-26 11:48:55 +02:00
Paul van Tilburg 92c75d09b9
Fix and improve the release workflow
Ad the relevant part of the changelog as release notes to the release
and fix some schema-related issues.
2023-08-26 11:47:31 +02:00
Paul van Tilburg e1319dcfc2
Cargo update 2023-08-26 11:44:56 +02:00
Paul van Tilburg 0f1bc9d83d
Fix typo in comment
All checks were successful
Check and lint using Cargo / Check and lint (push) Successful in 5m4s
2023-07-17 21:50:13 +02:00
Paul van Tilburg 0068f6e9de
Cargo update
All checks were successful
Check and lint using Cargo / Check and lint (push) Successful in 3m9s
2023-06-08 11:10:06 +02:00
Paul van Tilburg caad71389b
Also here no longer set sparse Cargo index for crates.io
Some checks failed
Check and lint using Cargo / Check and lint (push) Failing after 26s
2023-06-08 11:01:13 +02:00
Paul van Tilburg 0b76db96f0
Use the personal Cargo token
All checks were successful
Check and lint using Cargo / Check and lint (push) Successful in 2m57s
2023-06-08 10:58:33 +02:00
Paul van Tilburg 42a43cc83d
No longer configure using a sparse Cargo index for crates.io
All checks were successful
Check and lint using Cargo / Check and lint (push) Successful in 2m53s
This is the default since Rust 1.70.
2023-06-06 07:47:23 +02:00
Paul van Tilburg 1aca61d3fd
Add a full release workflow
All checks were successful
Check and lint using Cargo / Check and lint (push) Successful in 2m45s
2023-05-22 20:02:03 +02:00
Paul van Tilburg 35dda781a3
Tweak workflow step name 2023-05-22 19:56:52 +02:00
Paul van Tilburg 14bda61a9e
Fix name of Gitea Actions workflow
All checks were successful
Check and lint using Cargo / Check and lint (push) Successful in 3m2s
2023-04-25 16:30:05 +02:00
Paul van Tilburg bc22fd2d70
Run cargo clippy right after check; install missing components
All checks were successful
Check, test and lint using Cargo / Check and lint (push) Successful in 2m57s
2023-04-25 16:28:02 +02:00
Paul van Tilburg fd00ef0b4f
Simplify Gitea Actions check and lint workflow
Some checks failed
Check, test and lint using Cargo / Check and lint (push) Failing after 2m50s
2023-04-25 16:23:32 +02:00
Paul van Tilburg c070877384
Bump the version to 0.3.0
All checks were successful
Check, Test and Lint Using Cargo / Lints (push) Successful in 3m8s
Check, Test and Lint Using Cargo / Check (push) Successful in 2m39s
2023-04-15 12:16:30 +02:00
Paul van Tilburg 732d4b83f2
Update the changelog 2023-04-15 12:15:40 +02:00
Paul van Tilburg 12a797baa9
Cargo update
All checks were successful
Check, Test and Lint Using Cargo / Check (push) Successful in 2m53s
Check, Test and Lint Using Cargo / Lints (push) Successful in 3m3s
2023-04-14 23:26:07 +02:00
Paul van Tilburg 5586ae4d70
Update build dependecy on the vergen crate to 8.1.1
This change allows for dropping the dependency on the `anyhow` crate.
2023-04-14 23:25:25 +02:00
Paul van Tilburg 59e3b53263
Implement backoff for login/update API calls (closes: #8)
All checks were successful
Check, Test and Lint Using Cargo / Check (push) Successful in 3m45s
Check, Test and Lint Using Cargo / Lints (push) Successful in 3m35s
Start from an interval of 10 seconds, increase with a factor of 2.0 on
each failure up to a maximum of 320 seconds.

This commit also fixes an issue where the update loop would be aborted
if a relogin fails.
2023-04-14 23:02:21 +02:00
Paul van Tilburg f236499125
Fix login errors not being detected 2023-04-14 22:54:54 +02:00
Paul van Tilburg 02a4d1ca9b
Update to Rocket 0.5.0-rc.3
All checks were successful
Check
Lints
2023-03-24 14:38:42 +01:00
Paul van Tilburg 3fff79a2cd
Fix missing build script/git repo during build
All checks were successful
Check
Lints
When building the dependencies, the build script should not be
considered. When building the actual binary, the git repository needs to
be present and the build script should be run.
2023-03-22 15:27:12 +01:00
Paul van Tilburg 9200a10cef
Speed up build by using sparse Cargo index for crates.io 2023-03-22 15:26:45 +01:00
Paul van Tilburg beb49373fb
Bump the version to 0.2.2
All checks were successful
Check
Lints
2023-03-22 15:00:35 +01:00
Paul van Tilburg 99e7e8a68c
Update the changelog 2023-03-22 14:59:18 +01:00
Paul van Tilburg bab9228b0f
Drop unused dependency on the toml crate 2023-03-22 13:38:16 +01:00
Paul van Tilburg 81e82e90da
Cargo update; fixes RUSTSEC-2023-0018 2023-03-22 13:37:56 +01:00
Paul van Tilburg b07bb73da4
Fix clippy issue
All checks were successful
Check
Lints
2023-03-21 12:10:52 +01:00
Paul van Tilburg 58759d5309
Add Gitea Actions workflow for cargo
Some checks failed
Check
Lints
2023-03-21 11:53:05 +01:00
Paul van Tilburg b1764b7fe3
Use 7 chars for the git SHA 2023-01-29 15:44:29 +01:00
Paul van Tilburg 7c704b69ed Merge pull request 'Print the version on lift off and add version endpoint' (#10) from 6-print-version-add-endpoint into main
Reviewed-on: #10
2023-01-29 15:37:14 +01:00
Paul van Tilburg 04e28a33c3
Add a /version API endpoint
* Introduce the `VersionInfo` struct, build from the vergen environment
  variables
* Add the `version` handler to construct and return the version info
* Update the README
2023-01-29 15:29:32 +01:00
Paul van Tilburg de1ad37b95
Use the vergen crate to generate version information
* Add depend on the `vergen` crate (only use the `build` and `git`
  features)
* Add the build script `build.rs` to setup the environment variables
  from the build system
* Update the printed version information to use these environment
  variables
2023-01-29 15:22:47 +01:00
Paul van Tilburg 5cbc3a04fc
Print the version on lift off 2023-01-16 21:18:20 +01:00
Paul van Tilburg ca116351db
Implement error catchers for all requests (closes: #5)
* Introduce an error JSON output
* Return error JSON output if the status data is not there (yet)
* Introduce a default catcher to return error JSON output in all other
  unsupported/unhandled cases
* Update the documentation
2023-01-16 21:08:03 +01:00
Paul van Tilburg 8d892d8619
Tweak documentation (to look like the rest) 2023-01-16 21:05:15 +01:00
Paul van Tilburg 35209b6303
Bump the version to 0.2.1 2023-01-16 20:16:30 +01:00