{"action":"created","issue":{"url":"https://api.github.com/repos/progrium/dokku/issues/1742","labels_url":"https://api.github.com/repos/progrium/dokku/issues/1742/labels{/name}","comments_url":"https://api.github.com/repos/progrium/dokku/issues/1742/comments","events_url":"https://api.github.com/repos/progrium/dokku/issues/1742/events","html_url":"https://github.com/progrium/dokku/issues/1742","id":120150454,"number":1742,"title":"Comments in Procfile cause problems","user":{"login":"sglebs","id":1507221,"avatar_url":"https://avatars.githubusercontent.com/u/1507221?v=3","gravatar_id":"","url":"https://api.github.com/users/sglebs","html_url":"https://github.com/sglebs","followers_url":"https://api.github.com/users/sglebs/followers","following_url":"https://api.github.com/users/sglebs/following{/other_user}","gists_url":"https://api.github.com/users/sglebs/gists{/gist_id}","starred_url":"https://api.github.com/users/sglebs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sglebs/subscriptions","organizations_url":"https://api.github.com/users/sglebs/orgs","repos_url":"https://api.github.com/users/sglebs/repos","events_url":"https://api.github.com/users/sglebs/events{/privacy}","received_events_url":"https://api.github.com/users/sglebs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-12-03T11:31:33Z","updated_at":"2015-12-03T17:46:52Z","closed_at":null,"body":"I used to use dokku-shoreman with dokku 0.3.x, and in the process I added support for commented lines. Now with dokku 0.4.5 I see that dokku supports multiple entries in the file like Heroku does - great! However, it does not skip commented lines in the file. So, I am getting an error with git push:\r\n\r\n```\r\nremote: /usr/local/bin/dokku: line 112: [[: # b) after you have a migration script from : syntax error: operand expected (error token is \"# b) after you have a migration script from \")\r\nremote: /usr/local/bin/dokku: line 177: # b) after you have a migration script from : syntax error: operand expected (error token is \"# b) after you have a migration script from \")\r\nTo dokku@10.5.5.5:softdispdjango-dev\r\n ! [remote rejected] master -> master (pre-receive hook declined)\r\nerror: failed to push some refs to 'dokku@10.5.5.5:softdispdjango-dev'\r\n```\r\n\r\nThe Procfile:\r\n\r\n```\r\nweb: python manage.py collectstatic --noinput; gunicorn -c gunicorn_config.py main.wsgi\r\ncronloop: python dashboard/cron/cron_loop.py\r\n#weblocal: gunicorn main.wsgi\r\n# a) if you change the model, run this to generate a migration script:\r\n#export PYTHONPATH=$PYTHONPATH:$PWD;export DJANGO_SETTINGS_MODULE=main.settings;django-admin makemigrations --dry-run\r\n# repeat without the --dry-run\r\n# b) after you have a migration script from #a above, run this:\r\n#python manage.py migrate --fake-initial\r\n# run this from cron to take health snapshots (every 10 mins?):\r\n#healthsnapshot: python dashboard/cron/take_health_snapshot.py\r\n# run this from cron to take newrelic snapshots (every 10 mins?):\r\n#newrelicsnapshot: python dashboard/cron/take_newrelic_snapshot.py\r\n# run this from cron to delete old health snapshots (every 24h?):\r\n#prunehealthsnapshots: python dashboard/cron/delete_old_data_snapshots.py\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/progrium/dokku/issues/comments/161728697","html_url":"https://github.com/progrium/dokku/issues/1742#issuecomment-161728697","issue_url":"https://api.github.com/repos/progrium/dokku/issues/1742","id":161728697,"user":{"login":"michaelshobbs","id":4491438,"avatar_url":"https://avatars.githubusercontent.com/u/4491438?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelshobbs","html_url":"https://github.com/michaelshobbs","followers_url":"https://api.github.com/users/michaelshobbs/followers","following_url":"https://api.github.com/users/michaelshobbs/following{/other_user}","gists_url":"https://api.github.com/users/michaelshobbs/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelshobbs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelshobbs/subscriptions","organizations_url":"https://api.github.com/users/michaelshobbs/orgs","repos_url":"https://api.github.com/users/michaelshobbs/repos","events_url":"https://api.github.com/users/michaelshobbs/events{/privacy}","received_events_url":"https://api.github.com/users/michaelshobbs/received_events","type":"User","site_admin":false},"created_at":"2015-12-03T17:46:52Z","updated_at":"2015-12-03T17:46:52Z","body":"This one also works. Any thoughts on how I might recreate this issue?\r\n```\r\n# test comment\r\n# a: test comment with :\r\n# b) test comment with )\r\nweb: node index.js\r\nworker: node worker.js\r\ndb-update: echo 'updating db'\r\n#weblocal: gunicorn main.wsgi\r\n# a) if you change the model, run this to generate a migration script:\r\n#export PYTHONPATH=$PYTHONPATH:$PWD;export DJANGO_SETTINGS_MODULE=main.settings;django-admin makemigrations --dry-run\r\n# repeat without the --dry-run\r\n# b) after you have a migration script from #a above, run this:\r\n#python manage.py migrate --fake-initial\r\n# run this from cron to take health snapshots (every 10 mins?):\r\n#healthsnapshot: python dashboard/cron/take_health_snapshot.py\r\n# run this from cron to take newrelic snapshots (every 10 mins?):\r\n#newrelicsnapshot: python dashboard/cron/take_newrelic_snapshot.py\r\n# run this from cron to delete old health snapshots (every 24h?):\r\n#prunehealthsnapshots: python dashboard/cron/delete_old_data_snapshots.py\r\n```"}}