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

Strict ordering by date

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Dec 31, 2006, 01:03 UTC
Message-ID
<45970C63.1020509@zytor.com>
Hi all,

I have added a --pretty=rpm option to git in order to automatically generate the changelog for an RPM specfile. So far, so good. Unfortunately, rpmbuild is very picky and will simply refuse to run, at all, if any of the entries are out of reverse chronological order. When dealing with merges or cherrypicking -- or, for that matter, a commit done with a broken time setting -- this doesn't work with either --date-order or --topo-order.

(And yes, this is an rpmbuild misfeature.)

I've tried to add a --strict-date-order option, but it's not clear at what point -- if any -- we actually have the full list of entries to display. It doesn't seem to happen anywhere inside revision.c.

Any pointers appreciated.
	-hpa
Message 1 of 1 in “Strict ordering by date”
  1. H. Peter AnvinDec 31, 2006

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.