Skip to content

Conversation

giacomocavalieri
Copy link
Member

This PR adds a new owner subcommand, with a transfer command to transfer ownership of packages on hex. In future the owner command could gain new commands to add and remove owners as well, since that's supported by Hex

Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super handy! Couple small notes


/// Deal with package ownership
#[command(subcommand)]
Owner(Owner),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We already have a namespace for Hex commands, Hex! Using that would make it clearer that we're taking about the Hex package owner too.

gleam hex transfer-ownership? gleam hex owner transfer?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like gleam hex owner transfer because in future we could also add gleam hex owner add and gleam hex owner remove. I'll go with that if that's ok for you!

@giacomocavalieri giacomocavalieri changed the title Add an owner transfer command Add an hex owner transfer command Sep 12, 2025
Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@lpil lpil merged commit 6827ee2 into gleam-lang:main Sep 18, 2025
12 checks passed
@giacomocavalieri giacomocavalieri deleted the transfer-ownership branch September 18, 2025 15:28
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