Add missing repos to list-of-repos.txt and improve compare script
This strips the lines in the compare script and syncs up the repo list
with fuchsia.googlesource.com. Now the only missing repo is the empty
'salt' repo.
Change-Id: I88b3e866b5821ad1accd22b800bedc3f4e893b4c
diff --git a/scripts/gitsync/compare-project-list.py b/scripts/gitsync/compare-project-list.py
index ffc63c0..c4d3ff6 100755
--- a/scripts/gitsync/compare-project-list.py
+++ b/scripts/gitsync/compare-project-list.py
@@ -17,6 +17,7 @@
import json
import requests
import sys
+import string
def main():
r = requests.get('https://fuchsia-review.googlesource.com/projects/')
@@ -25,7 +26,7 @@
return 1
projects = json.loads(r.text[5:])
with open('list-of-repos.txt') as current_list:
- listed_projects = current_list.readlines()
+ listed_projects = map(string.strip, current_list.readlines())
meta_projects = ['All-Projects', 'All-Users', 'gerrit/verified-projects']
project_diff = set(projects.keys()) - set(meta_projects) - set(listed_projects)
if len(project_diff) != 0:
diff --git a/scripts/gitsync/list-of-repos.txt b/scripts/gitsync/list-of-repos.txt
index fbd676f..619624a 100644
--- a/scripts/gitsync/list-of-repos.txt
+++ b/scripts/gitsync/list-of-repos.txt
@@ -1,6 +1,10 @@
build
buildtools
+cmdutils
+compositor
dart_content_handler
+docs
+dynamic_bindings
escher
fortune
ftl
@@ -9,17 +13,27 @@
gigaboot20x6
infra
jiri
+jiri/version
json
ledger
+libc-tests
logging
magenta
+magma
manifest
+media
+modular
+modules
mojo
+mojo/public
+mojom
moterm
+msd-intel-gen
mtl
native_viewport
network
packages
+scripts
sysui
third_party/asio
third_party/binutils-gdb
@@ -29,24 +43,44 @@
third_party/cmake
third_party/compiler-rt
third_party/depthcharge
+third_party/dropbear
third_party/expat
+third_party/ffmpeg
third_party/freetype2
third_party/gcc_none_toolchains
+third_party/go
third_party/gtest
+third_party/harfbuzz
third_party/hostap
+third_party/iccjpeg
+third_party/icu
+third_party/json
third_party/leveldb
third_party/libcxx
third_party/libcxxabi
+third_party/libjpeg-turbo
+third_party/libpng
third_party/libunwind
+third_party/linenoise
third_party/lld
third_party/lldb
third_party/llvm
+third_party/lua
third_party/lwip
+third_party/mesa
third_party/ninja
+third_party/qcms
third_party/qemu
third_party/re2
+third_party/rust
third_party/skia
third_party/snappy
+third_party/speccpu2000
+third_party/speccpu2006
+third_party/yasm
third_party/zlib
+tonic
toyen
tracing
+vapidssl
+zip