Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

contrib/bash-completions: use package naming conventions #28507

Merged
merged 1 commit into from Oct 3, 2023

Conversation

erikarvstedt
Copy link
Contributor

@erikarvstedt erikarvstedt commented Sep 19, 2023

Copy of commit msg

This naming scheme supports auto-detection and on-demand loading of completions.

See
https://github.com/scop/bash-completion/blob/ba109693ee2284f6a82f8f0e1563baf071252df9/README.md#faq,
section "Where should I put it to be sure that interactive bash shells will find it and source it", keyword foo.bash.

Previously, distro package maintainers had to rename these files manually.

@DrahtBot
Copy link
Contributor

DrahtBot commented Sep 19, 2023

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK willcl-ark
Concept ACK prusnak

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

This naming scheme supports auto-detection and on-demand loading of completions.

See
https://github.com/scop/bash-completion/blob/ba109693ee2284f6a82f8f0e1563baf071252df9/README.md#faq,
section "Where should I put it to be sure that interactive bash shells will find it and source it".

Previously, distro package maintainers had to rename these files manually.
@erikarvstedt
Copy link
Contributor Author

cc @prusnak

Copy link
Contributor

@prusnak prusnak left a comment

Choose a reason for hiding this comment

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

utACK

@fanquake
Copy link
Member

fanquake commented Oct 2, 2023

@willcl-ark
Copy link
Member

ACK 360b917

Agree that this matches the spec and best practice, and also tested that simply copying completions to /usr/share/bash-completion/completions had them work automatically as expected.

I suppose with cmake incoming there's no point in adding a configure flag to install completions with make install, but it could be nice to have that option later...

@fanquake
Copy link
Member

fanquake commented Oct 3, 2023

Added a label so we don't forget to mention this in the 26.x release notes.

@fanquake fanquake merged commit 693a7cf into bitcoin:master Oct 3, 2023
14 of 15 checks passed
Frank-GER pushed a commit to syscoin/syscoin that referenced this pull request Oct 13, 2023
@fanquake
Copy link
Member

fanquake commented Dec 7, 2023

Release note to be added in #29023.

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.

None yet

5 participants