297 Commits

Author SHA1 Message Date
razorloves
9448587d95 scripts: Add atv to devices.py blacklist
The device repos with 'atv' in their name are just
common repos for atv devices. It's not an actual device
named 'atv' that we build, so it needs to be added to the
blacklist so that the script doesn't treat it as one.

Change-Id: I2afd840677ef38f510b85d13a93a0ff4c628fa61
2019-07-26 22:59:11 -05:00
razorloves
9d1d3ba8a1 scripts: Change devices.py output to correct file name
Change-Id: I4f16acfb45d9afa50beafab05019890a49b1f749
2019-07-22 06:34:35 +02:00
LuK1337
c4ed5a6a06 config-fs-gen: Initial commit
Change-Id: Ie9655475aa46a393ea829f9321452d315c68d7fa
2019-07-15 13:15:30 +02:00
Kevin F. Haggerty
7d5fd1d3fc Update default webview to 75.0.3770.101
Note: Debug symbol arg update is due to:

  warning: The GN arg 'remove_webcore_debug_symbols' is deprecated and
  warning: will be removed April 15, 2019. Please change your args.gn
  warning: to use 'blink_symbol_level = 0'. https://crbug.com/943869

Change-Id: I97dd3552c9f8cbcee8dc824f0546f6485bc1db0b
2019-06-21 06:48:46 -06:00
Kevin F. Haggerty
56a5c08559 Update default webview to 74.0.3729.157
Change-Id: I9183e7de1ea2acdbeb7b82558b1b5e86665bdd65
2019-05-17 13:55:12 -06:00
Harry Youd
1d2b5b9dbb Allow capping the number of workers
Prevention for hitting GitHub's abuse detection

Change-Id: Ic836e3aad4fd2152a05d862ed56e069b7fb4b55d
2019-04-09 14:44:26 +01:00
Harry Youd
e452d7af47 Stop common repos creeping in as devices
Change-Id: Ifc37c84e9247846df79dee4f264e12b26779260b
2019-04-09 14:44:17 +01:00
razorloves
ba9c8130b0 device-deps: Support lineage-16.0 branch and drop cm-14.1
Change-Id: I0a0efa6b24f69a31a1e831fd9acc38b01e36a4f9
2019-04-03 03:20:26 +02:00
Luca Stefani
6666abacab Add build-webview script
Change-Id: I12b13f85692e5834248acf761af9e6116576392b
2019-03-08 11:05:13 +01:00
Luca Stefani
4dbcbe2fb6 lineage-push: Add support for 'private' remote
Change-Id: Ifb31d8ad107469345215821fb4f90e61869f0271
2018-12-25 12:41:25 +01:00
Rashed Abdel-Tawab
ccde24991f scripts: Add simplified AOSP merger
Usage: ./lineage/scripts/aosp-merger/aosp-merger.sh [merge|rebase] <oldaosptag> <newaosptag>

Change-Id: I6663e51ee22d7ea262ef634ed5e33c189ee1c2d6
2018-11-06 04:27:09 +01:00
LuK1337
2e187ce924 lineage-push: Improve parsing parameters
* Gerrit doesn't support chained commands by bluntly appending
  (%command1%command2%...), but rather by comma separating them
  (%command1,command2,...)

Change-Id: I58cf5db3c1ba79788b7e26a483e0b01aef65104b
2018-05-13 15:33:21 +02:00
Luca Stefani
4cc9064951 lineage-push: Support pushing from AOSP repo
Change-Id: I13f52355b792f63521c061b64c58ae101d77679c
2018-04-30 18:53:31 +02:00
Luca Stefani
2cd3ba2610 lineage-push: Don't use shell=True
* Let's split the command instead

Change-Id: I1b747d9a2a32005856c416552a955285f7c1a7fe
2018-04-14 23:43:27 +02:00
Luca Stefani
550d796aee lineage-push: Add hashtag support
Change-Id: I5bb4ccc8922a94fa3f3336268da5c81ee215bef2
2018-04-14 23:21:12 +02:00
Luca Stefani
422d2a66b5 lineage-push: Add message support
Change-Id: Ia6a638ff6447ea59a34e288b299d2fa9143424a7
2018-04-14 23:21:12 +02:00
Luca Stefani
6e0ab73c74 lineage-push: Rename --merge to --bypass
Change-Id: I3510977b62a304920103a4c5f555cb66ccd4cbea
2018-04-14 23:21:12 +02:00
Luca Stefani
f8370f65ba lineage-push: Add WIP support
Change-Id: I23c857947cf5e9ec4e6ac22263fbcdf68a4a52e2
2018-04-14 23:21:12 +02:00
Luca Stefani
f07caa1734 lineage-push: Add private support
Change-Id: I23b1c44c508a723890d723683d12b17799b9d93b
2018-04-14 23:21:12 +02:00
Luca Stefani
478f2ee6ed lineage-push: Add support for bool parameters
Change-Id: Icc6994c7ff2ab33e01fd7c91a870bb4dd31101ab
2018-04-14 23:21:12 +02:00
Luca Stefani
45c215cba1 lineage-push: Convert to python
Change-Id: Ib025430257ae46cd237520108f29939edde172e7
2018-04-14 23:21:11 +02:00
Gabriele M
4632cf0a0a Add main script 2018-03-24 17:45:01 +01:00
Gabriele M
8ad65076b6 Import update_payload library code
From https://android.googlesource.com/platform/system/update_engine
at ee67a8d57519112f62f439a8644ea497ab6898c2.
2018-03-24 17:45:00 +01:00
Harry Youd
0f56b376cb Support LineageOS 15.1 and remove 13.0
Change-Id: Ic204f3bff436924f7243da676664192766eac494
2018-02-28 12:48:38 +01:00
Anthony King
3d820b7124 Add a script to find the best match for caf kernels
Change-Id: Ibd0f5b031861471c24235eca8ddc7758ccb2a6bf
2018-02-10 11:32:12 +00:00
Michael Bestas
694893669a Fix maintainers.py after updater repo deprecation
Change-Id: I7307e2be50e82985433f6191946eced200817b6b
2018-01-10 23:43:13 +02:00
Demon000
4c845cf92b maintainers.py: check if official TWRP is available
Change-Id: Idec0f48a5a4651b6204465893efa841366c1e638
2017-10-06 20:23:41 +03:00
Paul Keith
a25089d4e5 maintainers.py: Add reverse checks for wiki and updater
* Check if some device has wiki page or updater entry
  and warn when it's not marked as deprecated in wiki
  and doesn't receive builds at the moment.

Change-Id: Ibb7d3f3fee5be01cbc06af27f6bdd3131769ceae
2017-08-30 00:14:21 -05:00
Demon000
d29417334f maintainers.py: remove TODO install method check
Change-Id: I7036e69700970d77da97d125c8bd2e4a9496d84b
2017-08-07 17:06:11 +00:00
Paul Keith
63b1b6f833 maintainers: Add optional checking of jira developer status
* Also unify code style a bit

Change-Id: Ibc3a23aa07d6c17db9e042e0b6b298844d0edfeb
2017-08-07 15:20:06 +00:00
Gabriele M
1569d26a45 Add script for official<->unofficial migrations
See the wiki (https://wiki.lineageos.org/signing_builds.html) for
more information

Do not reboot/restart after the migration without installing the
new build.

Note: official builds can have packages signed with test-keys
(e.g. com.android.cts.priv.ctsshim). This script will incorrectly
replace the key of these packages when going from unofficial to
official.

Change-Id: Idc3414ec6cd1d51e8da61ac797833a553d9f98b5
2017-07-18 01:40:48 +02:00
Harry Youd
ec96429a4e Add a method to export keys to a usable format
Change-Id: I8b51f5d718a18991aab9b4231ececd8d129b5fb7
2017-07-15 23:07:40 +02:00
Michael Bestas
5c432dcd1d maintainers: Warn if device uses unofficial TWRP
Change-Id: I83dc3773e2f3fbfda9cce36e76f073a464a5a72e
2017-06-06 12:46:29 +00:00
Paul Keith
eb5a973086 Add another device->kernel mapping exception
Change-Id: Ic70318f36a055c7570d964d6fb2c11149e4d1793
2017-06-05 16:59:15 -05:00
Harry Youd
d658b662c8 maintainers: Add fastboot_generic as a bad point
Change-Id: I0475bd6c8c5355767de398524d525996201691ce
2017-06-04 17:48:27 -05:00
Paul Keith
246892130f maintainers-checks: Use elif to check 'dd' install method
* If a device doesn't have a valid install method,
  there's no point in checking if it has 'dd' as
  the install method, it won't match up anyways
* This has no visible impact on the time of running
  this script, but the logic is now better

Change-Id: I204903db40f02fe1ff837ed6feb8d06ace86cc92
2017-06-04 17:48:22 -05:00
Harry Youd
a9c6df223f Print out maintainer info with -m or --maintainers
Huge thanks to Paul (javelinanddart) for cleaning things up

Change-Id: Id477ac948cf1d55663eeb3ddf7cc025a81b97ebf
2017-06-03 20:29:31 +00:00
Michael Bestas
a8794d605a maintainers: Check requirements for dd install method
Change-Id: I1ea59fd2216c534b412cfddb7f379d0ae2c417cc
2017-06-02 17:37:03 +03:00
Dan Pasanen
c20ad11da5 maintainers: use path relative to script's dir
Change-Id: If9981c0375238a922acaac3a2352043be9c3cc59
2017-05-25 15:03:37 -05:00
Harry Youd
c571a37d8f Make the README a little easier to follow
Change-Id: Ib0251e9ce00f2576a3b70e0a7a0a18db74ff20c0
2017-05-23 22:30:40 +01:00
Luca Stefani
c23843dc00 Add lineage-push
Change-Id: I177a031617591bb4891b2147f5778cdd3de502b3
2017-05-20 17:21:46 +01:00
Harry Youd
398cf1046e Change to dashes to keep inline with maintainers folder
Change-Id: Id49a330106377997ebbeb2d56ed4c623c9f1e978
2017-05-20 13:47:20 +00:00
Paul Keith
f0ab2a92ae Move maintainers script to python
"A true interpretation is realised when not one line of the original
remains"

Contributors: harryyoud, javelinanddart, luk1337, mccreary, zifnab

Change-Id: Iec07c8a62ec6cb41317c2cdb00db6ae0be73f780
2017-05-20 08:21:04 -05:00
Harry Youd
c71ce73624 Move device_deps scripts to LineageOS/scripts [2/2]
Change-Id: Idb6d986f1dd18a1cd272d5b6c5c6b14ae6fb6b2b
2017-05-19 20:19:06 +01:00
Harry Youd
e0f5ea8f53 Add capability for checking CVE json
* Add capability for checking CVE kernels.json
* Stop spam of console when missing a file
* Fix weird indentation in some places

Change-Id: I6181649c604f2b46082257d4e021bd8dcee16937
2017-05-14 14:49:10 +01:00
Harry Youd
ceb8610b53 Add maintainers.sh script
Used to check if a device added to hudson has:
 * wiki page
 * maintainer listed in wiki page
 * TODO set as install_method on wiki page
 * updater entry

It can also print all the devices with their respective maintainer

Change-Id: I748675c7175ac575960d81f48eb87df853e0a20d
2017-05-01 16:55:21 +01:00
Michael Bestas
01a4ebe527 Initial empty repository 2017-05-01 14:50:57 +00:00