Skip to content

Commit

Permalink
rename to frizbee
Browse files Browse the repository at this point in the history
  • Loading branch information
JAORMX committed Nov 21, 2023
1 parent 1215fda commit 99a379b
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ linters-settings:
sections:
- standard
- default
- prefix(github.com/stacklok/boomerang)
- prefix(github.com/stacklok/frizbee)
revive:
# see https://github.com/mgechev/revive#available-rules for details.
ignore-generated-header: true
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Frisbee

boomerang is a tool you may throw a tag at and it comes back with a checksum.
frizbee is a tool you may throw a tag at and it comes back with a checksum.

It also includes a set of libraries for working with tags and checksums.
2 changes: 1 addition & 1 deletion cmd/ghactions/ghactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ with the latest commit hash of the referenced tag or branch.
Example:
$ boomerang ghactions -d .github/workflows
$ frizbee ghactions -d .github/workflows
This will replace all tag or branch references in all GitHub Actions workflows
for the given directory.
Expand Down
4 changes: 2 additions & 2 deletions cmd/ghactions/one.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
"github.com/google/go-github/v56/github"
"github.com/spf13/cobra"

"github.com/stacklok/boomerang/pkg/ghactions"
"github.com/stacklok/frizbee/pkg/ghactions"
)

// CmdOne represents the one sub-command
Expand All @@ -35,7 +35,7 @@ with the latest commit hash of the referenced tag or branch.
Example:
$ boomerang ghactions one actions/[email protected]
$ frizbee ghactions one actions/[email protected]
This will replace the tag or branch reference for the commit hash of the
referenced tag or branch.
Expand Down
4 changes: 2 additions & 2 deletions cmd/ghactions/replacer.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (
"github.com/spf13/cobra"
"gopkg.in/yaml.v3"

"github.com/stacklok/boomerang/pkg/ghactions"
"github.com/stacklok/boomerang/pkg/utils"
"github.com/stacklok/frizbee/pkg/ghactions"
"github.com/stacklok/frizbee/pkg/utils"
)

type replacer struct {
Expand Down
8 changes: 4 additions & 4 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Package cmd provides the boomerang command line interface.
// Package cmd provides the frizbee command line interface.
package cmd

import (
Expand All @@ -22,14 +22,14 @@ import (

"github.com/spf13/cobra"

"github.com/stacklok/boomerang/cmd/ghactions"
"github.com/stacklok/frizbee/cmd/ghactions"
)

// Execute runs the root command.
func Execute() {
var rootCmd = &cobra.Command{
Use: "boomerang",
Short: "boomerang is a tool you may throw a tag at and it comes back with a checksum",
Use: "frizbee",
Short: "frizbee is a tool you may throw a tag at and it comes back with a checksum",
}

rootCmd.AddCommand(ghactions.CmdGHActions())
Expand Down
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/stacklok/boomerang
module github.com/stacklok/frizbee

go 1.21.3

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Copyright © 2023 NAME HERE <EMAIL ADDRESS>
*/
package main

import "github.com/stacklok/boomerang/cmd"
import "github.com/stacklok/frizbee/cmd"

func main() {
cmd.Execute()
Expand Down
2 changes: 1 addition & 1 deletion pkg/ghactions/ghactions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import (
"github.com/google/go-github/v56/github"
"github.com/stretchr/testify/require"

"github.com/stacklok/boomerang/pkg/ghactions"
"github.com/stacklok/frizbee/pkg/ghactions"
)

func TestParseActionReference(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion pkg/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.

// Package utils provides utilities for boomerang
// Package utils provides utilities for frizbee
package utils

import (
Expand Down

0 comments on commit 99a379b

Please sign in to comment.