1. 08 Oct, 2024 1 commit
  2. 30 May, 2023 2 commits
  3. 30 Dec, 2022 1 commit
  4. 20 Jan, 2022 2 commits
  5. 25 Oct, 2021 1 commit
  6. 23 Aug, 2021 1 commit
  7. 15 Jul, 2021 1 commit
  8. 14 Jul, 2021 2 commits
  9. 18 Jun, 2021 1 commit
  10. 06 Jun, 2021 1 commit
  11. 29 Apr, 2021 5 commits
    • Anton Midyukov's avatar
      reports.mk: generate targets.svgz instead targets.png · f9ef0e95
      Anton Midyukov authored
      SVGZ is more than a hundred times smaller than PNG.
      a
      f9ef0e95
    • Michael Shigorin's avatar
      reports.mk: provide bashism with bash · 1d8b9f49
      Michael Shigorin authored
      Wrote that it's a bashism myself and neglected
      to specify the proper shell, sigh.
      
      This SHELL manipulation could ruin tracing
      piggybacked onto it within lib/report.mk
      but it's too late at this stage anyways.
      1d8b9f49
    • Michael Shigorin's avatar
      reports.mk: use process substitution to dedup · 6f584cdc
      Michael Shigorin authored
      The first half of both pipes was clearly a copy-pasted
      initial logfile processing; the file can be of considerable
      size (e.g. several megabytes) so it might be slightly more
      efficient and cool (but a bit more arcane) to use bash(1)'s
      process substitution along with good ol' tee(1) like this:
      
      $ echo -e '1\n2\n3' |tee /dev/stderr 2> >(grep 2 >STDERR) |grep 1 >STDOUT
      $ head STD*
      ==> STDERR <==
      2
      
      ==> STDOUT <==
      1
      6f584cdc
    • Michael Shigorin's avatar
      reports.mk: streamline basedir(1) equivalent · 4c701def
      Michael Shigorin authored
      That "clever hack" with two rev(1) invocations
      seems pretty stupid to me: too much processes
      and processing instead of simple prefix removal.
      
      One can also have that as ${var##*/} when dealing
      with a shell variable and avoiding extra forks, BTW.
      4c701def
    • Michael Shigorin's avatar
      reports.mk: factor out reports/packages · 4a419e6b
      Michael Shigorin authored
      ..making it fit 80 columns while at that
      to avoid horizontal spaghetti code.
      4a419e6b
  12. 16 Apr, 2021 2 commits
  13. 20 Jan, 2020 1 commit
  14. 13 Jan, 2020 1 commit
    • Michael Shigorin's avatar
      reports.mk: refactor report output · 5e20cec7
      Michael Shigorin authored
      Make it uniform through a function -- with the initially desired effect
      of no extra lines while building multiple images with REPORT=1
      (those were useless anyways printing repeatedly the same path
      that's relative to a particular builddir).
      5e20cec7
  15. 10 Jun, 2019 1 commit
    • Michael Shigorin's avatar
      cleanlog, reports.mk: factor the script out · f8ae619b
      Michael Shigorin authored
      Sometimes REPORT=1 just wasn't passed to make, and the build.log
      saved is noisy and harder to compare through diff(1); let's move
      the implementation out of the makefile and into a standalone
      script so it can be reused like this:
      
        BUILDDIR=$(sed -rn "s/^mki-image-scripts: export GLOBAL_BUILDDIR='(.*)'$/\1/p" build/build.log
        bin/cleanlog < build/build.log > build/reports/clean.log
      
      See "export GLOBAL_BUILDDIR=" line in the particular log
      (grabbing that one from stdin is not exactly trivial though).
      f8ae619b
  16. 11 Jun, 2018 1 commit
    • Michael Shigorin's avatar
      reports.mk: added "contents" one · 9cc9d881
      Michael Shigorin authored
      "Provide iso contents file" has been a long-standing
      feature request regarding both starterkits and distros
      proper; release managers used to compensate this with
      their own scripts.
      
      Suggested-by: sem@, legion@ and someone else too
      9cc9d881
  17. 04 Jun, 2014 1 commit
  18. 27 Oct, 2012 1 commit
    • Michael Shigorin's avatar
      reports.mk: diffable logs · aa8699c4
      Michael Shigorin authored
      This is a mild generalization of what has been done by hand
      to figure out a problem with make-initrd-propagator-0.10-alt1:
      stripping anything intrinsically volatile off the build.log.
      
      The filter set isn't perfect, and the proper logging will
      involve mkimage tweaks as well (e.g., one generally isn't
      interested in instrumental chroots' population that much,
      so it should only be verbose at the higher debug levels).
      aa8699c4
  19. 21 Jun, 2012 1 commit
  20. 06 May, 2012 2 commits
    • Michael Shigorin's avatar
      no build means *no* build (and less reports), really · 454e7162
      Michael Shigorin authored
      It's hard to tell a successful build from a failed one
      if downstream hides the exit code; it's useless to continue
      a `for' loop if a pipe shoves that to a subshell; well it seems
      that a bashism is worth a thousand quirks with extra fds here.
      Minor regexp enhancements are also due.
      
      reports.mk made a bit more resilient/prudent either.
      454e7162
    • Michael Shigorin's avatar
      reports.mk: fixups and hardening · 0439df31
      Michael Shigorin authored
      No need for .reports/ in toplevel directory even after build failure,
      and a few more hasty hacking fixups are also due, shame on me.
      0439df31
  21. 23 Apr, 2012 4 commits
  22. 09 Apr, 2012 1 commit
  23. 07 Apr, 2012 1 commit
  24. 19 Mar, 2012 1 commit