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

General cleanup and improved output from check/in/out #22

Merged
merged 1 commit into from
Sep 16, 2021
Merged

Conversation

jgriff
Copy link
Owner

@jgriff jgriff commented Sep 16, 2021

Now outputting more activity statements to the concourse web ui. For
example, each active source filter is printed out from check as it is
evaluated.

Fixed a bug in the log() method that leaked param args from previous
invocation to the global context. For example,

log "private message 1"
log -p "public message 2"
log "private message 3"

Would print to the concourse ui:

public message 2
private message 3

Fixed this by using local declarations for those param args.

Finally, did some general cleanup and better organization of the
common script, and in the tests.

Now outputting more activity statements to the concourse web ui.  For
example, each active source filter is printed out from `check` as it is
evaluated.

Fixed a bug in the `log()` method that leaked param args from previous
invocation to the global context.  For example,

```
log "private message 1"
log -p "public message 2"
log "private message 3"
```

Would print to the concourse ui:

```
public message 2
private message 3
```

Fixed this by using `local` declarations for those param args.

Finally, did some general cleanup and better organization of the
`common` script, and in the tests.
@jgriff jgriff self-assigned this Sep 16, 2021
@jgriff jgriff added the polish Cleanup and other non-functional changes to improve hygiene of code. label Sep 16, 2021
@jgriff jgriff merged commit 59302fb into master Sep 16, 2021
@jgriff jgriff deleted the cleanup branch September 16, 2021 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
polish Cleanup and other non-functional changes to improve hygiene of code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant