-
Notifications
You must be signed in to change notification settings - Fork 0
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
init: Bootstrap project #1
Conversation
License this project under the MIT license. Foxygoat projects are usually Apache 2.0, but MIT is much the same for practical intents but much shorter.
Initialise repository with hermit by running: hermit init --no-git Link: https://cashapp.github.io/hermit/
Add the initial README describing the purpose of `git-credential-fdoss`. Further info will be added as code is added to the repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm with comments.
bcd0d35
to
bc4d4e1
Compare
I've revved this PR to remove |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NEAT! 🎄
Bootstrap the project with a bare-bones `main.go` with all the tooling configured: hermit install gh go golangci-lint make go mod init foxygo.at/offscreen Use the standard foxygoat `Makefile` for Go projects (copied from `offscreen`) and update slightly for manually creating releases (no longer using goreleaser) and doing multi-architecture builds. The `install` target has been removed as `make install` is expected to install system-wide, but hermit overrides `$GOBIN` so the binary only gets installed inside a repo temp directory. This is not helpful so the target has been removed. Configure `golangci-lint` with specific linters disabled, but all others enabled. Configure GitHub Actions for CI/CD. Install `gh` to create releases, and create release binaries for 4 common linux architectures - amd64, arm64, 386 and arm. We do not build binaries for other OSes as they don't run DBus.
I've pushed a few more minor changes to the |
Bootstrap the project bu installing the standard foxygoat tooling for
Go programs:
Use the standard Makefile tool configs, mostly copied from
foxygoat/offscreen
, but add a new way of doing GitHub releasesinstead of using goreleaser.
Use the MIT license - it's simpler than Apache 2.0