Re: [Dbix-class] VOTE: Relinquish firstcome rights to Peter Rabbitson

2018-01-17 Thread Pedro Melo
In this case, +1 > On 17 Jan 2018, at 23:10, Peter Rabbitson wrote: > > On 01/17/2018 09:53 PM, Karen Etheridge wrote: >> - Is there an official response from Peter Rabbitson regarding this proposal? > > As per Matt's proposal[1]: > >> I have spoken to ribasushi, and

Re: [Dbix-class] ★ VOTE NOW: DBIC Governance and Namespace Control ★

2016-12-04 Thread Pedro Melo
Proposal A From: David Golden Reply-To: "DBIx::Class user and developer list" Date: Monday 5 December 2016 at 06:15 To: DBIC Mailing List Subject: [Dbix-class] ★ VOTE NOW: DBIC Governance and Namespace Control ★ Thank

Re: [Dbix-class] Decision time: which fork inherits the existing DBIx::Class namespace

2016-12-03 Thread Pedro Melo
Peter, As much as I appreciate your work and all the help you’ve provided me over the past years as a user of DBIC, and as much I rather prefer a stable DBIC as a primary goal, this response is not good enough for the rest of the community. We do need closure on this topic, and move forward.

Re: [Dbix-class] IMPORTANT: A discussion of DBIC governance and future development

2016-10-04 Thread Pedro Melo
Hi, On 4/10/16 1:15 AM, "Ashley Pond V" wrote: >RIBASUSHI has given this codebase a tremendous amount of care, >improvement, and deft effort. I am a user and evangelist of DBIC since >it was the first fork of CDBI that started to solve so many problems. >Peter has solved many

Re: Fwd: [Dbix-class] Breakage on .127 - .192 upgrade

2011-05-24 Thread Pedro Melo
also don't like it, because I agree that putting this on the result class is the wrong place. I'll talk with mst about his experience and propose something. In the meantime I would like you to accept the tree above to go back to the previous extensible design. Bye, -- Pedro Melo http

Re: Fwd: [Dbix-class] Breakage on .127 - .192 upgrade

2011-05-24 Thread Pedro Melo
Hi, the people/melo/revert-sql-deploy-fixes is now available at the DBIx::Class main repo. Bye, -- Pedro Melo http://www.simplicidade.org/ xmpp:m...@simplicidade.org mailto:m...@simplicidade.org ___ List: http://lists.scsys.co.uk/cgi-bin/mailman

Fwd: [Dbix-class] Breakage on .127 - .192 upgrade

2011-05-20 Thread Pedro Melo
::ResultSource::_invoke_sqlt_deploy_hook as the last thing like this: my $class = $self-result_class; $class-new_name_for_new_sql_deploy_hook($self, @_) if $class; What do you think? Thanks, -- Pedro Melo http://www.simplicidade.org/ xmpp:m...@simplicidade.org mailto:m...@simplicidade.org

Re: Fwd: [Dbix-class] Breakage on .127 - .192 upgrade

2011-05-20 Thread Pedro Melo
Hi, On Fri, May 20, 2011 at 1:27 PM, Peter Rabbitson rabbit+d...@rabbit.us wrote: On Fri, May 20, 2011 at 12:58:09PM +0100, Pedro Melo wrote: On Fri, May 20, 2011 at 3:00 AM, Peter Rabbitson rabbit+d...@rabbit.us wrote: On Fri, May 20, 2011 at 11:52:18AM +1000, Toby Corkindale wrote

Re: [Dbix-class] any factual comparisons of Oracle, PostgreSQL, MySQL ?

2011-04-19 Thread Pedro Melo
, -- Pedro Melo http://www.simplicidade.org/ xmpp:m...@simplicidade.org mailto:m...@simplicidade.org ___ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class

Re: [Dbix-class] Populating Instance With Column's Defaults

2011-02-09 Thread Pedro Melo
on HTML forms. Bye, -- Pedro Melo http://www.simplicidade.org/ xmpp:m...@simplicidade.org mailto:m...@simplicidade.org ___ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http://dev.catalyst.perl.org/repos

Re: [Dbix-class] Displaying SQL statements

2011-01-22 Thread Pedro Melo
though: http://search.cpan.org/dist/DBIx-Class/lib/DBIx/Class/Storage.pm#ENVIRONMENT_VARIABLES Bye, -- Pedro Melo http://www.simplicidade.org/ xmpp:m...@simplicidade.org mailto:m...@simplicidade.org ___ List: http://lists.scsys.co.uk/cgi-bin/mailman

[Dbix-class] Public API for resolve_condition

2010-12-19 Thread Pedro Melo
would be the recommended way to do this? Thanks, -- Pedro Melo http://www.simplicidade.org/ xmpp:m...@simplicidade.org mailto:m...@simplicidade.org ___ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN

Re: [Dbix-class] Cascade deletes

2010-03-06 Thread Pedro Melo
for exactly the same reasons. Created a DBIC component that overrides add_relationship(). The fourth parameter is the hashref with the options, set cascade_delete = 0 and call the next method. Then in the load_components of your base source class, use it. Bye, -- Pedro Melo http://www.simplicidade.org

Re: [Dbix-class] DBIx::Class::Tree::NestedSet RFC

2010-02-09 Thread Pedro Melo
an incorrect use of those relationship helpers instead of belongs_to. at /Users/melo/Documents/work/projects/perl/dbic/dbic-class-tree-nestedset/t/tlib/TestSchema/MultiTree.pm line 28 Using DBIx::Class 0.08117 Bye, -- Pedro Melo http://www.simplicidade.org/ xmpp:m...@simplicidade.org mailto:m

Re: [Dbix-class] RFC: DBICx::Shortcuts

2010-02-08 Thread Pedro Melo
with ResultSet cache and support for instances with different connect information is now on my github repo. I have to update the docs and then I'll push a new release. Probably tomorrow morning. Bye, -- Pedro Melo http://www.simplicidade.org/ xmpp:m...@simplicidade.org mailto:m...@simplicidade.org

Re: [Dbix-class] RFC: DBICx::Shortcuts

2010-02-05 Thread Pedro Melo
. Thanks for the suggestion. Bye, -- Pedro Melo http://www.simplicidade.org/ xmpp:m...@simplicidade.org mailto:m...@simplicidade.org ___ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http

Re: [Dbix-class] RFC: DBICx::Shortcuts

2010-02-04 Thread Pedro Melo
db at once... Agreed, in my current project I'll need that too. I'll try and push the code tomorow if I have the time. if not, I'll do it during the weekend. Bye, -- Pedro Melo http://www.simplicidade.org/ xmpp:m...@simplicidade.org mailto:m...@simplicidade.org

Re: [Dbix-class] How to retrieve table name from component?

2010-01-22 Thread Pedro Melo
($self-{_source_handle}-{source_moniker}) $row-result_source-from? Bye, -- Pedro Melo http://www.simplicidade.org/ xmpp:m...@simplicidade.org mailto:m...@simplicidade.org ___ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC

Re: [Dbix-class] RFC: DBICx::Shortcuts

2010-01-20 Thread Pedro Melo
. Bye, On Mon, Jan 18, 2010 at 8:02 PM, Pedro Melo m...@simplicidade.org wrote: Hi, I've cleaned up and uploaded to CPAN a small module that I use a lot in my code. I got tired of writting $schema-resultset('Source')- all the time, and I wrote DBICx::Shortcuts. You create a new

[Dbix-class] RFC: DBICx::Shortcuts

2010-01-18 Thread Pedro Melo
) All other calls to the source() shortcut with parameters will end up as calls to search(). Comments, suggestions? Bye, -- Pedro Melo http://www.simplicidade.org/ xmpp:m...@simplicidade.org mailto:m...@simplicidade.org ___ List: http

[Dbix-class] Thoughs about DBIx::Class::ResultSet::WithMeta

2010-01-11 Thread Pedro Melo
-result_class($meta); Then you get your $meta-inflate_result called per row, only at the last point in the search() chain. Thoughts? Bye -- Pedro Melo http://www.simplicidade.org/ xmpp:m...@simplicidade.org mailto:m...@simplicidade.org ___ List: http

Re: [Dbix-class] Searching N rows sorting randomly

2009-11-28 Thread Pedro Melo
Hi, On 2009/11/28, at 17:19, Alberto Simões wrote: SELECT word FROM words ORDER BY RANDOM() LIMIT 10; to get 10 random words from a database. I am trying to do the same query using DBIx::Class, but not sure what to set as order_by clause: my @words =

Re: [Dbix-class] Searching N rows sorting randomly

2009-11-28 Thread Pedro Melo
Hi, On 2009/11/28, at 20:25, Alberto Simões wrote: On Sat, Nov 28, 2009 at 6:18 PM, Pedro Melo m...@simplicidade.org wrote: my @words = $schema-resultset('Word')-search(undef, {rows = $LIMIT

[Dbix-class] [TestCase] premature sql_maker initialization

2009-10-30 Thread Pedro Melo
Hi, Attached is a new test case for the 71mysql.t file that tests the proper initialization of the sql_maker in the ::Storage::DBI class. If the first query immediately after a connect is a find(), the code path will call sql_maker() before calling _determine_driver(), and so, any

[Dbix-class] Re: [TestCase] premature sql_maker initialization

2009-10-30 Thread Pedro Melo
Hi again, On Fri, Oct 30, 2009 at 8:46 PM, Pedro Melo m...@simplicidade.org wrote: A probable solution would be to add something like this to ::Storage::DBI::select_single(): # redispatch to update method of storage we reblessed into, if necessary if (not $self-_driver_determined

Re: [Dbix-class] Per column filter

2009-06-19 Thread Pedro Melo
Hi, On Jun 18, 2009, at 1:27 PM, Moritz Onken wrote: Am 18.06.2009 um 14:18 schrieb Pedro Melo: I'm wrapping DBIx::Class over a legacy database that uses the iso-8859-1 charset internally. My app expects all perl strings as utf8. I'm trying to write an extension to DBIC that decodes

Re: [Dbix-class] Per column filter

2009-06-19 Thread Pedro Melo
Hi, On Jun 18, 2009, at 7:52 PM, Daniel Ruoso wrote: Em Qui, 2009-06-18 às 13:18 +0100, Pedro Melo escreveu: I'm wrapping DBIx::Class over a legacy database that uses the iso-8859-1 charset internally. My app expects all perl strings as utf8. I think you could consider changing

[Dbix-class] Per column filter

2009-06-18 Thread Pedro Melo
not to manually encode/decode data I get from the DB. Basically a setup like the current InflateColumn but that allows scalars to be processed on the deflate step would work, like a filter. Thanks in advance, -- Pedro Melo Blog: http://www.simplicidade.org/notes/ XMPP ID: m...@simplicidade.org Use XMPP

Re: [Dbix-class] RecursiveUpdate and many to many

2008-09-30 Thread Pedro Melo
Hi, On Sep 30, 2008, at 1:25 PM, Matt S Trout wrote: On Mon, Sep 29, 2008 at 05:39:25PM +0100, Pedro Melo wrote: On Sep 29, 2008, at 4:50 PM, Matt S Trout wrote: On Sun, Sep 28, 2008 at 05:56:11PM +0100, Oliver Gorwits wrote: Ideally, DBIC would instead populate the relationship_info

Re: [Dbix-class] RecursiveUpdate and many to many

2008-09-29 Thread Pedro Melo
that it has tests) and documented version is not available. I don't have permission (yet) to release it. Best regards, -- Pedro Melo Blog: http://www.simplicidade.org/notes/ XMPP ID: [EMAIL PROTECTED] Use XMPP! ___ List: http://lists.scsys.co.uk/cgi-bin

Re: [Dbix-class] RFC: DBIx::Tree::NestedSet

2008-07-25 Thread Pedro Melo
, it would be most welcome. Best regards, -- Pedro Melo Blog: http://www.simplicidade.org/notes/ XMPP ID: [EMAIL PROTECTED] Use XMPP! ___ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class IRC: irc.perl.org#dbix-class SVN: http

Re: [Dbix-class] RFC: DBIx::Tree::NestedSet

2008-07-25 Thread Pedro Melo
On Jul 25, 2008, at 7:47 PM, Florian Ragwitz wrote: On Fri, Jul 25, 2008 at 12:50:21PM +0100, Pedro Melo wrote: I prefer to use git over svn, so if a repo exists somewhere that we can clone, it would be most welcome. git://git.perldition.org/DBIx-Class-Tree-NestedSet.git or just use git

Re: [Dbix-class] Caching DBIx-Class Fixtures

2008-06-18 Thread Pedro Melo
://search.cpan.org/dist/DBIx-Class/lib/DBIx/Class/Manual/ Troubleshooting.pod for more info. Best regards, -- Pedro Melo Blog: http://www.simplicidade.org/notes/ XMPP ID: [EMAIL PROTECTED] Use XMPP! ___ List: http://lists.scsys.co.uk/cgi-bin/mailman

[Dbix-class] (no subject)

2008-05-16 Thread Pedro Melo
the DB already did it. I was thinking about adding a flag to the storage layer that a user could turn on stating yes, I have a modern database, don't do cascade deletes. Would that be the proper place to do it? Any other suggestions? Best regards, -- Pedro Melo Blog: http

Re: [Dbix-class] Proposal for hook into deploy()

2008-02-26 Thread Pedro Melo
) Thanks! Easy when you know where to look. Also, the same hook is available at the ResultSource level if you want it. Best regards, -- Pedro Melo Blog: http://www.simplicidade.org/notes/ XMPP ID: [EMAIL PROTECTED] Use XMPP! ___ List: http

Re: [Dbix-class] many-to-many with attributes (again)

2007-10-12 Thread Pedro Melo
as a link table anymore... Its a normal 1-to-many-to-1 relation and I treat it as such. Best regards, -- Pedro Melo Blog: http://www.simplicidade.org/notes/ XMPP ID: [EMAIL PROTECTED] Use XMPP! ___ List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo

[Dbix-class] Class methods on result source classes

2007-09-03 Thread Pedro Melo
($current_user); The second one is longer but easier to do because it doesn't require me to create a ResultSet class for each source. Any common, more elegant, solution to this problems? Thanks, -- Pedro Melo Blog: http://www.simplicidade.org/notes/ XMPP ID: [EMAIL PROTECTED] Use XMPP

Re: [Dbix-class] Startup speed [SOLUTION]

2007-08-18 Thread Pedro Melo
(__PACKAGE__-sources) { # create shortcut method here } and this made the startup time move to: real0m2.058s user0m1.818s sys 0m0.096s Much, much better now. Many thanks to all. On Aug 17, 2007, at 1:27 PM, Pedro Melo wrote: Hi, I'm working on a project that has about 75