)]}'
{"id":"openstack%2Foslo.cache~725624","triplet_id":"openstack%2Foslo.cache~master~I47fbc4ec89fa0a034feea3472abeb038a051f7df","project":"openstack/oslo.cache","branch":"master","topic":"pre-commit","hashtags":[],"change_id":"I47fbc4ec89fa0a034feea3472abeb038a051f7df","subject":"Introducing usage of pre-commit","status":"ABANDONED","created":"2020-05-05 15:01:59.000000000","updated":"2020-05-05 15:02:59.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"c162e105fd20318056255aca9000bd08089d75f8","_number":725624,"virtual_id_number":725624,"owner":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"actions":{},"labels":{"Verified":{"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Backport-Candidate":{"values":{"-2":"Do Not Backport","-1":"Not A Backport Candidate"," 0":"Backport Review Needed","+1":"Proposed Backport","+2":"Should Backport"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{},"pending_reviewers":{},"reviewer_updates":[],"messages":[{"id":"caae443f12cf8cd99a52f3a6cb472a83a106da87","author":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"date":"2020-05-05 15:01:59.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"e3d0fd813266d3e87013ace51d2eaa5212bf15b1","author":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"date":"2020-05-05 15:02:59.000000000","message":"Abandoned\n\nduplicated with https://review.opendev.org/#/c/720771/","accounts_in_message":[],"_revision_number":1}],"current_revision_number":1,"current_revision":"a9f45e342c7b9152de96fbb70ac62f2568052fc1","revisions":{"a9f45e342c7b9152de96fbb70ac62f2568052fc1":{"kind":"REWORK","_number":1,"created":"2020-05-05 15:01:59.000000000","uploader":{"_account_id":28522,"name":"Hervé Beraud","email":"herveberaud.pro@gmail.com","username":"hberaud"},"ref":"refs/changes/24/725624/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/oslo.cache","ref":"refs/changes/24/725624/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/oslo.cache refs/changes/24/725624/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/oslo.cache refs/changes/24/725624/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/oslo.cache refs/changes/24/725624/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/oslo.cache refs/changes/24/725624/1"}}},"commit":{"parents":[{"commit":"70be98f190c469afffa68a320cfd1bb9bfcea2e2","subject":"Update master for stable/ussuri","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.cache/commit/70be98f190c469afffa68a320cfd1bb9bfcea2e2"}]}],"author":{"name":"Hervé Beraud","email":"hberaud@redhat.com","date":"2020-05-05 14:56:25.000000000","tz":120},"committer":{"name":"Hervé Beraud","email":"hberaud@redhat.com","date":"2020-05-05 15:01:17.000000000","tz":120},"subject":"Introducing usage of pre-commit","message":"Introducing usage of pre-commit\n\nThe main goal is to use oslo.cache to design pre-commit for oslo.* and\nthen spread its use widely on oslo\u0027s world.\n\nIf these changes are accepted in a second time similar patches\nwill be submitted on oslo.* and the `CONTIBUTING.rst` part will be\nmoved to the oslo-specs policy [1].\n\npre-commit will be used to:\n- trailing whitespace [2].\n- Replaces or checks mixed line ending (mixed-line-ending) [2].\n- Forbid files which have a UTF-8 byte-order\n  marker (check-byte-order-marker) [2].\n- Checks that non-binary executables have a proper\n  shebang (check-executables-have-shebangs) [2].\n- Check for files that contain merge conflict\n  strings (check-merge-conflict) [2].\n- Check for debugger imports and py37+ breakpoint()\n  calls in python source (debug-statements) [2].\n- Attempts to load all yaml files to verify syntax (check-yaml) [2].\n- replace tabs by space (4 by default)(remove-tabs) [3].\n- Run flake8 checks (flake8) (local)\n\n[1] https://specs.openstack.org/openstack/oslo-specs/specs/policy/contributing.html\n[2] https://github.com/pre-commit/pre-commit-hooks\n[3] https://github.com/Lucas-C/pre-commit-hooks\n\nChange-Id: I47fbc4ec89fa0a034feea3472abeb038a051f7df\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.cache/commit/a9f45e342c7b9152de96fbb70ac62f2568052fc1"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/oslo.cache/commit/a9f45e342c7b9152de96fbb70ac62f2568052fc1"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
