git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 7/8] Makefile: don't delete dist tarballs directly by name

From
Ramsay Jones <ramsay@ramsayjones.plus.com>
Date
Nov 6, 2020, 20:23 UTC
Message-ID
<7ad94f1a-9cc7-5ac9-2859-1d1015ea468f@ramsayjones.plus.com>
In-Reply-To
<xmqqsg9mfk26.fsf@gitster.c.googlers.com>
On 06/11/2020 17:53, Junio C Hamano wrote:
Show 21 quoted lines
> Ramsay Jones <ramsay@ramsayjones.plus.com> writes:
>> Hmm, so rather than dropping the last two patches, you are suggesting
>> replacing this patch with a patch that moves:
>>
>> 	$(RM) $(GIT_TARNAME).tar.gz
>> 	$(RM) $(htmldocs).tar.gz $(manpages).tar.gz
>>
>> to the 'distclean' target?
> 
> Yup.  FWIW, I consider it a feature that
> 
>     for m in maint-2.{27,28,29}
>     do
> 	git checkout "$m" &&
>         make distclean &&
> 	make dist || break
>     do
> 
> gives me three distribution tarballs of from-scratch builds.  It
> matters when I need to push out releases from multiple maintenance
> tracks at the same time (think: coordinated security releases).

Ah, yes. I hadn't thought about that kind of usage. Hmm, but in that case, wouldn't you rather get rid of the deletion of the tarballs in the 'clean' target completely? Then you could either remove them by hand (which I actually always do in practice anyway) at a time that suits you, or maybe add a new 'clean-tarballs' target.

(That still leaves the issue of how you would identify the tarballs in such a target, of course).

ATB, Ramsay Jones

Previous: Junio C HamanoNext: Ramsay Jones
Message 8 of 9 in “Makefile: don't delete dist tarballs directly by name”
  1. 7/8 Makefile: don't delete dist tarballs directly by nameRamsay Jones, Nov 5, 2020
  2. Junio C HamanoNov 5, 2020
  3. Junio C HamanoNov 5, 2020
  4. Ramsay JonesNov 6, 2020
  5. Junio C HamanoNov 6, 2020
  6. Ramsay JonesNov 6, 2020
  7. Junio C HamanoNov 6, 2020
  8. Ramsay JonesNov 6, 2020
  9. Ramsay JonesNov 6, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.