{"action":"created","issue":{"url":"https://api.github.com/repos/borgbackup/borg/issues/1554","repository_url":"https://api.github.com/repos/borgbackup/borg","labels_url":"https://api.github.com/repos/borgbackup/borg/issues/1554/labels{/name}","comments_url":"https://api.github.com/repos/borgbackup/borg/issues/1554/comments","events_url":"https://api.github.com/repos/borgbackup/borg/issues/1554/events","html_url":"https://github.com/borgbackup/borg/pull/1554","id":174114863,"number":1554,"title":"Archives filters","user":{"login":"funkyfuture","id":2004405,"avatar_url":"https://avatars.githubusercontent.com/u/2004405?v=3","gravatar_id":"","url":"https://api.github.com/users/funkyfuture","html_url":"https://github.com/funkyfuture","followers_url":"https://api.github.com/users/funkyfuture/followers","following_url":"https://api.github.com/users/funkyfuture/following{/other_user}","gists_url":"https://api.github.com/users/funkyfuture/gists{/gist_id}","starred_url":"https://api.github.com/users/funkyfuture/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/funkyfuture/subscriptions","organizations_url":"https://api.github.com/users/funkyfuture/orgs","repos_url":"https://api.github.com/users/funkyfuture/repos","events_url":"https://api.github.com/users/funkyfuture/events{/privacy}","received_events_url":"https://api.github.com/users/funkyfuture/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-08-30T20:16:59Z","updated_at":"2016-09-30T18:29:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/borgbackup/borg/pulls/1554","html_url":"https://github.com/borgbackup/borg/pull/1554","diff_url":"https://github.com/borgbackup/borg/pull/1554.diff","patch_url":"https://github.com/borgbackup/borg/pull/1554.patch"},"body":"follow-up of #1369\r\n\r\nthis adds the arguments `--first`, `--last` and `--sort-by`, and groups them with `--prefix` as archives filters that can be applied on repository targets.\r\n\r\nusable with `check`, `delete`, `info` and `list`.\r\n\r\nuse-case in a script:\r\n\r\n```bash\r\nwhile used_space_exceeds_pcent; do\r\n    log 'Used space exceeds ${MAX_DISK_USAGE}%, deleting oldest backup archive.'\r\n    borg delete --first 1 --force $BORG_REPOSITORY & wait\r\ndone\r\n```"},"comment":{"url":"https://api.github.com/repos/borgbackup/borg/issues/comments/250818479","html_url":"https://github.com/borgbackup/borg/pull/1554#issuecomment-250818479","issue_url":"https://api.github.com/repos/borgbackup/borg/issues/1554","id":250818479,"user":{"login":"ThomasWaldmann","id":356103,"avatar_url":"https://avatars.githubusercontent.com/u/356103?v=3","gravatar_id":"","url":"https://api.github.com/users/ThomasWaldmann","html_url":"https://github.com/ThomasWaldmann","followers_url":"https://api.github.com/users/ThomasWaldmann/followers","following_url":"https://api.github.com/users/ThomasWaldmann/following{/other_user}","gists_url":"https://api.github.com/users/ThomasWaldmann/gists{/gist_id}","starred_url":"https://api.github.com/users/ThomasWaldmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThomasWaldmann/subscriptions","organizations_url":"https://api.github.com/users/ThomasWaldmann/orgs","repos_url":"https://api.github.com/users/ThomasWaldmann/repos","events_url":"https://api.github.com/users/ThomasWaldmann/events{/privacy}","received_events_url":"https://api.github.com/users/ThomasWaldmann/received_events","type":"User","site_admin":false},"created_at":"2016-09-30T18:29:24Z","updated_at":"2016-09-30T18:29:24Z","body":"lgtm modulo test results."}}
{"actor":{"display_login":"ThomasWaldmann"}}