Re: Stable GnuPG interface, git should use GPGME

2017-03-13 Thread Bernhard Reiter
ing libgpgme by default probably has other advantages as well. And if there are important functions missing the GnuPG-devs would like to hear about them. Regards, Bernhard -- www.intevation.de/~bernhard   +49 541 33 508 3-3 Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998 Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner signature.asc Description: This is a digitally signed message part.

Re: [PATCH] git-imap-send: use libcurl for implementation

2014-11-09 Thread Bernhard Reiter
Am 2014-11-09 um 14:00 schrieb Torsten Bögershausen: On 2014-08-27 00.40, Bernhard Reiter wrote: Use libcurl's high-level API functions to implement git-imap-send instead of the previous low-level OpenSSL-based functions. This doesn't seem to fully work under Debian 7: /home/tb/projects/git

Re: [PATCH] imap-send: use libcurl for implementation

2014-11-07 Thread Bernhard Reiter
Zitat von Junio C Hamano gits...@pobox.com: Bernhard Reiter ock...@raz.or.at writes: @@ -25,7 +25,6 @@ Typical usage is something like: git format-patch --signoff --stdout --attach origin | git imap-send - OPTIONS Why? By mistake when rebasing. Sorry, fixed. (Same for previous

[PATCH] imap-send: use libcurl for implementation

2014-11-06 Thread Bernhard Reiter
. Signed-off-by: Bernhard Reiter ock...@raz.or.at --- Fixed according to xmqqzjcewq6p@gitster.dls.corp.google.com, and based upon master with f1a35295c2b66d2501f034d864afb2c5d8bb0e08 cherry-picked. Documentation/git-imap-send.txt | 18 - INSTALL | 15 ++-- Makefile

imap-send: Use parse options API to determine verbosity

2014-11-05 Thread Bernhard Reiter
Signed-off-by: Bernhard Reiter ock...@raz.or.at --- As requested per xmqqzjcewq6p@gitster.dls.corp.google.com. Documentation/git-imap-send.txt | 14 +- imap-send.c | 25 +++-- 2 files changed, 28 insertions(+), 11 deletions(-) diff --git

[PATCH v2] imap-send: Use parse options API to determine verbosity

2014-11-05 Thread Bernhard Reiter
Signed-off-by: Bernhard Reiter ock...@raz.or.at --- In reply to xmqqk339ibal@gitster.dls.corp.google.com. Thanks for bearing with me. I should've given the corresponding verbosity values more thought myself in the first place. Documentation/git-imap-send.txt | 14 +- imap-send.c

[PATCH] git-imap-send: use libcurl for implementation

2014-10-29 Thread Bernhard Reiter
Resending this once more, as indicated by xmqqbnp4hu8g@gitster.dls.corp.google.com Hope my formatting and posting style is now conformant. Sorry for the noise. Am 2014-08-27 um 19:20 schrieb Junio C Hamano: Bernhard Reiter ock...@raz.or.at writes: [...] For now, the old ones are wrapped

Fwd: Re: [PATCH] git-imap-send: use libcurl for implementation

2014-10-22 Thread Bernhard Reiter
: Bernhard Reiter ock...@raz.or.at An: Junio C Hamano gits...@pobox.com Kopie (CC): git@vger.kernel.org, Jonathan Nieder jrnie...@gmail.com, Jeff King p...@peff.net, 434...@bugs.debian.org, René Scharfe l@web.de, Tony Finch d...@dotat.at, Tanay Abhra tanay...@gmail.com, Dan Albert danalb

Re: [PATCH] git-imap-send: use libcurl for implementation

2014-10-12 Thread Bernhard Reiter
Sorry for not getting back to this any sooner, I've been pretty busy recently with Other Projects(tm). Am 2014-08-27 um 19:20 schrieb Junio C Hamano: Bernhard Reiter ock...@raz.or.at writes: [...] For now, the old ones are wrapped in #ifdefs, and the new functions are enabled by make

[PATCH] git-imap-send: use libcurl for implementation

2014-08-26 Thread Bernhard Reiter
servers, I haven't been able to test the new code with a wide variety of parameter combinations. I did test both secure and insecure (imaps:// and imap://) connections and values of PLAIN and LOGIN for the authMethod. Signed-off-by: Bernhard Reiter ock...@raz.or.at --- I rebased the patch on the pu

Re: [PATCH/RFC] git-imap-send: use libcurl for implementation

2014-08-25 Thread Bernhard Reiter
, gettext %{!?_without_docs:, xmlto, asciidoc 6.0.3} BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: perl-Git = %{version}-%{release} @@ -214,6 +214,9 @@ rm -rf $RPM_BUILD_ROOT # No files for you! %changelog +* Mon Aug 11 2014 Bernhard Reiter ock

Re: [PATCH/RFC] git-imap-send: use libcurl for implementation

2014-08-19 Thread Bernhard Reiter
Am 2014-08-17 um 20:42 schrieb Jeff King: [...] I'm not sure I understand this comment. Even if SSL is not in use, wouldn't we be passing a regular pipe to curl, which would break? Yeah, we can't do that, and thus would have to keep the handwritten IMAP implementation just for the tunnel

[PATCH] imap-send.c: imap_folder - imap_server_conf.folder

2014-08-19 Thread Bernhard Reiter
Rename the imap_folder variable to folder and make it a member of struct imap_server_conf. Signed-off-by: Bernhard Reiter ock...@raz.or.at --- As discussed in http://www.mail-archive.com/git@vger.kernel.org/msg57019.html Bernhard imap-send.c | 10 +- 1 file changed, 5 insertions(+), 5

Re: [PATCH] git-imap-send: simplify tunnel construction

2014-08-18 Thread Bernhard Reiter
Am 2014-08-18 um 19:00 schrieb Junio C Hamano: Bernhard Reiter ock...@raz.or.at writes: Signed-off-by: Bernhard Reiter ock...@raz.or.at --- imap-send.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Oy. Where is the patch? Please avoid multipart/mixed on this list

Re: [PATCH/RFC] git-imap-send: use libcurl for implementation

2014-08-17 Thread Bernhard Reiter
Am 2014-08-17 um 10:30 schrieb Jeff King: On Tue, Aug 12, 2014 at 06:59:17PM -0700, Jonathan Nieder wrote: + curl_socket_t sockfd = tunnel.out; // what about tunnel.in ? Hmm. curl expects to get a socket it can send(), recv(), setsockopt(), etc on instead of a pair of fds to

Re: [PATCH/RFC] git-imap-send: use libcurl for implementation

2014-08-14 Thread Bernhard Reiter
servers, I haven't been able to test the new code with a wide variety of parameter combinations. I did test both secure and insecure (imaps:// and imap://) connections and values of PLAIN and LOGIN for the authMethod. Signed-off-by: Bernhard Reiter ock...@raz.or.at --- Am 2014-08-13 um 03:59

[PATCH] git-imap-send: simplify tunnel construction

2014-08-13 Thread Bernhard Reiter
Signed-off-by: Bernhard Reiter ock...@raz.or.at --- imap-send.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/imap-send.c b/imap-send.c index 524fbab..fb01a9c 100644 --- a/imap-send.c +++ b/imap-send.c @@ -961,17 +961,16 @@ static struct imap_store *imap_open_store

[PATCH] http.c: die if curl_*_init fails

2014-08-13 Thread Bernhard Reiter
Signed-off-by: Bernhard Reiter ock...@raz.or.at --- http.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/http.c b/http.c index c8cd50d..afe4fc5 100644 --- a/http.c +++ b/http.c @@ -300,6 +300,9 @@ static CURL *get_curl_handle(void) { CURL *result = curl_easy_init

[PATCH/RFC] git-imap-send: use libcurl for implementation

2014-08-12 Thread Bernhard Reiter
Use libcurl's high-level API functions to implement git-imap-send instead of the previous low-level OpenSSL-based functions. Signed-off-by: Bernhard Reiter ock...@raz.or.at --- Since version 7.30.0, libcurl's API has been able to communicate with IMAP servers. Using those high-level functions