Skip to content

node-images/fedora: add less to the node image#52

Merged
alicefr merged 1 commit into
bootc-dev:mainfrom
jlebon:pr/add-less-to-node-image
Jun 9, 2026
Merged

node-images/fedora: add less to the node image#52
alicefr merged 1 commit into
bootc-dev:mainfrom
jlebon:pr/add-less-to-node-image

Conversation

@jlebon

@jlebon jlebon commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

Install the 'less' pager in the Fedora node image. E.g. when using journalctl, without a pager it just directly dumps everything to the terminal.

Assisted-by: Pi (Claude Opus 4.6)

Summary by Sourcery

New Features:

  • Include the less pager in the Fedora node image for paginated command output.

Install the 'less' pager in the Fedora node image. E.g. when using
`journalctl`, without a pager it just directly dumps everything to the
terminal.

Assisted-by: Pi (Claude Opus 4.6)
@sourcery-ai

sourcery-ai Bot commented Jun 6, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Adds the less pager to the Fedora node image by including it in the list of packages installed into the root filesystem during image build.

Flow diagram for adding less to Fedora node image build

flowchart TD
    A[bootc-base-imagectl build-rootfs] --> B[Install sudo]
    A --> C[Install vim-minimal]
    A --> D[Install jq]
    A --> E[Install less]
    E --> F[/target-rootfs/]
Loading

File-Level Changes

Change Details Files
Include the less pager in the Fedora node image build so commands like journalctl use a pager instead of dumping output directly to the terminal.
  • Extend the bootc-base-imagectl build-rootfs invocation to install the less package in addition to existing tools like sudo, vim-minimal, and jq.
node-images/fedora/Containerfile

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@alicefr alicefr merged commit 140f2f7 into bootc-dev:main Jun 9, 2026
5 of 8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants