Skip to content

Add text discussing the approach to flavors. - #121

Merged
garloff merged 3 commits into
mainfrom
feat/flavor-naming-strategy
Sep 16, 2022
Merged

garloff merged 3 commits into
mainfrom
feat/flavor-naming-strategy

Conversation

@garloff

@garloff garloff commented Sep 16, 2022

Copy link
Copy Markdown
Member

In short, the naming proposal serves two purposes. (1) Provide transparency on features/details/capabilities (2) Allow users to chose the right features

There is not really good alternative for (2) to create names. We have chosen a systematic approach to it, which allows to generate/parse this programmatically (and manually if you are familiar with the spec), but which can lead to rather complex names in extreme cases.

To only achieve (1), better ways exist by using metadata (extra_specs). So smaller providers that don't need users to chose between so many flavors don't need to encode all the details in the name, but could use short names (which is allowed by the spec) and make details discoverable via a to-be-written metadata spec. This is the suggested approach going forward.

This is an attempt to address #73.

Signed-off-by: Kurt Garloff [email protected]

In short, the naming proposal serves two purposes.
(1) Provide transparency on features/details/capabilities
(2) Allow users to chose the right features

There is not really good alternative for (2) to create names.
We have chosen a systematic approach to it, which allows to
generate/parse this programmatically (and manually if you are
familiar with the spec), but which can lead to rather complex
names in extreme cases.

To only achieve (1), better ways exist by using metadata
(extra_specs). So smaller providers that don't need users to
chose between so many flavors don't need to encode all the
details in the name, but could use short names (which is
allowed by the spec) and make details discoverable via a
to-be-written metadata spec. This is the suggested approach
going forward.

Signed-off-by: Kurt Garloff <[email protected]>
@garloff

garloff commented Sep 16, 2022

Copy link
Copy Markdown
Member Author

@garloff
garloff requested a review from itrich September 16, 2022 15:46
Comment thread Design-Docs/flavor-naming-strategy.md Outdated

You can also use the interactive mode `-i` to construct flavor names.

If you dislike the hazzle of parsing the names, you may want to consider them

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

hassle, not hazzle

@fkr fkr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM except for hazzle -> hassle.

I'm also a big fan that we merge these kind of PRs rather quickly and do subsequent PRs to let them become better instead of having long running PRs - and it is marked 'draft' anyways.

@fkr

fkr commented Sep 16, 2022

Copy link
Copy Markdown
Member

Further note: Thanks @garloff for writing this up! 🚀

... and add pointer to gx-self-description-generator.

Signed-off-by: Kurt Garloff <[email protected]>
@garloff
garloff merged commit 9b0c464 into main Sep 16, 2022
@garloff
garloff deleted the feat/flavor-naming-strategy branch September 16, 2022 16:53
frosty-geek pushed a commit to frosty-geek/SCS-Docs that referenced this pull request Sep 26, 2022
* Create status page comparison.md

Signed-off-by: Benjamin <[email protected]>

* (see SovereignCloudStack#121)
- move "status page comparison" to new folder Decisions
- update file name to a name without whitespaces

Signed-off-by: Benjamin <[email protected]>
Co-authored-by: Benjamin Zapiec <[email protected]>
frosty-geek pushed a commit to frosty-geek/SCS-Docs that referenced this pull request Sep 26, 2022
* Create status page comparison.md

Signed-off-by: Benjamin <[email protected]>

* (see SovereignCloudStack#121)
- move "status page comparison" to new folder Decisions
- update file name to a name without whitespaces

Signed-off-by: Benjamin <[email protected]>

* (see SovereignCloudStack#121) add statusfy to the matrix

Signed-off-by: Benjamin Zapiec <[email protected]>
Signed-off-by: Benjamin <[email protected]>

Signed-off-by: Benjamin <[email protected]>
Signed-off-by: Benjamin Zapiec <[email protected]>
Signed-off-by: Felix Kronlage-Dammers <[email protected]>
Co-authored-by: Benjamin Zapiec <[email protected]>
Co-authored-by: Felix Kronlage-Dammers <[email protected]>
frosty-geek pushed a commit to frosty-geek/SCS-Docs that referenced this pull request Sep 26, 2022
* Create status page comparison.md

Signed-off-by: Benjamin <[email protected]>

* (see SovereignCloudStack#121)
- move "status page comparison" to new folder Decisions
- update file name to a name without whitespaces

Signed-off-by: Benjamin <[email protected]>

* (see SovereignCloudStack#121) add statusfy to the matrix

Signed-off-by: Benjamin Zapiec <[email protected]>
Signed-off-by: Benjamin <[email protected]>

* Add project URL or github link

Signed-off-by: Benjamin <[email protected]>

Signed-off-by: Benjamin <[email protected]>
Signed-off-by: Benjamin Zapiec <[email protected]>
Signed-off-by: Felix Kronlage-Dammers <[email protected]>
Co-authored-by: Benjamin Zapiec <[email protected]>
Co-authored-by: Felix Kronlage-Dammers <[email protected]>
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