pw-apply: don't use git-pw

There are multiple reasons to steer clear of git pw:

1. The fewer external dependencies the better (although we
   still need to replace the git pw use in -a to get rid
   of the dependency completely).
2. Speed - git-pw takes 1.8s per request, we do a show and
   a download. curl requests take 1s to complete, moreover
   for auto-merge we need to download series json anyway.
   All in all with auto-merge we save 2.6s.
3. Output format of show is cluttered and useless IMHO, we
   can do better.

Example output, before:

Property    Value
----------  --------------------------------------------------------------------------
ID          212566
Date        2020-11-06T03:52:08
Name        [v4,net-next,1/3] ptp: idt82p33: add adjphase support
URL         https://patchwork.ozlabs.org/project/netdev/list/?series=212566
Submitter   Min Li (min.li.xe@renesas.com)
Project     Linux network development
Version     4
Received    3 of 3
Complete    True
Cover
Patches     1395475 [v4,net-next,1/3] ptp: idt82p33: add adjphase support
            1395450 [v4,net-next,2/3] ptp: idt82p33: use i2c_master_send for bus write
            1395474 [v4,net-next,3/3] ptp: idt82p33: optimize _idt82p33_adjfine

After:

By: Min Li  Age: 1d 17h  Tree: net-next  Version: 4  Patches: 3
-----
  ptp: idt82p33: add adjphase support
  ptp: idt82p33: use i2c_master_send for bus write
  ptp: idt82p33: optimize _idt82p33_adjfine

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2 files changed