Closed (fixed)
Project:
Google Sitemap
Version:
master
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Oct 2006 at 21:50 UTC
Updated:
26 Jan 2007 at 02:33 UTC
Jump to comment: Most recent file
Here's a patch to update the module to 5.0. It also rolls in a couple of unrelated improvements (sorry about that).
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | gsitemap.module_1.patch | 27.92 KB | RobRoy |
| #13 | gsitemap_90212.patch_0.txt | 14.14 KB | drewish |
| #8 | gsitemap_1.install | 807 bytes | drewish |
| #7 | gsitemap_0.info | 128 bytes | drewish |
| #6 | gsitemap_90212.patch.txt | 12.38 KB | drewish |
Comments
Comment #1
drewish commentedand here's the .info file.
Comment #2
drewish commentedoh here's the install file.
Comment #3
lyricnz commentedmodule_exist() should be module_exists()
"google sitemap" in menu should be "Google Sitemap" (or just Sitemap, if this module changes name)
Comment #4
drewish commentedyeah that was a pretty old patch.
Comment #5
Eric Cosky commentedI tried using these patches to update gsitemap for 4.7 to work with drupal 5.0 and was met with error messages upon applying the second patch (gsitemap_for_5.0 from #4). I tried all the permutations I could think of, no luck for me today though. Below is the patch output in case it helps. It looks the same if I apply this on it's own or after the first patch in this thread. Thanks for any advice and my apologies if I've missed something obvious to people more familiar with all this.
Comment #6
drewish commentedokay here's an updated patch. i'll post the .info and .install separately.
Comment #7
drewish commented.info
Comment #8
drewish commentedand .install
Comment #9
Eric Cosky commentedGetting closer, almost there but not quite now. I applied the patch to the last release and there were no errors. I downloaded the info and install, had to rename them to gsitemap.info and gsitemap.install, respectively (of course) and I was able to see this module in the module settings. Couple minor things, the menu naming conventions have changed for drupal v5 so casing should be fixed. But more importantly, when editing the admin>site configuration>gsitemap, there are error messages that come up, there are three of these when hitting the page the first time and then five when saving settings.
Probably related to this is the fact that my sitemap at ?q=gsitemap doesn't come up, presumably it's failing internally due to settings being invalid or something like that.
Getting close though, thanks for your efforts.
Comment #10
Eric Cosky commentedAfter a little investigation I was able to change line 320 of gsitemap.module to say "module_exists" instead of "module_exist" and the ?q=gsitemap now appears to work, but the errors mentioned before are still occurring in the settings page. Reference: http://drupal.org/node/64279#module-exists
Also, re: naming, perhaps this v5 update would be a good time to rename everything to XML Sitemap? Just a thought - cheers
Comment #11
mcncyo commentedcan someone create a patch to go between 4.7 release to the latest patch version?
Comment #12
drewish commentedi think this would be a better status.
mcncyo, are you saying that there are changes in the 4.7 branch that aren't in HEAD?
Comment #13
drewish commentedhumm, it looks like that last version of the patch was old. this should be a better version.
Comment #14
Eric Cosky commented#13 fixed the errors. Applying to a fresh install of the 4.7 version of this module didn't provide the gsitemap.info though; not sure if that can/should be part of a single patch file or not but the one provided by entry #1 worked for me.
Comment #15
RobRoy commentedHere's an all-inclusive update for D5 working of drewish's last patch. This fixes some bugs and does some code cleanup, but there is still some cleanup left to do.
Comment #16
gregglesI tested RobRoy's patch in #15 and functionally it worked fine for me.
Comment #17
artis commentedIs there any good reason why this patch isn't built into a full module and added to the new Contrib Release System as sitemap 5.x?
Comment #18
greggles@artis, did you test the patch? Did you review the patch? Those are the only helpful things to do with a patch.
Asking nebulous questions and insinuating that the maintainer is derelict is not helpful.
Comment #19
SamAMac commentedI have applied the patch from #15 to HEAD. I have not had an chance to test it myself yet (still haven't set up a Drupal 5 site), so please post here if it works for you or if you have issues.
Comment #20
RobRoy commentedIf it has been applied to HEAD then this should be marked fixed. I recommend branching to DRUPAL-5 and then we can post any issues against that version as separate issues.
Thanks Sam!
Comment #21
artis commentedgreggles it was not my intention to be sarcastic...I can see how my text came across that way though. I'm new to drupal but have been testing various modules for 5.x already and really wanted to test this one. I am not confident in my ability to apply the patch correctly though. So the only way for me (and many others like me) to test or review this would be in a full module form that we know how to install. I'm not completely up to speed on the process of how a module turns from a patch to a Release Contrib so I was just asking the an honest question. I should have been more clear in my intentions.
Now that it is a full module I will test and review....Thanks!
P.S. This may not be the right place for this response...if so can someone point me to where I should have responded.
Comment #22
greggles@artis - thanks for the explanation and yes, I assumed your comment was sarcastic when in fact you were trying to help so shame on me for that bad assumption.
Patching is not so hard once you get the hang of it. There are even several handbook pages on the subject like http://drupal.org/diffandpatch
Also, thanks, SamAMac for reviewing/applying it and to Drewish, RobRoy and others for your work.
Comment #23
SamAMac commentedThere is now a development snapshot for 5.0, so I'm going to mark this thread as closed and let people file bugs against the new version as RobRoy suggested.
Thanks again to everyone who contributed!
Comment #24
(not verified) commented