Comments

duaelfr’s picture

Status: Active » Needs review
StatusFileSize
new1.36 KB

This patch is part of the #1day1patch initiative.

Enjoy :)

Status: Needs review » Needs work

The last submitted patch, gmap-remove_useless_files_in_info-1928834-1.patch, failed testing.

duaelfr’s picture

Status: Needs work » Needs review
StatusFileSize
new1.41 KB

Oops ! I removed the tests file ;)

Status: Needs review » Needs work

The last submitted patch, gmap-remove_useless_files_in_info-1928834-3.patch, failed testing.

duaelfr’s picture

Am I so tired ? o_O
This one should be the good...

duaelfr’s picture

Status: Needs work » Needs review

x_x

podarok’s picture

podarok’s picture

Version: 7.x-2.x-dev » 7.x-1.x-dev
Assigned: Unassigned » podarok

#5 looks good
For a feature - please, provide interdiff.txt for updated patches

Thanks!!!

This needs test against prev release. Bot?

podarok’s picture

podarok’s picture

Status: Needs review » Needs work

#5 commited pushed to 7.x-2.x
needs backport to 7.x-1.x

duaelfr’s picture

Status: Needs work » Needs review
StatusFileSize
new1.38 KB

Here it is !
Sorry for the interdiff I never used them so I forgot ;)

podarok’s picture

Version: 7.x-2.x-dev » 7.x-1.x-dev
podarok’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Assigned: podarok » Unassigned
Status: Needs review » Fixed

back to latest dev

johnv’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev
Priority: Minor » Critical
Status: Fixed » Needs work
StatusFileSize
new718 bytes

This patch was not correct, and breaks my installation.
My views were removed from the system because the Views support was removed.

the views.inc be be removed, but gmap.module lacks a hook_views_api().
the view plugins are classes and MUST be declared.

johnv’s picture

Status: Needs work » Needs review
johnv’s picture

BTW, since the only thing GMap does, is providing Views support, IMO we can move (almost) all code from gmap.module to gmap.views.inc. Only gmap_views_api must stay. (Perhaps other stuff, too)

The big module file is loaded on every page.
views.inc is loaded only on Vews pages.
It save memory and compile tiem on every page load.

podarok’s picture

Category: feature » bug
Status: Needs review » Needs work

#16 looks like code refactoring ( nice idea for follow-up with a test coverage for that )

+++ b/gmap.moduleundefined
@@ -51,6 +51,12 @@ function gmap_defaults() {
+function gmap_views_api() {
+  return array(
+    'api' => 3,
+  );
+}

why this code is in this patch?
Looks like it is from somewhere else

podarok’s picture

podarok’s picture

Issue tags: +Needs tests

this needs test coverage too
please use /tests/gmap.test for that

podarok’s picture

Category: bug » feature
Priority: Critical » Normal

tags

johnv’s picture

Category: bug » feature
Priority: Critical » Normal
Issue tags: +Needs tests

I'm glad this is reversed.

Regarding your comment #17:
- the hook_views-api() is mentioned in every tutorial, but all works fine without, too, indeed.
- yeah, no rush to move everything to views.inc ATM. You're doing enough refactoring already. Good job!
- the following files must stay in .inf file:

files[] = gmap_plugin_style_gmap.inc
files[] = gmap_plugin_style_gmapextended.inc
files[] = tests/gmap.test
duaelfr’s picture

Status: Needs work » Needs review
StatusFileSize
new392 bytes
new392 bytes
new1.38 KB

I am really sorry I don't know how I could miss these two files...

I think you should open another issue to talk about refactoring views integration related code which is imho a good idea.

(No interdiff for 7.x-1.x because nothing changed since the last patch)

Status: Needs review » Needs work

The last submitted patch, gmap-7.x-2.x-clean_info_file-1928834-22.patch, failed testing.

johnv’s picture

@DuaelFr, that can happen to anyone,
@podarok, seems like a 'needs test' ;-)

@DuaelFr, IMO you patch is not agains latest dev version, since all patches are reversed, according to #18.

podarok’s picture

Component: Code » Documentation

patch with do-not-test can`t be tested by bot )
Another patch has to be rerolled

@DuaelFr

git checkout 7.x-2.x
git pull --rebase
git add .
git commit
git diff pre_comit_id > id.patch
interdiff old.patch id.patch > interdiff.txt
...upload id.patch interdiff.txt with needs review status and 7.x-2.x version
git checkout 7.x-1.x
... make changes into files
git add .
git commit
git diff pre_comit_id > id2.patch
interdiff old.patch id.patch > interdiff2.txt
...upload id2.patch interdiff2.txt with needs review status and 7.x-1.x version

Thanks!!!!

johnv’s picture

Status: Needs work » Needs review
StatusFileSize
new529 bytes

new patch.

podarok’s picture

Title: Clean info files of unneeded files declarations » Clean info files of unneeded files declarations. Change module description.

Better title

podarok’s picture

Assigned: Unassigned » podarok
Status: Needs review » Needs work
podarok’s picture

Issue tags: +RTBC for 7.x-2.5

added tag

johnv’s picture

StatusFileSize
new528 bytes

I am not sure what 'needs work' (Indeed, I should have opened a new issue for the description.)
See a better patch attached.

johnv’s picture

Status: Needs work » Needs review

testbot.

podarok’s picture

Category: feature » task
Status: Needs review » Needs work

this issue changed by me for upcoming #1932378: [META] gmap-7.x-3.0 release roadmap as need work task for me when commiting it
so
RTBC +1
changing status as need work for myself

podarok’s picture

Status: Needs work » Needs review

#30: gmap2_1928834_30_info_file.patch queued for re-testing.

podarok’s picture

Status: Needs review » Closed (fixed)
duaelfr’s picture

Thank you all :)