Skip to content

Commit d73501e

Browse files
committed
[TEMP] Change synchronization script to remove rows
1 parent cc0f2d5 commit d73501e

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

libcxx/utils/synchronize_csv_status_files.py

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -303,18 +303,13 @@ def sync_csv(rows: List[Tuple], from_github: List[PaperInfo]) -> List[Tuple]:
303303
def main():
304304
libcxx_root = pathlib.Path(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
305305

306-
# Extract the list of PaperInfos from issues we're tracking on Github.
307-
print("Loading all issues from Github")
308-
gh_command_line = ['gh', 'project', 'item-list', LIBCXX_CONFORMANCE_PROJECT, '--owner', 'llvm', '--format', 'json', '--limit', '9999999']
309-
project_info = json.loads(subprocess.check_output(gh_command_line))
310-
from_github = [PaperInfo.from_github_issue(i) for i in project_info['items']]
311-
312306
for filename in CSV_FILES_TO_SYNC:
313-
print(f"Synchronizing {filename} with Github issues")
307+
print(f"Updating {filename}")
314308
file = libcxx_root / 'docs' / 'Status' / filename
315309
csv = load_csv(file)
316-
synced = sync_csv(csv, from_github)
317-
write_csv(file, synced)
310+
for row in csv:
311+
del row[5]
312+
write_csv(file, csv)
318313

319314
if __name__ == '__main__':
320315
main()

0 commit comments

Comments
 (0)