Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support autocli #3694

Merged
merged 162 commits into from
Nov 25, 2023
Merged

feat: support autocli #3694

merged 162 commits into from
Nov 25, 2023

Conversation

julienrbrt
Copy link
Member

@julienrbrt julienrbrt commented Oct 12, 2023

closes #3663

DNM, based on #3659

Pantani and others added 30 commits September 15, 2023 14:29
# Conflicts:
#	ignite/templates/app/files/app/encoding.go.plush
#	ignite/templates/app/files/app/params/encoding.go.plush
#	ignite/templates/app/files/cmd/{{binaryNamePrefix}}d/cmd/root.go.plush
#	ignite/templates/testutil/files/testutil/network/network.go.plush
ignite/cmd/generate_pulsar.go Outdated Show resolved Hide resolved
ignite/templates/ibc/oracle.go Outdated Show resolved Hide resolved
ignite/templates/typed/list/list.go Outdated Show resolved Hide resolved
ignite/templates/typed/list/list.go Outdated Show resolved Hide resolved
ignite/templates/typed/map/map.go Outdated Show resolved Hide resolved
ignite/templates/typed/map/map.go Outdated Show resolved Hide resolved
ignite/templates/typed/singleton/singleton.go Outdated Show resolved Hide resolved
@Pantani
Copy link
Collaborator

Pantani commented Nov 22, 2023

IMHO, removing the blank spaces between commands is more clear. wdyt?

@Pantani Pantani self-requested a review November 22, 2023 15:06
Pantani
Pantani previously approved these changes Nov 24, 2023
Pantani
Pantani previously approved these changes Nov 24, 2023
@Pantani
Copy link
Collaborator

Pantani commented Nov 24, 2023

There is something weird happening in the CI lint. But running local is ok

@julienrbrt julienrbrt enabled auto-merge (squash) November 24, 2023 13:49
@max-hontar
Copy link
Contributor

There is something weird happening in the CI lint. But running local is ok

For me, local execution throw a lot of messages about "string XXX has X occurances, make a const" and 1 message about format

ignite/templates/ibc/packet.go:364                    gofumpt  File is not `gofumpt`-ed

This line related to file permission and propose to replace 0644 with 0o644

@julienrbrt
Copy link
Member Author

julienrbrt commented Nov 24, 2023

This line related to file permission and propose to replace 0644 with 0o644

I have run make lint-fix which now fixes this.
goconst is a bit too pedantic, the scaffolding needs a big overhaul, but creating constant will make it more unreadable.

EDIT: It seems like goconst messages are just warnings and don't make the lint job fail, now everything is green.

@julienrbrt julienrbrt merged commit 6196635 into main Nov 25, 2023
26 checks passed
@julienrbrt julienrbrt deleted the julien/autocli branch November 25, 2023 15:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:ci CI/CD workflow and automated jobs. component:configs component:templates pr:DNM Do not merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support AutoCLI
6 participants