Re: USE_SHA1DC is broken in pu
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 22, 2017, 14:32 UTC
- Message-ID
- <alpine.DEB.2.20.1703221530040.3767@virtualbox>
- In-Reply-To
- <xmqqh92mo06a.fsf@gitster.mtv.corp.google.com>
Hi Junio,
On Tue, 21 Mar 2017, Junio C Hamano wrote:
Show 28 quoted lines
> Johannes Schindelin <Johannes.Schindelin@gmx.de> writes: > > > On Fri, 17 Mar 2017, Lars Schneider wrote: > > > >> > On 17 Mar 2017, at 11:18, Lars Schneider <larsxschneider@gmail.com> > >> > wrote: > >> > > >> > Would it make sense/have value to add a job to our TravisCI build > >> > [1] that compiles Git in a few variations with some high profile > >> > switches such as USE_SHA1DC? Running all the tests for these > >> > variations would probably take to long but just compiling would be > >> > less than 2min per variation. > >> > >> ... or just run individual tests instead of the entire test suite for > >> these variations (e.g. only t0013 for the USE_SHA1DC variation). > > > > The best solution may be to open a PR with .travis.yml patched to > > enable this flag. And then report back to he mailing list because the > > gentle people here are not that used to paying attention to Continuous > > Testing :-D > > Actually, the best solution may be to do nothing ;-) With the current > incarnation parked in 'pu' (or I may have already merged it to 'next'), > without any explicit VARIANT_SHA1 request to $(MAKE), we default to use > the DC_SHA1 variant. > > Those who are paying attention to Travis would have noticed this by now, > I thought ;-).
I pay attention mainly to breakages, and that is already a lot to pay attention to. Thanks.
As to the default of seriously slowing down all SHA-1 computations: since you made that the default, at compile time, with no way to turn on the faster computation, this will have a major, negative impact. Are you really, really sure you want to do that?
I thought that it was obvious that we would have at least a runtime option to lessen the load.
Surprised, Johannes