Skip to content

Conversation

@austinvazquez
Copy link

@austinvazquez austinvazquez commented Jul 23, 2025

Build out some of the repository boilerplate. e.g. README, gitignore, basic GitHub Actions, etc.

@austinvazquez austinvazquez force-pushed the jumpstart-repo branch 3 times, most recently from 70f2705 to 41319c0 Compare July 23, 2025 21:49
@austinvazquez austinvazquez marked this pull request as ready for review July 23, 2025 21:54
@austinvazquez
Copy link
Author

Fork PR which ran the GitHub Actions checks since this is the first PR.
austinvazquez#1

test: CMD=go test -v ./...
test: foreach

.PHONY: help
Copy link
Member

Choose a reason for hiding this comment

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

We should also have a look at a step to run and to validate go generate for the seccomp default.json to make sure it matches the code.

We may have something in moby that did this, but probably wouldn't be too complicated.

Copy link
Author

Choose a reason for hiding this comment

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

Did a quick copy/paste to test this. I gutted most of what we had in moby; it's small enough now should I go through the work to preserve history. Thoughts?


## License

This project is licensed under the Apache License 2.0. See [LICENSE](LICENSE) for details.
Copy link
Member

Choose a reason for hiding this comment

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

We still need to add proper license headers to our code (also other projects); I like the approach some projects took with just the SPDX headers and a 1-line copyright (can be multiple), but I need to dig up some research I did on correctness; https://github.com/google/oss-rebuild/blob/6f57c474a8faf3012204792af8ef5d8b6fae2fd1/cmd/proxy/main.go#L2

Copy link
Author

Choose a reason for hiding this comment

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

Taking a look at this more. The spdx header seems straightforward. The question I have is how much of the copyright/notice needs to be preserved from moby/moby versus can I apply a Moby project authors copyright on top?

@austinvazquez austinvazquez force-pushed the jumpstart-repo branch 3 times, most recently from 95eead1 to b31b031 Compare July 24, 2025 13:26
Signed-off-by: Austin Vazquez <[email protected]>
Comment on lines +26 to +30
- name: Install ltag
run: go install github.com/containerd/ltag@latest

- name: Run file header checks
run: ltag --check -t "./script/validate/template" -v
Copy link
Author

Choose a reason for hiding this comment

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

Reused the mechanism I've used in containerd and other projects for file header checks unless there is a more preferred option?

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