Bug 2005185 - show_notification=true of the command_duration module does not work
Summary: show_notification=true of the command_duration module does not work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rust-starship
Version: 34
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rust SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-17 03:49 UTC by Dan Čermák
Modified: 2021-10-29 22:53 UTC (History)
3 users (show)

Fixed In Version: rust-starship-0.56.0-4.fc34 rust-starship-0.56.0-4.fc35
Doc Type: ---
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-09 00:21:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Dan Čermák 2021-09-17 03:49:19 UTC
Description of problem:
The command duration module allows to show desktop notifications when a command finishes executing (https://starship.rs/config/#command-duration), however this functionality appears to be broken when using the fedora package.

Version-Release number of selected component (if applicable):
starship-0.56.0-2.fc34.x86_64

How reproducible:


Steps to Reproduce:
1. dnf install starship
2. Add the following entry to ~/.config/starship.toml:
[cmd_duration]
show_notifications = true

3. execute a long running command (t > 45s)

Actual results:
No notification is displayed

Expected results:
A desktop notification should have been sent.

Additional info:
According to the tip from the docs I ran: `STARSHIP_LOG=debug starship module cmd_duration -d 60000` and the output suggests that starship was build without support for desktop notifications. Could this be enabled please?

Comment 1 Fedora Update System 2021-09-30 13:34:05 UTC
FEDORA-2021-94c59d4ac9 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-94c59d4ac9

Comment 2 Fedora Update System 2021-09-30 13:34:23 UTC
FEDORA-2021-3aae37a55e has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-3aae37a55e

Comment 3 Fedora Update System 2021-10-01 01:39:04 UTC
FEDORA-2021-94c59d4ac9 has been pushed to the Fedora 35 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-94c59d4ac9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-94c59d4ac9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-10-01 02:19:49 UTC
FEDORA-2021-3aae37a55e has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-3aae37a55e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-3aae37a55e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-10-09 00:21:34 UTC
FEDORA-2021-3aae37a55e has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2021-10-29 22:53:01 UTC
FEDORA-2021-94c59d4ac9 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.