)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":28208,"name":"Roman Gorshunov","email":"roman.gorshunov@att.com","username":"gorshunovr"},"change_message_id":"640d4c16bf681d4534851260a88fb6afec95c153","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Alexander Noskov \u003canoskov@mirantis.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2019-08-05 12:07:18 -0500"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Re-work logic for uplift_review stage"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Reduce amount of duplicated automatic change requests."},{"line_number":10,"context_line":"In case CR already exist and not merged, it is updating"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"7faddb67_daf535ce","line":7,"range":{"start_line":7,"start_character":0,"end_line":7,"end_character":37},"updated":"2019-08-07 10:05:03.000000000","message":"Change title does not describe much what would be if we apply this patch.","commit_id":"039788db758c4c118de49e9bce6deda769bbf396"}],"tools/gate/seaworthy/Jenkinsfile":[{"author":{"_account_id":28208,"name":"Roman Gorshunov","email":"roman.gorshunov@att.com","username":"gorshunovr"},"change_message_id":"640d4c16bf681d4534851260a88fb6afec95c153","unresolved":false,"context_lines":[{"line_number":257,"context_line":""},{"line_number":258,"context_line":"            cp $SSH_KEY ~/.ssh/id_rsa"},{"line_number":259,"context_line":""},{"line_number":260,"context_line":"            ssh-keyscan -p 29418 review.opendev.org \u003e\u003e ~/.ssh/known_hosts"},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"            git clone ssh://$SSH_USER@review.opendev.org:29418/airship/treasuremap"},{"line_number":263,"context_line":"            scp -p -P 29418 $SSH_USER@review.opendev.org:hooks/commit-msg treasuremap/.git/hooks/"}],"source_content_type":"text/x-groovy","patch_set":2,"id":"7faddb67_9affbdaa","line":260,"range":{"start_line":260,"start_character":12,"end_line":260,"end_character":73},"updated":"2019-08-07 10:05:03.000000000","message":"I would rather replace this with 2 keys from this page:\nhttps://review.opendev.org/#/settings/ssh-keys\nAnd it would be more safe against tampering.","commit_id":"039788db758c4c118de49e9bce6deda769bbf396"},{"author":{"_account_id":28208,"name":"Roman Gorshunov","email":"roman.gorshunov@att.com","username":"gorshunovr"},"change_message_id":"640d4c16bf681d4534851260a88fb6afec95c153","unresolved":false,"context_lines":[{"line_number":260,"context_line":"            ssh-keyscan -p 29418 review.opendev.org \u003e\u003e ~/.ssh/known_hosts"},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"            git clone ssh://$SSH_USER@review.opendev.org:29418/airship/treasuremap"},{"line_number":263,"context_line":"            scp -p -P 29418 $SSH_USER@review.opendev.org:hooks/commit-msg treasuremap/.git/hooks/"},{"line_number":264,"context_line":"        \"\"\""},{"line_number":265,"context_line":""},{"line_number":266,"context_line":"        dir (\u0027treasuremap\u0027) {"}],"source_content_type":"text/x-groovy","patch_set":2,"id":"7faddb67_5a2b8532","line":263,"range":{"start_line":263,"start_character":12,"end_line":263,"end_character":97},"updated":"2019-08-07 10:05:03.000000000","message":"`git-review -s` inside that treasuremap subdir","commit_id":"039788db758c4c118de49e9bce6deda769bbf396"},{"author":{"_account_id":28208,"name":"Roman Gorshunov","email":"roman.gorshunov@att.com","username":"gorshunovr"},"change_message_id":"640d4c16bf681d4534851260a88fb6afec95c153","unresolved":false,"context_lines":[{"line_number":268,"context_line":"                git config user.name \u0027Jenkins Uplifter\u0027"},{"line_number":269,"context_line":"                git config user.email $SSH_USER@gmail.com"},{"line_number":270,"context_line":"                git config gitreview.username $SSH_USER"},{"line_number":271,"context_line":""},{"line_number":272,"context_line":"                EXISTING_CR\u003d\\$(git-review -l --no-color | awk \u0027/Auto chart\\\\/image uplift to latest/ {print \\$1}\u0027 | sort -r | head -n 1)"},{"line_number":273,"context_line":"                export EXISTING_CR"},{"line_number":274,"context_line":""}],"source_content_type":"text/x-groovy","patch_set":2,"id":"7faddb67_da91b555","line":271,"updated":"2019-08-07 10:05:03.000000000","message":"`git review -s` somewhere here","commit_id":"039788db758c4c118de49e9bce6deda769bbf396"},{"author":{"_account_id":28208,"name":"Roman Gorshunov","email":"roman.gorshunov@att.com","username":"gorshunovr"},"change_message_id":"640d4c16bf681d4534851260a88fb6afec95c153","unresolved":false,"context_lines":[{"line_number":277,"context_line":"                    git-review -x \"\\$EXISTING_CR\""},{"line_number":278,"context_line":"                    cp ../global/software/config/versions.yaml global/software/config/versions.yaml"},{"line_number":279,"context_line":"                    git add global/software/config/versions.yaml"},{"line_number":280,"context_line":"                    git commit --amend --no-edit"},{"line_number":281,"context_line":"                else"},{"line_number":282,"context_line":"                    cp ../global/software/config/versions.yaml global/software/config/versions.yaml"},{"line_number":283,"context_line":"                    git add global/software/config/versions.yaml"}],"source_content_type":"text/x-groovy","patch_set":2,"id":"7faddb67_baa639ab","line":280,"updated":"2019-08-07 10:05:03.000000000","message":"Add `--date\u003dnow`, and test it with this param. This is needed, because then we would be able to track to exact date when we pulled info on versions \u0026 images from repositories. If `--date\u003dnow` wouldn\u0027t work with `--no-edit`, then use `--reuse-message\u003dHEAD`.","commit_id":"039788db758c4c118de49e9bce6deda769bbf396"}]}
