safing / portmaster-packaging

Portmaster packages and installers
GNU General Public License v3.0
49 stars 22 forks source link

Show portmaster-start download progress in Linux installers #73

Open northys opened 2 years ago

northys commented 2 years ago

What happened:

I'm 100% sure it used to show progress in the command line while it downloaded certain parts of portmaster. Now it just says it may take a while and on slow tethered connection I have no idea if it is doing anything...

sudo dpkg -i ~/Downloads/portmaster-installer\(1\).deb 
[sudo] password for northys: 
Selecting previously unselected package portmaster.
(Reading database ... 266589 files and directories currently installed.)
Preparing to unpack .../portmaster-installer(1).deb ...
Unpacking portmaster (0.7.0~1) ...
Setting up portmaster (0.7.0~1) ...
portmaster: Configuring portmaster.service to launch at boot
Created symlink /etc/systemd/system/multi-user.target.wants/portmaster.service → /opt/safing/portmaster/portmaster.service.
Created symlink /etc/systemd/system/portmaster.service → /opt/safing/portmaster/portmaster.service.
[control] 2022/05/23 06:15:29 WARNING: config.json has unknown release channel "", falling back to stable channel
portmaster: Downloading portmaster modules. This may take a while ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...

What did you expect to happen?:

How did you reproduce it?:

Show progress which portamaster start / updater used to print to stdout.

Debug Information:

dhaavi commented 2 years ago

I'm not sure if that really was the case, but I converted it to a suggestion and assigned @ppacher to take a look.

northys commented 2 years ago

It wasnt a progress bar actually but I recall it said something like

Downloading updates.safing.io/parts/1... Done ....

something like that