aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRohit Sarkar <rohitsarkar5398@gmail.com>2020-08-01 11:54:15 +0530
committerDaniel Axtens <dja@axtens.net>2020-08-10 11:44:40 +1000
commitfe0c0ca7279e35904c488dea57345e1d4f13f895 (patch)
treeb8729932c03925beaed944463c2046de152663ac /tools
parent8abd63eb75617ffff14205376ca6283c8f5e0ba2 (diff)
downloadpatchwork-fe0c0ca7279e35904c488dea57345e1d4f13f895.tar
patchwork-fe0c0ca7279e35904c488dea57345e1d4f13f895.tar.gz
management: introduce replacerelations command
The replacerelations script is used to ingest relations into Patchwork's patch database. A patch groups file is taken as input, which on each line contains a space separated list of patchwork ids denoting a relation. All the existing relations in Patchwork's database are removed and the relations read from the patch groups file are ingested. Signed-off-by: Rohit Sarkar <rohitsarkar5398@gmail.com> [dja: pep8, drop relations directory as empty dirs don't get stored by git, comment about how lines are generated.] Signed-off-by: Daniel Axtens <dja@axtens.net>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions