]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
script/ptl-tool.py: fix BASE_PATH 24207/head
authorNeha Ojha <nojha@redhat.com>
Thu, 20 Sep 2018 22:25:46 +0000 (15:25 -0700)
committerNeha Ojha <nojha@redhat.com>
Fri, 21 Sep 2018 14:07:38 +0000 (07:07 -0700)
Signed-off-by: Neha Ojha <nojha@redhat.com>
src/script/ptl-tool.py

index bc1338a792a4c3a3bf1dee4e3ba9b86676b54cf3..851ebb6be738eb1cf26926f07d245ed599a822df 100755 (executable)
@@ -3,7 +3,8 @@
 # README:
 #
 # This tool's purpose is to make it easier to merge PRs into test branches and
-# into master.
+# into master. Make sure you generate a Personal access token in GitHub and
+# add it your ~/.github.key.
 #
 # Because developers often have custom names for the ceph upstream remote
 # (https://github.com/ceph/ceph.git), You will probably want to export the
@@ -123,7 +124,7 @@ log.setLevel(logging.INFO)
 BASE_PROJECT = os.getenv("PTL_TOOL_BASE_PROJECT", "ceph")
 BASE_REPO = os.getenv("PTL_TOOL_BASE_REPO", "ceph")
 BASE_REMOTE = os.getenv("PTL_TOOL_BASE_REMOTE", "upstream")
-BASE_PATH = os.getenv("PTL_TOOL_BASE_PATH", "refs/remotes/upstream/heads/")
+BASE_PATH = os.getenv("PTL_TOOL_BASE_PATH", "refs/remotes/upstream/")
 GITDIR = os.getenv("PTL_TOOL_GITDIR", ".")
 USER = os.getenv("PTL_TOOL_USER", getpass.getuser())
 with open(expanduser("~/.github.key")) as f: