We are starting to get close to a Drupal 6 release and need to begin thinking about porting. The D6 critical queue is down to 13 issues as of right now, but there hasn't been a Release Candidate yet so I think we still have 4-8 weeks until the final release. Let's wait to start coding the port until at least the first RC.

If we use coder.module and look at poll.module (~30 commits between D5 and D6) it should be fairly straightforward.

Afterwards we can update our status at http://groups.drupal.org/node/5036

Comments

ChrisKennedy’s picture

Looks like there are a few key changes to implement:
1. Template changes.
2. FormAPI changes.
3. Core-style AHAH.
4. Code splitting.
5. Menu system changes.
6. Schema API.
7. Translation improvements.

Most other changes are minor and many are poll.module specific.

Converting 5.x modules to 6.x will help on the specifics.

ChrisKennedy’s picture

How long should we support the Drupal 5 branch after D6 is released? I'm thinking 3 or 4 months is reasonable.

drooppi’s picture

Title: Port to Drupal 6 » Port to Drupal 6 ---- Drupal-5 support

No, D5 support should last a bit longer than just 3 to 4 months. Have you noticed 4.7 is still downloadable on the main page, and for how long D4.7 has been around now?

Going for 3-4 months Drupal 5.x TTL ("time to live") means: 5.x was only a short intermezzo. A lot of people will need to upgrade from 4.7 to 6 directly!

Any suggestions?

drooppi

anders.fajerson’s picture

To me 3-4 month sounds short as well, but more than anything it depends on how much we and others are willing to contribute pathes to an old release. At best I think we should support it until Drupal 7 comes out, but I'm not willing to promise anything, this is after all contrib, not core - even though it's good karma being a perfect maintainer.

Also, depending on how the release of Drupal 6 and the following port of contributed modules turns out, I can see myself focusing on improving the 5.x release of Advpoll the coming moths, not 6.x. I don't see that as a big problem as pathes can be ported to a newer release as well.

ChrisKennedy’s picture

Cool, if you are interested in improving the D5 release that could be a good combination with my D6 inclination. I don't really maintain any actual installations of Advanced Poll so I have less incentive to port stuff to D5.

ChrisKennedy’s picture

Well RC1 was released today, time to get cracking: http://drupal.org/drupal-6.0-rc1

Luckily I also start my winter vacation tonight.

eaton’s picture

It's worth noting that votingAPI 2 (for drupal 6) is currently in CVS, though not officially released. One of the big dilemmas at the moment is figuring out whether the improvements and changes in it are useful and effective for modules that need to use the API. Perhaps we can chat about this? There are definitely API changes in how VotingAPI is used, though they're mostly syntactical and intended to support more efficient queries, cleaner interoperation between voting modules, and API-level anonymous voting.

ChrisKennedy’s picture

Hey Jeff, thanks for the comment. Do you have a page somewhere describing the current status of VotingAPI 2? I see the old post at http://groups.drupal.org/node/5023 but that doesn't say what has actually implemented.

In any case I'll write up an email sometime soon with my constructive complaints and cc Anders. Our most recent run-in with Voting API limitations was last week at http://drupal.org/node/168007 - we need a unique id for a set of ranks (i.e. a "vote" should not be assumed to consist of a single database row... ranked voting systems are standard for elections). It was pretty ugly to work around that problem.

Radiating Gnome’s picture

Any updates on the progress of this port? Also, is there any chance that the updated D6 version of advanced polls will take advantage of the drag and drop functionality in the core jquery library?

Fayna’s picture

Subscribing so I can keep an eye on this module. :)

gausarts’s picture

Subscribe. Thanks

cmarcera’s picture

Subscribing as well - hope to see Advance Poll in Drupal 6 soon :)

greggles’s picture

subscribe.

It appears that voting API has a 6.x-beta which should hopefully make this easier having a solid base to work from.

dnewkerk’s picture

Subscribing

davedelong’s picture

subscribing... hope we can get a beta soon!

snippa’s picture

subscribing too...

waiting impatiently for a release for D6. Advanced poll has no alternatives currently

darumaki’s picture

subscribing

domesticat’s picture

Subscribing.

skirr@drupal.ru’s picture

subscribe

mryoung’s picture

same here, subscribing ;)

eaton’s picture

I don't have the bandwidth to work directly on the port of this module, but is there any information or assistance I can offer about the D5 to D6 changes in VotingAPI?

skizzo’s picture

subscribing

IngusNeilands’s picture

Subscribing

tebb’s picture

Subscribing.

Magnity’s picture

Is there any update on the port to D6?

Thanks,

Toque’s picture

Any news would be helpful. I couldn't possibly upgrade to 6 without Advanced Poll.

Flying Drupalist’s picture

subscribing

drupaloSa’s picture

subscribing

kyle.vh’s picture

subscribing, too. Looks like you'll have lots of testers. :)

marvix’s picture

subscribing ....
any news when v6?

udvranto’s picture

subscribing.

ulf1’s picture

subscribing

IngusNeilands’s picture

subscribing

Anonymous’s picture

subscribing

Crell’s picture

Eh, what the hell. I'll subscribe too. :-)

somerandomnerd’s picture

I've got no experience in module development, but would be happy to help in any way I can with porting to Drupal 6; this module would be incredibly useful for me to be able to use.

So… subscribing.
:o)

robertdjung’s picture

... subscribe...

igorik’s picture

subscribing...

kecinzer’s picture

Subscribing :)

Nightroan’s picture

Subscribing...

Is this project stalled? Many people have subscribed, yet there is little to no indication of progress since last year. Although I don't know anything about module development, maybe I can help in some way.

nkraf’s picture

Subscribing :)

greggles’s picture

At this point I would say that yes, the project has stalled. If anyone has interest but no coding capabilities I suggest you create reverse bounty (e.g. by saying "I'll pay anyone who fixes this $50") and then hopefully others will agree and add more amounts and motivate someone to do it.

If anyone has interest and coding capabilities...you should feel definitely empowered to begin working on a port ;)

http://drupal.org/project/deadwood and http://drupal.org/project/coder can reduce the effort involved, though with a module that uses a custom API like votingAPI those modules won't do everything...

Marat’s picture

Subscribe. I am ready to move to D6 but waiting for advpoll!

Thanks

loze’s picture

subscribing.
re #42, I have $50. anyone else?

domesticat’s picture

Same. I'll toss in $50.

zilla’s picture

subscribing

Electronick’s picture

Our team intrested in porting same of this module functionality to drupal 6. If you wanna donate, we can fully port this module.

You can contact me at nikita.hrybaleu@corp.adsl.by

a_c_m’s picture

Perhaps the use of chipin or similar reverse bounty things might be a good idea?

bgibson-glu’s picture

susbcribe

Petec-1’s picture

Subscribe and willing to contribute $50

domesticat’s picture

@Electronick, #47 --

If you are serious about porting this module, please set up a ChipIn and link it here. From a business standpoint, I would like to know how much your team wants for the port.

a_c_m’s picture

i tried to contact Electonick but my email bounced.

Looks like there is $150 in the pot so far.

anarcat’s picture

Hi Advpoll users!

I hope you do not mind the intrusion, but I have an important announcement to make and this seems to be a proper place. Apologies if you feel this is misplaced.

I have worked on porting the Decisions module to Drupal 6 and the port is mostly complete. For those who do not know that story, Advpoll is a fork of Decisions, so the modules are almost compatible from a database-schema point of view. It would probably be possible to migrate from advpoll to decisions (see #339377) but the "how" remains to be seen.

Advpoll has seen a lot of development after the fork from decisions, however, so do not expect all the bells and whistles to be there. Decisions is a lot more 'basic' than advpoll, but most of the basic features are there and currently pretty solid (apart from the broken preview), so we're still in beta.

I welcome all the advpoll users to try out decisions. We (at Koumbit) are opened to help advpoll users find an upgrade path to Drupal 6, and given the amount of bounty here, I guess it could be done in a fairly short amount of time. We're also opened to implement the features from advpoll missing from decisions, of course, and welcome patches.

We understand the tensions that have happened during the project that led to the fork and are sorry this happened. We hope to better maintain the project in the future to not let this happen again.

In solidarity,

Antoine Beaupré
Koumbit

ChrisKennedy’s picture

Assigned: Unassigned » ChrisKennedy

Glad to hear that Decisions is back under active development. There won't be a need for Advanced Poll users to migrate as I intend to code a d6 patch this weekend now that the US elections are over and I have some free time. Greggles, thanks for posting about Deadwood - I hadn't heard of that module before but it sounds quite handy.

igorik’s picture

Wau!
this is such great story for this morning!
Thanks Chris, it will be awesome.

Igorik
http://www.somvprahe.sk

eMPee584’s picture

Just saw this and thought i'd leave my comment.
So the same day the forked module's owners says he is inviting everyone back to the original code branch, the new module's owner promptly reacts and says that wouldn't be neccessary because he will start porting his code too right now...
Why don't you both overcome your egos (that is YOU, Chris and Antoine) and try to come up with a fused polling module that contains the advantages of both modules and has an update path for each? Because duplication of code is such a waste of time and resources... and it's annoying to see stuff like this happen, too. Efficiency over pride, guys. You can do it.

anarcat’s picture

I generally agree with #56. We should try to merge the projects back together. Right now, the differences between the modules are subtle but significant: decisions has decision modes as modules where they are ".inc" files in advpoll. Advpoll has seen better developpment in the AJAX support and caches properly borda count results, and there are probably other features in advpoll missing from decisions.

We have decided to port decisions forward the answer the expressed need of a client, and also because we knew the codebase better. We didn't want to compete with advpoll and have long tried to keep decisions in sync with the changes made in advpoll (see SYNC.txt in our codebase), but have gave up after a while, due to lack of available time.

I think that Chris, you still has CVS access to decisions, and you are more than welcome back into the project if you so desire. I think that while the codebase between the two modules diverged and some work is still required to get decisions out of beta, it's still a good base to start from. I wouldn't recommend spending another 10h on advpoll just to get it to D6 while I've already done that on decisions. Then again, I will not tell you what to do with advpoll, of course, you are free to do as you wish. :) I just think that working on decisions at this point would probably make more sense, but I would fully understand if you do not share that perspective.

If advpoll is to be ported to D6 too, then Koumbit will seriously reconsider completely dropping decisions and may start pushing patches to advpoll instead, because we think having such a module functional is important to the Drupal community. I hope some openness will be displayed for our patches, if they come...

Thanks, and sorry again if my posts here were inappropriate.

ChrisKennedy’s picture

Status: Active » Needs work

I ported Advanced Poll to D6 on Sunday - took some work but I'm excited by the elegance & power of the new APIs. An initial Drupal 6 development snapshot is available for people to try out.

Basic functionality mostly works though there are plenty of bugs and migration that stills need to be completed, so it's not ready for production sites yet. Nevertheless the code base is sufficiently solid to serve as a basis for test installs and bug reports.

Anarcat, you guys are definitely welcome to help with Advanced Poll. We'll just hash out any design choices in the issue queue as Anders and I (et al.) currently do.

omar’s picture

Chris,

The fact that you have a personal preference for advpoll is normal, but do you have any specific feedback to offer with respect to Antoine's description of the differences between the two projects? e.g. "decisions has decision modes as modules where they are '.inc' files in advpoll. ".

Moreover, as was the case for you when you started working on Decisions way back when, we (Koumbit) would want to have CVS access in order to consider dropping Decisions in favor of advpoll.

By the way, when do you plan to have a production-ready module?

Omar

omar’s picture

Chris,

Having not heard back from you, I am pretty confident that you simply aren't interested in merging the two projects.

However, just in case my last message wasn't clear enough I'll re-iterate the key point/question: Are you willing to give Koumbit CVS access to advpoll in exchange for us dropping decisions?

Either way, no big deal. We are happy to continue on our own. We just wanted to give the idea an honest good-faith effort out of respect for the community and the principles of open-source collaboration.

Omar

ChrisKennedy’s picture

Anyone who has made a substantial contribution to advpoll can have CVS access, which is the standard policy for contributed modules. However, this issue is for porting advpoll to d6, so additional discussion should go in a new issue or email.

I think the d6 port will be production ready within another month or two.

ChrisKennedy’s picture

Status: Needs work » Fixed

At this point the D6 branch is quite solid, although any additional bug reports or feature requests are certainly appreciated. Please feel free to download a recent build of the module and let me know what's missing or buggy - more feedback/QA would be great.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.