Opened 7 years ago

Last modified 7 years ago

#13451 new enhancement

[SoftwareUpdater] run entirely as a notification

Reported by: diver Owned by: perelandra
Priority: normal Milestone: Unscheduled
Component: Applications/SoftwareUpdater Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by diver)

Have SoftwareUpdater just show a notification with check progress. If updates are found show how many.

Preview:

notify --type information --group SoftwareUpdater \
--icon /system/apps/SoftwareUpdater \
--title "Updates found" "There are 5083 updates available. \
  Click here to view details" \
--onClickApp application/x-vnd.haiku-softwareupdater

Attachments (1)

notification.png (37.9 KB ) - added by diver 7 years ago.

Download all attachments as: .zip

Change History (11)

by diver, 7 years ago

Attachment: notification.png added

comment:1 by diver, 7 years ago

patch: 01

comment:2 by diver, 7 years ago

Description: modified (diff)

comment:3 by perelandra, 7 years ago

There is a check mode by running "SoftwareUpdater check". Or do you mean show notifications during the entire check process? Hmm that might be a good idea, if it is optional. Maybe running "SoftwareUpdater check --verbose" will send status updates to a notification? You can define an ID for a notification so you can just update an existing one without flooding the deskbar with multiple new ones.

Let me know more precisely what you mean.

comment:4 by diver, 7 years ago

I meant to remove checking window and have it only as a notification if --verbose was provided.

comment:5 by diver, 7 years ago

BTW, if we can add buttons to notifications we could add Update and Details buttons right there.

in reply to:  4 comment:6 by perelandra, 7 years ago

Replying to diver:

I meant to remove checking window and have it only as a notification if --verbose was provided.

Can you provide a screenshot of the "checking window" you are referring to? I am still not sure what you mean. Are you running the latest nightly release and the app located in /boot/system/apps ? Be careful if you have other copies of SoftwareUpdater on your system, even on other partitions as those may be launched instead of the latest version.

comment:7 by diver, 7 years ago

I meant "Checking for updates Validating checksum for Haiku." window. Yes, latest nightly and the app is there and is the only one.

comment:8 by perelandra, 7 years ago

I think the behavior you want in original description is obtained by opening Terminal and typing "SoftwareUpdater check" (without quotes).

comment:9 by pulkomandy, 7 years ago

patch: 10

comment:10 by perelandra, 7 years ago

I'm still not exactly sure what you are trying to describe. Try the latest SoftwareUpdater version 1.0.1 in hrev51148 and see if that conforms to your request. Try both "SoftwareUpdater check" and "SoftwareUpdater check -v" from Terminal.

Note: See TracTickets for help on using tickets.