Scap swat command

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.


Scap swat command

Implemented so far:

  • Can accept Change-Id, change number or a full gerrit url.
  • scap scrape --start Enqueue patches from the deployment calendar and begin SWAT deployment.
  • scap scrape --list List patches in the queue.
  • scap swat --search to find patches by providing a gerrit search query
  • scap swat --changeid 123456 get change details
  • scap swat --pick 123456 cherry-pick a patch to one or more branches
  • scap swat https://gerrit.wikimedia.org/r/#/c/123456/ - same as --changeid 12345
  • scap swat --rebase 123456 rebase the change on branch tip.
  • scap swat --revert 123457 revert an aleready-merged change.

Username and password are read from ~/.netrc (for lack of a better solution)

I have included tox, nose and flake8 configuration/support files for python lint,
everything passes flake8.

Bug: T142880

Change-Id: If1a73894ae3d63187811aa99caac6e0e7ce3a8bd

Commit No Longer Exists

This commit no longer exists in the repository.