{"action":"created","issue":{"url":"https://api.github.com/repos/argoproj/argo-cd/issues/887","repository_url":"https://api.github.com/repos/argoproj/argo-cd","labels_url":"https://api.github.com/repos/argoproj/argo-cd/issues/887/labels{/name}","comments_url":"https://api.github.com/repos/argoproj/argo-cd/issues/887/comments","events_url":"https://api.github.com/repos/argoproj/argo-cd/issues/887/events","html_url":"https://github.com/argoproj/argo-cd/pull/887","id":388042267,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM2Mzk3MTMx","number":887,"title":"Enable --auto-prune for app create if --sync-policy is automated","user":{"login":"essh","id":30296,"node_id":"MDQ6VXNlcjMwMjk2","avatar_url":"https://avatars2.githubusercontent.com/u/30296?v=4","gravatar_id":"","url":"https://api.github.com/users/essh","html_url":"https://github.com/essh","followers_url":"https://api.github.com/users/essh/followers","following_url":"https://api.github.com/users/essh/following{/other_user}","gists_url":"https://api.github.com/users/essh/gists{/gist_id}","starred_url":"https://api.github.com/users/essh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/essh/subscriptions","organizations_url":"https://api.github.com/users/essh/orgs","repos_url":"https://api.github.com/users/essh/repos","events_url":"https://api.github.com/users/essh/events{/privacy}","received_events_url":"https://api.github.com/users/essh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-06T03:32:04Z","updated_at":"2018-12-06T03:35:51Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/argoproj/argo-cd/pulls/887","html_url":"https://github.com/argoproj/argo-cd/pull/887","diff_url":"https://github.com/argoproj/argo-cd/pull/887.diff","patch_url":"https://github.com/argoproj/argo-cd/pull/887.patch"},"body":"The --auto-prune flag is being ignored when creating an app using the CLI. I copied across the logic from the set command which was doing the right thing."},"comment":{"url":"https://api.github.com/repos/argoproj/argo-cd/issues/comments/444737150","html_url":"https://github.com/argoproj/argo-cd/pull/887#issuecomment-444737150","issue_url":"https://api.github.com/repos/argoproj/argo-cd/issues/887","id":444737150,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NDczNzE1MA==","user":{"login":"codecov-io","id":8655789,"node_id":"MDQ6VXNlcjg2NTU3ODk=","avatar_url":"https://avatars0.githubusercontent.com/u/8655789?v=4","gravatar_id":"","url":"https://api.github.com/users/codecov-io","html_url":"https://github.com/codecov-io","followers_url":"https://api.github.com/users/codecov-io/followers","following_url":"https://api.github.com/users/codecov-io/following{/other_user}","gists_url":"https://api.github.com/users/codecov-io/gists{/gist_id}","starred_url":"https://api.github.com/users/codecov-io/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codecov-io/subscriptions","organizations_url":"https://api.github.com/users/codecov-io/orgs","repos_url":"https://api.github.com/users/codecov-io/repos","events_url":"https://api.github.com/users/codecov-io/events{/privacy}","received_events_url":"https://api.github.com/users/codecov-io/received_events","type":"User","site_admin":false},"created_at":"2018-12-06T03:35:51Z","updated_at":"2018-12-06T03:35:51Z","author_association":"NONE","body":"# [Codecov](https://codecov.io/gh/argoproj/argo-cd/pull/887?src=pr&el=h1) Report\n> Merging [#887](https://codecov.io/gh/argoproj/argo-cd/pull/887?src=pr&el=desc) into [master](https://codecov.io/gh/argoproj/argo-cd/commit/874fe6968323933808926b74a7d5ca0b43d014c5?src=pr&el=desc) will **increase** coverage by `0.04%`.\n> The diff coverage is `n/a`.\n\n[![Impacted file tree graph](https://codecov.io/gh/argoproj/argo-cd/pull/887/graphs/tree.svg?width=650&token=kf5kwuegwE&height=150&src=pr)](https://codecov.io/gh/argoproj/argo-cd/pull/887?src=pr&el=tree)\n\n```diff\n@@            Coverage Diff             @@\n##           master     #887      +/-   ##\n==========================================\n+ Coverage   33.33%   33.37%   +0.04%     \n==========================================\n  Files          48       48              \n  Lines        7193     7193              \n==========================================\n+ Hits         2398     2401       +3     \n+ Misses       4435     4432       -3     \n  Partials      360      360\n```\n\n\n| [Impacted Files](https://codecov.io/gh/argoproj/argo-cd/pull/887?src=pr&el=tree) | Coverage Δ | |\n|---|---|---|\n| [server/server.go](https://codecov.io/gh/argoproj/argo-cd/pull/887/diff?src=pr&el=tree#diff-c2VydmVyL3NlcnZlci5nbw==) | `50% <0%> (+0.76%)` | :arrow_up: |\n\n------\n\n[Continue to review full report at Codecov](https://codecov.io/gh/argoproj/argo-cd/pull/887?src=pr&el=continue).\n> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta)\n> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`\n> Powered by [Codecov](https://codecov.io/gh/argoproj/argo-cd/pull/887?src=pr&el=footer). Last update [874fe69...53eb75c](https://codecov.io/gh/argoproj/argo-cd/pull/887?src=pr&el=lastupdated). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments).\n"}}
{"actor":{"display_login":"codecov-io"}}