Uploaded image for project: 'Gump'
  1. Gump
  2. GUMP-103

design conventions for marking up the gump.model and modifying behaviour

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Gump3-alpha-4
    • Gump3-alpha-4
    • Python-based Gump
    • None

    Description

      A whole bunch of plugins will want to execute commands as part of "building" some project. What should be the workflow inside gump to make that happen?

      It might make sense to have components like the MkdirPlugin and AntPlugin mark up their commands with the exit code, as well as output log and/or error log.

      Then there might be a StateDetectionPlugin that looks at the state of all projects after the "builder" plugins are done, and sets a project failure|success|prereq failure state or something like that on the project itself, in addition perhaps having a "blame" list pointing at the commands that failed, sorting that in some logical order (if ant failed due to mkdir failing, blame the mkdir, not ant).

      There could be several StateDetectionPLugins so we can try out different algorithms in dealing with success/failure. The key bit is to keep the builders and the like simple and preferably very linear in their behaviour, with little branching. The less they have to do, the easier it is to add new ones :-D

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              lsimons Leo Simons
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: