summaryrefslogtreecommitdiff
path: root/doc/Hooks
blob: 647dd5604e55c4716853de65ad49acc87b216823 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
List of hooks currently being supported by Portato
==================================================

emerge:
-------
Called: When emerge or every other command given by e.g. the synccmd preference is being called.
Parameters:
	- string[] packages: Packages to emerge (includes "world", "system").
	- string[] command: The exact command to execute.
	- vte.Console console: The console the output will be written to.
	- function(string) -> None title_update: Function which updates the console title in the GUIs.

Return if override: Nothing


after_emerge:
-------------
Called: When the emerge process (or other - see emerge hook) is finished. 
Parameters:
	- string[] packages: The list of cpv's (plus "world", "system") which have been emerged. (Or not if it failed.)
	- int retcode: The return code of the command.

Return if override: Nothing
Comment: This uses an extra hook as emerge is started in an extra thread and thus all plugins being wanting to come "after" will be called while emerge is still running.

main:
-----
Called: When the main routine is being entered. Everything in the application is done inside this main routine. Hooks connecting "after" will be run, when the application is shutdown.
Parameters: None
Return if override: Nothing

Comment: DO NOT OVERRIDE :)
rtato.git/commit/portato/gui/dialogs.py?id=ece9295ade05250c8b67712878a013a5ffc73567&follow=1'>Fix gtk deprecation warningRené 'Necoro' Neumann1-1/+1 2010-04-16TypoRené 'Necoro' Neumann2-3/+3 2010-04-16Do not allow portage's sqlite backend for the moment ... bug #564292René 'Necoro' Neumann2-16/+25 2010-04-15Better sorting of the database types in the preferences.René 'Necoro' Neumann2-6/+6 2010-04-15Add notify-python dependency for the version checkerRené 'Necoro' Neumann1-1/+1 2010-04-15Make the database type choice an info messageRené 'Necoro' Neumann2-7/+13 2010-04-15Renamed es_ES to esRené 'Necoro' Neumann1-0/+0 2010-04-15Fixed dependancy of the new_version plugin from "dev-util/git" to "dev-vcs/gi...Clement Bourgeois1-1/+1 2010-04-14Make some useless info messages being debug statementsRené 'Necoro' Neumann2-34/+17 2010-04-14Improve the C modulesRené 'Necoro' Neumann3-37/+52 2010-04-14Small modifications made to the French translation (typos, grammar).Clement Bourgeois1-69/+69 2010-04-14Fixed the unicode support and stuff ... and also made eix faster :)René 'Necoro' Neumann1-20/+22 2010-04-14Disable debug messages by defaultRené 'Necoro' Neumann1-1/+1 2010-04-13Better eix error inheritance and handlingRené 'Necoro' Neumann1-2/+9 2010-04-13Fix the handling of FilterSets. Fixes bug #558887.René 'Necoro' Neumann2-56/+64 2010-04-12Updated newsRené 'Necoro' Neumann1-0/+1 2010-04-13Added my name to translators list.Clement Bourgeois1-0/+1