Uploaded image for project: 'Build'
  1. Build
  2. BUILD-503

Recursive webapp release rather than simple module release

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Won't Do
    • Neutral
    • None
    • None
    • None
    • None

    Description

      While it's aware of a module's dependencies, the webapp is currently only able to:

      • release when there are no SNAPSHOT dependencies
      • raise a red flag when SNAPSHOT dependencies are present

      In the case of SNAPSHOT dependencies, the webapp should instead be able to:

      • release the SNAPSHOT dependencies
      • then come back to release the module

      If too difficult, a simpler and intermediate approach would be to feed the webapp an ordered list of modules to release.

      Implementation notes

       
      IIUC you are dealing with a DAG though and want to do topological sorting. After some googling I found https://jgrapht.org/javadoc-1.4.0/org/jgrapht/graph/DirectedAcyclicGraph.html from the JGraphT library, which looks promising. I didn't use it before neither though...
       
      getRoot() is basically https://jgrapht.org/javadoc-1.4.0/org/jgrapht/graph/DirectedAcyclicGraph.html#iterator() here

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                mmichel Maxime Michel
                mmichel Maxime Michel
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: