1. 07 Mar, 2019 2 commits
    • Karel Koci's avatar
      Add new subprocess logging type USIGN · 2a84d8c1
      Karel Koci authored
      usign is command we have to run as there is no attached library
      implementation of given algorithm (at least to my knowledge). But its
      output should be mostly ignored because of that there is exception
      created for LST_USIGN for output printing level.
      2a84d8c1
    • Karel Koci's avatar
      logging: solve some warning · 8fd3e47a
      Karel Koci authored
      8fd3e47a
  2. 12 Dec, 2018 1 commit
    • Karel Koci's avatar
      logging: drop unneeded exit code · 48f9ef06
      Karel Koci authored
      I probably had some plan with it but I no longer remember what it was
      suppose to been. Instead I just drop it here. It can be reverted later
      if needed.
      
      This also correctly sets read field for cookie structure. This has no
      effect because we are not reading from it but just to be precise with
      our code we set it to know value NULL which means that read is not
      available.
      48f9ef06
  3. 11 Dec, 2018 3 commits
  4. 17 Jul, 2018 1 commit
    • Karel Koci's avatar
      Add cleanup functions · ef01234a
      Karel Koci authored
      These new functions should be used for correct cleanup. Idea is that you
      will register your cleanup function that would be called if fatal error
      is detected and if no such error happens then you will call cleanup_run
      to call and unregister given cleanup function anyway.
      ef01234a
  5. 12 Sep, 2017 1 commit
  6. 30 Mar, 2017 2 commits
  7. 07 Nov, 2016 1 commit
  8. 22 Sep, 2016 1 commit
  9. 21 Sep, 2016 1 commit
  10. 08 Aug, 2016 1 commit
  11. 26 Jul, 2016 1 commit
    • Karel Koci's avatar
      Add update hooks to pkgupdate · c0caba8d
      Karel Koci authored
      We want to invoke snapper every time we are going to perform
      update. These hooks are introduced to implement this requirement in some
      general way.
      
      We implement two hooks for now. Preupdate hook is executed before
      updater does any changes and postupdate hook is executed after updater
      done all planned changes.
      
      Tests for this are added as part of system plan test.
      c0caba8d
  12. 20 Jul, 2016 2 commits
    • Karel Koci's avatar
      err report: support multiple errors · 7c690f90
      Karel Koci authored
      When execution is paralleled it trow multiple errors at once. This adds
      support for such errors.
      7c690f90
    • Karel Koci's avatar
      err report: print only short message · 3e027cf3
      Karel Koci authored
      When handling lua error and something fails we will print only error
      message and reason. Whole stack trace is dumped to syslog as debug
      output and to crash log, which is file in fixed path:
      /tmp/updater_crash.log
      3e027cf3
  13. 06 Jun, 2016 1 commit
  14. 03 Jun, 2016 1 commit
  15. 15 Mar, 2016 1 commit
  16. 14 Mar, 2016 1 commit
  17. 17 Feb, 2016 1 commit
  18. 05 Feb, 2016 1 commit
    • Michal 'vorner' Vaner's avatar
      logging: Lua logging · e49c822d
      Michal 'vorner' Vaner authored
      • Add the logging functions to lua as well as C code.
      • Add few tests for the lua logging (to check the magic with generating
        functions).
      • Turn off logging in make check (they still may be run manually to get
        all the logging).
      e49c822d
  19. 04 Feb, 2016 1 commit
  20. 01 Feb, 2016 2 commits
  21. 28 Jan, 2016 2 commits