Bug 3699 - listing.html empty - script needs to be updated
: listing.html empty - script needs to be updated
Status: CLOSED FIXED
Product: Administration
Classification: Unclassified
Component: Unknown
: unspecified
: Other other
: P1 major
Assigned To: Justin Rocha
http://codex.sourcemage.org/listing.html
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2003-07-07 14:48 UTC by Bob Cottingham
Modified: 2003-09-25 10:32 UTC (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Cottingham 2003-07-07 14:48:04 UTC
The listing.html file lists all of the spells in the devel, testing and stable 
grimoires and their respective versions.  The Distrowatch website uses this 
file to update the package versions for SourceMage and it does not have any 
updates since June 18th.  I believe this file is created from a script that is 
run on the server.  The script should also be updated to reflect the splitting 
of the games and z-rejected sections into grimoires.
Comment 1 Justin Rocha 2003-07-10 21:18:11 UTC
*** Bug 3671 has been marked as a duplicate of this bug. ***
Comment 2 Justin Rocha 2003-07-10 21:19:49 UTC
*** Bug 3614 has been marked as a duplicate of this bug. ***
Comment 3 Justin Rocha 2003-07-11 03:36:40 UTC
I have a question. When was the last time anyone noticed this file was updated
properly?

I can't even find the entry for the script. :)
Comment 4 Greg 2003-07-13 14:22:25 UTC
I noticed it working about a week before the games and z-rejected grimoire 
split.
Comment 5 Justin Rocha 2003-07-20 04:43:25 UTC
Honestly, I have been working on it. :)
Comment 6 Sergey Lipnevich 2003-07-27 11:40:12 UTC
Guys, our Distrowatch status is 15 days old. Can we put the script into p4
repository so that someone with time and knowledge could fix it? I could try...
Comment 7 Sergey Lipnevich 2003-07-28 15:13:40 UTC
Justin, or anybody with access, please let's get this moving. Pretty please!
Comment 8 SMGL Printer Guru 2003-07-28 15:46:18 UTC
I am willing to take care of this, but I don't have any idea where or what the original script  
was.  So, if anyone knows where it is (or knows someone who knows where it is), pease let 
me know.  :^)  (Or better yet, just send it to me.)  :^) 
 
Comment 9 erics 2003-07-29 03:37:03 UTC
I think you will find the list on ibiblio, login with the main user I sent you encrypted 
yesterday, look in ~/scripts and crontab -e entires I would imagine (and ask Justin!). 
I have not ever done anything with this stuff at all so don't know where it comes 
from. 
 
erics 
Comment 10 SMGL Printer Guru 2003-08-03 00:50:17 UTC
Unless anyone has any complaints, I'm closing this. 
 
Comment 11 Eric Sandall 2003-08-04 11:23:32 UTC
Are invalid complaints okay?  ;)

(I don't have any)
Comment 12 Sergey Lipnevich 2003-08-04 11:34:15 UTC
1. I'd like to see the script in the p4 so that we don't lose it again.
2. The script doesn't produce a valid HTML.
Comment 13 SMGL Printer Guru 2003-08-04 12:15:29 UTC
Maybe I'm missing something here.  In what way does it not produce valid HTML code? 
 
Comment 14 Sergey Lipnevich 2003-08-04 14:44:30 UTC
Try validating it using http://validator.w3.org/, it couldn't even start
validation because there's no DOCTYPE in the document:
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.sourcemage.org%2Flisting.html
Comment 15 Sergey Lipnevich 2003-08-04 14:45:10 UTC
I'm willing to help, but I can't until I have access to the code.
Comment 16 Justin Rocha 2003-08-04 21:44:35 UTC
I just went and validated the output, and it validates fine except for 2 spell
website links. Checked the script too, it outputs correct xhtml.

So I'm going to close this bug (again), unless you have another complaint, or
I'm missing something. :)

Oh, and this script will be going into CVS under the website module, so no
worries. And I *still* can't find the crontab entry. Jason, is it being run
manually, or am I just bloody blind?
Comment 17 Sergey Lipnevich 2003-08-04 23:01:50 UTC
Oh, I see what the problem is now: I was looking at
www.sourcemage.org/listing.html, not the one at codex.sourcemage.org. My apologies.
I went to validate it and this one only has problems with spell URLs that
contain ampersand signs, they have to be converted to &. Anyway, this is no
biggie.
Comment 18 SMGL Printer Guru 2003-08-04 23:14:12 UTC
OK, I changed the script to copy the listing.html file to both locations (www and codex).  It's 
entirely possible that there are others who are grabbing the other page also.  I will attempt to 
eliminate the confusion at some point in the near future. 
 
Xenith, it's embedded in the getcodex.sh script, which there is a crontab entry for, and 
happens right after the grimoire tarballs are updated.  It took me a while to find it.  :^) 
 
Comment 19 Ladislav Hagara (lace) 2003-08-05 04:16:43 UTC
What about listing of devel, games and z-rejected grimoire ?
What about listing by sections ?

Comment 20 Justin Rocha 2003-09-23 01:45:16 UTC
stable, test, z-rejected, and games are there.

I don't think there is a need to list devel. It is not an actual grimoire, just
a place to keep spells. Or by section for that matter, though if you have a
reason why we should, please state it. :)

Closing this bug.
Comment 21 Ladislav Hagara (lace) 2003-09-23 16:04:24 UTC
New http://codex.sourcemage.org/listing.html looks great. Thanks.

We only have old 2.4.21 linux spell on it, so the same is on 
http://www.distrowatch.com/source.php
linux's DETAILS contains VERSION=2.4.21 still :-((

I have already reconciled that devel is not a grimoire so I agree with you.

Listing by section is not important. I only saw it on http://www.lunar-
linux.org. I think it is better in alphabetical order.

 
Comment 22 Sergey Lipnevich 2003-09-23 17:07:06 UTC
...and I was about to /ask/ for the listing by section, in order to browse
spells' sites in search for new versions and other relevant stuff, for sections
I maintain.
Comment 23 Jason Flatt 2003-09-25 10:32:11 UTC
I'm actually planning a different page/area where spells will be listed by 
section.  As I am a little busy with too many things right now, that's 
something for the future, but hopefully, it'll be the near future.