You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I was slightly stumped about why on arch32pup no items showed up in the ppm when I selected the repo arch-32-core (See post). The reason turned out to be that there were no items assigned the catagory (Desktop)...at least as processed by 0setup.
Personally, I don't think that the packages should be filtered by Category unless the user deliberately decides to filter them. I personally, wouldn't expect something to be filtered by default and as a consequence I was confused by the output.
We can atually make "ALL" the default category by adding one line of code. Simply insert
We can do this because the function filterpkgs.sh is looking for this category:
#120813 there may be optional subcategory, put ; into pattern...
categoryPATTERN="|${fltrCATEGORY}[;|]"
[ "$fltrCATEGORY" = "ALL" ] && categoryPATTERN="|" #let everything through.
Anyway, what I suggest is that we create a variable in /var/PKGS_MANAGEMENT that lists the categories that we want to show up in the package chooser. This var could be populate via a function that reads the data from an external file like /usr/local/petget/categories.dat.
I'll do a pull/merge request for consideration.
The text was updated successfully, but these errors were encountered:
So I was slightly stumped about why on arch32pup no items showed up in the ppm when I selected the repo arch-32-core (See post). The reason turned out to be that there were no items assigned the catagory (Desktop)...at least as processed by 0setup.
Personally, I don't think that the packages should be filtered by Category unless the user deliberately decides to filter them. I personally, wouldn't expect something to be filtered by default and as a consequence I was confused by the output.
We can atually make "ALL" the default category by adding one line of code. Simply insert
above:
/rootfs-skeleton/usr/local/petget/pkg_chooser.sh#L544
We can do this because the function filterpkgs.sh is looking for this category:
/rootfs-skeleton/usr/local/petget/filterpkgs.sh#L85
Perhaps puppy once had the option in the "package chooser" to select "ALL" as the category.
Anyway, what I suggest is that we create a variable in /var/PKGS_MANAGEMENT that lists the categories that we want to show up in the package chooser. This var could be populate via a function that reads the data from an external file like /usr/local/petget/categories.dat.
I'll do a pull/merge request for consideration.
The text was updated successfully, but these errors were encountered: