vinifmor / bauh

Graphical user interface for managing your Linux applications. Supports AppImage, Debian and Arch packages (including AUR), Flatpak, Snap and native Web applications
zlib License
959 stars 71 forks source link

Add curated list #260

Closed DarkXero-dev closed 2 years ago

DarkXero-dev commented 2 years ago

Hi

I am Arch Distro maintainer called XeroLinux. Is there a way to brovide curated lists of packages?

I noticed it uses yaml same as calamares so this ability to run bauh with my own suggestions world make it so awesome!

Thanks

vinifmor commented 2 years ago

Hi @TechXero ,

Are you talking about the suggestions feature/button ?

DarkXero-dev commented 2 years ago

No like a way to open Bauh displaying a curated list of packages by me. Split into categories.

Like this https://github.com/xerolinux/calamares-config/blob/main/etc/calamares/modules/netinstall-pkgs.yaml

vinifmor commented 2 years ago

Ok, now I get it. bauh works with the concept of software suggestions. It is basically text files with key:value pairs representing priorities and names (e.g 0:firefox). You can check an example from bauh-files: https://github.com/vinifmor/bauh-files/blob/master/debian/suggestions.txt

It would be possible to have a root configuration file defining from where these suggestions would be downloaded. Also a new settings property to always displays the suggestions after the initialization process.

DarkXero-dev commented 2 years ago

Basically my idea was, once user installs my Distro I have a button in post install tool that they can click which will launch Bauh with curated list of mine by category as in the link I sent...

vinifmor commented 2 years ago

Ok... besides the root configuration file, we could work with a parameter instead of a settings property (e.g: bauh --suggestions). So bauh would launch and load your suggestions/curated software.

DarkXero-dev commented 2 years ago

Now we need to figure out how to separate by categories

vinifmor commented 2 years ago

The categories can be present on the suggestion files. The current format would need a refactoring (something like: priority:name:category)

DarkXero-dev commented 2 years ago

Ok send me a config sample made from this https://github.com/xerolinux/calamares-config/blob/main/etc/calamares/modules/netinstall-pkgs.yaml tell me where to put and I will test..

vinifmor commented 2 years ago

When the required changes are available on the staging branch, I will let you know

DarkXero-dev commented 2 years ago

Ok thanks. Next release not until May 25th. Hope it's ready before then.

Also the GUI don't work well with Kvantum parts are transparent others solid. XeroLinux is KDE. Hope can be fixed.

And tray icon not showing all updates still needs work. I run pacman -Syyu I get 3 updates run Bauh 0 updates...

Am on Telegram if we can chat there

vinifmor commented 2 years ago

About Kvantum: you probably have to enable the "System theme" on the "Interface" settings.

About the tray: it does not synchronize the databases. The management window does that when you initialize it (every 24 hours be default). So when you run the -Syyu, databases get synchronized and the updates are displayed on the terminal. If you relaunch the tray or wait for 5 minutes, they should be displayed (if they don't show up, it is probably a bug). bauh has no daemon at the moment to keep synchronizing the databases.

If you have noticed problems not related to the main issue, please, open a new one.

DarkXero-dev commented 2 years ago

No daemon could be issue plus I set to 60 minutes so not to flood requests. Will wait for one. Not an issue. As for kvantum also minor issue.

UI

I think am first Distro to ship Bauh as default lol.

vinifmor commented 2 years ago

Great ! I hope bauh attends your distro needs

DarkXero-dev commented 2 years ago

Thanks.. Keep me posted on the feature we were talking bout ;)

vinifmor commented 2 years ago

I've just published the required changes to the staging branch (you can test them through AUR -> bauh-staging).

The instructions are available here

The only missing feature is to provide custom categories for the Arch package manager (it is not necessary for the other types, since they have their own mechanism to map categories).

DarkXero-dev commented 2 years ago

cool thanks, but for the time being I went with my own home made solution.. Sorry about that but was taking too long. Might go with yours in the future once it's stable n more final.. Really appreciate the effort.. Am sure it was hard work..

UI

vinifmor commented 2 years ago

No worries. Good luck with your distribution. Just a side note: bauh is a personal side project, so its development depends on my free time.

DarkXero-dev commented 2 years ago

Trust me I do understand as my distro is the same .. Hobby.. Just that my 1 year Anniversary release was set for the 25th.. Needed to launch then..

Let me know when you have it stable with a good proper Daemon.. Not cronie..