Skip to content

Releases: elesiuta/baka

Version 0.5.7

29 Aug 18:44
Compare
Choose a tag to compare
version 0.5.7

- add --forget arg to completely forget a path from git and ignore it
- improvements to --docker flag
- improve shlex_split for jobs
- print usage when no supplied args

Version 0.5.6

29 Aug 15:51
Compare
Choose a tag to compare
version 0.5.6

- option to abort jobs on non-zero exit codes
- option to store job commands as strings instead of list of args
- add --list arg to list jobs
- add --push flag
- add -b flag to git status when run with baka --diff
- add --docker flag for running docker-compose commands in each docker folder without a .ignore file

Version 0.5.5

03 Feb 16:29
Compare
Choose a tag to compare
version 0.5.5

catch error if email fails (eg internet disconnected) and write to log

Version 0.5.4

24 Jan 18:36
Compare
Choose a tag to compare
version 0.5.4

- returncode is count of non-zero returncodes for job

Version 0.5.3

22 Jan 23:44
Compare
Choose a tag to compare
version 0.5.3

- return last non-zero returncode or 0

Version 0.5.2

19 Jan 18:52
Compare
Choose a tag to compare
version 0.5.2

- used yellow by mistake (for warnings), use green

Version 0.5.1

19 Jan 18:45
Compare
Choose a tag to compare
version 0.5.1

- print continue prompt in green
- print extra new line after each command in job

Version 0.5.0

19 Jan 18:03
Compare
Choose a tag to compare
version 0.5.0

- fix typo
- "stable" release

Version 0.4.9

19 Jan 17:33
Compare
Choose a tag to compare
Version 0.4.9 Pre-release
Pre-release
version 0.4.9

handle captured output similar to version 0.3.8
if not capturing output and job is verbose, run without capture so output is live

tried tee command and tee from pypi (didn't work with subprocess) and duplicating file descriptors
none work properly for capturing commands and printing live if they rewrite previous output

also if using alternative implementation for tee with verify mentioned in previous commit
match cmd[i] == "tee" (similar to rsync) and alter the cmd there

Version 0.4.8

19 Jan 06:07
Compare
Choose a tag to compare
Version 0.4.8 Pre-release
Pre-release
version 0.4.8

should work similar to 0.4.1 (prints lines as they come)
without the overly ambitious goal of handling all commands like status bars that rewrite previous lines
or maybe the one I was testing it on was just weird
don't think it is even possible without an overcomplicated solution since tee itself did not work

if this still doesn't work, will revert to subprocess.run behaviour of the last stable version (0.3.8)

also alternative implementation could use something like
tee = subprocess.Popen(["tee", "tmp.txt"], stdin=proc.stdout)
or
tee = subprocess.Popen(["tee", "tmp.txt"], stdin=subprocess.PIPE)
and set proc's stdout=tee.stdin
however it didn't appear to work any differently than what I have now
could be used to improve verify where there is a bash -c "cmd | tee ..." if quoting becomes an issue