Ubercart Code Moving Forward, Needs Your Eyes

Well, it's no secret, we've been moving forward for some time now. We're especially anxious to get on Drupal 6 and take advantage of the many core Drupal changes that will make Ubercart an even more solid e-commerce system. There are still some loose ends that need to be wrapped up and plenty of bug testing that should go on before we release a beta version we can be proud of. Those itching to help get Ubercart on Drupal 6 can grab and test the latest code from Bazaar. There are plenty of known issues that don't need to be duplicated in our issue tracker, but we welcome any new ones or small improvements we can make as we polish up the initial beta release.

There's even more development going on in parallel to the Drupal 6 port that I wanted to make folks aware of. Anyone with special interest in the following modules and needs might get on the testing and feedback bandwagon:

  • VAT/GST Support - We understand Ubercart hasn't been the best friend of Europeans, and that's largely due to our ignorance of the tax systems found around the world. Well, community member Al has been working with mortendk and other European users and developers to come up with a proposed solution that should be evaluated, tested, modified, and committed to core sometime during the Drupal 6 development lifecycle. See the concept and the code. Cool
  • File Downloads - I promise that the file downloads system wouldn't be half as cool if the community hadn't been blessed by torgosPizza and Mike Nelson's Riff Trax. One of our previous developers, Shawn Conn, wrote the initial version of the module, and a recent developer named cha0s has taken it to task to completely overhaul the code. It brings with it cleaner code, and easier to use API, and code comments. Check it out and give cha0s a hand. Eye-wink
  • Role Promotions - Once again cha0s has taken the role promotions module to task to clean up the code, tighten up the API, and add comments like crazy. The end result is a new version of the module ready for testing and consumption. It includes some new conditional actions support and, if I'm not mistaken, a plan to make sure this module is more tightly integrated with the core recurring fees module. Once again, enjoy the code. Smiling

The VAT/GST work is currently for Ubercart 1.5 on Drupal 5 while the modules by cha0s are for Ubercart 2.x on Drupal 6.

greggles's picture
Offline
Joined: 12/12/2007
Juice: 97
cha0s

cha0s is Ruben Rodriguez, right? http://drupal.org/user/260571

Thanks everyone for your work on this. I look forward to helping out stabilize the code in the next few weeks/months. I agree that now is the time for us to really work towards a stable 6.x release since Ubercart s one of the modules I hear a lot of people looking forward to at this point.

Greggles Drupal Articles

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15459
Yep, that's him. We

Yep, that's him. Smiling We recently had him down in Louisville to check out the office, the project, and the town. He's already been quite active in getting Ubercart D6 ready and I'm looking forward to more of the same.

For those with an inkling of interest, he's also a compiler hacker for FreeBASIC, the language I use for my "other" programming when I have time off from Ubercart.

alpritt's picture
Offline
Joined: 10/16/2008
Juice: 6
Help me to help you

I'm eager to help you out with testing and polishing the code for this release, however my experience of submitting patches is so far a bit haphazard. I've not created more than four patches I don't think, but from the little bit of work I've done I'm already seeing duplicate efforts, duplicate issues as well as a few re-rolls because the patches are sitting in the issue queue for weeks at a time. These are just small bug fixes, so if I'm going to try to help you with bigger efforts, I need to know the process is going to work so my time is spent well.

Please let me know if I can do anything further to make my contributions easier to commit. The quicker you respond to my help, the more help you will get.

Thank you.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15459
Re: Help me to help you

Sounds reasonable, and we certainly appreciate your concerns. We're trying to free Lyle up as much as possible to work on the D6 port and are attempting to secure funding for this time. In addition, cha0s is around for patch review and has been doing a great job the last couple of weeks.

For small things, I wouldn't even worry about a patch. That may be a bit unorthodox, but posts like this are enough for me to make a quick fix/change. For larger tasks, one problem we've had is that larger patches might be posted up for things that aren't even on our radar while other things have priority. Those things end up sitting around unfortunately. Perhaps before doing something larger you can just PM Lyle here to see if it's even something we'll consider for the 2.x beta release.

alpritt's picture
Offline
Joined: 10/16/2008
Juice: 6
Re: Help me to help you

Cool. I will certainly PM if I decide to embark on anything big or even mid-size. And that's likely.

At the moment though, I want to help get you to RC stage for this 2.x version, so I think that just means doing bug fixes. But let me know if there is anything other than that you want help with.

To be fair, creating a patch is less worry for me than using the 'unorthodox' method. The other method means I have to copy and paste from both the existing code and the updated code in order to explain what is different. I also have to explain where the change is within the code base so you can find what I'm talking about (what file, what function, where exactly in that function). And because it is a manual process I'm more likely to make mistakes, or forget to include something. Creating a patch does this all automatically (except for the mistakes part). And it takes about 10 seconds! So the only reason I'd use the unorthodox method is if it is somehow easier for you; but I'm struggling to think how it would be.

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15459
Re: Re: Help me to help you

hehe Nah, patches are certainly fine. It may have been difficult for me when I was developing on Windows, but I'm on a Macbook now and can patch like a pro. Eye-wink I just know some folks don't know how to roll them or sometimes just don't have the right computer on hand.

I'm going to have Lyle get in touch today. I know there are plenty of things posted in the D6 group on http://support.ubercart.org, but that site isn't going to last imo. It wasn't really intended for development, it was just a handy place to have discussion early on. We want to be more "orthodox" and use the issue tracker on d.o for our actual review of patches and such, but that has generated some duplicate posts and support requests that we have to redirect here. Sticking out tongue

Lemme know if you're not able to connect w/ Lyle.

alpritt's picture
Offline
Joined: 10/16/2008
Juice: 6
Re: Re: Re: Help me to help you

Lyle has been in touch, so that's all good.

I've been completely ignoring support.ubercart.org so I don't know about any duplications there. Is it worth me creating an account and monitoring?

Ryan's picture
Offline
Joined: 08/07/2007
Juice: 15459
Re: Re: Re: Re: Help me to help you

I'm not sure it's worth it... it wasn't really meant to be an issue tracker and was more useful early on in the port. Now that we're into code / feature review and actual patching, I think the issue tracker at d.o will be more useful. I'll look through it and see if I can move anything to d.o over the next couple of days.

torgosPizza's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/14/2007
Juice: 4111
Re: Re: Re: Re: Re: Help me to help you

Just wanted to say, thanks for the kudos, guys. Smiling You're making me blush!

We must also thank cPiLL, who's around here somewhere, for creating the original uc_file_downloads Contrib, His work was the basis for a lot of my work, and I know I picked his brain a lot when discussing new features with Shawn.

Great work guys and I look forward to testing out D6 in the near future.

--
Help directly fund development: Donate via PayPal!

artisanden's picture
Offline
Joined: 10/13/2008
Juice: 13
Great

I just upgraded to the 1.5 v because I always wait for the deluxe package, as I do NOT want to run against image gallery problems and such.

I have to say that this is a great upgrade. Neater theme integration for one, also it indicated image problems (eg., not installed this and that). Thanks much!

CpILL's picture
Offline
Early adopter... addicted to alphas.Getting busy with the Ubercode.
Joined: 08/08/2007
Juice: 550
hey, no wukkers

I'm glad you found it useful and could build on it. Its a good feeling to know your effort wasn't a waste of man hours. I guess this is the real gift of open-source development Smiling

I should be getting back into UC this week and hopefully help the Durpal6 push. Good job guys, looking forward to seeing some innovation in the source!

Uberdevelopment www.tsd.net.au/blog

zmove's picture
Offline
Bug FinderEarly adopter... addicted to alphas.Getting busy with the Ubercode.Internationalizationizer
Joined: 08/13/2007
Juice: 1195
Re: Ubercart Code Moving Forward, Needs Your Eyes

Reading this news, I began to implement a 6.x shop for an european customer. But long time without Chaos news about the 6.x implementatioon of VAT/GS support...

I would be happy to help coding / testing. I can work on it full time job during a couple of days cause the shop need to be finished before christmas.

Chaos, can you contact me ? I tried to send you a PM without succes..

giorgio79@drupal.org's picture
Offline
Joined: 02/02/2008
Juice: 280
Re: Ubercart Code Moving Forward, Needs Your Eyes

Thanks for adding VAT support and thinking in a global manner, this will set apart Ubercart from the rest...

Review Critical
ClipGlobe - World Travel