Although there's a bunch of completely awesome stuff that Earl and others are working on for Views 2.x, that will require nearly a ground-up re-write of Views. For the countless sites out there requiring Views 1.x in Drupal 5.x, it would be good to have 6.x compliant version of that code.

Here is an issue to organize such efforts.

Comments

merlinofchaos’s picture

Note that I will not be working on this issue. However, if you do wish to work on this issue, please provide patch(es) here for peer review.

webchick’s picture

StatusFileSize
new1.37 KB

Here's a start. So rough, doesn't deserve a patch (code needs work) status. ;)

- Fixed the .info files so that dependency-checking works and the modules can at least be enabled.
- Commented out a section that was causing a fatal error when views.module was enabled.
- Started the very beginnings of views.schema.

It's taking me a little longer than otherwise it would, because I'm at the same time filing issues against Coder module that it doesn't find when it scans for the 5.x -> 6.x upgrade.

webchick’s picture

StatusFileSize
new6.43 KB

D'oh! totally wrong patch. :) I'm kind of tired. ;)

mrharolda’s picture

Unfortunately, I'm unable to apply your patch against 5.x-1.6 of the views module... Do I need to patch an other version of Views, or am I doing something wrong?

 patch -p0 < ../views-6.x-port-164841-2.patch 
patching file views.info
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file views.info.rej
patching file views.module
Hunk #1 succeeded at 641 (offset 113 lines).
patching file views.schema
patching file views_rss.info
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file views_rss.info.rej
patching file views_theme_wizard.info
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file views_theme_wizard.info.rej
patching file views_ui.info
Hunk #1 FAILED at 2.
1 out of 1 hunk FAILED -- saving rejects to file views_ui.info.rej

Thanx!

Harold.

drewish’s picture

H.Aling, I haven't tried it but that looks like a patch against HEAD.

catch’s picture

Status: Active » Needs work

Come on webchick, let's call a spade a spade, none of this 'active' rubbish.

fractile81’s picture

Is this port still in the works? What needs to be done, and what can others help with? I just know that Views is preventing me from adopting D6 in my dev environment, so anything would really be handy at this point. My apologies if this comes off an impatience, I'm just trying to gauge the situation.

webchick’s picture

Most people (including View's maintainer, Earl Miles) are pouring efforts into Views 2 rather than a mere port of the existing Views 1.x. Including myself. Most of this work is being coordinated on the Views Developer Group on groups.drupal.org, and the current focus is on a new Views UI for 2.x.

However, this patch exists as a basic starting point if anyone wants to jump in. Coder module has a scanner which will highlight numerous changes that need to happen in order to port the module over. But the form stuff could prove problematic...

merlinofchaos’s picture

Status: Needs work » Closed (fixed)

Now that we're in beta, this is definitely no longer needed.