[PR #1444] [MERGED] Code reorg step 1 #2121

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

📋 Pull Request Information

Original PR: https://github.com/juanfont/headscale/pull/1444
Author: @kradalby
Created: 5/10/2023
Status: Merged
Merged: 5/10/2023
Merged by: @juanfont

Base: mainHead: codereorg-v1


📝 Commits (10+)

  • ad54cde move all go files from root to hscontrol
  • cd8057e rename package name to hscontrol
  • c9849bd move generated files
  • 688449f move templates
  • b5b8578 regenerate gen
  • fd79e81 inline old acl hujson tests
  • 3f9d6dd update dependency path for cmd
  • b54d83f move swagger to root for now
  • fbd1e48 update dependency path for integration
  • 7918ce2 clean up unused legacy stuff

📊 Changes

133 files changed (+1625 additions, -3088 deletions)

View changed files

.github/workflows/test-integration-cli.yml (+0 -35)
📝 .github/workflows/test-integration-v2-TestACLAllowStarDst.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestACLAllowUser80Dst.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestACLAllowUserDst.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestACLDenyAllPort80.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestACLDevice1CanAccessDevice2.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestACLHostsInNetMapTable.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestACLNamedHostsCanReach.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestACLNamedHostsCanReachBySubnet.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestAuthKeyLogoutAndRelogin.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestAuthWebFlowAuthenticationPingAll.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestAuthWebFlowLogoutAndRelogin.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestCreateTailscale.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestDERPServerScenario.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestEnablingRoutes.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestEphemeral.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestExpireNode.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestHeadscale.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestOIDCAuthenticationPingAll.yaml (+1 -1)
📝 .github/workflows/test-integration-v2-TestOIDCExpireNodesBasedOnTokenExpiry.yaml (+1 -1)

...and 80 more files

📄 Description

This is step one in an attempt to make the code a bit more structured.

Closing things like #1371

Signed-off-by: Kristoffer Dalby kristoffer@tailscale.com


🔄 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/1444 **Author:** [@kradalby](https://github.com/kradalby) **Created:** 5/10/2023 **Status:** ✅ Merged **Merged:** 5/10/2023 **Merged by:** [@juanfont](https://github.com/juanfont) **Base:** `main` ← **Head:** `codereorg-v1` --- ### 📝 Commits (10+) - [`ad54cde`](https://github.com/juanfont/headscale/commit/ad54cde55722d52b24a93f492a3dfd600347cc97) move all go files from root to hscontrol - [`cd8057e`](https://github.com/juanfont/headscale/commit/cd8057e2da505db52e681fca652be9c7068a65f5) rename package name to hscontrol - [`c9849bd`](https://github.com/juanfont/headscale/commit/c9849bd1e4b9b9292c67c0f753a24c344319d696) move generated files - [`688449f`](https://github.com/juanfont/headscale/commit/688449f9e18ba5eb49b1c8b26aff66bbaa93fa50) move templates - [`b5b8578`](https://github.com/juanfont/headscale/commit/b5b8578b992f7e9d00cfabaf3dfb07a6a556ff3a) regenerate gen - [`fd79e81`](https://github.com/juanfont/headscale/commit/fd79e81eef3a7d40e58d741f6345a56ca3e69cff) inline old acl hujson tests - [`3f9d6dd`](https://github.com/juanfont/headscale/commit/3f9d6dd3eeb678e9ceaaa92d1497487a51cf43c9) update dependency path for cmd - [`b54d83f`](https://github.com/juanfont/headscale/commit/b54d83f495c7ab56e66d3061a24fcae76a70a704) move swagger to root for now - [`fbd1e48`](https://github.com/juanfont/headscale/commit/fbd1e485e64ce8891cf54fd2251ea7ced42967fc) update dependency path for integration - [`7918ce2`](https://github.com/juanfont/headscale/commit/7918ce2fafaeb8b85d8c6584b83a0319c76a2a7f) clean up unused legacy stuff ### 📊 Changes **133 files changed** (+1625 additions, -3088 deletions) <details> <summary>View changed files</summary> ➖ `.github/workflows/test-integration-cli.yml` (+0 -35) 📝 `.github/workflows/test-integration-v2-TestACLAllowStarDst.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestACLAllowUser80Dst.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestACLAllowUserDst.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestACLDenyAllPort80.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestACLDevice1CanAccessDevice2.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestACLHostsInNetMapTable.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestACLNamedHostsCanReach.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestACLNamedHostsCanReachBySubnet.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestAuthKeyLogoutAndRelogin.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestAuthWebFlowAuthenticationPingAll.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestAuthWebFlowLogoutAndRelogin.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestCreateTailscale.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestDERPServerScenario.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestEnablingRoutes.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestEphemeral.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestExpireNode.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestHeadscale.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestOIDCAuthenticationPingAll.yaml` (+1 -1) 📝 `.github/workflows/test-integration-v2-TestOIDCExpireNodesBasedOnTokenExpiry.yaml` (+1 -1) _...and 80 more files_ </details> ### 📄 Description This is step one in an attempt to make the code a bit more structured. Closing things like #1371 Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com> --- <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:19:51 +01:00
adam closed this issue 2025-12-29 03:19:51 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/headscale#2121