c61bbfef5b
Bump the version to 0.3.3
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
f3ff02e4ff
Update the changelog
2023-11-03 21:24:22 +01:00
f2be089fb9
Add missing dates
2023-11-03 21:16:26 +01:00
45b3f52e71
Cargo update; fixes RUSTSEC-2020-0071
...
Fix the usage of a deprecated method.
2023-11-03 21:12:04 +01:00
ff12875a08
Bump the version to 0.3.2
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
1bf6a4e772
Update the changelog
2023-08-27 13:29:48 +02:00
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
3fed86d36f
Bump the version to 0.3.1
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
d3cc19524b
Update the changelog
2023-08-26 11:48:55 +02:00
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
e1319dcfc2
Cargo update
2023-08-26 11:44:56 +02:00
0f1bc9d83d
Fix typo in comment
Check and lint using Cargo / Check and lint (push) Successful in 5m4s
2023-07-17 21:50:13 +02:00
0068f6e9de
Cargo update
Check and lint using Cargo / Check and lint (push) Successful in 3m9s
2023-06-08 11:10:06 +02:00
caad71389b
Also here no longer set sparse Cargo index for crates.io
Check and lint using Cargo / Check and lint (push) Failing after 26s
2023-06-08 11:01:13 +02:00
0b76db96f0
Use the personal Cargo token
Check and lint using Cargo / Check and lint (push) Successful in 2m57s
2023-06-08 10:58:33 +02:00
42a43cc83d
No longer configure using a sparse Cargo index for crates.io
...
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
1aca61d3fd
Add a full release workflow
Check and lint using Cargo / Check and lint (push) Successful in 2m45s
2023-05-22 20:02:03 +02:00
35dda781a3
Tweak workflow step name
2023-05-22 19:56:52 +02:00
14bda61a9e
Fix name of Gitea Actions workflow
Check and lint using Cargo / Check and lint (push) Successful in 3m2s
2023-04-25 16:30:05 +02:00
bc22fd2d70
Run cargo clippy right after check; install missing components
Check, test and lint using Cargo / Check and lint (push) Successful in 2m57s
2023-04-25 16:28:02 +02:00
fd00ef0b4f
Simplify Gitea Actions check and lint workflow
Check, test and lint using Cargo / Check and lint (push) Failing after 2m50s
2023-04-25 16:23:32 +02:00
c070877384
Bump the version to 0.3.0
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
732d4b83f2
Update the changelog
2023-04-15 12:15:40 +02:00
12a797baa9
Cargo update
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
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
59e3b53263
Implement backoff for login/update API calls ( closes : #8 )
...
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
f236499125
Fix login errors not being detected
2023-04-14 22:54:54 +02:00
02a4d1ca9b
Update to Rocket 0.5.0-rc.3
2023-03-24 14:38:42 +01:00
3fff79a2cd
Fix missing build script/git repo during build
...
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
9200a10cef
Speed up build by using sparse Cargo index for crates.io
2023-03-22 15:26:45 +01:00
beb49373fb
Bump the version to 0.2.2
2023-03-22 15:00:35 +01:00
99e7e8a68c
Update the changelog
2023-03-22 14:59:18 +01:00
bab9228b0f
Drop unused dependency on the toml crate
2023-03-22 13:38:16 +01:00
81e82e90da
Cargo update; fixes RUSTSEC-2023-0018
2023-03-22 13:37:56 +01:00
b07bb73da4
Fix clippy issue
2023-03-21 12:10:52 +01:00
58759d5309
Add Gitea Actions workflow for cargo
2023-03-21 11:53:05 +01:00
b1764b7fe3
Use 7 chars for the git SHA
2023-01-29 15:44:29 +01:00
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
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
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
5cbc3a04fc
Print the version on lift off
2023-01-16 21:18:20 +01:00
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
8d892d8619
Tweak documentation (to look like the rest)
2023-01-16 21:05:15 +01:00
35209b6303
Bump the version to 0.2.1
2023-01-16 20:16:30 +01:00
6707928e37
Update the changelog
2023-01-16 20:15:54 +01:00
e6b0357670
Add serde from rocket; drop depend on serde
2023-01-16 20:07:56 +01:00
365b847313
Use stderr and a different emoji for error log messages
2023-01-16 20:03:16 +01:00
e1d70e8a59
Catch and raise when API response data cannot be deserialized
...
* Introduce a `StringOrObject::Value` variant that captures the
undeserializable JSON value
* Generate an error with the undeserializable JSON value when
deserialization is attempted
2023-01-16 20:00:53 +01:00
e268a6ebca
Detect when API (login) responses are not correct
...
* Introduce the `Error::Response` variant so services can raise errors
if the API response are not valid but a relogin will not help
* Indicate that a login failed for status (error) code 1
* Indicate that an API request failed and relogin is necessary for
status code 1 or 100
* Raise an error on any non-zero status code otherwise with the message
2023-01-16 19:57:05 +01:00
93e8295c96
Small formatting and error message fixes
2023-01-15 16:44:45 +01:00