[PR #2010] [MERGED] Add gofumpt to dev dependencies #2445

Closed
opened 2025-12-29 03:21:19 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/2010
Author: @greizgh
Created: 7/13/2024
Status: Merged
Merged: 7/17/2024
Merged by: @kradalby

Base: mainHead: flake-gofumpt


📝 Commits (1)

  • 85a9820 Add gofumpt to dev dependencies

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 flake.nix (+1 -0)

📄 Description

This seems to be missing from the flake: from dev shell I failed to run make lint without this.

Re: linting, there are several files reformatted: would you accept a reformatting PR for those + adding format check on CI? (Given that this will cause a lot of noise, you might prefer this to be a maintainer PR?)

list of files
  • CONTRIBUTING.md
  • cmd/headscale/cli/debug.go
  • cmd/headscale/cli/nodes.go
  • cmd/headscale/cli/preauthkeys.go
  • cmd/headscale/cli/routes.go
  • cmd/headscale/cli/utils.go
  • cmd/headscale/headscale_test.go
  • hscontrol/app.go
  • hscontrol/auth.go
  • hscontrol/auth_noise.go
  • hscontrol/db/db.go
  • hscontrol/db/ip.go
  • hscontrol/db/ip_test.go
  • hscontrol/db/node.go
  • hscontrol/db/node_test.go
  • hscontrol/db/routes.go
  • hscontrol/db/routes_test.go
  • hscontrol/derp/server/derp_server.go
  • hscontrol/grpcv1.go
  • hscontrol/mapper/mapper.go
  • hscontrol/mapper/mapper_test.go
  • hscontrol/mapper/tail_test.go
  • hscontrol/metrics.go
  • hscontrol/notifier/metrics.go
  • hscontrol/notifier/notifier.go
  • hscontrol/oidc.go
  • hscontrol/platform_config.go
  • hscontrol/policy/acls.go
  • hscontrol/policy/acls_test.go
  • hscontrol/poll.go
  • hscontrol/tailsql.go
  • hscontrol/types/config.go
  • hscontrol/types/node.go
  • hscontrol/types/routes.go
  • integration/acl_test.go
  • integration/auth_oidc_test.go
  • integration/auth_web_flow_test.go
  • integration/cli_test.go
  • integration/dockertestutil/network.go
  • integration/embedded_derp_test.go
  • integration/general_test.go
  • integration/hsic/hsic.go
  • integration/route_test.go
  • integration/scenario.go
  • integration/scenario_test.go
  • integration/ssh_test.go
  • integration/tsic/tsic.go
  • integration/utils.go
  • have read the CONTRIBUTING.md file
  • raised a GitHub issue or discussed it on the projects chat beforehand
  • added unit tests
  • added integration tests
  • updated documentation if needed
  • updated CHANGELOG.md

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/juanfont/headscale/pull/2010 **Author:** [@greizgh](https://github.com/greizgh) **Created:** 7/13/2024 **Status:** ✅ Merged **Merged:** 7/17/2024 **Merged by:** [@kradalby](https://github.com/kradalby) **Base:** `main` ← **Head:** `flake-gofumpt` --- ### 📝 Commits (1) - [`85a9820`](https://github.com/juanfont/headscale/commit/85a982079ffcc0f16893d6b4806bc15a3318fddc) Add gofumpt to dev dependencies ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `flake.nix` (+1 -0) </details> ### 📄 Description This seems to be missing from the flake: from dev shell I failed to run `make lint` without this. Re: linting, there are several files reformatted: would you accept a reformatting PR for those + adding format check on CI? (Given that this will cause a lot of noise, you might prefer this to be a maintainer PR?) <details> <summary>list of files</summary> - CONTRIBUTING.md - cmd/headscale/cli/debug.go - cmd/headscale/cli/nodes.go - cmd/headscale/cli/preauthkeys.go - cmd/headscale/cli/routes.go - cmd/headscale/cli/utils.go - cmd/headscale/headscale_test.go - hscontrol/app.go - hscontrol/auth.go - hscontrol/auth_noise.go - hscontrol/db/db.go - hscontrol/db/ip.go - hscontrol/db/ip_test.go - hscontrol/db/node.go - hscontrol/db/node_test.go - hscontrol/db/routes.go - hscontrol/db/routes_test.go - hscontrol/derp/server/derp_server.go - hscontrol/grpcv1.go - hscontrol/mapper/mapper.go - hscontrol/mapper/mapper_test.go - hscontrol/mapper/tail_test.go - hscontrol/metrics.go - hscontrol/notifier/metrics.go - hscontrol/notifier/notifier.go - hscontrol/oidc.go - hscontrol/platform_config.go - hscontrol/policy/acls.go - hscontrol/policy/acls_test.go - hscontrol/poll.go - hscontrol/tailsql.go - hscontrol/types/config.go - hscontrol/types/node.go - hscontrol/types/routes.go - integration/acl_test.go - integration/auth_oidc_test.go - integration/auth_web_flow_test.go - integration/cli_test.go - integration/dockertestutil/network.go - integration/embedded_derp_test.go - integration/general_test.go - integration/hsic/hsic.go - integration/route_test.go - integration/scenario.go - integration/scenario_test.go - integration/ssh_test.go - integration/tsic/tsic.go - integration/utils.go </details> <!-- Headscale is "Open Source, acknowledged contribution", this means that any contribution will have to be discussed with the Maintainers before being submitted. This model has been chosen to reduce the risk of burnout by limiting the maintenance overhead of reviewing and validating third-party code. Headscale is open to code contributions for bug fixes without discussion. If you find mistakes in the documentation, please submit a fix to the documentation. --> <!-- Please tick if the following things apply. You… --> - [x] have read the [CONTRIBUTING.md](./CONTRIBUTING.md) file - [ ] raised a GitHub issue or discussed it on the projects chat beforehand - [ ] added unit tests - [ ] added integration tests - [ ] updated documentation if needed - [ ] updated CHANGELOG.md <!-- If applicable, please reference the issue using `Fixes #XXX` and add tests to cover your new code. --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 03:21:19 +01:00
adam closed this issue 2025-12-29 03:21:19 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2445