)]}'
{"nodepool/elements/cache-bindep/install.d/50-download-pkgs":[{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"f54f842cd62d13e14854c11fde85fe932d6b1625","unresolved":false,"context_lines":[{"line_number":21,"context_line":"PACKAGES\u003d`cat $FALLBACKREPO/$FALLBACKFILE`"},{"line_number":22,"context_line":"for repo in /opt/git/*/* ; do"},{"line_number":23,"context_line":"    pushdir $repo"},{"line_number":24,"context_line":"    git remote update"},{"line_number":25,"context_line":"    for branch in `git branch --list -r \u0027origin/[^H]*\u0027` ; do"},{"line_number":26,"context_line":"        git reset --hard $branch"},{"line_number":27,"context_line":"        if [ -f other-requirements.txt ] ; then"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"fa32b979_f4efbde6","line":24,"updated":"2015-06-24 18:03:47.000000000","message":"This shouldn\u0027t be necessary (it may be right now, but if so, we should fix DIB)","commit_id":"546143ec2c1489905cdc8075a457e86b6c4bd9c9"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"3236e85655e664d48bcb2da41c86035a35290d59","unresolved":false,"context_lines":[{"line_number":21,"context_line":"PACKAGES\u003d`cat $FALLBACKREPO/$FALLBACKFILE`"},{"line_number":22,"context_line":"for repo in /opt/git/*/* ; do"},{"line_number":23,"context_line":"    pushdir $repo"},{"line_number":24,"context_line":"    git remote update"},{"line_number":25,"context_line":"    for branch in `git branch --list -r \u0027origin/[^H]*\u0027` ; do"},{"line_number":26,"context_line":"        git reset --hard $branch"},{"line_number":27,"context_line":"        if [ -f other-requirements.txt ] ; then"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"fa32b979_0ad558e3","line":24,"in_reply_to":"fa32b979_f4efbde6","updated":"2015-06-24 18:55:50.000000000","message":"Also, the behavior resulting from not doing this will simply be that we don\u0027t look for bindep other-requirements.txt files in non-master branches. At the moment, no repos have them even in master, so we can fix this directly in dib without bothering to work around it here.","commit_id":"546143ec2c1489905cdc8075a457e86b6c4bd9c9"},{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"f54f842cd62d13e14854c11fde85fe932d6b1625","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    pushdir $repo"},{"line_number":24,"context_line":"    git remote update"},{"line_number":25,"context_line":"    for branch in `git branch --list -r \u0027origin/[^H]*\u0027` ; do"},{"line_number":26,"context_line":"        git reset --hard $branch"},{"line_number":27,"context_line":"        if [ -f other-requirements.txt ] ; then"},{"line_number":28,"context_line":"            PACKAGES\u003d`"},{"line_number":29,"context_line":"                ( echo \"$PACKAGES\" ; cat other-requirements.txt ) | sort -u`"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"fa32b979_14eb41dd","line":26,"updated":"2015-06-24 18:03:47.000000000","message":"Rather than manipulating the repos, let\u0027s just ask git to dump the file contents from each branch directly.","commit_id":"546143ec2c1489905cdc8075a457e86b6c4bd9c9"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"3236e85655e664d48bcb2da41c86035a35290d59","unresolved":false,"context_lines":[{"line_number":23,"context_line":"    pushdir $repo"},{"line_number":24,"context_line":"    git remote update"},{"line_number":25,"context_line":"    for branch in `git branch --list -r \u0027origin/[^H]*\u0027` ; do"},{"line_number":26,"context_line":"        git reset --hard $branch"},{"line_number":27,"context_line":"        if [ -f other-requirements.txt ] ; then"},{"line_number":28,"context_line":"            PACKAGES\u003d`"},{"line_number":29,"context_line":"                ( echo \"$PACKAGES\" ; cat other-requirements.txt ) | sort -u`"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"fa32b979_0aec78b9","line":26,"in_reply_to":"fa32b979_14eb41dd","updated":"2015-06-24 18:55:50.000000000","message":"Agreed. Turns out it\u0027s easy.","commit_id":"546143ec2c1489905cdc8075a457e86b6c4bd9c9"},{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"f54f842cd62d13e14854c11fde85fe932d6b1625","unresolved":false,"context_lines":[{"line_number":29,"context_line":"                ( echo \"$PACKAGES\" ; cat other-requirements.txt ) | sort -u`"},{"line_number":30,"context_line":"        fi"},{"line_number":31,"context_line":"    done"},{"line_number":32,"context_line":"    git reset --hard origin/master"},{"line_number":33,"context_line":"    popdir"},{"line_number":34,"context_line":"done"},{"line_number":35,"context_line":"PACKAGESFILE\u003d`tempfile`"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"fa32b979_b4bcd5dc","line":32,"updated":"2015-06-24 18:03:47.000000000","message":"And then this isn\u0027t necessary either.","commit_id":"546143ec2c1489905cdc8075a457e86b6c4bd9c9"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"3236e85655e664d48bcb2da41c86035a35290d59","unresolved":false,"context_lines":[{"line_number":29,"context_line":"                ( echo \"$PACKAGES\" ; cat other-requirements.txt ) | sort -u`"},{"line_number":30,"context_line":"        fi"},{"line_number":31,"context_line":"    done"},{"line_number":32,"context_line":"    git reset --hard origin/master"},{"line_number":33,"context_line":"    popdir"},{"line_number":34,"context_line":"done"},{"line_number":35,"context_line":"PACKAGESFILE\u003d`tempfile`"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"fa32b979_4a3da029","line":32,"in_reply_to":"fa32b979_b4bcd5dc","updated":"2015-06-24 18:55:50.000000000","message":"Right.","commit_id":"546143ec2c1489905cdc8075a457e86b6c4bd9c9"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"1421d5c514b5792d3963302d9c834b088752f671","unresolved":false,"context_lines":[{"line_number":35,"context_line":"PACKAGESFILE\u003d`tempfile`"},{"line_number":36,"context_line":"echo \"$PACKAGES\" \u003e $PACKAGESFILE"},{"line_number":37,"context_line":"PACKAGELIST\u003d`bindep -b -f $PACKAGESFILE`"},{"line_number":38,"context_line":"rm $PACKAGESFILE"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"if grep \"^CentOS release 6\" /etc/redhat-release ; then"},{"line_number":41,"context_line":"    # --downloadonly is provided by the yum-plugin-downloadonly package on"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"fa32b979_44ccba88","line":38,"updated":"2015-06-24 17:16:24.000000000","message":"Once we have a bindep release containing Ic6e54af185e4b07825fcde3ef991f53de0a9ecfa we can simplify this to no longer use a tempfile.","commit_id":"546143ec2c1489905cdc8075a457e86b6c4bd9c9"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"3236e85655e664d48bcb2da41c86035a35290d59","unresolved":false,"context_lines":[{"line_number":35,"context_line":"PACKAGESFILE\u003d`tempfile`"},{"line_number":36,"context_line":"echo \"$PACKAGES\" \u003e $PACKAGESFILE"},{"line_number":37,"context_line":"PACKAGELIST\u003d`bindep -b -f $PACKAGESFILE`"},{"line_number":38,"context_line":"rm $PACKAGESFILE"},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"if grep \"^CentOS release 6\" /etc/redhat-release ; then"},{"line_number":41,"context_line":"    # --downloadonly is provided by the yum-plugin-downloadonly package on"}],"source_content_type":"application/x-shellscript","patch_set":1,"id":"fa32b979_6a0ae47a","line":38,"in_reply_to":"fa32b979_44ccba88","updated":"2015-06-24 18:55:50.000000000","message":"Adding a TODO comment for this.","commit_id":"546143ec2c1489905cdc8075a457e86b6c4bd9c9"}]}
