Closed (fixed)
Project:
Google Analytics
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Reporter:
Created:
21 Aug 2007 at 08:58 UTC
Updated:
4 Oct 2007 at 21:02 UTC
Jump to comment: Most recent file
@buddy: I think we should cleanup the module regarding drupal code style rules first and then reroll D6 patch in http://drupal.org/node/165397.
I will do this cleanup if you hold up other patches.
| Comment | File | Size | Author |
|---|---|---|---|
| #10 | googleanalytics_codestyle_1.patch | 12.96 KB | quicksketch |
| #9 | google_analytics.zip_.patch | 3.39 KB | hass |
| #5 | googleanalytics_codestyle_0.patch | 12.64 KB | quicksketch |
| #4 | EclipseScreenSnapz001.png | 43.33 KB | quicksketch |
| #1 | googleanalytics_codestyle.patch | 13.13 KB | hass |
Comments
Comment #1
hass commentedHere is the patch that hopefully fixes all code style issues.
Comment #2
hass commentedAdditional that patch adds a new and missing variable to the uninstall hook.
Comment #3
buddaSeem to be having real trouble applying patches!
This is against the code checked in to CVS yesterday evening.
Comment #4
quicksketchhass, make sure you create the patch relative to the selection, not the project when using Eclipse. As someone that uses Eclipse for everything, I know it's easy to miss!
Comment #5
quicksketchHere's a reroll with the relative path set.
Comment #6
hass commentedi tried my patch and it applies... !??? i've tried this now with cygwin's "patch".
Comment #7
hass commented@quicksketch: if i change this setting i loose all path information and you cannot apply multi-directory patches, isn't it? I found an handbook page some time ago but i cannot find it now... there was a description, but as i remember the eclipse defaults are perfect any the patch applies...
Comment #8
buddaAttempting to apply against $Id: googleanalytics.module,v 1.14.2.10 still fails.
Using ubuntu/debian patch command.
Comment #9
hass commentedi cannot say what's broken on your machine, but here are the patched files in a zip. remove the ".patch" and extract...
Comment #10
quicksketch@hass, you can maintain path information by right-clicking on the directory you wish the patch to be relative from. Select Team->Create Patch from the contextual menu. Then choosing 'Selection' like the above shot makes the patch relative to whatever directory you right-clicked on. If you use the default settings, the people applying the patch must set patch to ignore several parent directories. If it works for you as-is though, maybe I'm wrong and it doesn't cause any problems :)
Gar! I can't believe these patches aren't applying! I can use every patch on this page just fine (if I ignore the directories set in hass's patches). Here's yet another one that's rolled from the command line.
Comment #11
hass commentedPlease add me to the maintainers list to get this bugs fixed. thx
Comment #12
hass commentedComment #13
(not verified) commented