Hi all,
not sure how it works, I would like to contribute to the 7.x-2.x version which has a few bugs that prevent usage, whose patches have not been committed for a long time.
I have a forked version of 7.x-2.x-dev on a sandbox project I worked on, which fixes
#1378018: text image no works in cck
#1421292: Cannot get textimage to work in D7 - no presets selectable in View or display fields
#1274040: Fatal error: Call to undefined function ctools_export_load_object()
#1273760: Can't create images through url.
Plus code has been cleaned up quite a lot (but still more to do...) and now conforms to Drupal coding standards (PAReview clean on ventral.org).
You can git clone here
git clone --recursive --branch 7.x-2.x http://git.drupal.org/sandbox/mondrake/1647516.git
Or patch (against 7.x-2-x-dev) attached.
Please let me know if this is useful and/or I can help (still quite new to the whole process here).
Cheers,
mondrake
| Comment | File | Size | Author |
|---|---|---|---|
| 7.x-2.x.patch | 150.37 KB | mondrake |
Comments
Comment #1
mondrakeComment #2
mondrakeComment #3
wundo commentedFirst of all thanks for the initiative, I'll be reviewing it this weekend and will get back to you ok?
Comment #4
wundo commentedHi Mondrake,
Is it possible to break this down to smaller patches?
Comment #5
wundo commentedComment #6
mondrakeHi wundo,
thanks for coming back.
You may want to take a look at the sequence of commits and diffs on my sandbox project at http://drupalcode.org/sandbox/mondrake/1647516.git/shortlog/refs/heads/7... , you will see the steps that led to the patch I eventually posted.
if your question is about breaking the patch itself into patches addressing each one of the issues, then honestly I would not know how to do it now... The way I did it was to clone the official project git in my sandbox and then posting commits till I got to the result I needed.
Anyway. To be quite frank I moved on. I have some ideas for additional features and to align better to Drupal 7:
So in my sandbox I started working on a 7.x-3.x branch. I do not know how long will it take (this is taking my free time), and whether I'll end up with a new release of Textimage or rather with an entirely new module. You can check my progress there if you want. In any case, I'll touch base with you when I will have something that can be made public, ok?
cheers
mondrake
Comment #7
wundo commentedRegarding your patch, I think the solution suggested by szantog and mallezie for #1274040: Fatal error: Call to undefined function ctools_export_load_object() which is already included in your patch removes the need for the hook_init you implemented.
For your 7.x-3.x branch I'd welcome you to commit that to the main repository if you're interested. But I'd really appreciate to get 7.x-2.x to a releasable condition first.
Comment #8
mondrakeMakes sense. As to the hook_init, I introduced it as I prefer to see code being part of specifc function rather than 'loose', outside of any function. But I agree, can do without.
Comment #9
wundo commentedNew maintainer mondrake added and permissions updated.
Welcome aboard! :D
Please note that half of the tickets your patch solved have been already fixed, so IMO the best option would be re-rolling the missing two instead of merging the whole branch, what do you think?
Cheers,
Fabiano
Comment #10
mondrakeThanks wundo. :-)
Agree. Does it mean that I can push commits to the repo now?
Currently I don't have time, but let's say by the end if the month I should be able to have an environment up with 7.x-2.x dev and push the commits for the two remaining. Ok with that?
Closing this issue then.
mondrake
Comment #11
wundo commented> Agree. Does it mean that I can push commits to the repo now?
Yes! :)
> Currently I don't have time, but let's say by the end if the month I should be able to have an environment up with 7.x-2.x dev and push the commits for the two remaining. Ok with that?
Sure :)
Comment #12
mondrakeHi wundo,
I just pushed a commit to fix #1273760: Can't create images through url. in 7.x-2.x; I have not edited the issue in the issue queue yet, that should be done I guess after a new release?
For #1378018: text image no works in cck, that was to me a duplicate of #1421292: Cannot get textimage to work in D7 - no presets selectable in View or display fields, which you fixed in alpha2 already, so I marked it fixed in the issue queue.
Note: the 7.x-2.x-dev release is not marked for snapshot build so the dev package is currently outdated by the alpha2 release.
Looking forward to your comments
Comment #13
wundo commentedAs soon as you commit the fix you can mark the issue as fixed, just remember to update its version to 7.x-2.x-dev.
The issue with -dev was that it was tracking master and not the 7.x-2.x branch. (Already fixed)
Comment #14
mondrakeOK done