* libcurl dependency for implementing RFC3161 timestamps
[not found] <e57d18f6010c0b581b38a3daef145221.squirrel@faumail.uni-erlangen.de>
@ 2016-03-09 11:24 ` Anton Wuerfel
2016-03-09 11:41 ` Duy Nguyen
2016-03-09 18:53 ` Junio C Hamano
0 siblings, 2 replies; 4+ messages in thread
From: Anton Wuerfel @ 2016-03-09 11:24 UTC (permalink / raw)
To: git; +Cc: anton.wuerfel, i4passt, phillip.raffeck
Hello,
for implementing RFC3161 timestamps in git tag, HTTP POST requests have to
be sent via libcurl. We already changed http.c to our needs.
Is there any best-practice how to introduce this libcurl dependency? There
are several options:
-As git tag is a builtin part of the main git executable, introduce a
libcurl dependency for the main executable (maybe not best-practice).
-Move git tag to a separate git-tag binary and introduce a libcurl
dependency to this new submodule.
-Create an own submodule like git-http-timestamp with a libcurl dependency
and call it from git tag and from other places where timestamp signatures
are needed.
Regards,
Phillip Raffeck
Anton Wuerfel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: libcurl dependency for implementing RFC3161 timestamps
2016-03-09 11:24 ` libcurl dependency for implementing RFC3161 timestamps Anton Wuerfel
@ 2016-03-09 11:41 ` Duy Nguyen
2016-03-09 13:04 ` Randall S. Becker
2016-03-09 18:53 ` Junio C Hamano
1 sibling, 1 reply; 4+ messages in thread
From: Duy Nguyen @ 2016-03-09 11:41 UTC (permalink / raw)
To: Anton Wuerfel; +Cc: Git Mailing List, i4passt, phillip.raffeck
On Wed, Mar 9, 2016 at 6:24 PM, Anton Wuerfel <anton.wuerfel@fau.de> wrote:
> -As git tag is a builtin part of the main git executable, introduce a
> libcurl dependency for the main executable (maybe not best-practice).
libcurl was part of the main executable and then split out because it
increased startup time [1]. I don't know if it's still true nowadays,
maybe you should do a simple test before deciding to go that way.
[1] http://article.gmane.org/gmane.comp.version-control.git/123946
--
Duy
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: libcurl dependency for implementing RFC3161 timestamps
2016-03-09 11:41 ` Duy Nguyen
@ 2016-03-09 13:04 ` Randall S. Becker
0 siblings, 0 replies; 4+ messages in thread
From: Randall S. Becker @ 2016-03-09 13:04 UTC (permalink / raw)
To: 'Duy Nguyen', 'Anton Wuerfel'
Cc: 'Git Mailing List', i4passt, phillip.raffeck
On March 9, 2016 6:41 AM, Duy Nguyen wrote:
> To: Anton Wuerfel <anton.wuerfel@fau.de>
> Cc: Git Mailing List <git@vger.kernel.org>; i4passt@cs.fau.de;
> phillip.raffeck@fau.de
> Subject: Re: libcurl dependency for implementing RFC3161 timestamps
>
> On Wed, Mar 9, 2016 at 6:24 PM, Anton Wuerfel <anton.wuerfel@fau.de>
> wrote:
> > -As git tag is a builtin part of the main git executable, introduce a
> > libcurl dependency for the main executable (maybe not best-practice).
>
> libcurl was part of the main executable and then split out because it
> increased startup time [1]. I don't know if it's still true nowadays, maybe you
> should do a simple test before deciding to go that way.
The NSE NonStop port observed that at 2.7.3 (admittedly old) that libcurl was not used for local operations including status, log, reset, etc., but was needed for push, pull, fetch (a.k.a. network) operations. The libcurl.so is loaded statically at start-up for any components needing the latter operations. Added it for local processing is not going to help performance :(, which is quite bad enough on our platform.
Sincerely,
Randall
-- Brief whoami: NonStop&UNIX developer since approximately UNIX(421664400)/NonStop(211288444200000000)
-- In my real life, I talk too much.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: libcurl dependency for implementing RFC3161 timestamps
2016-03-09 11:24 ` libcurl dependency for implementing RFC3161 timestamps Anton Wuerfel
2016-03-09 11:41 ` Duy Nguyen
@ 2016-03-09 18:53 ` Junio C Hamano
1 sibling, 0 replies; 4+ messages in thread
From: Junio C Hamano @ 2016-03-09 18:53 UTC (permalink / raw)
To: Anton Wuerfel; +Cc: git, i4passt, phillip.raffeck
"Anton Wuerfel" <anton.wuerfel@fau.de> writes:
> Is there any best-practice how to introduce this libcurl dependency? There
> are several options:
>
> -As git tag is a builtin part of the main git executable, introduce a
> libcurl dependency for the main executable (maybe not best-practice).
>
> -Move git tag to a separate git-tag binary and introduce a libcurl
> dependency to this new submodule.
>
> -Create an own submodule like git-http-timestamp with a libcurl dependency
> and call it from git tag and from other places where timestamp signatures
> are needed.
If this were to become part of the official Git distribution, I
think the last one would be the most realistic approach.
In fact, just like the way that Git does not care how GPG implements
its crypto, manages the chain of trust, and any other details, I
think the best way to integrate it would be to write your own RFC3161
program that can be invoked just like we invoke GPG, and drive it
via an interface like we drive GPG via gpg-interface.[ch], since Git
shouldn't even care where your timestamp is coming from and over
what transport.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-03-09 18:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <e57d18f6010c0b581b38a3daef145221.squirrel@faumail.uni-erlangen.de>
2016-03-09 11:24 ` libcurl dependency for implementing RFC3161 timestamps Anton Wuerfel
2016-03-09 11:41 ` Duy Nguyen
2016-03-09 13:04 ` Randall S. Becker
2016-03-09 18:53 ` Junio C Hamano
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).