Skip to content

Commit

Permalink
chore: rename govgen org (#4)
Browse files Browse the repository at this point in the history
* chore: rename govgen org

* other renames

* fix typo
  • Loading branch information
tbruyelle authored Feb 5, 2024
1 parent dfc215b commit 221bd1a
Show file tree
Hide file tree
Showing 27 changed files with 49 additions and 49 deletions.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ please add links to any relevant follow up issues.*
I have...

- [ ] included the correct `docs:` prefix in the PR title
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/govgen/govgen/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] targeted the correct branch (see [PR Targeting](https://github.com/atomone-hub/govgen/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] provided a link to the relevant issue or specification
- [ ] reviewed "Files changed" and left comments if necessary
- [ ] confirmed all CI checks have passed
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE/others.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ please add links to any relevant follow up issues.*
I have...

- [ ] Included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
- [ ] Targeted the correct branch (see [PR Targeting](https://github.com/govgen/govgen/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] Targeted the correct branch (see [PR Targeting](https://github.com/atomone-hub/govgen/blob/main/CONTRIBUTING.md#pr-targeting))
- [ ] Provided a link to the relevant issue or specification
- [ ] Reviewed "Files changed" and left comments if necessary <!-- relevant if the changes are not obvious -->
- [ ] Confirmed all CI checks have passed
Expand Down
4 changes: 2 additions & 2 deletions .github/PULL_REQUEST_TEMPLATE/production.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ I have...

* [ ] Included the correct [type prefix](https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.json) in the PR title
* [ ] Added `!` to the type prefix if API, client, or state breaking change (i.e., requires minor or major version bump)
* [ ] Targeted the correct branch (see [PR Targeting](https://github.com/govgen/govgen/blob/main/CONTRIBUTING.md#pr-targeting))
* [ ] Targeted the correct branch (see [PR Targeting](https://github.com/atomone-hub/govgen/blob/main/CONTRIBUTING.md#pr-targeting))
* [ ] Provided a link to the relevant issue or specification
* [ ] Followed the guidelines for [building SDK modules](https://github.com/cosmos/cosmos-sdk/blob/main/docs/docs/building-modules)
* [ ] Included the necessary unit and integration [tests](https://github.com/govgen/govgen/blob/main/CONTRIBUTING.md#testing)
* [ ] Included the necessary unit and integration [tests](https://github.com/atomone-hub/govgen/blob/main/CONTRIBUTING.md#testing)
* [ ] Added a changelog entry in `.changelog` (for details, see [contributing guidelines](../../CONTRIBUTING.md#changelog))
* [ ] Included comments for [documenting Go code](https://blog.golang.org/godoc)
* [ ] Updated the relevant documentation or specification
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nightly-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ on:
jobs:

run-tests:
uses: govgen/govgen/.github/workflows/test.yml@main
uses: atomone-hub/govgen/.github/workflows/test.yml@main

run-simulations:
uses: govgen/govgen/.github/workflows/sims.yml@main
uses: atomone-hub/govgen/.github/workflows/sims.yml@main

run-vulncheck:
runs-on: ubuntu-latest
Expand Down
14 changes: 7 additions & 7 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,12 @@ chance of getting changes merged into the codebase.

To ensure a smooth workflow for all contributors, a general procedure for contributing has been established.

1. Start by browsing [existing issues](https://github.com/govgen/govgen/issues) and [discussions](https://github.com/govgen/govgen/discussions). If you are looking for something interesting or if you have something in your mind, there is a chance it had been discussed.
* Looking for a good place to start contributing? How about checking out some [good first issues](https://github.com/govgen/govgen/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) or [bugs](https://github.com/govgen/govgen/issues?q=is%3Aopen+is%3Aissue+label%3Abug)?
1. Start by browsing [existing issues](https://github.com/atomone-hub/govgen/issues) and [discussions](https://github.com/atomone-hub/govgen/discussions). If you are looking for something interesting or if you have something in your mind, there is a chance it had been discussed.
* Looking for a good place to start contributing? How about checking out some [good first issues](https://github.com/atomone-hub/govgen/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22) or [bugs](https://github.com/atomone-hub/govgen/issues?q=is%3Aopen+is%3Aissue+label%3Abug)?
2. Determine whether a GitHub issue or discussion is more appropriate for your needs:
1. If you want to propose something new that requires specification or an additional design, or you would like to change a process, start with a [new discussion](https://github.com/govgen/govgen/discussions/new/choose). With discussions, we can better handle the design process using discussion threads. A discussion usually leads to one or more issues.
2. If the issue you want addressed is a specific proposal or a bug, then open a [new issue](https://github.com/govgen/govgen/issues/new/choose).
3. Review existing [issues](https://github.com/govgen/govgen/issues) to find an issue you'd like to help with.
1. If you want to propose something new that requires specification or an additional design, or you would like to change a process, start with a [new discussion](https://github.com/atomone-hub/govgen/discussions/new/choose). With discussions, we can better handle the design process using discussion threads. A discussion usually leads to one or more issues.
2. If the issue you want addressed is a specific proposal or a bug, then open a [new issue](https://github.com/atomone-hub/govgen/issues/new/choose).
3. Review existing [issues](https://github.com/atomone-hub/govgen/issues) to find an issue you'd like to help with.
3. Participate in thoughtful discussion on that issue.
4. If you would like to contribute:
1. Ensure that the proposal has been accepted.
Expand All @@ -88,11 +88,11 @@ We use self-organizing principles to coordinate and collaborate across organizat

## Architecture Decision Records (ADR)

When proposing an architecture decision for GovGen, please start by opening an [issue](https://github.com/govgen/govgen/issues/new/choose) or a [discussion](https://github.com/govgen/govgen/discussions/new) with a summary of the proposal. Once the proposal has been discussed and there is rough alignment on a high-level approach to the design, you may either start development, or write an ADR.
When proposing an architecture decision for GovGen, please start by opening an [issue](https://github.com/atomone-hub/govgen/issues/new/choose) or a [discussion](https://github.com/atomone-hub/govgen/discussions/new) with a summary of the proposal. Once the proposal has been discussed and there is rough alignment on a high-level approach to the design, you may either start development, or write an ADR.

If your architecture decision is a simple change, you may contribute directly without writing an ADR. However, if you are proposing a significant change, please include a corresponding ADR.

To create an ADR, follow the [template](./docs/architecture/adr-template.md) and [doc](./docs/architecture/README.md). If you would like to see examples of how these are written, please refer to the current [ADRs](https://github.com/govgen/govgen/tree/main/docs/architecture).
To create an ADR, follow the [template](./docs/architecture/adr-template.md) and [doc](./docs/architecture/README.md). If you would like to see examples of how these are written, please refer to the current [ADRs](https://github.com/atomone-hub/govgen/tree/main/docs/architecture).

## Development Procedure

Expand Down
2 changes: 1 addition & 1 deletion ante/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types"

"github.com/govgen/govgen/v1/types/errors"
"github.com/atomone-hub/govgen/v1/types/errors"
)

// HandlerOptions extend the SDK's AnteHandler options by requiring the IBC
Expand Down
6 changes: 3 additions & 3 deletions ante/fee_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ import (
"github.com/cosmos/cosmos-sdk/types/tx/signing"
xauthsigning "github.com/cosmos/cosmos-sdk/x/auth/signing"

"github.com/govgen/govgen/v1/ante"
govgenapp "github.com/govgen/govgen/v1/app"
govgenhelpers "github.com/govgen/govgen/v1/app/helpers"
"github.com/atomone-hub/govgen/v1/ante"
govgenapp "github.com/atomone-hub/govgen/v1/app"
govgenhelpers "github.com/atomone-hub/govgen/v1/app/helpers"
)

type FeeIntegrationTestSuite struct {
Expand Down
2 changes: 1 addition & 1 deletion ante/gov_ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
govkeeper "github.com/cosmos/cosmos-sdk/x/gov/keeper"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"

"github.com/govgen/govgen/v1/types/errors"
"github.com/atomone-hub/govgen/v1/types/errors"
)

// initial deposit must be greater than or equal to 1% of the minimum deposit
Expand Down
6 changes: 3 additions & 3 deletions ante/gov_ante_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"

"github.com/govgen/govgen/v1/ante"
govgenapp "github.com/govgen/govgen/v1/app"
govgenhelpers "github.com/govgen/govgen/v1/app/helpers"
"github.com/atomone-hub/govgen/v1/ante"
govgenapp "github.com/atomone-hub/govgen/v1/app"
govgenhelpers "github.com/atomone-hub/govgen/v1/app/helpers"
)

var (
Expand Down
8 changes: 4 additions & 4 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

govgenante "github.com/govgen/govgen/v1/ante"
"github.com/govgen/govgen/v1/app/keepers"
govgenappparams "github.com/govgen/govgen/v1/app/params"
"github.com/govgen/govgen/v1/app/upgrades"
govgenante "github.com/atomone-hub/govgen/v1/ante"
"github.com/atomone-hub/govgen/v1/app/keepers"
govgenappparams "github.com/atomone-hub/govgen/v1/app/params"
"github.com/atomone-hub/govgen/v1/app/upgrades"
)

var (
Expand Down
4 changes: 2 additions & 2 deletions app/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
govtypes "github.com/cosmos/cosmos-sdk/x/gov/types"

govgen "github.com/govgen/govgen/v1/app"
govgenhelpers "github.com/govgen/govgen/v1/app/helpers"
govgen "github.com/atomone-hub/govgen/v1/app"
govgenhelpers "github.com/atomone-hub/govgen/v1/app/helpers"
)

type EmptyAppOptions struct{}
Expand Down
2 changes: 1 addition & 1 deletion app/encoding.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package govgen
import (
"github.com/cosmos/cosmos-sdk/std"

"github.com/govgen/govgen/v1/app/params"
"github.com/atomone-hub/govgen/v1/app/params"
)

// MakeTestEncodingConfig creates an EncodingConfig for testing. This function
Expand Down
2 changes: 1 addition & 1 deletion app/helpers/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import (
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

govgenapp "github.com/govgen/govgen/v1/app"
govgenapp "github.com/atomone-hub/govgen/v1/app"
)

// SimAppChainID hardcoded chainID for simulation
Expand Down
2 changes: 1 addition & 1 deletion app/modules.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import (
upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

govgenappparams "github.com/govgen/govgen/v1/app/params"
govgenappparams "github.com/atomone-hub/govgen/v1/app/params"
)

var maccPerms = map[string][]string{
Expand Down
2 changes: 1 addition & 1 deletion app/sim/sim_state.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

govgen "github.com/govgen/govgen/v1/app"
govgen "github.com/atomone-hub/govgen/v1/app"
)

// AppStateFn returns the initial application state using a genesis or the simulation parameters.
Expand Down
2 changes: 1 addition & 1 deletion app/sim/sim_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (
"github.com/cosmos/cosmos-sdk/types/module"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"

govgen "github.com/govgen/govgen/v1/app"
govgen "github.com/atomone-hub/govgen/v1/app"
)

// SetupSimulation creates the config, db (levelDB), temporary directory and logger for
Expand Down
8 changes: 4 additions & 4 deletions app/sim_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ import (
simulation2 "github.com/cosmos/cosmos-sdk/types/simulation"
"github.com/cosmos/cosmos-sdk/x/simulation"

govgen "github.com/govgen/govgen/v1/app"
"github.com/govgen/govgen/v1/app/helpers"
"github.com/govgen/govgen/v1/app/params"
"github.com/govgen/govgen/v1/app/sim"
govgen "github.com/atomone-hub/govgen/v1/app"
"github.com/atomone-hub/govgen/v1/app/helpers"
"github.com/atomone-hub/govgen/v1/app/params"
"github.com/atomone-hub/govgen/v1/app/sim"
)

func init() {
Expand Down
2 changes: 1 addition & 1 deletion app/upgrades/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/cosmos/cosmos-sdk/types/module"
upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types"

"github.com/govgen/govgen/v1/app/keepers"
"github.com/atomone-hub/govgen/v1/app/keepers"
)

// Upgrade defines a struct containing necessary fields that a SoftwareUpgradeProposal
Expand Down
2 changes: 1 addition & 1 deletion cmd/govgend/cmd/bech32_convert.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/spf13/cobra"

addressutil "github.com/govgen/govgen/v1/pkg/address"
addressutil "github.com/atomone-hub/govgen/v1/pkg/address"
)

var flagBech32Prefix = "prefix"
Expand Down
4 changes: 2 additions & 2 deletions cmd/govgend/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ import (
"github.com/cosmos/cosmos-sdk/x/crisis"
genutilcli "github.com/cosmos/cosmos-sdk/x/genutil/client/cli"

govgen "github.com/govgen/govgen/v1/app"
"github.com/govgen/govgen/v1/app/params"
govgen "github.com/atomone-hub/govgen/v1/app"
"github.com/atomone-hub/govgen/v1/app/params"
)

// NewRootCmd creates a new root command for simd. It is called once in the
Expand Down
4 changes: 2 additions & 2 deletions cmd/govgend/cmd/root_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (

svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"

app "github.com/govgen/govgen/v1/app"
"github.com/govgen/govgen/v1/cmd/govgend/cmd"
app "github.com/atomone-hub/govgen/v1/app"
"github.com/atomone-hub/govgen/v1/cmd/govgend/cmd"
)

func TestRootCmdConfig(t *testing.T) {
Expand Down
4 changes: 2 additions & 2 deletions cmd/govgend/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"github.com/cosmos/cosmos-sdk/server"
svrcmd "github.com/cosmos/cosmos-sdk/server/cmd"

app "github.com/govgen/govgen/v1/app"
"github.com/govgen/govgen/v1/cmd/govgend/cmd"
app "github.com/atomone-hub/govgen/v1/app"
"github.com/atomone-hub/govgen/v1/cmd/govgend/cmd"
)

func main() {
Expand Down
2 changes: 1 addition & 1 deletion contrib/Dockerfile.test
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ FROM golang:1.20-alpine AS build-env
ENV PACKAGES curl make git libc-dev bash gcc linux-headers eudev-dev python3

# Set working directory for the build
WORKDIR /go/src/github.com/govgen/govgen
WORKDIR /go/src/github.com/atomone-hub/govgen

# Add source files
COPY . .
Expand Down
2 changes: 1 addition & 1 deletion contrib/githooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if [[ $STAGED_GO_FILES != "" ]]; then

gofmt -w -s $file
misspell -w $file
goimports -w -local github.com/govgen/govgen $file
goimports -w -local github.com/atomone-hub/govgen $file
git add $file

done
Expand Down
2 changes: 1 addition & 1 deletion contrib/githooks/precommit
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if [[ $STAGED_GO_FILES != "" ]]; then

gofmt -w -s $file
misspell -w $file
goimports -w -local github.com/govgen/govgen $file
goimports -w -local github.com/atomone-hub/govgen $file
git add $file

done
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/govgen/govgen/v1
module github.com/atomone-hub/govgen/v1

go 1.20

Expand Down
2 changes: 1 addition & 1 deletion proto/scripts/protocgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@ Mgoogle/protobuf/any.proto=github.com/cosmos/cosmos-sdk/codec/types:. \
done

# move proto files to the right places
cp -r github.com/govgen/govgen/x/* x/
cp -r github.com/atomone-hub/govgen/x/* x/
rm -rf github.com

0 comments on commit 221bd1a

Please sign in to comment.