-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Redirect all files in /examples folder to kubernetes/examples repo #46362
Conversation
cc/ @kubernetes/examples big change coming here |
Sent kubernetes/examples#5, maybe we can merge that one first and then update the paths that are not in |
Have we ever moved out Go code and/or YAML files? Replacing all files with the same test is causing Go builds to break (also would break any tutorials referencing to their YAML files or What if we did this: If there's a README.md in the directory, replace it with the migration notice. If there's no README.md in a directory, add a README.md with the migration notice, leave all other files untouched? |
yes, I wanted to get this out to get some feedback and see what all it would break. |
examples/meteor/README.md
Outdated
<!-- BEGIN MUNGE: GENERATED_ANALYTICS --> | ||
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/examples/meteor/README.md?pixel)]() | ||
<!-- END MUNGE: GENERATED_ANALYTICS --> | ||
This file has moved to [https://github.com/kubernetes/examples/blob/master/staging/teor/README.md](https://github.com/kubernetes/examples/blob/master/staging/teor/README.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some of these links are broken - I just picked this one at random.
@ahmetb ok I rebased this and just added a notice in the README. I think it is a good step to start directing folks to the other repo. Once this gets merged we can clean up further. |
/lgtm I like how you only modified only the README.md files. Otherwise it would break many docs/tutorials in k8s.io and other places. Perhaps delete the Also what do you think of using |
/assign @thockin |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ahmetb, sebgoa Assign the PR to them by writing Associated issue: 24343 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
1 similar comment
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: ahmetb, sebgoa Assign the PR to them by writing Associated issue: 24343 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
/retest |
fyi @kubernetes/sig-testing-misc since this was a discussion topic in the last call |
@brendanburns PTAL. |
@thockin Hi Tim, sorry to ping you directly, but I am out of ideas on how to get attention to this. thanks |
<!-- BEGIN MUNGE: GENERATED_ANALYTICS --> | ||
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/examples/elasticsearch/README.md?pixel)]() | ||
<!-- END MUNGE: GENERATED_ANALYTICS --> | ||
This file has moved to [https://github.com/kubernetes/examples/blob/master/staging/elasticsearch/README.md](https://github.com/kubernetes/examples/blob/master/staging/elasticsearch/README.md) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand why there isn't just a single readme at the root, everything else seems redundant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@timothysc we went with the same concept than when the docs/devel were moved. We leave breadcrumbs in case people linked directly to the repo. that way they know where to go:
https://github.com/kubernetes/kubernetes/blob/master/docs/devel/api-conventions.md
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well I'm ok with it for now just to get it out of the repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good I have been trying to get this merged sine May 24.
@sebgoa could you resolve the conflicts and I will green light this 2day. I want these things out ASAP. |
rebased |
Automatic merge from submit-queue |
Automatic merge from submit-queue Redirect all files in /examples folder to kubernetes/examples repo **What this PR does / why we need it**: Examples are being moved to their own repository: https://github.com/kubernetes/examples We need to remove them from the main repo , but first we need to keep a redirect. This is a *big* organizational change, but nothing technical (aside from e2e tests) **Which issue this PR fixes** fixes part of kubernetes#24343 **Special notes for your reviewer**: WIP, I still need to figure out what to do with the BUILD script and tests, plus take care of the e2e tests that use some of these examples. **release notes** ```release-note Redirect all examples README to the the kubernetes/examples repo ```
What this PR does / why we need it:
Examples are being moved to their own repository: https://github.com/kubernetes/examples
We need to remove them from the main repo , but first we need to keep a redirect.
This is a big organizational change, but nothing technical (aside from e2e tests)
Which issue this PR fixes
fixes part of #24343
Special notes for your reviewer:
WIP, I still need to figure out what to do with the BUILD script and tests, plus take care of the e2e tests that use some of these examples.
release notes