From b73410a4f67827c3fda8b86833df43557de4db9e Mon Sep 17 00:00:00 2001 From: QuietEngineer Date: Sun, 7 Sep 2025 10:25:45 -0600 Subject: [PATCH] ci: remove github workflows Build and test on MRs but remove all other workflows in favor of tangled --- .github/workflows/go.yaml | 3 --- .github/workflows/golangci-lint.yaml | 21 --------------------- .github/workflows/goreleaser.yaml | 19 ------------------- 3 files changed, 43 deletions(-) delete mode 100644 .github/workflows/golangci-lint.yaml delete mode 100644 .github/workflows/goreleaser.yaml diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml index 13e7988..8377944 100644 --- a/.github/workflows/go.yaml +++ b/.github/workflows/go.yaml @@ -1,8 +1,5 @@ name: go on: - push: - branches: - - main pull_request: branches: - main diff --git a/.github/workflows/golangci-lint.yaml b/.github/workflows/golangci-lint.yaml deleted file mode 100644 index 64b78ed..0000000 --- a/.github/workflows/golangci-lint.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: golangci-lint -on: - push: - branches: - - main - pull_request: - -permissions: - contents: read - -jobs: - golangci: - name: lint - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v5 - - uses: actions/setup-go@v6 - with: - go-version: "1.24" - - name: golangci-lint - uses: golangci/golangci-lint-action@v8 diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml deleted file mode 100644 index cdb85a8..0000000 --- a/.github/workflows/goreleaser.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: goreleaser -on: - push: - tags: - - "*" - -permissions: - contents: write - -jobs: - goreleaser: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v5 - - uses: actions/setup-go@v6 - - name: run goreleaser - uses: goreleaser/goreleaser-action@v6 - with: - args: release --clean -- 2.43.0 From 62d56094657fedac4d727cce77ad38d2acb9fecc Mon Sep 17 00:00:00 2001 From: QuietEngineer Date: Sun, 7 Sep 2025 10:28:02 -0600 Subject: [PATCH] ci: remove unsupported event --- .tangled/workflows/release.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.tangled/workflows/release.yaml b/.tangled/workflows/release.yaml index 2c54c34..0f89ce1 100644 --- a/.tangled/workflows/release.yaml +++ b/.tangled/workflows/release.yaml @@ -1,6 +1,5 @@ when: - - event: ["tag"] - branch: ["main"] + - event: ["manual"] engine: "nixery" -- 2.43.0 From 95072dbabd114779039ce55203b7ca4f6982f908 Mon Sep 17 00:00:00 2001 From: QuietEngineer Date: Sun, 7 Sep 2025 10:39:32 -0600 Subject: [PATCH] chore: add go ignores --- .gitignore | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3c3629e..d5f688c 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,32 @@ -node_modules +# Binaries for programs and plugins +*.exe +*.exe~ +*.dll +*.so +*.dylib + +# Test binary, built with `go test -c` +*.test + +# Code coverage profiles and other test artifacts +*.out +coverage.* +*.coverprofile +profile.cov + +# Dependency directories +vendor/ + +# Go workspace file +go.work +go.work.sum + +# goreleaser +dist/ + +# env file +*.env + +# Editor/IDE +.idea/ +.vscode/ -- 2.43.0 From 24c9627758b9386cdbc3f7a0264f22fc33793ad5 Mon Sep 17 00:00:00 2001 From: QuietEngineer Date: Sun, 7 Sep 2025 10:26:58 -0600 Subject: [PATCH] build: move goreleaser to config --- .goreleaser.yaml => .config/goreleaser.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename .goreleaser.yaml => .config/goreleaser.yaml (100%) diff --git a/.goreleaser.yaml b/.config/goreleaser.yaml similarity index 100% rename from .goreleaser.yaml rename to .config/goreleaser.yaml -- 2.43.0 From 64e4f9ff6249de0111e1b21b90bfb8d76bad84b0 Mon Sep 17 00:00:00 2001 From: QuietEngineer Date: Sun, 7 Sep 2025 10:58:15 -0600 Subject: [PATCH] build: remove specific release platforms --- .config/goreleaser.yaml | 7 ------- 1 file changed, 7 deletions(-) diff --git a/.config/goreleaser.yaml b/.config/goreleaser.yaml index 5c41db7..7a09af0 100644 --- a/.config/goreleaser.yaml +++ b/.config/goreleaser.yaml @@ -48,10 +48,3 @@ changelog: - "^docs:" - "^test:" - "^chore:" - -release: - footer: >- - - --- - - Released by [GoReleaser](https://github.com/goreleaser/goreleaser). -- 2.43.0 From 9ff103fd27a700feded94668c66b4660f79f6182 Mon Sep 17 00:00:00 2001 From: QuietEngineer Date: Sun, 7 Sep 2025 11:10:08 -0600 Subject: [PATCH] build: configure changelog --- .config/goreleaser.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.config/goreleaser.yaml b/.config/goreleaser.yaml index 7a09af0..496dddd 100644 --- a/.config/goreleaser.yaml +++ b/.config/goreleaser.yaml @@ -43,8 +43,18 @@ archives: changelog: sort: asc + abbrev: -1 + groups: + - title: Features + regexp: '^.*?feat(\([[:word:]]+\))??!?:.+$' + order: 0 + - title: Bug Fixes + regexp: '^.*?fix(\([[:word:]]+\))??!?:.+$' + order: 1 + - title: Others + order: 999 + filters: exclude: - - "^docs:" - "^test:" - "^chore:" -- 2.43.0 From 1a729fb9aead2fc217470ebac8a353ba7bf82a4c Mon Sep 17 00:00:00 2001 From: QuietEngineer Date: Sun, 7 Sep 2025 13:05:23 -0600 Subject: [PATCH] build: add commitizen for changelogs --- .cz.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .cz.yaml diff --git a/.cz.yaml b/.cz.yaml new file mode 100644 index 0000000..1ec5475 --- /dev/null +++ b/.cz.yaml @@ -0,0 +1,8 @@ +--- +commitizen: + major_version_zero: true + name: cz_conventional_commits + tag_format: v$version + update_changelog_on_bump: true + version_provider: scm + version_scheme: semver2 -- 2.43.0 From 36b51549ee2a00e3c8e487db7c578177ae002c0a Mon Sep 17 00:00:00 2001 From: QuietEngineer Date: Fri, 12 Sep 2025 16:54:41 -0600 Subject: [PATCH] chore!: use tangled pkg name --- go.mod | 2 +- main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/go.mod b/go.mod index 54b1b81..2b5b210 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/QuietEngineer/pdsadmin +module tangled.sh/quietengineer.fyi/pdsadmin go 1.23.6 diff --git a/main.go b/main.go index b18bf7b..201c2be 100644 --- a/main.go +++ b/main.go @@ -21,7 +21,7 @@ THE SOFTWARE. */ package main -import "github.com/QuietEngineer/pdsadmin/cmd" +import "tangled.sh/quietengineer.fyi/pdsadmin/cmd" func main() { cmd.Execute() -- 2.43.0