Skip to content

Commit 338298e

Browse files
committed
chore(actions): manually apply auto check (#1)
1 parent 290b451 commit 338298e

File tree

15 files changed

+37
-37
lines changed

15 files changed

+37
-37
lines changed

.github/workflows/ci-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Astrolib Continuous Integration
1+
name: Mamba Continuous Integration
22

33
on:
44
push:

.github/workflows/release-workflow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Astrolib Release
1+
name: Mamba Release
22

33
on:
44
push:

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ before:
55
# - go mod generate
66

77
builds:
8-
- id: "astrolib"
8+
- id: "mamba"
99
env:
1010
- CGO_ENABLED=0
1111
goos:

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"--fast"
55
],
66
"cSpell.words": [
7-
"astrolib",
7+
"mamba",
88
"bodyclose",
99
"chzyer",
1010
"cmds",

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# 🌟 astrolib: ___Go template for library modules___
1+
# 🌟 mamba: ___Go template for library modules___
22

33
[![A B](https://img.shields.io/badge/branching-commonflow-informational?style=flat)](https://commonflow.org)
44
[![A B](https://img.shields.io/badge/merge-rebase-informational?style=flat)](https://git-scm.com/book/en/v2/Git-Branching-Rebasing)
55
[![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)
6-
[![Go Reference](https://pkg.go.dev/badge/github.com/snivilised/astrolib.svg)](https://pkg.go.dev/github.com/snivilised/astrolib)
7-
[![Go report](https://goreportcard.com/badge/github.com/snivilised/astrolib)](https://goreportcard.com/report/github.com/snivilised/astrolib)
8-
[![Coverage Status](https://coveralls.io/repos/github/snivilised/astrolib/badge.svg?branch=main)](https://coveralls.io/github/snivilised/astrolib?branch=main&kill_cache=1)
9-
[![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)
6+
[![Go Reference](https://pkg.go.dev/badge/github.com/snivilised/mamba.svg)](https://pkg.go.dev/github.com/snivilised/mamba)
7+
[![Go report](https://goreportcard.com/badge/github.com/snivilised/mamba)](https://goreportcard.com/report/github.com/snivilised/mamba)
8+
[![Coverage Status](https://coveralls.io/repos/github/snivilised/mamba/badge.svg?branch=main)](https://coveralls.io/github/snivilised/mamba?branch=main&kill_cache=1)
9+
[![Mamba Continuous Integration](https://github.com/snivilised/mamba/actions/workflows/ci-workflow.yml/badge.svg)](https://github.com/snivilised/mamba/actions/workflows/ci-workflow.yml)
1010
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
1111
[![A B](https://img.shields.io/badge/commit-conventional-commits?style=flat)](https://www.conventionalcommits.org/)
1212

@@ -53,38 +53,38 @@ By using this template, there is no need to use the cobra-cli to scaffold your a
5353

5454
### 📝 Checklist of required changes
5555

56-
The following is list of actions that must be performed before using this template. Most of the changes concern changing the name `astrolib` to the name of the new application. As the template is instantiated from github, the new name will automatically replace the top level directory name, that being ___astrolib___.
56+
The following is list of actions that must be performed before using this template. Most of the changes concern changing the name `mamba` to the name of the new application. As the template is instantiated from github, the new name will automatically replace the top level directory name, that being ___mamba___.
5757

58-
➕ The following descriptions use owner name ___pandora___ and repo name ___maestro___ as an example. That is to say the client has instantiated ___astrolib___ template into github at url _github.com/pandora/maestro_
58+
➕ The following descriptions use owner name ___pandora___ and repo name ___maestro___ as an example. That is to say the client has instantiated ___mamba___ template into github at url _github.com/pandora/maestro_
5959

6060
#### 🤖 Automated changes
6161

6262
Automated via `automate-checklist.sh` script. When the user instantiates the repo, a github actions workflow is executed which applies changes to the clients repo automatically. The following description describes the changes that are applied on the user's behalf and the workflow is automatically deleted. However, there are other changes that should be made. These compose the manual checklist and should be heeded by the user.
6363

6464
##### ✅ Rename import statements
6565

66-
+ `rename import paths`: global search and replace ___snivilised/astrolib___ to ___pandora/maestro___
66+
+ `rename import paths`: global search and replace ___snivilised/mamba___ to ___pandora/maestro___
6767

6868
##### ✅ Identifiers
6969

70-
+ `change astrolibTemplData`: perform a refactor rename (_Rename Symbol_) to ___maestroTemplData___
70+
+ `change mambaTemplData`: perform a refactor rename (_Rename Symbol_) to ___maestroTemplData___
7171

72-
##### ✅ Global search replace astrolib to maestro
72+
##### ✅ Global search replace mamba to maestro
7373

7474
Will take care of the following required changes:
7575

7676
+ `change module name`: update the module name inside the .mod file in the root directory
7777
+ `change ApplicationName`: modify to reflect the new application name. This application name is incorporated into the name of any translation files to be loaded.
7878
+ `update BINARY_NAME`: Inside _Taskfile.yml_, change the value of ___BINARY_NAME___ to the name of the client application.
79-
+ `update github action workflows`: change the name of the workflows in the .yaml files to replace ___astrolib___ to ___Maestro___ (note the change of case, if this is important).
79+
+ `update github action workflows`: change the name of the workflows in the .yaml files to replace ___mamba___ to ___Maestro___ (note the change of case, if this is important).
8080

8181
##### ✅ Localisation/Internationalisation
8282

83-
+ `change the names of the translation files`: eg change ___astrolib.active.en-GB.json___ to ___maestro.active.en-GB.json___
83+
+ `change the names of the translation files`: eg change ___mamba.active.en-GB.json___ to ___maestro.active.en-GB.json___
8484

8585
##### ✅ Miscellaneous automated changes
8686

87-
+ `reset version files`: this is optional because the release process automatically updates the version number according to the tag specified by the user, but will initially contain the version number which reflects the current value of astrolib at the time the client project is instantiated.
87+
+ `reset version files`: this is optional because the release process automatically updates the version number according to the tag specified by the user, but will initially contain the version number which reflects the current value of mamba at the time the client project is instantiated.
8888
+ `change SOURCE_ID`: to "github.com/pandora/maestro"
8989

9090
#### 🖐 Manual changes
@@ -125,7 +125,7 @@ Of course, its up to the user what settings they use in their repo, these are ju
125125

126126
### 🌐 l10n Translations
127127

128-
This template has been setup to support localisation. The default language is `en-GB` with support for `en-US`. There is a translation file for `en-US` defined as __src/i18n/deploy/astrolib.active.en-US.json__. This is the initial translation for `en-US` that should be deployed with the app.
128+
This template has been setup to support localisation. The default language is `en-GB` with support for `en-US`. There is a translation file for `en-US` defined as __src/i18n/deploy/mamba.active.en-US.json__. This is the initial translation for `en-US` that should be deployed with the app.
129129

130130
Make sure that the go-i18n package has been installed so that it can be invoked as cli, see [go-i18n](https://github.com/nicksnyder/go-i18n) for installation instructions.
131131

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v0.3.4
1+
v0.1.0

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/snivilised/astrolib
1+
module github.com/snivilised/mamba
22

33
go 1.26.0
44

locale/messages-errors.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ import (
1313
// that this message has been removed from the translation files, so
1414
// it is not useable at run time.
1515
type FooBarTemplData struct {
16-
astrolibTemplData
16+
mambaTemplData
1717
Path string
1818
Reason error
1919
}
2020

21-
// the ID should use spp/library specific code, so replace astrolib with the
21+
// the ID should use spp/library specific code, so replace mamba with the
2222
// name of the library implementing this template project.
2323
func (td FooBarTemplData) Message() *i18n.Message {
2424
return &i18n.Message{
25-
ID: "foo-bar.astrolib.nav",
25+
ID: "foo-bar.mamba.nav",
2626
Description: "Foo Bar description",
2727
Other: "foo bar failure '{{.Path}}' (reason: {{.Reason}})",
2828
}

0 commit comments

Comments
 (0)