diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2019-10-03 21:49:59 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-10-03 21:50:21 +0200 |
commit | 904fe23577194c87a18847a110c16bf5464f1761 (patch) | |
tree | d755bad4ec18528b7c80eb875ad7769870f4ed48 | |
parent | 2f1dd11d0268cbd32a0b90637bf528e96c77fb1f (diff) | |
download | pw-904fe23577194c87a18847a110c16bf5464f1761.tar.gz |
pw: improve readme and add note on git-pw version
Older git-pw versions have some mbox decoding issues which I ran into,
but this got fixed in a more recent version, therefore add a note to
the README:
$ git pw series download 133745 mbox.i
Server version missing
You should provide the server version in the URL configured via git-config or --server
This will be required in git-pw 2.0
Traceback (most recent call last):
File "/usr/bin/git-pw", line 10, in <module>
sys.exit(cli())
File "/usr/lib64/python2.7/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/usr/lib64/python2.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/usr/lib64/python2.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib64/python2.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib64/python2.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib64/python2.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/git_pw/series.py", line 55, in download_cmd
output.write(api.get(series['mbox']).text)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 4418-4420: ordinal not in range(128)
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
-rw-r--r-- | README | 15 |
1 files changed, 11 insertions, 4 deletions
@@ -40,6 +40,11 @@ to netdev: $ git config --global pw.project 'netdev' $ git config --global pw.token 'API-TOKEN' +Note that git-pw must be at least version 1.7.0 or higher as earlier +versions have issues to decode received mboxes in some cases: + + https://github.com/getpatchwork/git-pw/issues/52 + 2. quilttools aka mb2q: ~~~~~~~~~~~~~~~~~~~~~~~ @@ -53,13 +58,15 @@ normalization. 3. l2md: ~~~~~~~~ -Example .l2mdconfig for lists I follow in this repo, needs to be in home -directory. The l2md repository also has additional information with -regards to mutt integration and a service unit file for letting it run -in the background automatically. I'm using l2md for fetching new emails +I'm using l2md for fetching new emails via lore.kernel.org git archives and msmtp for sending them. My l2md feeds into mutt, and msmtp is used for mutt as well as git-send-email. +Example .l2mdconfig for lists I follow in this repo, needs to be in +home directory. The l2md repository also has additional information +with regards to mutt and procmail integration and a service unit file +for letting it run in the background automatically. + Patch handling: --------------- |