WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: no Tags records in some info-files  (Read 2988 times)

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 551
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
no Tags records in some info-files
« on: March 21, 2012, 07:42:39 PM »
these info-files have no Tags records
Quote
bluefish-doc.tcz.info
bluefish-locale.tcz.info
bluefish.tcz.info
garcon-dev.tcz.info
garcon-doc.tcz.info
garcon-locale.tcz.info
garcon.tcz.info
gstreamer-dev.tcz.info
gstreamer-locale.tcz.info
gstreamer.tcz.info
inflator.tcz.info
install-citrix-receiver.tcz.info
libgmtk-dev.tcz.info
libgmtk-locale.tcz.info
libgmtk.tcz.info
pcmanfm-mod-locale.tcz.info
pcmanfm-mod.tcz.info
perl_Digest_Whirlpool.tcz.info
reaver.tcz.info
seamonkey.tcz.info
wmii-dev.tcz.info
wmii-doc.tcz.info
wmii.tcz.info
therefore these extensions can not be found through the appbrowser
despite the fact that the appbrowser has three search methods
except search by tags there are two search ways but it no give results
« Last Edit: March 21, 2012, 07:44:35 PM by AbNoRMiS »
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 551
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: no Tags records in some info-files
« Reply #1 on: April 13, 2012, 05:27:52 AM »
Quote
gstreamer.tcz.info
seamonkey.tcz.info
was corrected

but there were new info-files without tags
Quote
python-dev.tcz.info
python.tcz.info
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4210
Re: no Tags records in some info-files
« Reply #2 on: April 13, 2012, 05:54:00 AM »
Hi AbNoRMiS
Recently roberts ran a script against all the extensions in the repository to add a Tags field to any info file which
did not have one. This does not however guard against newly or resubmitted extensions whose info file is once
again missing that field. Maybe that script should be run against all incoming extensions to force them into
compliance if they don't contain a tags field.

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 551
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: no Tags records in some info-files
« Reply #3 on: April 13, 2012, 07:36:50 AM »
yes, i saw that roberts ran this script
when updated core 4.3 to 4.4
i think that should add it run from the main script
that updates repository database every 5 hours
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 7074
Re: no Tags records in some info-files
« Reply #4 on: April 13, 2012, 07:42:21 AM »
Python info files fixed.

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 551
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: no Tags records in some info-files
« Reply #5 on: April 13, 2012, 08:15:23 AM »
yes, i saw that roberts ran this script
when updated core 4.3 to 4.4
i think that should add it run from the main script
that updates repository database every 5 hours
and apply it only to latest updated or added extensions to avoid excessive server workload
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 7074
Re: no Tags records in some info-files
« Reply #6 on: April 13, 2012, 10:45:15 AM »
I think I added a Tags check in the submitqc4 extension, I used my previous info files on my HD and had not updated my build host's submitqc4 when I updated python. 

What can be done to not have to have a cron job on the server for the Tag field is to have a fallback Tags addition like was done initally as part of the submitqc4.  That way, no Tag field, and a default based on the desctription is inserted into the info files being checked. 

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7344
  • Founder Emeritus
Re: no Tags records in some info-files
« Reply #7 on: April 13, 2012, 03:10:18 PM »
I was initially using the Desc field for keywords and that was not good enough, claimed the community.
So I jump started the Tags by batch processing all extensions with a script to filter out common words to make auto tag items.

The only way for Tag items to show up missing is because of an update to the extension. Therefore, the extension maker should be contacted to correct this error. It is likely that their local copy of the .info is missing the Tags field. If it is not corrected by the extension maker, i.e., update his local .info, then the tag will come up missing on the next submitted update.

If we have to "fall back" to "inserting" the Desc to Tags, then that defeats the purpose as the Desc field was, and still is, not good enough.
10+ Years Contributing to Linux Open Source Projects.

Offline Jason W

  • Administrator
  • Hero Member
  • *****
  • Posts: 7074
Re: no Tags records in some info-files
« Reply #8 on: April 13, 2012, 05:52:34 PM »
After more thought, I agree, that a missing Tags field be fixed on a case by case basis.  The audit script checks for them and echoes a warning if not found.  The actual fixing should be done by the extension maker.  Hopefully in time a forgotten Tags field will be rare.

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 551
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: no Tags records in some info-files
« Reply #9 on: April 13, 2012, 06:05:40 PM »
If we have to "fall back" to "inserting" the Desc to Tags, then that defeats the purpose as the Desc field was, and still is, not good enough.
possible need inserting field title as a keyword
then extension will get to search results by name
« Last Edit: April 13, 2012, 06:08:08 PM by AbNoRMiS »
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline Rich

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4210
Re: no Tags records in some info-files
« Reply #10 on: April 13, 2012, 06:29:12 PM »
Hi AbNoRMiS
The Tags field is required and should be properly filled out just like all the other fields.

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 551
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: no Tags records in some info-files
« Reply #11 on: April 13, 2012, 07:29:08 PM »
i meant a little other
regarding search by fields tags and title
i.e. inserting title to tags field when searching
instead inserting description
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7344
  • Founder Emeritus
Re: no Tags records in some info-files
« Reply #12 on: April 13, 2012, 07:39:12 PM »
Please contact the respective extension maker so that they can correct their extensions.
10+ Years Contributing to Linux Open Source Projects.

Offline AbNoRMiS

  • Hero Member
  • *****
  • Posts: 551
  • nothing can be impeccable in this imperfect world
    • @ß№®M!$
Re: no Tags records in some info-files
« Reply #13 on: April 13, 2012, 07:44:20 PM »
okay i'll do it :)
Basic Design Concept © @ß№®M!$
please forgive my terrible english :)

Offline hiro

  • Hero Member
  • *****
  • Posts: 829
Re: no Tags records in some info-files
« Reply #14 on: April 25, 2012, 05:19:58 AM »
Sorry, only now I came to see that private message, but I don't feel like I'm the right guy to do it. Because of technical issues I'm still using 3.x and can't test my extensions on 4.x. Everything from kernel to userland is evolving a bit too fast for me to possibly keep up with in my freetime, so if there is any 4.x related problem anybody who feels the need please just go ahead and change or resubmit the extension.

If there is a problem with an extension itself or an update request I'm still there of course ;)