Based on the change that is going to be introduced on #1024958: Commitlog should provide RSS feeds of each view, we need to change this module views accordingly, and maybe provide another point of rss as IIRC we have another URL for the project commits, but not sure about it.
Comments
Comment #1
marvil07 commentedReady!
It naturally depends on the patch at #1024958-10: Commitlog should provide RSS feeds of each view.
Comment #2
eliza411 commentedApply and test after rebuild.
Comment #3
sdboyer commentedFirst and most important, I think you disabled vfv query aggregation. Because I'm seeing a bunch of these queries being run in sequence:
and things are really noticeably slower.
Second, the only output that's coming out for anything is
What's the garbage path for?
Comment #4
marvil07 commentedSince the main patch is on the other issue, I am answering there #1024958-13: Commitlog should provide RSS feeds of each view
Comment #5
marvil07 commentedFinally I have a patch!
What's new:
Update: I forgot to mention that this patch requires a versioncontrol_git patch. It is on #1064086-1: Add author and committer git specific views fields.
Comment #6
marvil07 commentedHard code-freeze left this out.
Comment #7
marvil07 commented@sdboyer: It would be great to receive your review here.
Comment #8
sdboyer commentedI'll do another pass during office hours on Wednesday.
Comment #9
sdboyer commentedAll in all, looks good - pretty small stuff.
Nit:
I prefer instanceof to is_a(). Up to you.
Nit:
Ick.
Nit:
if its the vc_git_project_commit_view, then it's neither the Commitlog global commit log nor the generic Versioncontrol Project commit log. Let's fix that description.
More general question - there are a number of settings that appear to have switched around in that views dump, but it's always hard to tell with dumps whether those are just changes in how views decided to order its export output, or if they're actual changes you made. E.g.,
was this an intentional change?
I would like to see these changes pushed up as a topic branch so that I can easily tweak with direct commits. patches--
Powered by Dreditor.
Comment #10
marvil07 commentedSo, after pushing the dependency #1064086: Add author and committer git specific views fields., and changing what sdboyer mentioned, I am also pushing this.
About
is_a(), you are right, calling a function is always slower than calling a language operator ;-)About the views dump, well, AFAIR I checked it one by one, so this should be the right changes. In the other side, we need to fix the date change, but that's another issue #1203268: Change default views to follow versioncontrol api change on views data.