Skip to content

Rename Go module to github.com/henrygd/beszel#542

Closed
IOAyman wants to merge 1 commit intohenrygd:package-reorganizationfrom
IOAyman:go-package
Closed

Rename Go module to github.com/henrygd/beszel#542
IOAyman wants to merge 1 commit intohenrygd:package-reorganizationfrom
IOAyman:go-package

Conversation

@IOAyman
Copy link
Contributor

@IOAyman IOAyman commented Feb 9, 2025

I've noticed that Beszel isn't currently installable using go get. This PR proposes renaming the Go module from beszel to github.com/henrygd/beszel. This would make it much easier for developers to use Beszel as a library within their own Go projects with a simple go get github.com/henrygd/beszel.

I've made the necessary changes, but I'm open to feedback and happy to refine them further.

@henrygd
Copy link
Owner

henrygd commented Feb 11, 2025

I agree, but unfortunately the Go code is in the /beszel directory instead of the root, so we'd need to use github.com/henrygd/beszel/beszel instead of github.com/henrygd/beszel. Or maybe I could set up a vanity URL like pkg.beszel.dev that points to the subdirectory.

Not the greatest decision on my part. I didn't have a good understanding of how this worked when I started the project.

It's also not properly configured for use as a package since the agent and hub are internal.

I'll fix this, but it will be after the next release and after #539 is sorted out because I don't want to wreck that PR by changing the directory structure.

@henrygd
Copy link
Owner

henrygd commented Feb 11, 2025

That's probably what we'll do, I'd just like get the next release out and the other PR merged before changing the structure.

This PR can stay open and I'll likely merge it as part of that process later in the week or next week.

@IOAyman
Copy link
Contributor Author

IOAyman commented Feb 11, 2025

Thank you both for your input 🙏🏼 I didn't have a good understanding of how this worked as well, but I'm learning and am happy to help.

@henrygd henrygd changed the base branch from main to package-reorganization September 7, 2025 18:18
@henrygd
Copy link
Owner

henrygd commented Sep 7, 2025

Thanks, sorry it took so long to get to this. I did merge, but cherry picked the commit, so github didn't track it. I'll close the PR but thanks for your efforts 👍

@henrygd henrygd closed this Sep 7, 2025
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