Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dogwrap] new event format + trim output #104

Merged
merged 1 commit into from
Nov 24, 2015

Conversation

yannmh
Copy link
Member

@yannmh yannmh commented Nov 17, 2015

Changes

  • New event body format:
    >>>> CMD <<<<
    >>>> EXIT CODE <<<<
    >>>> STDOUT <<<<
    >>>> STDERR <<<<
    >>>> NOTIFICATIONS <<<<
  • Trim output to not exceed MAX_EVENT_BODY_LENGTH size
    • Keep the first 1/3rd of the budget on the top,
      and the other 2 thirds on the bottom.

Fix #91
Thanks @gnarf !

@yannmh yannmh self-assigned this Nov 17, 2015
**Changes**
* New event body format:
```
	>>>> CMD <<<<
	>>>> EXIT CODE <<<<
	>>>> STDOUT <<<<
	>>>> STDERR <<<<
	>>>> NOTIFICATIONS <<<<
```
* Trim output to not exceed `MAX_EVENT_BODY_LENGTH` size
  * Keep the first 1/3rd of the budget on the top,
    and the other 2 thirds on the bottom.

Fix #91
Thanks @gnarf !
@yannmh yannmh force-pushed the yann/dogwrap-new-event-format branch from 660300b to 29cc1c6 Compare November 17, 2015 19:17
@remh
Copy link

remh commented Nov 24, 2015

👍

yannmh added a commit that referenced this pull request Nov 24, 2015
[dogwrap] new event format + trim output
@yannmh yannmh merged commit 8278aad into master Nov 24, 2015
@yannmh yannmh deleted the yann/dogwrap-new-event-format branch November 24, 2015 16:36
@yannmh yannmh added this to the 0.11.0 milestone Jan 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants