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

Redirect all files in /examples folder to kubernetes/examples repo #46362

Merged
merged 1 commit into from
Jul 14, 2017

Conversation

sebgoa
Copy link
Contributor

@sebgoa sebgoa commented May 24, 2017

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

Redirect all examples README to the the kubernetes/examples repo

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label May 24, 2017
@sebgoa sebgoa changed the title Redirect all files in /examples folder to kubernetes/examples repo [WIP] Redirect all files in /examples folder to kubernetes/examples repo May 24, 2017
@k8s-github-robot k8s-github-robot added size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. release-note-label-needed labels May 24, 2017
@sebgoa
Copy link
Contributor Author

sebgoa commented May 24, 2017

cc/ @kubernetes/examples big change coming here

@ahmetb
Copy link
Member

ahmetb commented May 24, 2017

Sent kubernetes/examples#5, maybe we can merge that one first and then update the paths that are not in staging/ in a single PR.

@ahmetb
Copy link
Member

ahmetb commented May 24, 2017

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 kubectl create -f https://....

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?

@sebgoa
Copy link
Contributor Author

sebgoa commented May 24, 2017

yes, I wanted to get this out to get some feedback and see what all it would break.

<!-- 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)
Copy link
Member

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.

@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label May 25, 2017
@k8s-github-robot k8s-github-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 13, 2017
@sebgoa
Copy link
Contributor Author

sebgoa commented Jun 13, 2017

@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.

@ahmetb
Copy link
Member

ahmetb commented Jun 13, 2017

/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 guidelines.md as well?

Also what do you think of using git.k8s.io/examples format instead of github URLs? I think this feature is rather new.

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 13, 2017
@k8s-github-robot k8s-github-robot added the do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. label Jun 13, 2017
@sebgoa
Copy link
Contributor Author

sebgoa commented Jun 14, 2017

/assign @thockin

@k8s-github-robot k8s-github-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. and removed release-note-label-needed labels Jun 14, 2017
@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 26, 2017
@sebgoa sebgoa changed the title [WIP] Redirect all files in /examples folder to kubernetes/examples repo Redirect all files in /examples folder to kubernetes/examples repo Jun 27, 2017
@k8s-github-robot k8s-github-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 27, 2017
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ahmetb, sebgoa
We suggest the following additional approver: brendandburns

Assign the PR to them by writing /assign @brendandburns in a comment when ready.

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 /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

1 similar comment
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: ahmetb, sebgoa
We suggest the following additional approver: brendandburns

Assign the PR to them by writing /assign @brendandburns in a comment when ready.

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 /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@sebgoa
Copy link
Contributor Author

sebgoa commented Jun 29, 2017

/retest

@0xmichalis
Copy link
Contributor

fyi @kubernetes/sig-testing-misc since this was a discussion topic in the last call

@k8s-ci-robot k8s-ci-robot added the sig/testing Categorizes an issue or PR as relevant to SIG Testing. label Jun 29, 2017
@0xmichalis 0xmichalis removed the sig/testing Categorizes an issue or PR as relevant to SIG Testing. label Jun 29, 2017
@grodrigues3
Copy link
Contributor

@brendanburns PTAL.

@sebgoa
Copy link
Contributor Author

sebgoa commented Jul 3, 2017

@thockin Hi Tim, sorry to ping you directly, but I am out of ideas on how to get attention to this.

thanks

@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jul 3, 2017
<!-- 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)
Copy link
Member

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.

Copy link
Contributor Author

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

Copy link
Member

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.

Copy link
Contributor Author

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.

@timothysc timothysc added the sig/testing Categorizes an issue or PR as relevant to SIG Testing. label Jul 14, 2017
@timothysc timothysc removed the do-not-merge DEPRECATED. Indicates that a PR should not merge. Label can only be manually applied/removed. label Jul 14, 2017
@timothysc timothysc added this to the v1.8 milestone Jul 14, 2017
@timothysc
Copy link
Member

@sebgoa could you resolve the conflicts and I will green light this 2day.

I want these things out ASAP.

@k8s-github-robot k8s-github-robot removed lgtm "Looks good to me", indicates that a PR is ready to be merged. needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. labels Jul 14, 2017
@timothysc timothysc self-assigned this Jul 14, 2017
@timothysc timothysc added lgtm "Looks good to me", indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Jul 14, 2017
@sebgoa
Copy link
Contributor Author

sebgoa commented Jul 14, 2017

rebased

@k8s-github-robot
Copy link

Automatic merge from submit-queue

@k8s-github-robot k8s-github-robot merged commit cb712e4 into kubernetes:master Jul 14, 2017
dims pushed a commit to dims/kubernetes that referenced this pull request Feb 8, 2018
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
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/contributor-experience Categorizes an issue or PR as relevant to SIG Contributor Experience. sig/testing Categorizes an issue or PR as relevant to SIG Testing. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants