build: repopick: point to LineageOS gerrit

Change-Id: Ibf58b111360c17cee919efd585f5ec48be1e2eec
This commit is contained in:
Dan Pasanen 2016-12-27 10:32:16 -06:00
parent 0930a03185
commit 0fdc085c2e

View file

@ -1,6 +1,7 @@
#!/usr/bin/env python #!/usr/bin/env python
# #
# Copyright (C) 2013-15 The CyanogenMod Project # Copyright (C) 2013-15 The CyanogenMod Project
# (C) 2017 The LineageOS Project
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
@ -121,12 +122,12 @@ def fetch_query(remote_url, query):
raise Exception('Gerrit URL should be in the form http[s]://hostname/ or ssh://[user@]host[:port]') raise Exception('Gerrit URL should be in the form http[s]://hostname/ or ssh://[user@]host[:port]')
if __name__ == '__main__': if __name__ == '__main__':
# Default to CyanogenMod Gerrit # Default to LineageOS Gerrit
default_gerrit = 'http://review.cyanogenmod.org' default_gerrit = 'http://review.lineageos.org'
parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter, description=textwrap.dedent('''\ parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter, description=textwrap.dedent('''\
repopick.py is a utility to simplify the process of cherry picking repopick.py is a utility to simplify the process of cherry picking
patches from CyanogenMod's Gerrit instance (or any gerrit instance of your choosing) patches from LineageOS's Gerrit instance (or any gerrit instance of your choosing)
Given a list of change numbers, repopick will cd into the project path Given a list of change numbers, repopick will cd into the project path
and cherry pick the latest patch available. and cherry pick the latest patch available.