Commit Graph

86 Commits

Author SHA1 Message Date
Kaan Barmore-Genç 847b6eb1c5
Upload to ghcr.io, document the fact that it's there 2023-03-16 00:10:45 -04:00
Kaan Barmore-Genç 706251c4d8
Update to 1.8.0 2023-02-13 01:04:05 -05:00
Kaan Barmore-Genç d4dffb19e9
Update deps (#95) 2023-02-13 01:03:34 -05:00
Kaan Barmore-Genç 5c6b38f7b0
Do retry update after a failure & fix tests (#94)
* Do retry update after a failure & fix tests

* Fix formatting

* Fix clippy errors

* Add codecov ignore for ip_source files
2023-02-13 00:58:23 -05:00
jannikac 8413555d2f
Implement thiserror and improve output formatting (#91)
* implemented an error struct with all possible errors using thiserror

* Replaced die_with with ClientError enum derived with thiserror.
This enables prettier and more structured error handling than anyhow

* Added proper parsing of Gandi API Responses.
This also makes it possible to output prettier logs.

* improved error message

* anyhow is better for main fn because it outputs anyhow errors correctly
2023-02-10 22:08:54 -05:00
Kaan Barmore-Genç 5cdd7b9e83
Update readme file name 2023-02-01 23:58:47 -05:00
Kaan Barmore-Genç 1bb4c7af1c
update build script 2023-02-01 23:57:01 -05:00
Kaan Barmore-Genç b71a78118b
Release 1.7.0 2023-02-01 23:24:09 -05:00
Kaan Barmore-Genç 27a60d3ac2
Add new IP source "seeip" (#90) 2023-02-01 23:19:57 -05:00
Kaan Barmore-Genç 327b14a00a
Skip updating the IP address if it did not change (#88)
* Skip updating the IP address if it did not change

* Update readme
2023-02-01 02:00:09 -05:00
Kaan Barmore-Genç f8060fad42
Avoid multiple main versions & concurrently get ipv4 and ipv6 addresses (#87)
* Avoid having multiple versions of main run function

* Concurrently get ipv4 and ipv6 addresses
2023-02-01 00:21:02 -05:00
Kaan Barmore-Genç 7e7a9da65e
Switch back to die-exit (#86)
We had temporarily moved to die-exit-2, a forked release, but the
original project has made a release now!
2023-01-31 00:16:02 -05:00
Kaan Barmore-Genç e95cf42b69
Update dependencies (#85) 2023-01-31 00:07:02 -05:00
allcontributors[bot] 4ada0b7fb4
docs: add jannikac as a contributor for code (#73)
* docs: update README.md [skip ci]

* docs: create .all-contributorsrc [skip ci]

* Update README.md

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Kaan Barmore-Genç <kaan@bgenc.net>
2022-12-18 10:35:09 -05:00
Kaan Barmore-Genç d52ca4b840
Rename readme 2022-12-18 10:29:08 -05:00
Kaan Barmore-Genç ed83f7dedc
Add contributors block 2022-12-18 10:25:00 -05:00
Kaan Barmore-Genç f94222f048
Release 1.6.0 2022-12-18 01:41:47 -05:00
Kaan Barmore-Genç e2a343c59e
Update dependencies 2022-12-18 01:41:14 -05:00
Kaan Barmore-Genç 220e368bf3
Use async sleep & document the repeat option (#70)
* Use async sleep when long running

Using an async sleep just seems more appropriate as we are in an async
context, although the results are identical since gandi-live-dns only
uses a single thread.

* Document repeat option

* Fix lints
2022-12-18 01:35:54 -05:00
jannikac 041c1109e0
Fix linter suggestions (#68)
* removed unneeded lifetimes

* removed unneccessary imports

* removed unneccessary return statements

* added derive eq -> linter suggestion

* removed unneccessary references

* made code more concise

* ok_or_else instead of ok_or improves performance -> linter suggestion
2022-12-18 00:53:48 -05:00
jannikac bbd7ce347a
Add repeat flag (#67)
* Add a config option for the repeat flag

* Implement repeat flag
2022-12-18 00:53:34 -05:00
Kaan Barmore-Genç 28984e1b52
Fix badges 2022-12-18 00:30:40 -05:00
Kaan Barmore-Genç 35d60f0b29
read version correctly in release script 2022-11-13 16:49:03 -05:00
Kaan Barmore-Genç 7cffca51af
Add instructions for source builds 2022-11-13 16:21:27 -05:00
Kaan Barmore-Genç 1250e512f9
Update to forked die-exit to this can be published on crates.io 2022-11-13 16:18:32 -05:00
Kaan Barmore-Genç 985ce8ea5c
release 1.5.0 2022-11-13 15:53:56 -05:00
Kaan Barmore-Genç 984449f748
Correct branch name in action filter 2022-11-13 15:47:02 -05:00
Kaan Barmore-Genç 039d8933ad
Update dependencies (#59)
* Update dependencies

* Make sure tests run on main
2022-11-13 15:46:20 -05:00
Kaan Barmore-Genç 5755aedc2f
Add CLI option to skip ipv4 or ipv6 (#58)
closes #7
2022-11-13 15:36:21 -05:00
Kaan Barmore-Genç 84bef554b0
ignore signature files 2022-08-23 01:32:57 -04:00
Kaan Barmore-Genç 3daee43540
1.4.0 2022-08-23 01:21:28 -04:00
Kaan Barmore-Genç e91a9c5c4f
Update deps 2022-08-23 01:20:30 -04:00
Kaan Barmore-Genç eaabec35b4
Add option to use icanhazip as an IP source (#40)
* Add option to use icanhazip as an IP source

* skip IP source API tests in CI
2022-08-23 01:17:17 -04:00
Kaan Barmore-Genç 98e2931493
Update shields 2022-08-22 23:47:51 -04:00
Kaan Barmore-Genç 90c5485cce
Add first test (#38)
* wip

* wip implement test

* complete test

* add lint and test actions

* fix bad format
2022-08-22 22:20:10 -04:00
Kaan Barmore-Genç 80d8c8885b
Add shields 2022-07-21 21:23:34 -04:00
Kaan Barmore-Genç 49154e5f2f
release 1.3.0 2022-07-20 23:19:16 -04:00
Kaan Barmore-Genç 21dcd000a7
Report record types
closes #2
2022-07-20 23:18:37 -04:00
Kaan Barmore-Genç e556c00901
update dependency versions 2022-07-20 23:14:33 -04:00
Kaan Barmore-Genç 05a3fb6c89
Fix spawn local panic about local set 2022-06-09 22:11:42 -04:00
Kaan Barmore-Genç a9629ad4a3
Bump version for release 2022-06-09 21:57:44 -04:00
dependabot[bot] c05b0a8494
Bump tokio from 1.17.0 to 1.19.0 (#19)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.17.0 to 1.19.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.17.0...tokio-1.19.0)

---
updated-dependencies:
- dependency-name: tokio
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 21:29:21 -04:00
Kaan Barmore-Genç 661dfc55fd
Use a single threaded setup & allow configurable TTL (#21)
* use a single threaded executor

* add configurable TTL support
2022-06-09 21:29:02 -04:00
dependabot[bot] e4938a3f95
Bump serde from 1.0.136 to 1.0.137 (#14)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.136 to 1.0.137.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.136...v1.0.137)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 20:39:25 -04:00
dependabot[bot] df672c0f48
Bump clap from 3.1.12 to 3.1.18 (#17)
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.12 to 3.1.18.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.12...v3.1.18)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-09 20:39:16 -04:00
Kaan Barmore-Genç ffa22a6f8d
Merge pull request #12 from SeriousBug/dependabot/cargo/clap-3.1.12
Bump clap from 3.1.9 to 3.1.12
2022-04-23 13:23:14 -04:00
Kaan Barmore-Genç d22031782f
Merge pull request #11 from SeriousBug/dependabot/cargo/anyhow-1.0.57
Bump anyhow from 1.0.56 to 1.0.57
2022-04-23 13:23:06 -04:00
dependabot[bot] 3d41d3ae44
Bump clap from 3.1.9 to 3.1.12
Bumps [clap](https://github.com/clap-rs/clap) from 3.1.9 to 3.1.12.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v3.1.9...v3.1.12)

---
updated-dependencies:
- dependency-name: clap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-23 07:18:31 +00:00
dependabot[bot] 85588f8c95
Bump anyhow from 1.0.56 to 1.0.57
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.56 to 1.0.57.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.56...1.0.57)

---
updated-dependencies:
- dependency-name: anyhow
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-23 07:18:27 +00:00
Kaan Barmore-Genç 625a2b6b03
Merge pull request #10 from SeriousBug/dependabot/cargo/clap-3.1.9
Bump clap from 3.1.8 to 3.1.9
2022-04-17 23:06:15 -04:00