Skip to content
Snippets Groups Projects
  1. Sep 02, 2024
  2. Sep 01, 2024
  3. Aug 31, 2024
    • Zbigniew Jędrzejewski-Szmek's avatar
      docs/UIDS-GIDS: drop obsolete comment about Fedora · 229607bc
      Zbigniew Jędrzejewski-Szmek authored
      https://fedoraproject.org/wiki/Changes/RenameNobodyUser, 2018:
      > Use "nobody:nobody" as the names for the kernel overflow UID:GID pair, and
      > retire the old "nfsnobody" name and the old "nobody:nobody" pair with 99:99
      > numbers.
      229607bc
    • Yu Watanabe's avatar
      test-network: use the same MTU bytes for veth interfaces · 7876f3d6
      Yu Watanabe authored
      Hopefully fixes #34204.
      7876f3d6
    • Yu Watanabe's avatar
    • Yu Watanabe's avatar
      Merge pull request #34198 from AdrianVovk/updatectl-bugfixes · 6434d0bb
      Yu Watanabe authored
      updatectl: Bugfixes
      Unverified
      6434d0bb
    • Christoph Anton Mitterer's avatar
      man: fix typos · 3e984722
      Christoph Anton Mitterer authored
      
      Closes #34199.
      
      Signed-off-by: default avatarChristoph Anton Mitterer <mail@christoph.anton.mitterer.name>
      3e984722
    • Adrian Vovk's avatar
      progress-bar: Add unbuffered variant · 5f9dd9c6
      Adrian Vovk authored
      The progress_bar functions do their own buffering: they reconfigure
      stderr, then print, then flush and disable buffering on their own. In
      situations where multiple progress bars are being drawn at a time (for
      example, in updatectl), it's even more efficient to hoist the buffering
      and flushing to the call site, and avoid drawing each progress bar
      individually.
      
      To that end, new _unbuffered variants of the progress_bar functions. And
      we use them in updatectl.
      Unverified
      5f9dd9c6
    • Adrian Vovk's avatar
      updatectl: Improve behavior of progress logging · ca7490c5
      Adrian Vovk authored
      This applies a couple of aesthetic changes to the way updatectl renders
      progress information
      
      1. We invert from "ICON TARGET MESSAGE" to "TARGET: ICON MESSAGE" to
         better fit in with the systemd progress bars, which look like
         "TARGET [==========---------] XX%". The original version of the
         sysupdated PR implemented its own progress bars that were oriented
         differently: "[==========---------] TARGET XX%". When we swapped
         the progress bar we didn't swap the status messages
      
      2. When a target finishes updating, instead of leaving a 100% progress
         bar on screen for potentially extended periods of time (which implies
         to the user that the update isn't actually done...), we show a status
         message saying the target is done updating.
      
      3. Fixed a minor bug where an extra newline would be printed after the
         total progress bar. At the top of the rendering function, we scroll
         the terminal's scroll-back just enough to fit a line for each target,
         and one for the total. This means that we should not print an
         additional line after the total, or else it'll scroll the terminal's
         buffer by an additional character. This bug was introduced at some
         point during review
      
      4. Clears the Total progress bar before quitting. By the time we're
         quitting, that progress bar will be showing no useful status for the
         user. Also, the fix in point 3 will cause the shell's prompt to
         appear on the same line as the Total progress bar, partially
         overwriting it and leaving the shell in a glitchy state.
      Unverified
      ca7490c5
    • Yu Watanabe's avatar
      man: fix typo · 3722db21
      Yu Watanabe authored
      Follow-up for 1ff0164b.
      3722db21
    • Adrian Vovk's avatar
      updatectl: Ensure we clear the progress bar · 2aff6efe
      Adrian Vovk authored
      Otherwise we end up half-overwriting the progress bar, which looks buggy
      Unverified
      2aff6efe
    • Adrian Vovk's avatar
      sysupdated: Register known error types · aa2e664e
      Adrian Vovk authored
      This fixes a bug introduced during review of sysupdated. Originally,
      we just returned EALREADY verbatim to signify that the target is
      already up-to-date. Then we switched this to a proper error
      (org.freedesktop.sysupdate1.NoCandidate) during review. But that now
      maps to EIO, not EALREADY. Thus, whenever there's nothing to update,
      updatectl would report I/O errors to the user, even though nothing
      actually went wrong.
      Unverified
      aa2e664e
    • Adrian Vovk's avatar
      progress-bar: Put a space after the prefix · 6e199216
      Adrian Vovk authored
      We always want a space there. So let's just put one in the drawing
      routine, and adjust the call cites to avoid adding a second one.
      Unverified
      6e199216
  4. Aug 30, 2024
Loading