Martin Slot
0687cc92d6
ci/woodpecker/push/woodpecker Pipeline was successful
Details
|
||
---|---|---|
application | ||
console | ||
test_console | ||
test_utilities | ||
tests | ||
.gitignore | ||
.woodpecker.yml | ||
Cargo.toml | ||
readme.md | ||
sonar-project.properties |
readme.md
What
This is a simple cli program where you can
- register what you currently have,
- register where the latest version can be found,
- and send an email when it changes
for now this only conforms to:
- github, with
- semver release tags, and
but i have some updates to it in my mind in the future.
How
Create a settings.toml in the same directory as the console
:
[database]
connection_string = "version_checker_db"
in_memory = false
[email]
from = "from@address.ltd"
smtp_username = "your_smtp_username"
smtp_password = "your_smtp_password"
smtp_relay = "your_smtp_realy"
Register where to find release tags
./console register origin github gitea go-gitea gitea
Register what you have
./console register current github gitea 1.2.3 mail@domain.tld
And make a request
./console request
This will send an email if the versions differ. Remember to update the version with the checker when you have updated your software.
You can now add it as a cron job, and make a daily request.
Beta
This is still beta. I use it and fixes the bugs when i find them.
How to build
There is no releases yet, but clone the repo, cd to the root and run cargo build
.
Please notice
- The binary is named console for now, and will changed in future versions.
- It will drop a sqlite database in the same folder as the console. This can't be overridden yet (but this is on my todo list to change that)
- I am new to rust, so the code i produce is not ferris on wheels, but i will get there eventually
Happy hacking!