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: add confix vanity url #30

Merged
merged 2 commits into from
Jan 10, 2023
Merged

feat: add confix vanity url #30

merged 2 commits into from
Jan 10, 2023

Conversation

julienrbrt
Copy link
Member

@julienrbrt julienrbrt commented Jan 9, 2023

To be merged after cosmos/cosmos-sdk#14342

@julienrbrt julienrbrt requested a review from a team as a code owner January 9, 2023 11:55
<div class="content">
<h2>cosmossdk.io/tools/confix</h2>
<code>go get cosmossdk.io/tools/confix</code>
<code>import "cosmossdk.io/tools/confix"</code>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could we see if we could remove tools here?to experiment

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, that's a good opportunity!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Create a new "package" which hardcode the path to /tools so it is still called confix.
I think it may work.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well that did not work:

julien:cosmos-sdk/ (julien/config-fix-2 {5}) $ go install cosmossdk.io/confix/cmd/confix@latest
go: cosmossdk.io/confix/cmd/confix@latest: no matching versions for query "latest"
julien:cosmos-sdk/ (julien/config-fix-2 {5}) $ go install cosmossdk.io/tools/confix/cmd/confix@latest
go: downloading cosmossdk.io/tools/confix v0.0.0-20230110102841-9742029158ad
go: cosmossdk.io/tools/confix/cmd/confix@latest (in cosmossdk.io/tools/confix@v0.0.0-20230110102841-9742029158ad):
        The go.mod file for the module providing named packages contains one or
        more replace directives. It must not contain directives that would cause
        it to be interpreted differently than if it were the main module.

The second one with the correct url worked. (It didn't install but this message was expected).

@julienrbrt
Copy link
Member Author

Merging for trying.

@julienrbrt julienrbrt merged commit 6a1c541 into main Jan 10, 2023
@julienrbrt julienrbrt deleted the julien/add-confix branch January 10, 2023 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants