I'd like to help reviewing and merging some ideas (RDF, metadata, XMP work) in with this established module, http://drupal.org/sandbox/dman/1310856
(eg, I already have a data mapping wizard, which finds existing tags in sample uploaded images to assist the field mapping, and am fully supporting XMP with RDF support)
BUT this current code is largely untouchable at the moment due to coding standards inconsistencies.
Here is an automated patch that the D7 grammar parser generated, fixing a load of common whitespace and layout problems.
It's a huge rewrite, so I'd suggest you try doing the same thing with the coder.module and grammar parser on your own machine to generate your own diff rather than use this directly. maybe.
Comment | File | Size | Author |
---|---|---|---|
#11 | exif-n1336004-11.patch | 117.18 KB | DamienMcKenna |
#10 | exif-n1336004-10.patch | 114.92 KB | DamienMcKenna |
#8 | exif-n1336004-8.patch | 130.18 KB | DamienMcKenna |
#8 | exif-n1336004-8.interdiff.txt | 5.33 KB | DamienMcKenna |
Comments
Comment #1
dman CreditAttribution: dman commentedAlso, there is a global misspelling 'retreive' that should be replaced everywhere, in a second process, after the code review is applied
Comment #2
solideogloria CreditAttribution: solideogloria commentedThere's no way this applies anymore, so I'm marking this as Needs Work.
Comment #3
DamienMcKennaComment #4
DamienMcKennaI first ran phpcbf on the codebase and then went through using phpcs to manually fix lots more problems. I have not documented most of the function parameters and return statements, but I tried to at least indicate their types.
Comment #5
DamienMcKennaSome minor fixes for #4.
Comment #6
DamienMcKennaAm working on fixing the tests.
Comment #7
DamienMcKennaMore WIP.
Comment #8
DamienMcKennaThe tests now pass, but there are some problems with them:
Comment #9
DamienMcKennaComment #10
DamienMcKennaMoar fixes.
Comment #11
DamienMcKennaThis is pretty complete, the basics are present and now what's left is to add descriptions for all functions, methods and their arguments & returns.
Comment #13
DamienMcKennaCommitted.
Comment #14
DamienMcKenna