Bug 276925 - net/google-cloud-sdk: auto complete feature is not work automatically.
Summary: net/google-cloud-sdk: auto complete feature is not work automatically.
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-09 16:45 UTC by Norikatsu Shigemura
Modified: 2024-02-14 06:00 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bofh)


Attachments
google-cloud-sdk.patch (1.53 KB, patch)
2024-02-09 16:45 UTC, Norikatsu Shigemura
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Norikatsu Shigemura freebsd_committer freebsd_triage 2024-02-09 16:45:10 UTC
Created attachment 248286 [details]
google-cloud-sdk.patch

completion.bash.inc and completion.zsh.inc are shell functions for auto-complete .
But those files are not automatically work, users explicitly should load those files.
Comment 1 Norikatsu Shigemura freebsd_committer freebsd_triage 2024-02-09 16:45:59 UTC
Oops sorry, I didn't update PORTREVISION.  Please update PORTREVISION, too.
Comment 2 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2024-02-09 18:45:20 UTC
Indeed. They are not completions file. Looks like I had another completion file from somewhere else in my home which took precedence over this from gcloud and I never took a look at it.

However I will add this while a new version is released as those happens frequently more or less every week.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-02-14 05:59:28 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0187eaff26b280f04b050a969e43783aedd3153b

commit 0187eaff26b280f04b050a969e43783aedd3153b
Author:     Norikatsu Shigemura <nork@FreeBSD.org>
AuthorDate: 2024-02-14 05:54:22 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-02-14 05:59:06 +0000

    net/google-cloud-sdk: Update version 463.0.0=>464.0.0

    - Removed the OPTION BASH and ZSH. Despit he naming the files are
      actually to generate shell completions functions rather then shell
      completions function itself. Somehow I had a personalized shell
      completion function in my dotfiles which took precedence which is why
      I never found it out myself. [1]

    PR:             276925 [1]

 net/google-cloud-sdk/Makefile                   | 18 ++----------------
 net/google-cloud-sdk/distinfo                   |  6 +++---
 net/google-cloud-sdk/files/pkg-message.in (new) | 10 ++++++++++
 3 files changed, 15 insertions(+), 19 deletions(-)