https://bugs.gpodder.org/show_bug.cgi?id=1558

             Bug #: 1558
           Summary: predictable execution order
    Classification: Unclassified
           Product: gPodder
           Version: 3.0.4
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: feature request
          Priority: low
         Component: Hook Scripts
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created attachment 688
  --> https://bugs.gpodder.org/attachment.cgi?id=688
Patch: execute hook scripts in filename order

I think the order in which hook scripts are executed should be predictable
to get predictable effects. 

The simplest way might be to sort them by file name (ascii/utf order).

Then hook scripts could be sorted like:

 00_wantsToRunFirstHookScript.py
 01_aHookScript.py
 02_anotherHookScript.py
 03_aThirdHookScript.py

Therefor let me suggest the attached patch.

-- 
Configure bugmail: https://bugs.gpodder.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
_______________________________________________
gPodder-Bugs mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/gpodder-bugs

Reply via email to