1. 17 Dec, 2018 5 commits
    • Jérome Perrin's avatar
      proxy: support for software destruction · 03abf2af
      Jérome Perrin authored
      This introduces a new `state` column in `software` table.
      
      Because node already has support for reporting various states of software
      lifetime, this implementation stores the actual state of the software
      installation.
      What's not clear is that maybe it should store the requested state and the current state.
      
      ```plantuml
      @startuml
      start
      repeat
        -> client request software in state available \n ""supplySupply?state="available""";
        if (already available ?) then (yes)
          :available;
        else (no )
          :install_requested;
          -> node starts building \n ""buildingSoftwareRelease"";
          :building;
          if ( build result? ) then ( node report build successful \n ""availableSoftwareRelease"" )
            :available;
          else (node report build error \n ""softwareReleaseError"" )
            :error;
          endif
        endif
      repeat while ()
      
      -> client request software in state destroyed \n ""supplySupply?state="destroyed""";;
      :destroyed;
      -> node notify software is deleted \n""destroyedSoftwareRelease"";
      stop
      @enduml
      ```
      03abf2af
    • Jérome Perrin's avatar
      slapgrid: support intermediate software state · 60a7dd72
      Jérome Perrin authored
      By just taking action "destroy" where requested state is destroyed and
      installing for all other states, we can inform master of the state.
      XXX this is wrong !
      60a7dd72
    • Jérome Perrin's avatar
      8a82b654
    • Jérome Perrin's avatar
      8bbb4f1d
    • Jérome Perrin's avatar
      4eaf2efb
  2. 15 Dec, 2018 1 commit
  3. 14 Dec, 2018 3 commits
  4. 13 Dec, 2018 16 commits
  5. 11 Dec, 2018 2 commits
  6. 06 Dec, 2018 1 commit
  7. 04 Dec, 2018 2 commits
  8. 03 Dec, 2018 3 commits
    • Thomas Gambier's avatar
      Add tests for default argument · 0c0b92fb
      Thomas Gambier authored
      0c0b92fb
    • Thomas Gambier's avatar
      CLEANUP: remove trailing spaces · 9df6ecd8
      Thomas Gambier authored
      9df6ecd8
    • Thomas Gambier's avatar
      BUGFIX: fix c931d60c · 3b8cf767
      Thomas Gambier authored
      After c931d60c, default options were changed and we didn't want that.
      
      Rewrite the code so that we have a clearer scheme:
       * all options of format are listed as FormatConfig attributes with default values
       * all values present in configuration file (.cfg) erase the previous options
       * all values present in command line erase the previous options
      
      We use the special default argparse.SUPPRESS that removes totally the arg from arg dict so that only PRESENT options erase something
      3b8cf767
  9. 30 Nov, 2018 2 commits
  10. 28 Nov, 2018 5 commits