Skip to content
This repository was archived by the owner on Oct 23, 2022. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: eigenein/rusty-home
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.3.0-rc.5
Choose a base ref
...
head repository: eigenein/rusty-home
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
Showing with 964 additions and 802 deletions.
  1. +1 −1 .github/workflows/check.yaml
  2. +16 −16 .github/workflows/publish.yaml
  3. +442 −323 Cargo.lock
  4. +4 −0 Makefile
  5. +12 −11 README.md
  6. +3 −3 rusty-shared-opts/Cargo.toml
  7. +10 −8 rusty-shared-opts/src/heartbeat.rs
  8. +10 −1 rusty-shared-opts/src/lib.rs
  9. +6 −16 rusty-shared-opts/src/redis.rs
  10. +0 −8 rusty-shared-opts/src/tracing.rs
  11. +4 −3 rusty-shared-redis/Cargo.toml
  12. +68 −73 rusty-shared-redis/src/lib.rs
  13. +8 −7 rusty-shared-telegram/Cargo.toml
  14. +0 −2 rusty-shared-telegram/src/api.rs
  15. +39 −0 rusty-shared-telegram/src/headers.rs
  16. +11 −0 rusty-shared-telegram/src/lib.rs
  17. +27 −52 rusty-shared-telegram/src/methods.rs
  18. +3 −4 rusty-shared-tracing/Cargo.toml
  19. +13 −15 rusty-shared-tracing/src/lib.rs
  20. +4 −4 rusty-shared-tractive/Cargo.toml
  21. +10 −0 rusty-shared-tractive/src/lib.rs
  22. +1 −6 rusty-tado/Cargo.toml
  23. +10 −0 rusty-tado/src/main.rs
  24. +7 −5 rusty-tractive-telegram-bot/Cargo.toml
  25. +6 −6 rusty-tractive-telegram-bot/README.md
  26. +90 −147 rusty-tractive-telegram-bot/src/bot.rs
  27. +11 −11 rusty-tractive-telegram-bot/src/listener.rs
  28. +36 −31 rusty-tractive-telegram-bot/src/main.rs
  29. +50 −0 rusty-tractive-telegram-bot/src/middleware.rs
  30. +18 −4 rusty-tractive-telegram-bot/src/opts.rs
  31. +2 −0 rusty-tractive-telegram-bot/src/prelude.rs
  32. +10 −10 rusty-tractive/Cargo.toml
  33. +2 −2 rusty-tractive/README.md
  34. +1 −0 rusty-tractive/src/api.rs
  35. +18 −20 rusty-tractive/src/main.rs
  36. +0 −3 rusty-tractive/src/opts.rs
  37. +11 −10 rusty-tractive/src/service.rs
2 changes: 1 addition & 1 deletion .github/workflows/check.yaml
Original file line number Diff line number Diff line change
@@ -46,4 +46,4 @@ jobs:
continue-on-error: true
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --all-targets --all-features --tests
args: --all-targets --all-features
32 changes: 16 additions & 16 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -22,24 +22,32 @@ jobs:
sed -i -e 's/version = "0.0.0"/version = "${{ github.ref_name }}"/g' */Cargo.toml
sed -i -e 's/version = "0.0.0"/version = "${{ github.ref_name }}"/g' Cargo.lock
- name: Build Changelog
id: changelog
uses: Bullrich/generate-release-changelog@master
env:
REPO: ${{ github.repository }}

- name: Update release
uses: tubone24/update_release@v1.3.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body: ${{ steps.changelog.outputs.changelog }}
prerelease: false

- name: Rustup
uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable

- name: Install Cross
run: cargo install --locked --git https://github.com/cross-rs/cross.git
run: cargo install --locked --git https://github.com/cross-rs/cross.git cross

- name: Build for Raspberry Pi Zero W
run: cross build --target arm-unknown-linux-gnueabihf --release

- name: Build Changelog
id: changelog
uses: Bullrich/generate-release-changelog@master
env:
REPO: ${{ github.repository }}

- name: Upload rusty-tractive
uses: actions/upload-release-asset@v1
env:
@@ -70,19 +78,11 @@ jobs:
asset_name: "rusty-tado.arm-unknown-linux-gnueabihf"
asset_content_type: "application/octet-stream"

- name: Update release
uses: tubone24/update_release@v1.3.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
body: ${{ steps.changelog.outputs.changelog }}
prerelease: false

- name: Create Sentry release
uses: getsentry/action-release@v1
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: "eigenein"
SENTRY_ORG: "rusty-home"
SENTRY_PROJECT: "rusty-home"
with:
version: ${{ github.ref_name }}
Loading