)]}'
{"functions.sh":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"9eded0494c7ada3be257c91949fea7017b5dbee9","unresolved":false,"context_lines":[{"line_number":321,"context_line":"    # so we partition the disk and mount it on /opt, syncing the previous"},{"line_number":322,"context_line":"    # contents of /opt over."},{"line_number":323,"context_line":"    SWAPSIZE\u003d8192"},{"line_number":324,"context_line":"    swapcurrent\u003d$(( $(grep SwapTotal /proc/meminfo | awk \u0027{ print $2; }\u0027) / 1024 ))"},{"line_number":325,"context_line":""},{"line_number":326,"context_line":"    if [[ $swapcurrent -lt $SWAPSIZE ]]; then"},{"line_number":327,"context_line":"        if [ -b /dev/xvde ]; then"}],"source_content_type":"text/x-sh","patch_set":2,"id":"5aef4532_df2d71a9","line":324,"updated":"2016-03-09 20:40:08.000000000","message":"ahh, maybe just re-run this check afterwards","commit_id":"4bf36edc8b1d8108d5e8831f6e962b2359d250e0"},{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"efcaf8242e74ff22192c08e02aca20932ebd14c3","unresolved":false,"context_lines":[{"line_number":364,"context_line":"            sudo mkswap ${swapfile}"},{"line_number":365,"context_line":"            sudo swapon ${swapfile}"},{"line_number":366,"context_line":""},{"line_number":367,"context_line":"            # Sanity check, we\u0027ve had issues where swapfile wasn\u0027t mounted"},{"line_number":368,"context_line":"            # properly"},{"line_number":369,"context_line":"            grep -q ${swapfile} /proc/swaps || exit 1"},{"line_number":370,"context_line":"        fi"}],"source_content_type":"text/x-sh","patch_set":5,"id":"5aef4532_05ce682d","line":367,"updated":"2016-03-09 21:12:38.000000000","message":"it might make sense to make this a global check (handle the dev path too), since we\u0027re here","commit_id":"09a575adb74bff72626b81d0c498351a864fbe09"}]}
