Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I am creating this task so work can get started on a Drupal 8 branch. We should probably tackle this issue: Rename the module so that it matches the project name to avoid confusion at that time.
Comment | File | Size | Author |
---|---|---|---|
#2 | CreateDrupal8Branch-1903586-2.patch | 107.54 KB | frob |
Comments
Comment #1
hass CreditAttribution: hass commentedFirst we need to know if this new api will be ready if d8 becomes ready. If D8 hits beta we should start.
Comment #2
frobPersonally I think we should start now.
If you create the branch then work can be done to it. I am not saying that there should be a release. This is module that many sites depend on. My module depends on this module. I want to start getting it ready for D8 so why not start now. Code Freeze is right around the corner.
I set to needs review for auto test. This patch isn't 100% all I did was a find/replace and add 8.x to the .info file.
Comment #3
hass CreditAttribution: hass commentedWe are not changing the modules folder. 2.x is ONLY open to a closed beta group. We have no idea if this will be public this year or not and there are many features not yet implemented by Google, too.
Don't post any patches you have not 500% tested, please.
Comment #4
hass CreditAttribution: hass commentedhttp://blog.bauermann.eng.br/2008/01/03/take-care-when-renaming-files-in...
Comment #5
frobRE: #3
That doesn't make any sense.
Why is there a 3.x branch if 2.x is a closed beta. How can 2.x be a closed beta if I can download and install it.
I disclosed that the patch wasn't stable. This project is too big for a single stable patch. If I don't post my work then anyone else who wants to contribute has to start at 0%. If my patch can get it to 20% then why should they have to start at 0? I'm not asking for a release, just a branch.
The short name of the module is google_analytics as per the url. As per the module naming convention the name of the module should follow throughout. This should be fixed as it creates confusion. The 8.x branch is the logical place to fix this.
Comment #6
frobRE: #4
Good to know, just doing this would take at least two patches.
Comment #7
hass CreditAttribution: hass commentedThe Google API used in 7.x-2.x is under closed beta on Google side. See project home, please. We may need to go to 8.x-2.x with this code so we are able to port 7.x-1.x to 8.x-1.x if the new API is not public at Drupal 8 release date. It's written that the new API is planed to become public mid 2013... we will see.
APIs are not stable in D8 yet. That's why I do not like chasing all this changes again and again. It's just tooo early now.
We rename the files first to keep the history, than we change code.
Comment #8
hass CreditAttribution: hass commentedMarked #1948588: Google Analytics 8 upgrade as duplicate.
Comment #9
victor-shelepen CreditAttribution: victor-shelepen commentedI see that this module is not so huge. But some people need it. So do I. I want to create a small Drupal 8 based sites. We able do it from scratch. But we need follow on the Drupal way.
Comment #10
frobFor people who are needing a simple google analytics module for Drupal 8, check out Google Analytics Lite.
I created this module so that I could port my other module (that depends on Google Analytics) to Drupal 8.
Comment #11
hass CreditAttribution: hass commented@Frob: thanks for using this namespace. This causes now conflicts with GA. Please delete this unneeded project. Thx.
Comment #12
hass CreditAttribution: hass commented@Likin: feel free to share a complete and well tested patch.
Comment #13
frob@hass, this should not cause any namespace conflicts because the name of you module is supposed to be google_analytics, you currently have no Drupal 8 branch and my module will only be Drupal 8 and above. Thus you can fix your namespace in the Drupal 8 branch and remove any possibility of namespace collision.
Also, one cannot delete a project. Any further discussion or proposed solutions should be brought up in the Google Analytics Lite issue
Comment #14
hass CreditAttribution: hass commentedYour module uses the namespace googleanalytics.module. This namespace was occupied for several years. You are breaking the upgrade path for ga intentionally. Ask 300.000 users if they find this acceptable, please!
Comment #15
hass CreditAttribution: hass commentedComment #16
hass CreditAttribution: hass commented