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

Re: Git and Scmbug integration

From
KMKristis Makris <kristis.makris@asu.edu>
Date
Nov 13, 2007, 23:55 UTC
Message-ID
<1194998142.4106.24.camel@localhost>
In-Reply-To
<ee77f5c20711131500h6ee067ffv3e488ac7bde1d22c@mail.gmail.com>
On Wed, 2007-11-14 at 10:00 +1100, David Symonds wrote:
Show 5 quoted lines
> > http://bugzilla.mkgnu.net/show_bug.cgi?id=991
> >
> > There's no hook that will trigger when a tag is applied.
> 
> I believe the 'update' hook is run when the tag is pushed.

Even if that is true, there no hook that will trigger when a local tag is applied.

Show 13 quoted lines
> > (2)
> >
> > http://bugzilla.mkgnu.net/show_bug.cgi?id=992
> >
> > Git does not offer metadata describing a change on the commit trigger
> >
> > The commit trigger seems to be "post-commit" but it supplies no arguments. The
> > "update" trigger supplies a lot of information but that's only triggered when
> > changes are published to a remote repository.
> 
> Isn't this some kind of centralised bug-tracking system anyway? It
> would be nice, I see, for the 'commit' hook to take, say, the commit
> SHA-1 hash as a parameter.

It isn't a centralized bug-tracking system necessarily. Because different developers may used different, custom bug-tracking systems, with custom hooks in their own local Git repositories that integrate with only their own bug-tracking systems. And perhaps we can add the support in the Scmbug Git frontend to integrate with a centralized bug-tracker only on push operations if desired.

But we can't explore any of these issues, discussed in the thread below too, unless we can extract what's needed from the hooks.

http://thread.gmane.org/gmane.comp.version-control.git/48981/focus=49011

I'd like the commit hook to provide enough information to be able to tell which files were modified and their respective old/new version (or perhaps their old/new SHA-1 hash). If the new SHA-1 hash can be used to extract all that, that's ok with me. But right now there's nothing.

Previous: David SymondsNext: David Symonds
Message 3 of 17 in “Git and Scmbug integration”
  1. Kristis MakrisNov 13, 2007
  2. David SymondsNov 13, 2007
  3. Kristis MakrisNov 13, 2007
  4. David SymondsNov 14, 2007
  5. Kristis MakrisNov 14, 2007
  6. David SymondsNov 14, 2007
  7. Junio C HamanoNov 14, 2007
  8. David SymondsNov 14, 2007
  9. Junio C HamanoNov 14, 2007
  10. Junio C HamanoNov 14, 2007
  11. Martin LanghoffNov 14, 2007
  12. Alex RiesenNov 13, 2007
  13. David SymondsNov 13, 2007
  14. Alex RiesenNov 14, 2007
  15. David SymondsNov 14, 2007
  16. Kristis MakrisNov 14, 2007
  17. Kristis MakrisAug 13, 2008

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.