Skip to content

chore: rename temporary -> trial and customer -> enterprise#74

Merged
philippfalk merged 1 commit into
mainfrom
falk/rename-license-types
May 12, 2026
Merged

chore: rename temporary -> trial and customer -> enterprise#74
philippfalk merged 1 commit into
mainfrom
falk/rename-license-types

Conversation

@philippfalk
Copy link
Copy Markdown
Member

Base for PRs in other repos.

Copy link
Copy Markdown
Member

@iamjoemccormick iamjoemccormick left a comment

Choose a reason for hiding this comment

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

LGTM. Since the wire numbers don't change this is backwards and forwards compatible, and there isn't anywhere in codebases we maintain that references the string representations or outputs them someplace a user may write scripts that rely on them. Claude also verified the same:

  • Wire compatibility is preserved. CERT_TYPE_ENTERPRISE = 4 (was _CUSTOMER) and CERT_TYPE_TRIAL = 5 (was _TEMPORARY) keep their wire numbers, so a CLI on the old protobuf and a mgmtd on the new one (or vice versa) still interoperate at the gRPC level. No JSON/textproto serializer in this repo emits the enum name, so renaming the names is safe across both wire and beegfs license --json output (which already emits numeric enum values via encoding/json).

@philippfalk philippfalk force-pushed the falk/rename-license-types branch from 5d14ce8 to a46cf78 Compare May 12, 2026 10:03
@philippfalk philippfalk merged commit 4d5e5db into main May 12, 2026
2 checks passed
@philippfalk philippfalk deleted the falk/rename-license-types branch May 12, 2026 10:05
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