Skip to content

Commit

Permalink
Merge branch 'main' into update/prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
Pantani authored Dec 5, 2023
2 parents 7dfb546 + 64b6aa4 commit 39775e5
Show file tree
Hide file tree
Showing 331 changed files with 1,002 additions and 997 deletions.
10 changes: 6 additions & 4 deletions .github/ISSUE_TEMPLATE/release-tracker.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,21 @@ v without deliberation
<!-- List of tests that need be performed with previous
versions of cli to guarantee that no regression is introduced -->


### Other testing

## Migration
## Migration

<!-- Link to migration document -->

## Checklist

<!-- Remove any items that are not applicable. -->

- [ ] Branch off main to create release branch in the form of `release/vx.y.z`.
- [ ] Add branch protection rules to new release branch.
- [ ] Update Ignite CLI version (see [#3793](https://github.com/ignite/cli/pull/3793) for example):
- [ ] Rename module version in go.mod to `/vXX` (where `XX` is the new version number).
- [ ] Update plugins go plush, protos and re-generate them
- [ ] Update documentation links (docs/docs)
- [ ] Update GitHub actions, goreleaser and other CI/CD scripts

## Post-release checklist

Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/release-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ name: Release nightly

on:
workflow_dispatch:
branches:
- main
push:
branches:
- main
Expand All @@ -16,13 +14,13 @@ jobs:
consecutiveness:
runs-on: ubuntu-latest
steps:
- uses: ignite/consecutive-workflow-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: ignite/consecutive-workflow-action@main
with:
token: ${{ secrets.GITHUB_TOKEN }}

release-nightly:
runs-on: ubuntu-latest
needs: [ consecutiveness ]
needs: [consecutiveness]
env:
working-directory: go/src/github.com/ignite/cli

Expand Down Expand Up @@ -70,5 +68,5 @@ jobs:
release_name: "nightly"
goos: ${{ matrix.goos }}
goarch: ${{ matrix.goarch }}
ldflags: -s -w -X github.com/ignite/cli/ignite/version.Version=nightly
ldflags: -s -w -X github.com/ignite/cli/v28/ignite/version.Version=nightly
retry: 10
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ project_name: ignite
builds:
- main: ./ignite/cmd/ignite
ldflags:
- -s -w -X github.com/ignite/cli/ignite/version.Version={{.Tag}}
- -s -w -X github.com/ignite/cli/v28/ignite/version.Version={{.Tag}}
goos:
- linux
- darwin
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ govulncheck:
format:
@echo Formatting...
@go run mvdan.cc/gofumpt -w .
@go run golang.org/x/tools/cmd/goimports -w -local github.com/ignite/cli .
@go run golang.org/x/tools/cmd/goimports -w -local github.com/ignite/cli/v28 .
@go run github.com/tbruyelle/mdgofmt/cmd/mdgofmt -w docs

## lint: Run Golang CI Lint.
Expand All @@ -64,7 +64,7 @@ lint-fix:
.PHONY: govet format lint

## proto-all: Format, lint and generate code from proto files using buf.
proto-all: proto-format proto-lint proto-gen
proto-all: proto-format proto-lint proto-gen format

## proto-gen: Run buf generate.
proto-gen:
Expand Down
7 changes: 4 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@

### Changes

- [#3793](https://github.com/ignite/cli/pull/3793) Refactor Ignite to follow semantic versioning (prepares v28.0.0). If you are using packages, do not forget to import the `/v28` version of the packages.
- [#3529](https://github.com/ignite/cli/pull/3529) Refactor plugin system to use gRPC
- [#3750](https://github.com/ignite/cli/pull/3750) Update default Ignite network app to `v0.2.0`
- [#3751](https://github.com/ignite/cli/pull/3751) Rename label to skip changelog check
- [#3745](https://github.com/ignite/cli/pull/3745) Set tx fee amount as option
- [#3748](https://github.com/ignite/cli/pull/3748) Change default rpc endpoint to a working one
- [#3621](https://github.com/ignite/cli/pull/3621) Change `pkg/availableport` to allow custom parameters in `Find` function and handle duplicated ports
- [#3559](https://github.com/ignite/cli/pull/3559) Bump network plugin version to `v0.1.1`
- [#3810](https://github.com/ignite/cli/pull/3810) Bump network app version to `v0.2.1`
- [#3581](https://github.com/ignite/cli/pull/3581) Bump cometbft and cometbft-db in the template
- [#3522](https://github.com/ignite/cli/pull/3522) Remove indentation from `chain serve` output
- [#3346](https://github.com/ignite/cli/issues/3346) Improve scaffold query --help
Expand Down Expand Up @@ -55,6 +55,7 @@
- [#3728](https://github.com/ignite/cli/pull/3728) Fix wrong parser for proto package names
- [#3729](https://github.com/ignite/cli/pull/3729) Fix broken generator due to caching /tmp include folders
- [#3767](https://github.com/ignite/cli/pull/3767) Fix `v0.50` ibc genesis issue
- [#3808](https://github.com/ignite/cli/pull/3808) Correct TS code generation to generate paginated fields

## [`v0.27.2`](https://github.com/ignite/cli/releases/tag/v0.27.2)

Expand Down Expand Up @@ -790,4 +791,4 @@ Our new name is **Ignite CLI**!

## `v0.0.9`

Initial release.
Initial release.
2 changes: 1 addition & 1 deletion docs/docs/03-clients/01-go-client.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ import (
"log"

// Importing the general purpose Cosmos blockchain client
"github.com/ignite/cli/ignite/pkg/cosmosclient"
"github.com/ignite/cli/v28/ignite/pkg/cosmosclient"

// Importing the types package of your blog blockchain
"blog/x/blog/types"
Expand Down
8 changes: 4 additions & 4 deletions docs/docs/07-packages/cosmostxcollector.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ import (
"context"
"log"

"github.com/ignite/cli/ignite/pkg/clictx"
"github.com/ignite/cli/ignite/pkg/cosmosclient"
"github.com/ignite/cli/ignite/pkg/cosmostxcollector"
"github.com/ignite/cli/ignite/pkg/cosmostxcollector/adapter/postgres"
"github.com/ignite/cli/v28/ignite/pkg/clictx"
"github.com/ignite/cli/v28/ignite/pkg/cosmosclient"
"github.com/ignite/cli/v28/ignite/pkg/cosmostxcollector"
"github.com/ignite/cli/v28/ignite/pkg/cosmostxcollector/adapter/postgres"
)

const (
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/ignite/cli
module github.com/ignite/cli/v28

go 1.21.1

Expand Down
6 changes: 3 additions & 3 deletions ignite/cmd/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ import (
"github.com/spf13/cobra"
flag "github.com/spf13/pflag"

"github.com/ignite/cli/ignite/pkg/cliui/cliquiz"
"github.com/ignite/cli/ignite/pkg/cliui/entrywriter"
"github.com/ignite/cli/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v28/ignite/pkg/cliui/cliquiz"
"github.com/ignite/cli/v28/ignite/pkg/cliui/entrywriter"
"github.com/ignite/cli/v28/ignite/pkg/cosmosaccount"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion ignite/cmd/account_create.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (

"github.com/spf13/cobra"

"github.com/ignite/cli/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v28/ignite/pkg/cosmosaccount"
)

func NewAccountCreate() *cobra.Command {
Expand Down
2 changes: 1 addition & 1 deletion ignite/cmd/account_delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ignitecmd
import (
"github.com/spf13/cobra"

"github.com/ignite/cli/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v28/ignite/pkg/cosmosaccount"
)

func NewAccountDelete() *cobra.Command {
Expand Down
2 changes: 1 addition & 1 deletion ignite/cmd/account_export.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/spf13/cobra"

"github.com/ignite/cli/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v28/ignite/pkg/cosmosaccount"
)

func NewAccountExport() *cobra.Command {
Expand Down
4 changes: 2 additions & 2 deletions ignite/cmd/account_import.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"github.com/cosmos/go-bip39"
"github.com/spf13/cobra"

"github.com/ignite/cli/ignite/pkg/cliui/cliquiz"
"github.com/ignite/cli/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v28/ignite/pkg/cliui/cliquiz"
"github.com/ignite/cli/v28/ignite/pkg/cosmosaccount"
)

const flagSecret = "secret"
Expand Down
2 changes: 1 addition & 1 deletion ignite/cmd/account_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ignitecmd
import (
"github.com/spf13/cobra"

"github.com/ignite/cli/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v28/ignite/pkg/cosmosaccount"
)

func NewAccountList() *cobra.Command {
Expand Down
2 changes: 1 addition & 1 deletion ignite/cmd/account_show.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package ignitecmd
import (
"github.com/spf13/cobra"

"github.com/ignite/cli/ignite/pkg/cosmosaccount"
"github.com/ignite/cli/v28/ignite/pkg/cosmosaccount"
)

func NewAccountShow() *cobra.Command {
Expand Down
20 changes: 10 additions & 10 deletions ignite/cmd/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ import (
"github.com/manifoldco/promptui"
"github.com/spf13/cobra"

chainconfig "github.com/ignite/cli/ignite/config/chain"
"github.com/ignite/cli/ignite/pkg/cliui"
"github.com/ignite/cli/ignite/pkg/cliui/colors"
"github.com/ignite/cli/ignite/pkg/cliui/icons"
"github.com/ignite/cli/ignite/pkg/cosmosgen"
"github.com/ignite/cli/ignite/pkg/goanalysis"
"github.com/ignite/cli/ignite/pkg/gomodulepath"
"github.com/ignite/cli/ignite/pkg/xast"
"github.com/ignite/cli/ignite/services/chain"
"github.com/ignite/cli/ignite/services/doctor"
chainconfig "github.com/ignite/cli/v28/ignite/config/chain"
"github.com/ignite/cli/v28/ignite/pkg/cliui"
"github.com/ignite/cli/v28/ignite/pkg/cliui/colors"
"github.com/ignite/cli/v28/ignite/pkg/cliui/icons"
"github.com/ignite/cli/v28/ignite/pkg/cosmosgen"
"github.com/ignite/cli/v28/ignite/pkg/goanalysis"
"github.com/ignite/cli/v28/ignite/pkg/gomodulepath"
"github.com/ignite/cli/v28/ignite/pkg/xast"
"github.com/ignite/cli/v28/ignite/services/chain"
"github.com/ignite/cli/v28/ignite/services/doctor"
)

const (
Expand Down
10 changes: 5 additions & 5 deletions ignite/cmd/chain_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ import (
"github.com/spf13/cobra"
flag "github.com/spf13/pflag"

"github.com/ignite/cli/ignite/pkg/chaincmd"
"github.com/ignite/cli/ignite/pkg/cliui"
"github.com/ignite/cli/ignite/pkg/cliui/colors"
"github.com/ignite/cli/ignite/pkg/cosmosver"
"github.com/ignite/cli/ignite/services/chain"
"github.com/ignite/cli/v28/ignite/pkg/chaincmd"
"github.com/ignite/cli/v28/ignite/pkg/cliui"
"github.com/ignite/cli/v28/ignite/pkg/cliui/colors"
"github.com/ignite/cli/v28/ignite/pkg/cosmosver"
"github.com/ignite/cli/v28/ignite/services/chain"
)

const (
Expand Down
18 changes: 9 additions & 9 deletions ignite/cmd/chain_debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/spf13/cobra"

cmdmodel "github.com/ignite/cli/ignite/cmd/model"
"github.com/ignite/cli/ignite/pkg/chaincmd"
"github.com/ignite/cli/ignite/pkg/cliui"
"github.com/ignite/cli/ignite/pkg/cliui/icons"
cliuimodel "github.com/ignite/cli/ignite/pkg/cliui/model"
"github.com/ignite/cli/ignite/pkg/debugger"
"github.com/ignite/cli/ignite/pkg/events"
"github.com/ignite/cli/ignite/pkg/xurl"
"github.com/ignite/cli/ignite/services/chain"
cmdmodel "github.com/ignite/cli/v28/ignite/cmd/model"
"github.com/ignite/cli/v28/ignite/pkg/chaincmd"
"github.com/ignite/cli/v28/ignite/pkg/cliui"
"github.com/ignite/cli/v28/ignite/pkg/cliui/icons"
cliuimodel "github.com/ignite/cli/v28/ignite/pkg/cliui/model"
"github.com/ignite/cli/v28/ignite/pkg/debugger"
"github.com/ignite/cli/v28/ignite/pkg/events"
"github.com/ignite/cli/v28/ignite/pkg/xurl"
"github.com/ignite/cli/v28/ignite/services/chain"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions ignite/cmd/chain_faucet.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/spf13/cobra"

"github.com/ignite/cli/ignite/pkg/chaincmd"
"github.com/ignite/cli/ignite/pkg/cliui"
"github.com/ignite/cli/ignite/services/chain"
"github.com/ignite/cli/v28/ignite/pkg/chaincmd"
"github.com/ignite/cli/v28/ignite/pkg/cliui"
"github.com/ignite/cli/v28/ignite/services/chain"
)

// NewChainFaucet creates a new faucet command to send coins to accounts.
Expand Down
10 changes: 5 additions & 5 deletions ignite/cmd/chain_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ package ignitecmd
import (
"github.com/spf13/cobra"

"github.com/ignite/cli/ignite/pkg/chaincmd"
"github.com/ignite/cli/ignite/pkg/cliui"
"github.com/ignite/cli/ignite/pkg/cliui/colors"
"github.com/ignite/cli/ignite/pkg/cosmosver"
"github.com/ignite/cli/ignite/services/chain"
"github.com/ignite/cli/v28/ignite/pkg/chaincmd"
"github.com/ignite/cli/v28/ignite/pkg/cliui"
"github.com/ignite/cli/v28/ignite/pkg/cliui/colors"
"github.com/ignite/cli/v28/ignite/pkg/cosmosver"
"github.com/ignite/cli/v28/ignite/services/chain"
)

func NewChainInit() *cobra.Command {
Expand Down
14 changes: 7 additions & 7 deletions ignite/cmd/chain_serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ import (
tea "github.com/charmbracelet/bubbletea"
"github.com/spf13/cobra"

cmdmodel "github.com/ignite/cli/ignite/cmd/model"
"github.com/ignite/cli/ignite/pkg/cliui"
uilog "github.com/ignite/cli/ignite/pkg/cliui/log"
cliuimodel "github.com/ignite/cli/ignite/pkg/cliui/model"
"github.com/ignite/cli/ignite/pkg/cosmosver"
"github.com/ignite/cli/ignite/pkg/events"
"github.com/ignite/cli/ignite/services/chain"
cmdmodel "github.com/ignite/cli/v28/ignite/cmd/model"
"github.com/ignite/cli/v28/ignite/pkg/cliui"
uilog "github.com/ignite/cli/v28/ignite/pkg/cliui/log"
cliuimodel "github.com/ignite/cli/v28/ignite/pkg/cliui/model"
"github.com/ignite/cli/v28/ignite/pkg/cosmosver"
"github.com/ignite/cli/v28/ignite/pkg/events"
"github.com/ignite/cli/v28/ignite/services/chain"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion ignite/cmd/chain_simulate.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/cosmos/cosmos-sdk/types/simulation"
"github.com/spf13/cobra"

"github.com/ignite/cli/ignite/services/chain"
"github.com/ignite/cli/v28/ignite/services/chain"
)

const (
Expand Down
20 changes: 10 additions & 10 deletions ignite/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ import (
"github.com/spf13/cobra"
flag "github.com/spf13/pflag"

"github.com/ignite/cli/ignite/config"
"github.com/ignite/cli/ignite/pkg/cache"
"github.com/ignite/cli/ignite/pkg/cliui"
"github.com/ignite/cli/ignite/pkg/cliui/colors"
uilog "github.com/ignite/cli/ignite/pkg/cliui/log"
"github.com/ignite/cli/ignite/pkg/gitpod"
"github.com/ignite/cli/ignite/pkg/goenv"
"github.com/ignite/cli/ignite/pkg/xgenny"
"github.com/ignite/cli/ignite/services/chain"
"github.com/ignite/cli/ignite/version"
"github.com/ignite/cli/v28/ignite/config"
"github.com/ignite/cli/v28/ignite/pkg/cache"
"github.com/ignite/cli/v28/ignite/pkg/cliui"
"github.com/ignite/cli/v28/ignite/pkg/cliui/colors"
uilog "github.com/ignite/cli/v28/ignite/pkg/cliui/log"
"github.com/ignite/cli/v28/ignite/pkg/gitpod"
"github.com/ignite/cli/v28/ignite/pkg/goenv"
"github.com/ignite/cli/v28/ignite/pkg/xgenny"
"github.com/ignite/cli/v28/ignite/services/chain"
"github.com/ignite/cli/v28/ignite/version"
)

const (
Expand Down
6 changes: 3 additions & 3 deletions ignite/cmd/docs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package ignitecmd
import (
"github.com/spf13/cobra"

"github.com/ignite/cli/docs"
"github.com/ignite/cli/ignite/pkg/localfs"
"github.com/ignite/cli/ignite/pkg/markdownviewer"
"github.com/ignite/cli/v28/docs"
"github.com/ignite/cli/v28/ignite/pkg/localfs"
"github.com/ignite/cli/v28/ignite/pkg/markdownviewer"
)

func NewDocs() *cobra.Command {
Expand Down
4 changes: 2 additions & 2 deletions ignite/cmd/doctor.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package ignitecmd
import (
"github.com/spf13/cobra"

"github.com/ignite/cli/ignite/pkg/cliui"
"github.com/ignite/cli/ignite/services/doctor"
"github.com/ignite/cli/v28/ignite/pkg/cliui"
"github.com/ignite/cli/v28/ignite/services/doctor"
)

func NewDoctor() *cobra.Command {
Expand Down
Loading

0 comments on commit 39775e5

Please sign in to comment.