{"action":"created","issue":{"url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues/4283","repository_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io","labels_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues/4283/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues/4283/comments","events_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues/4283/events","html_url":"https://github.com/kubernetes/kubernetes.github.io/issues/4283","id":240761791,"number":4283,"title":"Fix broken update-imported-docs.sh","user":{"login":"ahmetb","id":159209,"avatar_url":"https://avatars2.githubusercontent.com/u/159209?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmetb","html_url":"https://github.com/ahmetb","followers_url":"https://api.github.com/users/ahmetb/followers","following_url":"https://api.github.com/users/ahmetb/following{/other_user}","gists_url":"https://api.github.com/users/ahmetb/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmetb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmetb/subscriptions","organizations_url":"https://api.github.com/users/ahmetb/orgs","repos_url":"https://api.github.com/users/ahmetb/repos","events_url":"https://api.github.com/users/ahmetb/events{/privacy}","received_events_url":"https://api.github.com/users/ahmetb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mengqiy","id":2589105,"avatar_url":"https://avatars2.githubusercontent.com/u/2589105?v=3","gravatar_id":"","url":"https://api.github.com/users/mengqiy","html_url":"https://github.com/mengqiy","followers_url":"https://api.github.com/users/mengqiy/followers","following_url":"https://api.github.com/users/mengqiy/following{/other_user}","gists_url":"https://api.github.com/users/mengqiy/gists{/gist_id}","starred_url":"https://api.github.com/users/mengqiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mengqiy/subscriptions","organizations_url":"https://api.github.com/users/mengqiy/orgs","repos_url":"https://api.github.com/users/mengqiy/repos","events_url":"https://api.github.com/users/mengqiy/events{/privacy}","received_events_url":"https://api.github.com/users/mengqiy/received_events","type":"User","site_admin":false},"assignees":[{"login":"mengqiy","id":2589105,"avatar_url":"https://avatars2.githubusercontent.com/u/2589105?v=3","gravatar_id":"","url":"https://api.github.com/users/mengqiy","html_url":"https://github.com/mengqiy","followers_url":"https://api.github.com/users/mengqiy/followers","following_url":"https://api.github.com/users/mengqiy/following{/other_user}","gists_url":"https://api.github.com/users/mengqiy/gists{/gist_id}","starred_url":"https://api.github.com/users/mengqiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mengqiy/subscriptions","organizations_url":"https://api.github.com/users/mengqiy/orgs","repos_url":"https://api.github.com/users/mengqiy/repos","events_url":"https://api.github.com/users/mengqiy/events{/privacy}","received_events_url":"https://api.github.com/users/mengqiy/received_events","type":"User","site_admin":false},{"login":"pwittrock","id":7882754,"avatar_url":"https://avatars3.githubusercontent.com/u/7882754?v=3","gravatar_id":"","url":"https://api.github.com/users/pwittrock","html_url":"https://github.com/pwittrock","followers_url":"https://api.github.com/users/pwittrock/followers","following_url":"https://api.github.com/users/pwittrock/following{/other_user}","gists_url":"https://api.github.com/users/pwittrock/gists{/gist_id}","starred_url":"https://api.github.com/users/pwittrock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pwittrock/subscriptions","organizations_url":"https://api.github.com/users/pwittrock/orgs","repos_url":"https://api.github.com/users/pwittrock/repos","events_url":"https://api.github.com/users/pwittrock/events{/privacy}","received_events_url":"https://api.github.com/users/pwittrock/received_events","type":"User","site_admin":false},{"login":"chenopis","id":24798125,"avatar_url":"https://avatars2.githubusercontent.com/u/24798125?v=3","gravatar_id":"","url":"https://api.github.com/users/chenopis","html_url":"https://github.com/chenopis","followers_url":"https://api.github.com/users/chenopis/followers","following_url":"https://api.github.com/users/chenopis/following{/other_user}","gists_url":"https://api.github.com/users/chenopis/gists{/gist_id}","starred_url":"https://api.github.com/users/chenopis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenopis/subscriptions","organizations_url":"https://api.github.com/users/chenopis/orgs","repos_url":"https://api.github.com/users/chenopis/repos","events_url":"https://api.github.com/users/chenopis/events{/privacy}","received_events_url":"https://api.github.com/users/chenopis/received_events","type":"User","site_admin":false}],"milestone":null,"comments":2,"created_at":"2017-07-05T20:08:36Z","updated_at":"2017-07-05T21:06:55Z","closed_at":null,"body":"It's not clear whether anybody has ran the `update-imported-docs.sh` for the v1.7 release.\r\n\r\nI just tried running it, a few things are broken:\r\n\r\n- [ ] 1. `cp: cannot stat 'k8s/cluster/saltbase/salt/fluentd-gcp/fluentd-gcp.yaml': No such file or directory` this is because [we copy this file](https://github.com/kubernetes/kubernetes.github.io/blob/41c395771a12507a10ade75918944e8a731be040/_data/overrides.yml#L10) and not use anywhere else. we should remove this. &rarr; PR #4285.\r\n- [ ] 2. `yes | cp -rf -- k8s/federation/docs/api-reference/ docs/federation/` fails with `cd: docs/federation/api-reference: No such file or directory`\r\n    > - it looks like we moved this to `/docs/reference/federation` path and not updated the script. It also appears that `/docs/federation` never existed(??)\r\n    > - it looks like if I fix the copypath in `_data/overrides.yaml`, this script creates a `docs/reference/federation/api-reference` directory, instead of copying things in `api-reference` to `docs/reference/federation`.\r\n\r\nWill add more issues if I find them.\r\n\r\n/cc: @pwittrock @chenopis "},"comment":{"url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues/comments/313227150","html_url":"https://github.com/kubernetes/kubernetes.github.io/issues/4283#issuecomment-313227150","issue_url":"https://api.github.com/repos/kubernetes/kubernetes.github.io/issues/4283","id":313227150,"user":{"login":"ahmetb","id":159209,"avatar_url":"https://avatars2.githubusercontent.com/u/159209?v=3","gravatar_id":"","url":"https://api.github.com/users/ahmetb","html_url":"https://github.com/ahmetb","followers_url":"https://api.github.com/users/ahmetb/followers","following_url":"https://api.github.com/users/ahmetb/following{/other_user}","gists_url":"https://api.github.com/users/ahmetb/gists{/gist_id}","starred_url":"https://api.github.com/users/ahmetb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ahmetb/subscriptions","organizations_url":"https://api.github.com/users/ahmetb/orgs","repos_url":"https://api.github.com/users/ahmetb/repos","events_url":"https://api.github.com/users/ahmetb/events{/privacy}","received_events_url":"https://api.github.com/users/ahmetb/received_events","type":"User","site_admin":false},"created_at":"2017-07-05T21:06:55Z","updated_at":"2017-07-05T21:06:55Z","body":"I poked at this quite a bit still can't fix the `docs/federation/api-reference` issue. Here's my patch for the file:\r\n\r\n\r\n I ended up deleting that dir altogether since it is not versioned anyway, the script completed successfully however:\r\n- the output is not correct\r\n- it added `---\\n---\\n` to existing files. that doesn't sound right.\r\n\r\nI'll probably be spending a few more hours on this with no good reason (this script takes 4 minutes to run every time) so I'll call help. @mengqiy can you help out? Maybe we should replace this script with something more manageable like python/go."}}
{"actor":{"display_login":"ahmetb"}}