Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-09 | verify that zip has right content | Daniel Schadt | |
2020-06-08 | use "White Heavy Check Mark" for successful logs | Daniel Schadt | |
The other one was hard to see, as it was rendered as a darkgrey checkmark on grey background. | |||
2020-06-08 | add sample configuration as separate file | Daniel Schadt | |
2020-06-08 | Add README | Daniel Schadt | |
2020-06-08 | add config and subcommands | Daniel Schadt | |
ezau having the watching functionality is nice, but sometimes for scripts you might want to have the old "upload this single log and post it to discord" functionality. As such, ezau has now been split into two subcommands (which use the same core): ezau watch runs the inotify-based directory watcher to zip and upload new logs. Additionally, it now respects the "upload = ..." config settings, which means you can also use it as a zipper only, without having every log uploaded. ezau upload performs a single-shot upload with the discord notification. Furthermore, the discord auth token/channel id have been moved to a configuration file. Switches to override this for single runs might be provided in the future, but for now, it seems more sensible to have it in a persistent configuration. | |||
2020-06-08 | add LICENSE (MIT) | Daniel Schadt | |
2020-06-08 | implement watch & zip logic in Rust | Daniel Schadt | |
evtc-watch consists of three parts at the moment: watch the files, zip them up and call ezau to upload them. We can now just do all of those inside of ezau, which saves us the extra script, makes it more platform-independent (as notify also works on Windows) and makes configuration and everything easier, as all the data will be inside of one program and doesn't need to be passed around. A flag (or subcommand!) to upload a single file might be added later to retain the previous behaviour of ezau. | |||
2020-06-07 | Repository::new() | Daniel Schadt | |