Bugzilla – Bug 3699
listing.html empty - script needs to be updated
Last modified: 2003-09-25 10:32:11 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.
*** Bug 3671 has been marked as a duplicate of this bug. ***
*** Bug 3614 has been marked as a duplicate of this bug. ***
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. :)
I noticed it working about a week before the games and z-rejected grimoire split.
Honestly, I have been working on it. :)
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...
Justin, or anybody with access, please let's get this moving. Pretty please!
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.) :^)
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
Unless anyone has any complaints, I'm closing this.
Are invalid complaints okay? ;) (I don't have any)
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.
Maybe I'm missing something here. In what way does it not produce valid HTML code?
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
I'm willing to help, but I can't until I have access to the code.
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?
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.
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. :^)
What about listing of devel, games and z-rejected grimoire ? What about listing by sections ?
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.
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.
...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.
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.