From 45c215cba1b2e34d4b5973b98f9866ec9ab8be53 Mon Sep 17 00:00:00 2001 From: Luca Stefani Date: Sat, 14 Apr 2018 22:14:05 +0200 Subject: lineage-push: Convert to python Change-Id: Ib025430257ae46cd237520108f29939edde172e7 --- lineage-push/README.md | 36 +++++++++++-------- lineage-push/lineage-push.py | 84 ++++++++++++++++++++++++++++++++++++++++++++ lineage-push/lineage-push.sh | 69 ------------------------------------ 3 files changed, 106 insertions(+), 83 deletions(-) create mode 100755 lineage-push/lineage-push.py delete mode 100755 lineage-push/lineage-push.sh diff --git a/lineage-push/README.md b/lineage-push/README.md index 966716d..14e5f70 100644 --- a/lineage-push/README.md +++ b/lineage-push/README.md @@ -1,22 +1,30 @@ # LineageOS Push Script -Pushes a local git repository's changes to Gerrit for code review - ``` -Usage: - ./lineage-push.sh [options] branch +usage: lineage-push.py [-h] [-d] [-e] [-f] [-l LABEL] [-m] [-r REF] [-s] + [-t TOPIC] + branch + +Pushes a local git repository's changes to Gerrit for code review - Options: - -d Upload change as draft. - -e Update change as edit. - -f Force push. - -l