fixing information about dev contrib#18173
Conversation
|
Nice approach |
|
/lgtm |
0822647 to
6a42dca
Compare
|
Addressed nits, can be merged after review / CI. Thanks! |
|
/hold I want to think about this more... I would love to use this as part of resolving #14307 The current issue is: Once this merges and gets pushed to older versions (release-1.13 -> 1.17), it will no longer be Thoughts? |
|
@jimangel , for my own information, is there a k8s doc that describes versioning? For example, |
|
Funny you ask! Essentially no... https://github.com/kubernetes/sig-release/tree/master/release-team#during-major-releases I would imagine that getting all of the APIs to GA would be a big part of that, but that's me speculating. |
What's the “it” in those sentences? (I'm not sure I know). |
The For example, let's say we use When the release is cut, master is now a new version, we move the state of master into a release-vX.y.z. This now involves touching config.tomls in all branches to represent this shift (version shifts, dropping the oldest supported, etc). I don't think it's impossible for the release lead to manage this, but I think it's unwelcome complexity. I'm going to try an alternate approach today / tomorrow. |
|
👋 @jimangel, Is this PR still in progress? |
6a42dca to
f530880
Compare
|
Deploy preview for kubernetes-io-master-staging ready! Built with commit 00b106a https://deploy-preview-18173--kubernetes-io-master-staging.netlify.com |
|
My reluctance to merge this was because, at some point, all releases will have a Traditionally, older releases were "cut-off" from changes that were not security related or of MAJOR impact. After further review, even if we keep the Leaving this PR to be "as-is" and we can tweak as we see fit. Ready to merge with approval. @VineethReddy02 will need to update the Docs release handbook with this change too. /hold cancel |
|
/hold @sftim @kbhawkey I rebased 😄 but I really want to incorporate a change that fixes ALL version pages:
We can merge this as is if we want, but I think we need a programmatic way to reference each version (n, n+1, n-1) and have an approach that deprecates nicely for each release. Can either of you think of the best way to reference n-1 (for the skew policy)? We have the variable set in Thoughts? |
@jimangel , If I understand correctly, you are looking for a way to use a Hugo template or shortcode to express the semantic versioning in the You could split (or use a reg. expression to tease out the version info) Is this what you are thinking? |
After thinking about this, we have two problems and I'm on the fence how this PR solves Problem 1. Problem 1: Fix This PR adds n+1 and can be used to fix our In today's case, those variables needed would be: 1.19, 1.18, 1.17 Problem 2: Creating a release page that is up to date with our releases semantic versioning. Something very similar to:
This might be a "when you're a hammer everything is a nail" view-point. But I actually was thinking of updating config.toml for each patch version 😅. At some point this would be automated, but until then I could work with the patch release team to open an issue on sig-docs for a fix each release (good first issue!). The patch releases are fairly consistent and scheduled: https://github.com/kubernetes/sig-release/blob/master/releases/patch-releases.md#timelines unless there's a security / CVE quick patch. This is where I am lost... We currently have each minor or patch version in config.toml under Any thoughts on how we could use those variables in a table? If it's not simple, do you think it would be worth creating it's own block of variables for this use case? We only need 3 since the k8s community only supports 3 releases, after that, we can convert the variable to text after the "last release." Originally I was getting bent on the complexities of the release cycle (ie: how does it impact previous release docs) but I think we just wrap the old pages in a shortcode that says "look at master release doc."
If you have a suggestion for getting Problem 2 can be another issue / PR - I just wanted to capture my thoughts here. Many thanks @kbhawkey! |
|
@jimangel ,
|
|
Here is a shortcode to get the next or prev version based off of Could update the shortcode to take an arg (next or prev). |
3f9d84f to
c2df968
Compare
c2df968 to
00b106a
Compare
|
Aside for code spelunkers: this approach might need to change when Kubernetes has two next releases due: an upcoming minor version release and an upcoming major version release. |
|
/sig release |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kbhawkey The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Fixing some incorrect information about the release branches.
Mainly, adding afuturevariable that will point to the correctdev-x.xxbranch.TODO: If we agree this solution is acceptable, @VineethReddy02 will need to include the "future" variable update in theconfig.tomlas part of the sig-docs release cycle.Thanks to @kbhawkey's idea, there is no need to add an extra variable to manage as it is all parsed in the
skew.htmlshortcode.Fixes: https://kubernetes.io/docs/contribute/new-content/new-features/#for-developers-or-other-sig-members