Is your feature request related to a problem? Please describe.
As of today, mintupdate uses two blacklists:
"normal" blacklist
package may be added to it via context menu (right-click > Ignore all future updates for this package).
packages included here are not visible in GUI (and not updated via Install Updates button?)
"automatic" blacklist (/etc/mintupdate.blacklist) - used by automatic updates
packages may be added by exporting "normal" BL here via button in Properties > Automation
packages from this list are not updated automatically, but may be updated manually and are visible in GUI
In this situation, handling a package that I want to update only manually (& automatic updates for rest of packages) is complicated.
Lets assume I have 3 programs :smile:: vim, emacs, and butterfly (xkcd). I want to automatically update vim, never update emacs (10.17 will break my workflow) and update butterfly only manually (as it's a bleeding-edge technology and I want to test new bugs from beta only on Fridays).
To configure it as described above, I need to:
Add butterfly to normal BL.
Hit Export blacklist to /etc/mintupdate.blacklist button.
Remove butterfly from normal BL.
Add emacs to normal BL.
OR
Add butterfly to /etc/mintupdate.blacklist using vim or butterfly editor - but it's error-prone, and not user-friendly.
To make things worse, let's assume I want to ignore also automatic updates for cat. Now I need to:
Remove emacs from normal BL.
Add both cat and butterfly to normal BL. (because in other case I'll override butterfly in next step)
Hit export button.
Add emacs, remove cat and butterfly from normal BL.
As you can see, it's a mess to exclude sth from automatic updates. And there are multiple reasons why users may want to exclude only few packages from auto-updates. (i. e. to preserve security by auto-updates, but not kill experience by auto-updating few beta apps). In current implementation it's also nice that user has a reminder via tray icon that sth may be updated manually.
Describe the solution you'd like
I think the simplest solution would be to add new action to right-click context menu. Sth like "Exclude this package (only) from auto-updates". It would add an entry in /etc/mintupdate.blacklist (but not override anything). There would be also a way to add/delete packages from automatic BL in Properties > Automation like there is one in Properties > Blacklist.
Describe alternatives you've considered
It would be also possible to do something more sophisticated in Properties > Automation, but first approach is probably simpler.
Additional context
Current mintupdate version: 5.7.3
I tested current behaviour by adding butterfly :wink: to /etc/mintupdate.blacklist (manually or using described steps), applying auto-update - forced by execution of /usr/lib/linuxmint/mintUpdate/automatic_upgrades.py, then updating butterfly manually by Install Updates button in GUI.
Is your feature request related to a problem? Please describe. As of today, mintupdate uses two blacklists:
/etc/mintupdate.blacklist
) - used by automatic updatesIn this situation, handling a package that I want to update only manually (& automatic updates for rest of packages) is complicated.
Lets assume I have 3 programs :smile::
vim
,emacs
, andbutterfly
(xkcd). I want to automatically updatevim
, never updateemacs
(10.17 will break my workflow) and updatebutterfly
only manually (as it's a bleeding-edge technology and I want to test new bugs from beta only on Fridays).To configure it as described above, I need to:
butterfly
to normal BL.butterfly
from normal BL.emacs
to normal BL.OR
butterfly
to/etc/mintupdate.blacklist
usingvim
orbutterfly
editor - but it's error-prone, and not user-friendly.To make things worse, let's assume I want to ignore also automatic updates for
cat
. Now I need to:emacs
from normal BL.cat
andbutterfly
to normal BL. (because in other case I'll overridebutterfly
in next step)emacs
, removecat
andbutterfly
from normal BL.As you can see, it's a mess to exclude sth from automatic updates. And there are multiple reasons why users may want to exclude only few packages from auto-updates. (i. e. to preserve security by auto-updates, but not kill experience by auto-updating few beta apps). In current implementation it's also nice that user has a reminder via tray icon that sth may be updated manually.
Describe the solution you'd like I think the simplest solution would be to add new action to right-click context menu. Sth like "Exclude this package (only) from auto-updates". It would add an entry in
/etc/mintupdate.blacklist
(but not override anything). There would be also a way to add/delete packages from automatic BL in Properties > Automation like there is one in Properties > Blacklist.Describe alternatives you've considered It would be also possible to do something more sophisticated in Properties > Automation, but first approach is probably simpler.
Additional context Current mintupdate version: 5.7.3
I tested current behaviour by adding
butterfly
:wink: to/etc/mintupdate.blacklist
(manually or using described steps), applying auto-update - forced by execution of/usr/lib/linuxmint/mintUpdate/automatic_upgrades.py
, then updatingbutterfly
manually by Install Updates button in GUI.