From d37e0c08f37f44fcfbeebd234caaea84c7524c26 Mon Sep 17 00:00:00 2001 From: plastikfan Date: Wed, 13 Nov 2024 17:32:11 +0000 Subject: [PATCH] chore: auto check --- .github/workflows/ci-workflow.yml | 2 +- .github/workflows/release-workflow.yml | 2 +- .goreleaser.yaml | 2 +- README.md | 12 ++++++------ VERSION | 2 +- go.mod | 2 +- ...ib.active.en-GB.json => honour.active.en-GB.json} | 0 ...ib.active.en-US.json => honour.active.en-US.json} | 0 locale/messages-errors.go | 2 +- locale/messages-general.go | 2 +- ...nslate.en-US.json => honour.translate.en-US.json} | 0 locale/translate-defs.go | 6 +++--- 12 files changed, 16 insertions(+), 16 deletions(-) rename locale/default/{astrolib.active.en-GB.json => honour.active.en-GB.json} (100%) rename locale/deploy/{astrolib.active.en-US.json => honour.active.en-US.json} (100%) rename locale/out/en-US/{astrolib.translate.en-US.json => honour.translate.en-US.json} (100%) diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml index 62e1bd9..b9dd007 100644 --- a/.github/workflows/ci-workflow.yml +++ b/.github/workflows/ci-workflow.yml @@ -1,4 +1,4 @@ -name: Astrolib Continuous Integration +name: Honour Continuous Integration on: push: diff --git a/.github/workflows/release-workflow.yml b/.github/workflows/release-workflow.yml index 22ec830..7c57665 100644 --- a/.github/workflows/release-workflow.yml +++ b/.github/workflows/release-workflow.yml @@ -1,4 +1,4 @@ -name: Astrolib Release +name: Honour Release on: push: diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 6edce4e..84de475 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -5,7 +5,7 @@ before: # - go mod generate builds: - - id: "astrolib" + - id: "honour" env: - CGO_ENABLED=0 goos: diff --git a/README.md b/README.md index b66ad24..2322025 100644 --- a/README.md +++ b/README.md @@ -1,12 +1,12 @@ -# 🌟 astrolib: ___Go template for library modules___ +# 🌟 honour: ___Go template for library modules___ [![A B](https://img.shields.io/badge/branching-commonflow-informational?style=flat)](https://commonflow.org) [![A B](https://img.shields.io/badge/merge-rebase-informational?style=flat)](https://git-scm.com/book/en/v2/Git-Branching-Rebasing) [![A B](https://img.shields.io/badge/branch%20history-linear-blue?style=flat)](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/managing-a-branch-protection-rule) -[![Go Reference](https://pkg.go.dev/badge/github.com/snivilised/astrolib.svg)](https://pkg.go.dev/github.com/snivilised/astrolib) -[![Go report](https://goreportcard.com/badge/github.com/snivilised/astrolib)](https://goreportcard.com/report/github.com/snivilised/astrolib) -[![Coverage Status](https://coveralls.io/repos/github/snivilised/astrolib/badge.svg?branch=main)](https://coveralls.io/github/snivilised/astrolib?branch=main&kill_cache=1) -[![Astrolib Continuous Integration](https://github.com/snivilised/astrolib/actions/workflows/ci-workflow.yml/badge.svg)](https://github.com/snivilised/astrolib/actions/workflows/ci-workflow.yml) +[![Go Reference](https://pkg.go.dev/badge/github.com/snivilised/honour.svg)](https://pkg.go.dev/github.com/snivilised/honour) +[![Go report](https://goreportcard.com/badge/github.com/snivilised/honour)](https://goreportcard.com/report/github.com/snivilised/honour) +[![Coverage Status](https://coveralls.io/repos/github/snivilised/honour/badge.svg?branch=main)](https://coveralls.io/github/snivilised/honour?branch=main&kill_cache=1) +[![Astrolib Continuous Integration](https://github.com/snivilised/honour/actions/workflows/ci-workflow.yml/badge.svg)](https://github.com/snivilised/honour/actions/workflows/ci-workflow.yml) [![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit) [![A B](https://img.shields.io/badge/commit-conventional-commits?style=flat)](https://www.conventionalcommits.org/) @@ -63,7 +63,7 @@ Automated via `automate-checklist.sh` script. When the user instantiates the rep ##### ✅ Rename import statements -+ `rename import paths`: global search and replace ___snivilised/astrolib___ to ___pandora/maestro___ ++ `rename import paths`: global search and replace ___snivilised/honour___ to ___pandora/maestro___ ##### ✅ Identifiers diff --git a/VERSION b/VERSION index f54b243..b82608c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.3.4 +v0.1.0 diff --git a/go.mod b/go.mod index 804cf33..d2e5922 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/snivilised/astrolib +module github.com/snivilised/honour go 1.23.0 diff --git a/locale/default/astrolib.active.en-GB.json b/locale/default/honour.active.en-GB.json similarity index 100% rename from locale/default/astrolib.active.en-GB.json rename to locale/default/honour.active.en-GB.json diff --git a/locale/deploy/astrolib.active.en-US.json b/locale/deploy/honour.active.en-US.json similarity index 100% rename from locale/deploy/astrolib.active.en-US.json rename to locale/deploy/honour.active.en-US.json diff --git a/locale/messages-errors.go b/locale/messages-errors.go index 861a6ce..2a35119 100644 --- a/locale/messages-errors.go +++ b/locale/messages-errors.go @@ -13,7 +13,7 @@ import ( // that this message has been removed from the translation files, so // it is not useable at run time. type FooBarTemplData struct { - astrolibTemplData + honourTemplData Path string Reason error } diff --git a/locale/messages-general.go b/locale/messages-general.go index 3614a5a..595ffa4 100644 --- a/locale/messages-general.go +++ b/locale/messages-general.go @@ -5,7 +5,7 @@ import ( ) type UsingConfigFileTemplData struct { - astrolibTemplData + honourTemplData ConfigFileName string } diff --git a/locale/out/en-US/astrolib.translate.en-US.json b/locale/out/en-US/honour.translate.en-US.json similarity index 100% rename from locale/out/en-US/astrolib.translate.en-US.json rename to locale/out/en-US/honour.translate.en-US.json diff --git a/locale/translate-defs.go b/locale/translate-defs.go index 3545fe1..4f3d3ca 100644 --- a/locale/translate-defs.go +++ b/locale/translate-defs.go @@ -2,10 +2,10 @@ package locale // CLIENT-TODO: Should be updated to use url of the implementing project, // so should not be left as astrolib. (this should be set by auto-check) -const AstrolibSourceID = "github.com/snivilised/astrolib" +const AstrolibSourceID = "github.com/snivilised/honour" -type astrolibTemplData struct{} +type honourTemplData struct{} -func (td astrolibTemplData) SourceID() string { +func (td honourTemplData) SourceID() string { return AstrolibSourceID }