Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(daemon,cli): Rename capitalized names and arguments #2010

Closed
wants to merge 2 commits into from

Conversation

rekmarks
Copy link
Contributor

  • Uncapitalizes all "special names" in the daemon, since we have determined we no longer need this.
  • Renames the --UNSAFE CLI flag to --UNCONFINED, which is more specific. We maintain capitalization here to draw attention to it.

- Uncapitalizes all "special names" in the daemon, since we
  have determined we no longer need this.
- Renames the `--UNSAFE` CLI flag to `--UNCONFINED`, which is
  more specific. We maintain capitalization here to draw attention to it.
@rekmarks rekmarks force-pushed the rekmarks-update-capitalized-names branch from a95609d to e290f86 Compare January 25, 2024 23:59
Copy link
Member

@kriskowal kriskowal left a comment

Choose a reason for hiding this comment

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

I’ve miscommunicated again!

We do actually need special names to be capitalized to distinguish them from pet names in the pet store. For example, the name HOST is not deletable whereas host can be assigned.

There is no need for the third term in INFO.host.worker to be capitalized under a pet inspector.

@kriskowal
Copy link
Member

(Renaming --UNSAFE to --UNCONFINED is good and @dckc will thank you!)

@rekmarks
Copy link
Contributor Author

Alas dear PR, I barely knew ye...

@rekmarks rekmarks closed this Jan 26, 2024
@rekmarks rekmarks deleted the rekmarks-update-capitalized-names branch January 26, 2024 00:02
@kriskowal
Copy link
Member

I should also clarify that the design requirement is that special names and pet names need to be distinguishable. This is just the convention of the day and can be changed. We want pet names to have a much more broad range. The distinguisher could be something else. A dot prefix (.self, guest..self)?

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