Skip to content

v0.8

Compare
Choose a tag to compare
@dreadl0ck dreadl0ck released this 12 Jul 17:35
· 100 commits to master since this release

Changelog

v0.8 Release

This release contains lots of changes to the overall architecture of ZEUS.
It is a result of hours of testing and feedback I received in the last weeks.

The Zeusfile has been renamed to: commands.yml

Script headers have been removed completely.
All command data shall be supplied in a commands.yml file from now on.

The globals have been refactored:

  • removed globals.yml
  • global vars now always supplied in commandsFile
  • language specific global code like functions now reside in zeus/globals/globals.[fileExtension]

Changes to command data fields:

  • empty exec fields: look for script in scriptDir
  • path field has been added for commandData to set custom path for execScript
  • dependencies are now passed as string array to YAML, same goes for arguments and outputs

The complete header parsing and job logic has been removed.
Validation of the commandsFile has been massively improved.
You will now be warned about unknown, duplicate fields and invalid combinations.

Error feedback has been improved:
When a script execution returns an error, a code snippet will be printed with the corresponding line highlighted red

The bootstrap command has been refactored.
ZEUS now always adds a header with version to config and data.

The create builtin has been refactored, it can now bootstrap a commands file entry and jump to the corresponding line in the editor.
Also writing scripts to disk and strip the exec section from the commandsFile is now possible, with the new create script subcommand.

The edit command has been improved.
It can now jump to a specific line and handles different script locations (commandsFile, scriptDir, custom)

All config and data fields have been changed to lowercase again to stay conform with commands.yml
A homebrew tap has been created by using goreleaser.

Makefile migration has been adapted to the new architecture.

The dumpScriptOnError option now puts all dumps into the zeus/dumps directory, and adds the stdErr output of the failed script as a comment.

Argument type validation and error feedback has been improved.
A new fancy colorized ascii art has been added.

The test have been refactored. You can now move into the tests dir and start the interactive shell.
Also the documentation has been updated.

Also as usual, lots of code cleanup, renaming and bugfixes.
Happy Coding!

Commits

70d1c68 updated goreleaser config & readme
763acdf added brew formula
8ea59dc updated gitignore
834b839 edited brew tap repo
886c553 zeus version v0.8
6a6f8ae updated goreleaser config and added dist dir
fe185c6 fixed gitignore
79b1980 fiddling with gitignore
698f547 updated godeps
71a1861 cleanup
27e85f8 set lua version for travis install
2f44bb5 fixed wiki link
3cd1d56 updated asciicast image
fdac2fc readme update + updated asciicast
f8d6753 v0.8
d445b3b see changelog v0.8
77571b7 mentioning lua language in readme
85ddca5 small UI fix for printing commands
f2d3e79 fixed gitter badge
ec5543d added gitter badge
c25e0b1 minor fixes and roadmap update
bd2dcac updated image
4af5121 updated png
f956e11 removed png
8327c6f fixed HTML
1c512cc uncommented HTML
32f2e8d added edit todo command, improved README, reduced cyclomatic complexities of some functions
3e2c03c Merge branch 'master' of https://github.com/dreadl0ck/zeus
c14bb13 readme update
dd46cae added generateGlobals(lang *Language) function, added lua support, print generated script on exec error
f55dd02 Merge pull request #7 from delirious-lettuce/fix_typos
c94d5a2 Fix typos: * similiar -> similar * enourmous -> enormous * compatibilty -> compatibility * Dont -> Don't * alot -> a lot * proceses -> processes * informations -> information * setion -> section * PLugin -> Plugin * readabilty -> readability * theres -> there's * you dont -> You don't * openened -> opened * specficy -> specify * Similiar -> Similar * dont -> don't * architecure -> architecture * theres -> there's
5b19a9b disabled debug mode


Automated with GoReleaser
Built with go version go1.8.3 darwin/amd64