[PR #863] [MERGED] Remove dependency to base62 package #13084

Closed
opened 2026-08-05 02:07:25 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/863
Author: @pascal-fischer
Created: 5/16/2023
Status: Merged
Merged: 5/16/2023
Merged by: @pascal-fischer

Base: mainHead: fix/base62_dependency


📝 Commits (2)

  • 2fef52b remove dependency to external base62 package and create own methods in utils
  • 873abc4 move into separate package

📊 Changes

7 files changed (+98 additions, -6 deletions)

View changed files

base62/base62.go (+59 -0)
base62/base62_test.go (+31 -0)
📝 go.mod (+0 -1)
📝 go.sum (+0 -2)
📝 management/server/account.go (+1 -1)
📝 management/server/personal_access_token.go (+2 -1)
📝 management/server/personal_access_token_test.go (+5 -1)

📄 Description

Describe your changes

Before we were using codeberg.org/ac/base62 for base 62 decoding. This package is gone so this PR aims to remove the dependency by creating own decode and encode methods in utils.

https://github.com/netbirdio/netbird/issues/862

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

🔄 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/netbirdio/netbird/pull/863 **Author:** [@pascal-fischer](https://github.com/pascal-fischer) **Created:** 5/16/2023 **Status:** ✅ Merged **Merged:** 5/16/2023 **Merged by:** [@pascal-fischer](https://github.com/pascal-fischer) **Base:** `main` ← **Head:** `fix/base62_dependency` --- ### 📝 Commits (2) - [`2fef52b`](https://github.com/netbirdio/netbird/commit/2fef52b856b1452c0cdbf8f693eae7897c725913) remove dependency to external base62 package and create own methods in utils - [`873abc4`](https://github.com/netbirdio/netbird/commit/873abc43bf4df7b0b678f77d6f4347fc583ab949) move into separate package ### 📊 Changes **7 files changed** (+98 additions, -6 deletions) <details> <summary>View changed files</summary> ➕ `base62/base62.go` (+59 -0) ➕ `base62/base62_test.go` (+31 -0) 📝 `go.mod` (+0 -1) 📝 `go.sum` (+0 -2) 📝 `management/server/account.go` (+1 -1) 📝 `management/server/personal_access_token.go` (+2 -1) 📝 `management/server/personal_access_token_test.go` (+5 -1) </details> ### 📄 Description ## Describe your changes Before we were using codeberg.org/ac/base62 for base 62 decoding. This package is gone so this PR aims to remove the dependency by creating own decode and encode methods in utils. ## Issue ticket number and link https://github.com/netbirdio/netbird/issues/862 ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [ ] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 02:07:25 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#13084