[Building Sakai] 2.9.0 DB Conversion, MySQL script error
Stephen Marquard
stephen.marquard at uct.ac.za
Fri Jan 25 01:55:38 PST 2013
I'm with Sam on this one. Developers need to use the correct case for table and column names (i.e. the exact case in which it was created on a case-sensitive environment), in code and conversion scripts.
To say "there's no guarantee that developers will do this in future" is a classic case of shifting the burden, and basically like saying developers are lazy and as a Sakai community we have no ability to meet basic quality standards, which would be a sad day.
Cheers
Stephen
---
Stephen Marquard, Acting Director
Centre for Educational Technology, University of Cape Town
http://www.cet.uct.ac.za<http://www.cet.uct.ac.za/>
stephen.marquard at uct.ac.za<mailto:stephen.marquard at uct.ac.za>
Phone: +27-21-650-5037 Cell: +27-83-500-5290
From: sakai-dev-bounces at collab.sakaiproject.org [mailto:sakai-dev-bounces at collab.sakaiproject.org] On Behalf Of Sam Ottenhoff
Sent: 25 January 2013 03:29 AM
To: Steve Swinsburg; Stephen Marquard
Cc: sakai-dev at collab.sakaiproject.org
Subject: Re: [Building Sakai] 2.9.0 DB Conversion, MySQL script error
On Thu, Jan 24, 2013 at 7:47 PM, Steve Swinsburg <steve.swinsburg at gmail.com<mailto:steve.swinsburg at gmail.com>> wrote:
So how is a new developer meant to know all of these unwritten rules if they aren't described anywhere?
As a community, we've decided to support MySQL and Oracle. I don't like fixing Oracle syntax issues especially because I don't run Oracle. But I help fix them because I want institutions that run Oracle to use Sakai. If Oracle changes syntax that breaks Sakai queries, we'll fix Sakai. It's yet another thing that we developers need to learn and adapt to. If you use opposite cases with MySQL, someone will eventually catch it and correct it. Here are the rules of our dependency, MySQL: http://dev.mysql.com/doc/refman/5.1/en/identifier-case-sensitivity.html
I disagree that there are too many requirements.
I can't imagine you are in the majority.
My point is that if the rule you proposed was enforced on table creation, not just updates, you wouldn't have that mess.
The rule I proposed was consistency, that's all. I'm too busy right now to make consistent all table names in Sakai CLE. Until the day I have the time, or someone else volunteers, I will continue to fix JIRAs like the one originally reported in this thread.
--Sam
________________________________
UNIVERSITY OF CAPE TOWN
This e-mail is subject to the UCT ICT policies and e-mail disclaimer published on our website at http://www.uct.ac.za/about/policies/emaildisclaimer/ or obtainable from +27 21 650 9111. This e-mail is intended only for the person(s) to whom it is addressed. If the e-mail has reached you in error, please notify the author. If you are not the intended recipient of the e-mail you may not use, disclose, copy, redirect or print the content. If this e-mail is not related to the business of UCT it is sent by the sender in the sender's individual capacity.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130125/a42fc003/attachment.html
More information about the sakai-dev
mailing list