Tiny Core Linux
Tiny Core Extensions => TCE Talk => Topic started by: GNUser on January 18, 2024, 12:59:14 PM
-
I noticed that some extensions that are present in the TCL14 x86_64 and TCL15 x86_64 repositories are not present in repo's tags.db.gz.
apulse.tcz and xscreensaver.tcz, for example, exist in the repository but are not represented in tags.db.gz. Maybe there is a bug in the script that generates tags.db.gz?
-
Hi GNUser
... apulse.tcz and xscreensaver.tcz, for example, exist in the repository but are not represented in tags.db.gz. ...
They also were not showing up in the Apps utility. The problem was
the .tcz.info files contained a field called Tags instead of Tags:
Both repos have been fixed.
Thank you for reporting this.
-
Hi Rich. Thanks for investigating. Now that you discovered the cause, I was able to search for other affected extensions.
$ grep -E 'Tags[^:]' *.info
apulse.tcz.info:Tags alsa
pixiewps-doc.tcz.info:Tags : wifi hacking doc
pixiewps.tcz.info:Tags : wifi hacking
xscreensaver.tcz.info:Tags screensavers screen lock I found two more
So pixiewps.tcz and pixiewps-doc.tcz are also missing from tags.db.gz and therefore do not appear when a user searches for "pixie" using tce or Apps.
-
Hi GNUser
It seems most of the fields were messed up in those two:
Title: pixiewps.tcz
Version : 1.4.2
Size: 60K
Extension-by : Sashank999
Tags : wifi hacking
Author : See below
Original-site : See below
Copying-policy : See below
Description : pixiewps is used to hack WPS Wi-Fi networks
--------------------------
This extension contains :
pixiewps - GPLv3 - https://github.com/wiire-a/pixiewps
Comments : None
Current : first Version
Change-log : 2020/06/27
TC11 x86_64 through TC15 x86_64 repos updated.
Thank you for reporting this.
-
submitqc currently does not check for the existence of a Tags: field in the .info file. It should check for it, though, because an extension in the repo doesn't do much good if users can't find it.
I'll add this check to submitqc when I get a chance.
-
Thank you for reporting this.
You're welcome. I love TCL and want it to be as good as possible :)
-
It's probably a glitch in the script or something.
Hi inouye1. It was not a glitch in any script. The problem was in the .info file of the affected extensions. Rich already fixed everything in the TCL repository.
I'll add this check to submitqc when I get a chance.
I took care of this. submitqc was already checking that a field named "Tags" exists in the .info file. I made it more specific, so that now it checks for "Tags:" instead.
-
Hi Rich. Today when I searched for "submitqc" using tce or Apps I was surprised to get two hits (there should only be one hit, of course).
The script that generates tags.db.gz must be getting confused by this line in submitqc.tcz.info:
Current: 2024/01/18 check for "Tags:" field in .info file, add --no-load option (gnuser)
Can you please change the offending line to simply this:
Current: 2024/01/18 minor improvements (gnuser)
and recreate tags.db.gz in the affected repositories?
-
It's like "Goldilocks and the Three Bears". Zero appearances of Tags: in a .info file is too few. Two appearances is too many. One is just right :)
-
Hi GNUser
I changed this:
Current: 2024/01/18 check for "Tags:" field in .info file, add --no-load option (gnuser)
to this:
Current: 2024/01/18 check for "Tags" field in .info file, add --no-load option (gnuser)
and updated the TC15 x86_64 repo. Please check if that fixed the issue.
-
Hi Rich. Yes, that fixes the issue.
But, technically speaking, submitqc was already checking for "Tags" before this latest update. If you want a more informative "Current" field (rather than my terse "minor improvements"), I would prefer this:
Current: 2024/01/18 refined check for "Tags" field in .info file, add --no-load option (gnuser)
-
Hi GNUser
Sure, I'll do that.
-
Hi GNUser
x86 and x86_64 updated. :)
-
Looks great now, and no more duplicates. Thanks a lot!