Go implementation of pdsadmin cli

refactor: use tangled as source of truth #4

merged opened by quietengineer.fyi targeting main from release
  • ci: remove all github workflows except build and test on MRs and instead use tangled's ci
  • ci: remove unsupported event tag
  • chore: add go related items to gitignore
  • build: move config files to .config
  • build: remove goreleaser config for GitHub
  • build: configure goreleaser changelog
  • build: add commitizen for changelogs
  • refactor: use tangled for pkg name
Labels

None yet.

Participants 1
AT URI
at://did:plc:26hjus73n2qhbfv7qotenn7z/sh.tangled.repo.pull/3lyoevd7xxp22
+43 -48
Diff #0
-3
.github/workflows/go.yaml
··· 1 name: go 2 on: 3 - push: 4 - branches: 5 - - main 6 pull_request: 7 branches: 8 - main
··· 1 name: go 2 on: 3 pull_request: 4 branches: 5 - main
-21
.github/workflows/golangci-lint.yaml
··· 1 - name: golangci-lint 2 - on: 3 - push: 4 - branches: 5 - - main 6 - pull_request: 7 - 8 - permissions: 9 - contents: read 10 - 11 - jobs: 12 - golangci: 13 - name: lint 14 - runs-on: ubuntu-latest 15 - steps: 16 - - uses: actions/checkout@v5 17 - - uses: actions/setup-go@v6 18 - with: 19 - go-version: "1.24" 20 - - name: golangci-lint 21 - uses: golangci/golangci-lint-action@v8
···
-19
.github/workflows/goreleaser.yaml
··· 1 - name: goreleaser 2 - on: 3 - push: 4 - tags: 5 - - "*" 6 - 7 - permissions: 8 - contents: write 9 - 10 - jobs: 11 - goreleaser: 12 - runs-on: ubuntu-latest 13 - steps: 14 - - uses: actions/checkout@v5 15 - - uses: actions/setup-go@v6 16 - - name: run goreleaser 17 - uses: goreleaser/goreleaser-action@v6 18 - with: 19 - args: release --clean
···
+1 -2
.tangled/workflows/release.yaml
··· 1 when: 2 - - event: ["tag"] 3 - branch: ["main"] 4 5 engine: "nixery" 6
··· 1 when: 2 + - event: ["manual"] 3 4 engine: "nixery" 5
+32 -1
.gitignore
··· 1 - node_modules
··· 1 + # Binaries for programs and plugins 2 + *.exe 3 + *.exe~ 4 + *.dll 5 + *.so 6 + *.dylib 7 + 8 + # Test binary, built with `go test -c` 9 + *.test 10 + 11 + # Code coverage profiles and other test artifacts 12 + *.out 13 + coverage.* 14 + *.coverprofile 15 + profile.cov 16 + 17 + # Dependency directories 18 + vendor/ 19 + 20 + # Go workspace file 21 + go.work 22 + go.work.sum 23 + 24 + # goreleaser 25 + dist/ 26 + 27 + # env file 28 + *.env 29 + 30 + # Editor/IDE 31 + .idea/ 32 + .vscode/
+8
.cz.yaml
···
··· 1 + --- 2 + commitizen: 3 + major_version_zero: true 4 + name: cz_conventional_commits 5 + tag_format: v$version 6 + update_changelog_on_bump: true 7 + version_provider: scm 8 + version_scheme: semver2
+1 -1
go.mod
··· 1 - module github.com/QuietEngineer/pdsadmin 2 3 go 1.23.6 4
··· 1 + module tangled.sh/quietengineer.fyi/pdsadmin 2 3 go 1.23.6 4
+1 -1
main.go
··· 21 */ 22 package main 23 24 - import "github.com/QuietEngineer/pdsadmin/cmd" 25 26 func main() { 27 cmd.Execute()
··· 21 */ 22 package main 23 24 + import "tangled.sh/quietengineer.fyi/pdsadmin/cmd" 25 26 func main() { 27 cmd.Execute()

Submissions

sign up or login to add to the discussion
quietengineer.fyi submitted #0
8 commits
expand
ci: remove github workflows
ci: remove unsupported event
chore: add go ignores
build: move goreleaser to config
build: remove specific release platforms
build: configure changelog
build: add commitizen for changelogs
chore!: use tangled pkg name
pull request successfully merged