Skip to content

Commit 1471a4e

Browse files
authored
chore: upgrade to go 1.25, rename module to fwdcloudsec (#913)
* chore: upgrade to go 1.25, rename module to fwdcloudsec Upgrade Go from 1.23 to 1.25.5. Rename module path from github.com/common-fate/granted to github.com/fwdcloudsec/granted across the entire codebase. * fix: add shellcheck SC3012 disable for zsh-specific comparison
1 parent 75a4b14 commit 1471a4e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+146
-148
lines changed

.github/DISCUSSION_TEMPLATE/issue-triage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ body:
44
attributes:
55
value: |
66
> [!IMPORTANT]
7-
> Please read through [the code of conduct](https://github.com/common-fate/granted/blob/main/CODE_OF_CONDUCT.md), and check for both existing [Discussions](https://github.com/common-fate/granted/discussions?discussions_q=) and [Issues](https://github.com/common-fate/granted/issues?q=sort%3Areactions-desc) prior to opening a new Discussion.
7+
> Please read through [the code of conduct](https://github.com/fwdcloudsec/granted/blob/main/CODE_OF_CONDUCT.md), and check for both existing [Discussions](https://github.com/fwdcloudsec/granted/discussions?discussions_q=) and [Issues](https://github.com/fwdcloudsec/granted/issues?q=sort%3Areactions-desc) prior to opening a new Discussion.
88
- type: markdown
99
attributes:
1010
value: "# Issue Details"
@@ -113,7 +113,7 @@ body:
113113
value: |
114114
# User Acknowledgements
115115
> [!TIP]
116-
> Use these links to review the existing Granted [Discussions](https://github.com/common-fate/granted/discussions?discussions_q=) and [Issues](https://github.com/common-fate/granted/issues?q=sort%3Areactions-desc).
116+
> Use these links to review the existing Granted [Discussions](https://github.com/fwdcloudsec/granted/discussions?discussions_q=) and [Issues](https://github.com/fwdcloudsec/granted/issues?q=sort%3Areactions-desc).
117117
- type: checkboxes
118118
attributes:
119119
label: "I acknowledge that:"

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: Features, Bug Reports, Questions
4-
url: https://github.com/common-fate/granted/discussions/new/choose
4+
url: https://github.com/fwdcloudsec/granted/discussions/new/choose
55
about: Our preferred starting point if you have any questions or suggestions about configuration, features or behavior.

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
golang 1.22
1+
golang 1.25.5

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Granted is a command line interface (CLI) application which simplifies access to
3434

3535
Granted supports MacOS, Linux, and Windows. Our Windows support is less extensively tested than other platforms so if you run into any problems please [let us know](https://join.slack.com/t/commonfatecommunity/shared_invite/zt-q4m96ypu-_gYlRWD3k5rIsaSsqP7QMg).
3636

37-
Currently Granted supports accessing roles in AWS. If you'd like to see support for another cloud provider please [open an issue](https://github.com/common-fate/granted/issues/new)!
37+
Currently Granted supports accessing roles in AWS. If you'd like to see support for another cloud provider please [open an issue](https://github.com/fwdcloudsec/granted/issues/new)!
3838

3939
## Documentation
4040

cmd/granted/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ import (
1010

1111
"github.com/common-fate/clio"
1212
"github.com/common-fate/clio/clierr"
13-
"github.com/common-fate/granted/pkg/assume"
14-
"github.com/common-fate/granted/pkg/granted"
13+
"github.com/fwdcloudsec/granted/pkg/assume"
14+
"github.com/fwdcloudsec/granted/pkg/granted"
1515
"github.com/urfave/cli/v2"
1616
)
1717

cmd/testing/creds/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"fmt"
77
"os"
88

9-
"github.com/common-fate/granted/pkg/cfaws"
9+
"github.com/fwdcloudsec/granted/pkg/cfaws"
1010
)
1111

1212
type opts struct {

go.mod

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
module github.com/common-fate/granted
1+
module github.com/fwdcloudsec/granted
22

3-
go 1.23.0
4-
5-
toolchain go1.24.2
3+
go 1.25.5
64

75
require (
86
github.com/99designs/keyring v1.2.2

pkg/alias/alias.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ import (
1515

1616
"github.com/AlecAivazis/survey/v2"
1717
"github.com/common-fate/clio"
18-
"github.com/common-fate/granted/internal/build"
19-
"github.com/common-fate/granted/pkg/shells"
18+
"github.com/fwdcloudsec/granted/internal/build"
19+
"github.com/fwdcloudsec/granted/pkg/shells"
2020
"github.com/fatih/color"
2121
)
2222

pkg/assume/assume.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,15 +21,15 @@ import (
2121
"github.com/common-fate/clio"
2222
"github.com/common-fate/clio/ansi"
2323
"github.com/common-fate/clio/clierr"
24-
"github.com/common-fate/granted/pkg/assumeprint"
25-
"github.com/common-fate/granted/pkg/browser"
26-
"github.com/common-fate/granted/pkg/cfaws"
27-
"github.com/common-fate/granted/pkg/config"
28-
"github.com/common-fate/granted/pkg/console"
29-
"github.com/common-fate/granted/pkg/forkprocess"
30-
"github.com/common-fate/granted/pkg/launcher"
31-
"github.com/common-fate/granted/pkg/testable"
32-
cfflags "github.com/common-fate/granted/pkg/urfav_overrides"
24+
"github.com/fwdcloudsec/granted/pkg/assumeprint"
25+
"github.com/fwdcloudsec/granted/pkg/browser"
26+
"github.com/fwdcloudsec/granted/pkg/cfaws"
27+
"github.com/fwdcloudsec/granted/pkg/config"
28+
"github.com/fwdcloudsec/granted/pkg/console"
29+
"github.com/fwdcloudsec/granted/pkg/forkprocess"
30+
"github.com/fwdcloudsec/granted/pkg/launcher"
31+
"github.com/fwdcloudsec/granted/pkg/testable"
32+
cfflags "github.com/fwdcloudsec/granted/pkg/urfav_overrides"
3333
"github.com/fatih/color"
3434
"github.com/hako/durafmt"
3535
"github.com/urfave/cli/v2"
@@ -102,7 +102,7 @@ func AssumeCommand(c *cli.Context) error {
102102

103103
if assumeFlags.String("exec") != "" && runtime.GOOS == "windows" {
104104
return clierr.New("--exec flag is not currently supported on Windows",
105-
clierr.Info("Let us know if you'd like support for this by creating an issue on our Github repo: https://github.com/common-fate/granted/issues/new"),
105+
clierr.Info("Let us know if you'd like support for this by creating an issue on our Github repo: https://github.com/fwdcloudsec/granted/issues/new"),
106106
)
107107
}
108108

pkg/assume/completion.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"strings"
77

88
"github.com/common-fate/clio"
9-
"github.com/common-fate/granted/pkg/cfaws"
10-
"github.com/common-fate/granted/pkg/console"
9+
"github.com/fwdcloudsec/granted/pkg/cfaws"
10+
"github.com/fwdcloudsec/granted/pkg/console"
1111
"github.com/urfave/cli/v2"
1212
)
1313

0 commit comments

Comments
 (0)