Skip to content

Commit

Permalink
chore: auto check (#1)
Browse files Browse the repository at this point in the history
  • Loading branch information
plastikfan committed Aug 11, 2024
1 parent f6cef19 commit 62b02c4
Show file tree
Hide file tree
Showing 13 changed files with 17 additions and 260 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Astrolib Continuous Integration
name: Pants Continuous Integration
on:
push:

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Astrolib Release
name: Pants Release

on:
push:
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ before:
# - go mod generate

builds:
- id: "astrolib"
- id: "pants"
env:
- CGO_ENABLED=0
goos:
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# 🌟 astrolib: ___Go template for library modules___
# 🌟 pants: ___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/pants.svg)](https://pkg.go.dev/github.com/snivilised/pants)
[![Go report](https://goreportcard.com/badge/github.com/snivilised/pants)](https://goreportcard.com/report/github.com/snivilised/pants)
[![Coverage Status](https://coveralls.io/repos/github/snivilised/pants/badge.svg?branch=main)](https://coveralls.io/github/snivilised/pants?branch=main&kill_cache=1)
[![Astrolib Continuous Integration](https://github.com/snivilised/pants/actions/workflows/ci-workflow.yml/badge.svg)](https://github.com/snivilised/pants/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/)

Expand Down Expand Up @@ -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/pants___ to ___pandora/maestro___

##### ✅ Identifiers

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v0.3.4
v0.1.0
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/snivilised/astrolib
module github.com/snivilised/pants

go 1.22.0

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion i18n/messages-errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
// that this message has been removed from the translation files, so
// it is not useable at run time.
type FooBarTemplData struct {
astrolibTemplData
pantsTemplData
Path string
Reason error
}
Expand Down
2 changes: 1 addition & 1 deletion i18n/messages-general.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
)

type UsingConfigFileTemplData struct {
astrolibTemplData
pantsTemplData
ConfigFileName string
}

Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions i18n/translate-defs.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ package i18n

// 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 PantsSourceID = "github.com/snivilised/pants"

type astrolibTemplData struct{}
type pantsTemplData struct{}

func (td astrolibTemplData) SourceID() string {
return AstrolibSourceID
func (td pantsTemplData) SourceID() string {
return PantsSourceID
}
243 changes: 0 additions & 243 deletions scripts/automate-checklist.sh

This file was deleted.

0 comments on commit 62b02c4

Please sign in to comment.