Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add curated list #260

Closed
DarkXero-dev opened this issue Apr 18, 2022 · 18 comments
Closed

Add curated list #260

DarkXero-dev opened this issue Apr 18, 2022 · 18 comments

Comments

@DarkXero-dev
Copy link

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
Copy link
Owner

Hi @TechXero ,

Are you talking about the suggestions feature/button ?

@DarkXero-dev
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

Now we need to figure out how to separate by categories

@vinifmor
Copy link
Owner

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

@DarkXero-dev
Copy link
Author

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
Copy link
Owner

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

@DarkXero-dev
Copy link
Author

DarkXero-dev commented Apr 18, 2022

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
Copy link
Owner

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
Copy link
Author

DarkXero-dev commented Apr 18, 2022

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
Copy link
Owner

Great ! I hope bauh attends your distro needs

@DarkXero-dev
Copy link
Author

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

@vinifmor
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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
Copy link
Author

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..

@vinifmor vinifmor mentioned this issue May 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants