{"action":"created","issue":{"url":"https://api.github.com/repos/oniony/TMSU/issues/53","labels_url":"https://api.github.com/repos/oniony/TMSU/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/oniony/TMSU/issues/53/comments","events_url":"https://api.github.com/repos/oniony/TMSU/issues/53/events","html_url":"https://github.com/oniony/TMSU/issues/53","id":112940004,"number":53,"title":"tmsu repair with 500 files fails with \"too many SQL variables\"","user":{"login":"olhotak","id":5207003,"avatar_url":"https://avatars.githubusercontent.com/u/5207003?v=3","gravatar_id":"","url":"https://api.github.com/users/olhotak","html_url":"https://github.com/olhotak","followers_url":"https://api.github.com/users/olhotak/followers","following_url":"https://api.github.com/users/olhotak/following{/other_user}","gists_url":"https://api.github.com/users/olhotak/gists{/gist_id}","starred_url":"https://api.github.com/users/olhotak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olhotak/subscriptions","organizations_url":"https://api.github.com/users/olhotak/orgs","repos_url":"https://api.github.com/users/olhotak/repos","events_url":"https://api.github.com/users/olhotak/events{/privacy}","received_events_url":"https://api.github.com/users/olhotak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-23T03:18:52Z","updated_at":"2015-10-23T06:54:34Z","closed_at":null,"body":"To reproduce, I run the following script:\r\n```\r\n#!/bin/bash\r\nset -e\r\nmkdir /tmp/test\r\ncd /tmp/test\r\ntmsu init\r\nfor i in `seq 500`; do touch $i; done\r\ntmsu tag --tags tag *\r\ntmsu --version | head -1\r\ntmsu repair\r\n```\r\n\r\nThe output I get is:\r\n```\r\ntmsu: creating database at '/tmp/test/.tmsu/db'.\r\ntmsu: New tag 'tag'.\r\nTMSU 0.5.2\r\ntmsu: database query failed: too many SQL variables\r\n```"},"comment":{"url":"https://api.github.com/repos/oniony/TMSU/issues/comments/150491782","html_url":"https://github.com/oniony/TMSU/issues/53#issuecomment-150491782","issue_url":"https://api.github.com/repos/oniony/TMSU/issues/53","id":150491782,"user":{"login":"oniony","id":5895,"avatar_url":"https://avatars.githubusercontent.com/u/5895?v=3","gravatar_id":"","url":"https://api.github.com/users/oniony","html_url":"https://github.com/oniony","followers_url":"https://api.github.com/users/oniony/followers","following_url":"https://api.github.com/users/oniony/following{/other_user}","gists_url":"https://api.github.com/users/oniony/gists{/gist_id}","starred_url":"https://api.github.com/users/oniony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oniony/subscriptions","organizations_url":"https://api.github.com/users/oniony/orgs","repos_url":"https://api.github.com/users/oniony/repos","events_url":"https://api.github.com/users/oniony/events{/privacy}","received_events_url":"https://api.github.com/users/oniony/received_events","type":"User","site_admin":false},"created_at":"2015-10-23T06:54:34Z","updated_at":"2015-10-23T06:54:34Z","body":"Thanks for reporting this. I shall take a look.\nOn 23 Oct 2015 04:18, \"Ondřej Lhoták\" <notifications@github.com> wrote:\n\n> To reproduce, I run the following script:\n>\n> #!/bin/bash\n> set -e\n> mkdir /tmp/test\n> cd /tmp/test\n> tmsu init\n> for i in `seq 500`; do touch $i; done\n> tmsu tag --tags tag *\n> tmsu --version | head -1\n> tmsu repair\n>\n> The output I get is:\n>\n> tmsu: creating database at '/tmp/test/.tmsu/db'.\n> tmsu: New tag 'tag'.\n> TMSU 0.5.2\n> tmsu: database query failed: too many SQL variables\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/oniony/TMSU/issues/53>.\n>\n"}}