Skip to content

misc(tools)!: remove tools package (backport #2046)#4070

Merged
mergify[bot] merged 3 commits intov0.37.xfrom
mergify/bp/v0.37.x/pr-2046
Sep 11, 2024
Merged

misc(tools)!: remove tools package (backport #2046)#4070
mergify[bot] merged 3 commits intov0.37.xfrom
mergify/bp/v0.37.x/pr-2046

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Sep 11, 2024

    1. protos are now built with the sdk's proto builder
    1. go tools methodology just bloats .mod and .sum making comet harder to work with
    1. tidy: mod and sum don't have maintenance tools in them anymore
    1. stop using an abandoned Dockerfile

tl;dr: by removing things from go.mod we can make comet easier to maintain, even if that means less stylish golang.


PR checklist

  • Tests written/updated
  • Changelog entry added in .changelog (we use unclog to manage our changelog)
  • Updated relevant documentation (docs/ or spec/) and code comments

This is an automatic backport of pull request #2046 done by [Mergify](https://mergify.com).

- 1) protos are now built with the sdk's proto builder
- 2) go tools methodology just bloats .mod and .sum making comet harder
to work with
- 3) tidy: mod and sum don't have maintenance tools in them anymore
- 4) stop using an abandoned Dockerfile

---------

tl;dr: by removing things from go.mod we can make comet easier to
maintain, even if that means less stylish golang.

---

#### PR checklist

- [ ] Tests written/updated
- [ ] Changelog entry added in `.changelog` (we use
[unclog](https://github.com/informalsystems/unclog) to manage our
changelog)
- [ ] Updated relevant documentation (`docs/` or `spec/`) and code
comments

---------

Co-authored-by: Sergio Mena <sergio@informal.systems>
(cherry picked from commit 2bbb5c1)

# Conflicts:
#	go.mod
#	go.sum
#	tools/README.md
#	tools/tools.go
#	types/params.go
@mergify mergify bot requested a review from a team as a code owner September 11, 2024 05:34
@mergify mergify bot added the conflicts label Sep 11, 2024
@mergify
Copy link
Contributor Author

mergify bot commented Sep 11, 2024

Cherry-pick of 2bbb5c1 has failed:

On branch mergify/bp/v0.37.x/pr-2046
Your branch is up to date with 'origin/v0.37.x'.

You are currently cherry-picking commit 2bbb5c109.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   scripts/mockery_generate.sh
	deleted:    tools/proto/Dockerfile

Unmerged paths:
  (use "git add/rm <file>..." as appropriate to mark resolution)
	both modified:   go.mod
	both modified:   go.sum
	deleted by them: tools/README.md
	deleted by them: tools/tools.go
	both modified:   types/params.go

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

@mergify mergify bot mentioned this pull request Sep 11, 2024
3 tasks
@mergify mergify bot merged commit ffeb4c1 into v0.37.x Sep 11, 2024
@mergify mergify bot deleted the mergify/bp/v0.37.x/pr-2046 branch September 11, 2024 06:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants