-
Notifications
You must be signed in to change notification settings - Fork 182
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
4. XBPS Package Manager documentation is deadlocked #779
Comments
There will always be duplication to some level, like with commands like Users come to us with questions like "how do i switch to the lts kernel", they can look this up in the handbook or will be linked to the handbook instead of telling them to read the xbps man pages. The goal is to have accessible documentation so that new users can get started and get a general overview, if we would just document xbps we could just throw away the handbook since xbps already has man pages. |
I have a hard time to fully understand what you are trying to say to be honest. I think the main point is for me that the documentation is to answer common questions users have, users who generally don't read full documentations, they have a simple question and they want an answer for that, instead of having to read pages of documentation which might lead them to discover the answer for themselves. Documenting how to "maintain" a void system might duplicate some documentation that can be found in the XBPS section, but the goal is to convey as much information in as little documentation as possible, while providing users with the information they actually need to get started. |
I guess we agree that "Update" with Why is "Ignoring" advanced, and cache cleaning not even mentioned? "Ignoring" should be more prominent. Then 3.11 Kernel could refer to it and vice versa. For non-manpage users, a simple example with query, install and remove could integrate all 3 commands. (instead of discussing xlocate). Show how easy it is to use, but also list the maintenance aspects (-Su, cache, orphans). |
It all shows in this core message, right after the xbps-command list:
Even when you've just read all the man pages, you have to follow the order "use xbps-install!". There is no real explanation given. It sounds like "even with MS Windows there are updates". The message is important and at the right spot, but it should be expanded and harmonized. Similar to cache and orphans, which are even extra mentioned, but without advice about usage. Maybe I could define it as creating a higher-level |
The guidelines say:
It is this non-man page "canonical" documentation I try to define. This intro to 3.11 Kernel configuration I don't like: Isn't this a magical command? I would prefer a short explanation about the naming of kernel packages in void, and then a simple "canonical" command like "Told about regex" does NOT mean a long or even short explanation! Drop the name, give one useful example, done. So above kernel query should be harmonized, as I call it, with "Finding Files and Packages" in the basic, canonical part. |
I collected some examples and arguments, and old issues like #616, to show how much could be won be harmonizing the XBPS pages at 4. and 4.1 with the rest and the man pages. In total accordance with 1.2 About This Handbook
The "Void" is important. This specific "system maintenance" via XBPS commands is exactly what 4. XBPS Package Manager takes care of, after 2. Installation and 3. Configuration.
My initial motivation was to slip in sth about periodical --clean-cache, because I saw a reddit post and checked it, also with the docs. The cache is mentioned beside the man page link to xbps-remove, but it is up to the user to draw conclusions. The subtle problem behind it is, after cache cleaning, you have less to downgrade back to. But the solution is not to be silent and hope it will never overfill.
Then the "Switch to LTS series" question. IMO the only "trick" is to ignorepkg=linux, to deactivate the base-system dep, which is there for a good reason. "Ignoring Packages" in 4.1 Advanced Usage walks you through exactly that situation:
But now all this quite basic XBPS is repeated in 3. Configuration, 11. Kernel. One solution would be to mention xbps itself and the kernel as special packages: xbps can need a second update (and there is a static version), and the kernel is a package with "choices" (series, LTS, even DKMS) and a important (boot!) install-hook.
("Kernel configuration" is double unlucky: I associate this with kconfig, and I see the contents as a part of Void system maintenance via XBPS.)
xbps-reconfigure -f linux<x>.<y>
is shown twice, once with xbps-alternatives and below with Install hooks.install-hooks...Now I realise why I never found this:
It is in man xbps-reconfigure. "install-script" is not mentioned in man xbps-query or the docs.
I stop here, you can check my comments in 3 other issues by sorting by updates, and also check the one about TOC panel navigation (I closed it already, it is technical). Plus some of the threads on voidlinux subreddit.
This is the best summary I can make -- so I give up for the moment. I don't regret at all my research and efforts, and I hope you don't misunderstand my tone.
The text was updated successfully, but these errors were encountered: