Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 295715

Summary: Merge succeeded/merge failed bashrc hooks (or something)
Product: Portage Development Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 288499    

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-04 20:38:58 UTC
For my current tinderbox plans (see http://blog.flameeyes.eu/2009/12/02/needing-a-run-control ) I'd very much need a way to execute some code when a merge succeed or fails.

So just to make sure this doesn't fall through any cracks… ;)
Comment 1 Zac Medico gentoo-dev 2009-12-06 00:04:08 UTC
How about if we add a register_success_hook() function to complement register_die_hook()? Also, we need to fix it so the die hooks get called even when it dies on the python side due to a file collision or something.
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-12-06 00:31:02 UTC
Works for me :)
Comment 3 Zac Medico gentoo-dev 2009-12-06 10:23:16 UTC
This is in svn r14936.
Comment 4 Zac Medico gentoo-dev 2009-12-07 03:30:27 UTC
This is fixed in 2.1.7.11 and 2.2_rc56.