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

Jtv/releaseitems #67

Merged
merged 38 commits into from
Oct 19, 2023
Merged

Jtv/releaseitems #67

merged 38 commits into from
Oct 19, 2023

Conversation

viega
Copy link
Contributor

@viega viega commented Oct 19, 2023

  1. Cleaned up the configurations that can be loaded from chalkdust.io and made some minor changes / fixes due to the experience.
  2. Made it possible for chalk to auto-update configs for binaries for other architectures that might be used for container wrapping.
  3. Release items.

Dockerfile Outdated
@@ -1,88 +1,3 @@
FROM ghcr.io/crashappsec/nim:ubuntu-2.0.0 as nim
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

seems like accidental overwrite?

getCurrentException().getStackTrace()
publish("debug", msg)
let
msg = "" # "Handling exception (msg = " & getCurrentExceptionMsg() & ")\n"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

msg empty on purpose? should the commented out code be removed?

MyNameIsMeerkat and others added 3 commits October 19, 2023 09:21
As chalk exec would parse the full command, if it had any arguments
chalk was not familiar with, chalk would not parse it correctly
and therefore will call command incorrectly.
By adding -- after the command name, chalk ignores rest of the args
and passes them as-is to the command.

For example this now works:

```
ENTRYPOINT ["ls", "-la"]
```

As chalk will end up calling it as:

```
/chalk exec --exec-command-name=ls -- -la
```
@miki725
Copy link
Contributor

miki725 commented Oct 19, 2023

fixes #70

@viega viega marked this pull request as ready for review October 19, 2023 16:16
@miki725 miki725 merged commit f9b8e22 into main Oct 19, 2023
@miki725 miki725 deleted the jtv/releaseitems branch October 19, 2023 19:46
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.

3 participants