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

Re: [PATCH 1/3] fast-export: add --signed-tags=warn-strip mode

From
Junio C Hamano <gitster@pobox.com>
Date
Apr 16, 2013, 04:47 UTC
Message-ID
<7vk3o3nktl.fsf@alter.siamese.dyndns.org>
In-Reply-To
<CAGdFq_jCO_+qj87rtcFyFG2tot8Ah2706X2dm82F6=GBV-g6nw@mail.gmail.com>
Sverre Rabbelier <srabbelier@gmail.com> writes:
Show 8 quoted lines
> On Sun, Apr 14, 2013 at 3:57 AM, John Keeping <john@keeping.me.uk> wrote:
>> This issues a warning while stripping signatures from signed tags, which
>> allows us to use it as default behaviour for remote helpers which cannot
>> specify how to handle signed tags.
>
> Perhaps it makes sense to instead count the number of signed tags and
> emit "Stripped signature from %d tags"? For example, for git.git it
> would be on the order of a hundred warning lines.

When you see 78 in the output and you know you have 92 tags in the repository, is that sufficient to let you go on, or do we also need an easy way to tell which ones are those 78 that were stripped and the remaining 14 were not stripped?

There is no reason to worry about "some signed tags are stripped but not others", so it feels that the number alone should be sufficient, I guess. If those remaining 14 weren't stripped, that is (at least at the moment) by definition because they are unsigned, annotated tags.

Previous: Sverre RabbelierNext: Sverre Rabbelier
Message 7 of 14 in “Remote helpers and signed tags”
  1. John KeepingApr 7, 2013
  2. Jonathan NiederApr 7, 2013
  3. Sverre RabbelierApr 8, 2013
  4. 0/3 Handle signed tags with 'export' remote helpersJohn Keeping, Apr 14, 2013
  5. 1/3 fast-export: add --signed-tags=warn-strip modeJohn Keeping, Apr 14, 2013
  6. Sverre RabbelierApr 16, 2013
  7. Junio C HamanoApr 16, 2013
  8. Sverre RabbelierApr 16, 2013
  9. John KeepingApr 16, 2013
  10. Junio C HamanoApr 17, 2013
  11. Sverre RabbelierApr 17, 2013
  12. Jonathan NiederApr 16, 2013
  13. 2/3 transport-helper: pass --signed-tags=warn-strip to fast-exportJohn Keeping, Apr 14, 2013
  14. 3/3 transport-helper: add 'signed-tags' capabilityJohn Keeping, Apr 14, 2013

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.