Skip to content

Conversation

plebioda
Copy link
Collaborator

@plebioda plebioda commented Jun 27, 2025

No description provided.

@boris-ilijic
Copy link
Member

Since we haven't merged this yet, @sandraromanchenko / @olexandr-havryliak please review it so that we can proceed.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds shell completion scripts for bash and zsh to both DEB and RPM packages, enabling tab completion for the pbm commands. The changes ensure completion files are included in package builds and properly installed to standard system locations.

Key Changes

  • Modified build process to include completion script generation
  • Added completion file installation to RPM spec file with proper permissions
  • Updated Debian packaging to install completion scripts to appropriate system directories

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
packaging/rpm/mongodb-backup.spec Adds installation of bash and zsh completion files to RPM package with proper directory creation and file permissions
packaging/debian/rules Creates completion directories and copies completion files during Debian package build process
packaging/debian/install Specifies installation paths for completion files in Debian package to standard system locations
Makefile Updates build-all target to include completion script generation
Comments suppressed due to low confidence (1)

packaging/debian/rules:66

  • This line appears to be accidentally removed (shown with a '-' prefix in the diff). The pbm-agent-entrypoint binary should still be copied to maintain package completeness.
	cd build/src/github.com/percona/percona-backup-mongodb/bin && cp completions/bash/pbm-agent $(TMP)/completions/bash/pbm-agent

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

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.

3 participants