Re: [PHP-DEV] release process with git

2012-04-09 Thread Kiall Mac Innes
On Mon, Apr 9, 2012 at 10:27 PM, Kris Craig wrote: > > What I'm referring to is the same kind of bugfixes/etc that go into new > release candidates. I mean, we're still planning on having multiple > release candidates before an actual release, right? If so, then obviously > we'll need a way to c

Re: [PHP-DEV] release process with git

2012-04-09 Thread Kiall Mac Innes
This is a very similar process to what OpenStack uses, it seems to work well for them. They have a few guys on freenode in #openstack-infra that have shown themselves more than willing to go into detail about their setup and its pro/con's.. It would be worth asking them for their experience... T

Re: [PHP-DEV] PHP as a template language

2012-04-07 Thread Kiall Mac Innes
It's probably worth mentioning, to be fair to Reindl, that he can no longer respond publically to this list.. Thanks, Kiall Sent from my phone. On Apr 7, 2012 8:07 p.m., "Maciek Sokolewicz" wrote: > On 07-04-2012 03:10, John Crenshaw wrote: > > Seriously, if you're so angry that you can't even

Re: [PHP-DEV] Reindl's inappropriate behaviour (Was: Re: [PHP-DEV] PHP class files without

2012-04-07 Thread Kiall Mac Innes
On Sat, Apr 7, 2012 at 4:22 PM, Derick Rethans wrote: > You repeatly call people stupid, or "like a child" or "what terrible > happened in your life" and that is *not* allowed behaviour here. If you > (or anyone else for that matter) can't refrain from that, you have no > place on this list. > >

Re: [PHP-DEV] 回复: [PHP-DEV] resume after exception

2012-04-03 Thread Kiall Mac Innes
Retry is a feature I would very much like to see... While it's not stritcly necessary to implement in core, it makes the code much cleaner.. Thanks, Kiall Sent from my phone. On Apr 3, 2012 8:28 a.m., "reeze" wrote: > If just for exception recovery how about implement ruby's retry ? > > http:/

Re: [PHP-DEV] Perl logo in the php website

2012-04-02 Thread Kiall Mac Innes
LOL - Nice ;) Thanks, Kiall Sent from my phone. On Apr 2, 2012 7:42 a.m., "Charlie Somerville" < char...@charliesomerville.com> wrote: > April fools > > > On Monday, 2 April 2012 at 4:41 PM, Eloy Bote Falcon wrote: > > > Hi internals, > > > > Maybe this is not the correct list to ask this, but w

Re: [PHP-DEV] Re: Adopt GitFlow process

2012-03-26 Thread Kiall Mac Innes
On Mon, Mar 26, 2012 at 3:12 PM, Matthew Weier O'Phinney < weierophin...@php.net> wrote: > > One thing I'll point out is that git-flow is a set of extensions and > aliases for > the git CLI. I don't believe that is entirely accurate. git-flow is two things, both sharing a single name. git-flow

Re: [PHP-DEV] Git merging fun and a local clone-per branch workflow

2012-03-22 Thread Kiall Mac Innes
On Thu, Mar 22, 2012 at 11:24 PM, Christopher Jones < christopher.jo...@oracle.com> wrote: > 1. I had fun with a couple of small git merges today. I was trying to > use local clones as briefly outlined on irc by dsp. Multiple clones for each branch will be *much **much* harder to manage from

Re: [PHP-DEV] PHP5.4 'nannying'

2012-03-18 Thread Kiall Mac Innes
May I suggest changing the error reporting value, that way we can stop hearing about your damn code ;) Seriously though, I doubt anyone has a guide like that. I know I've always had E_STRICT enabled and honestly don't have the slightest clue how to trigger a strict warning. When you develop with

Re: [PHP-DEV] Re: Git Migration: Status Update

2012-03-06 Thread Kiall Mac Innes
On Wed, Mar 7, 2012 at 6:03 AM, Drak wrote: > [snip] > Forcing pushes to one's own topic branches in one's own fork can be > acceptable providing > upstream maintainers know before merging (for example squashing some work > after peer review), but not to the central repo without some exceptional

Re: [PHP-DEV] Scalar type hinting

2012-03-01 Thread Kiall Mac Innes
On Thu, Mar 1, 2012 at 9:00 AM, Lester Caine wrote: > Both provide something that a large number of people did not or do not > want anything to do with. > I disagree - The majority of PHP developers I've discussed this with are in favor of adding *something *like this. Do a majority want this? I

Re: [PHP-DEV] Possibility to add finally to try/catch?

2012-02-28 Thread Kiall Mac Innes
On Tue, Feb 28, 2012 at 5:36 PM, Stas Malyshev wrote: > Last time we looked into it we couldn't make a clean implementation of it > that worked well. If anybody has good ideas about how to do it, please > provide a patch. Right - I don't claim, even for a moment, to have the slightly clue how ea

Re: [PHP-DEV] Possibility to add finally to try/catch?

2012-02-28 Thread Kiall Mac Innes
(irb):16 from :0 irb(main):017:0> irb(main):018:0* divide("2", "1") executing finally clause NoMethodError: undefined method `/' for "2":String from (irb):3:in `divide' from (irb):18 from :0 Thanks, Kiall On Tue, Feb 28, 2012 at 4:54 PM, Kiall Mac

Re: [PHP-DEV] Possibility to add finally to try/catch?

2012-02-28 Thread Kiall Mac Innes
On Tue, Feb 28, 2012 at 4:48 PM, Tom Boutell wrote: > On Tue, Feb 28, 2012 at 11:32 AM, Kiall Mac Innes > wrote: > > Yes, You could abstract the try/catch into a new (and un-needed) function > > to try and emulate the behavior of finally.. Unless, for example, you > >

Re: [PHP-DEV] Possibility to add finally to try/catch?

2012-02-28 Thread Kiall Mac Innes
dd to complete the try {} catch {} finally > {} template. > My 2 cents. > > 2012/2/28 Richard Lynch : > > On Tue, February 28, 2012 8:22 am, Kiall Mac Innes wrote: > >> +1000 > >> > >> This is a feature that I've always wanted in PHP, My main reason bei

Re: [PHP-DEV] Possibility to add finally to try/catch?

2012-02-28 Thread Kiall Mac Innes
+1000 This is a feature that I've always wanted in PHP, My main reason being to reduce code duplication. eg try { $fh = fopen($filename); // Do some work on the file + encounter an error. throw new Exception(); } catch (Exception $e) { // Log an error or something } finally {

Re: [PHP-DEV] Suhosin patch disabled by default in Debian php5 builds

2012-02-04 Thread Kiall Mac Innes
Hi John, Ondřej (One of the Debian PHP maintainers) listed 5 or 6 reasons in the initial email in this thread. Honestly, I can't think of a good reason for Debian or anyone else to include 3rd party patches, whatever the patches purpose, in the default PHP packages. I would argue that, if peopl

Re: [PHP-DEV] Shebang parsing

2012-01-26 Thread Kiall Mac Innes
Surely you can detect which operating system you're running on, and have PHP act accordingly? (Note: on my phone, haven't read the link!) Kiall Sent from my mobile - Sorry for being short. On Jan 26, 2012 10:08 a.m., wrote: > Hi, > > from > > http://stackoverflow.com/questions/4303128/how-to-u

Re: [PHP-DEV] CS random values

2011-12-21 Thread Kiall Mac Innes
On Wed, Dec 21, 2011 at 3:31 PM, Tom Worster wrote: > > 1. /dev/random and /dev/urandom are unavailable on Windows and > cannot be fopen()¹ed in safe mode on *nix/nux Safe mode has been deprecated for two and a half years.. Adding features to work around its limitations is (IMO) a bad idea.. Can'

Re: [PHP-DEV] [VOTE] Choosing a distributed version control system for PHP

2011-08-27 Thread Kiall Mac Innes
See inline. Kiall Sent from a mobile - sorry for being short! On Aug 27, 2011 5:22 p.m., "Lester Caine" wrote: > > Richard Quadling wrote: >>> >>> Having current SVN-only contributors learn it might going to be quite a challenge. >> >> That's me. And I am VERY used to TortoiseSVN - a visual too

Re: [PHP-DEV] Activation of IGBinary serialization extension in 5.4 by default

2011-08-18 Thread Kiall Mac Innes
Some others systems use something similar to syntax checking (ldap password hashes). Baisically, prefix a code to the serialized string to indicate what method was used to serialize. Eg no prefix, or $O$ for the old style. Or $I$ for the igbinary syntax. This has the advantage of allowing addit

Re: [PHP-DEV] [RFC] Choosing a distributed version control system for PHP (or not). Call for Participation.

2011-08-13 Thread Kiall Mac Innes
On Sat, Aug 13, 2011 at 10:33 AM, Lester Caine wrote: > I don't have a problem with DVCS, just with projects ploughing into using > git a year ago when it was ( and still is ) not ready for those type of > projects :( > I think you're talking about submodules not being ready - correct me if I'm

Re: [PHP-DEV] [RFC] Choosing a distributed version control system for PHP (or not). Call for Participation.

2011-08-13 Thread Kiall Mac Innes
hand, Lester appears to be talking about developing sites with PHP: Lester Caine wrote: > Kiall Mac Innes wrote: > >> The Drupal document referenced is not explaining "How to develop Drupal" >> but rather "How to develop a drupal based site using git". > &g

Re: [PHP-DEV] [RFC] Choosing a distributed version control system for PHP (or not). Call for Participation.

2011-08-12 Thread Kiall Mac Innes
On Sat, Aug 13, 2011 at 12:26 AM, Lester Caine wrote: > Actually they are talking about developing Drupal ... > The Drupal document referenced is not explaining "How to develop Drupal" but rather "How to develop a drupal based site using git". The section titled "Creating a Working Branch"'s in

Re: [PHP-DEV] [RFC] Choosing a distributed version control system for PHP (or not). Call for Participation.

2011-08-07 Thread Kiall Mac Innes
On Mon, Aug 8, 2011 at 1:46 AM, Lester Caine wrote: > Richard Riley wrote: > >> Its really simple. >> >> Use git. >> > And stick two fingers up at the windows developer base ;) I admit I don't use windows often, but when I do, TortoiseGit has always worked fine for me! > It works, is fast an

Re: [PHP-DEV] [RFC] Choosing a distributed version control system for PHP (or not). Call for Participation.

2011-08-07 Thread Kiall Mac Innes
Yes - Gerrit is what Typo3, CyanogenMod, OpenStack and of course, Android are using... The OpenStack guys have a good introduction on how to use Gerrit from a developers point of view - http://wiki.openstack.org/GerritWorkflow The CyanogenMod guys have a good introduction on how to use Gerrit AND

Re: [PHP-DEV] [RFC] Choosing a distributed version control system for PHP (or not). Call for Participation.

2011-08-07 Thread Kiall Mac Innes
Hi David, Think I may have spotted a mistake in the RFC: Decentralized version control system have some drawbacks: *... Snip .. * no svn:externals, no svn:eol-style Later on in the doc, you go into detail about submodules, and CRLF -> LF support in both Git and Hg. Thanks, Kiall On Sun,

Re: [PHP-DEV] CLI: input password without showing it

2011-07-23 Thread Kiall Mac Innes
Check the password method here: https://github.com/kohana-minion/core/blob/develop/classes/minion/cli.php It should do what you want on windows+linux.. Kiall On Sat, Jul 23, 2011 at 8:07 PM, Reindl Harald wrote: > hi > > is there any way to request a password from a user without > showing the

Re: [PHP-DEV] Built-in web server routing script and static assets

2011-07-11 Thread Kiall Mac Innes
control ignore list and won't get checked in as part of the project. > > To me, that is as many lines of Apache rewrite that one would have had and > it is as feature complete as Apache rewrite. > > -ralph > > > > On 7/11/11 6:46 AM, Kiall Mac Innes wrote: > >

[PHP-DEV] Built-in web server routing script and static assets

2011-07-11 Thread Kiall Mac Innes
Hiya, I've been playing with the built-in server, and have some concerns over how static assets are handled. Currently, to run an application on the built-in server, we essentially need to list out all the static assets that should be served directly from disk. This is the opposite of what I beli

Re: [PHP-DEV] Big patch for FPM (config and initialization)

2011-07-03 Thread Kiall Mac Innes
FPM is still new, and only just getting the experimental flag removed, now is the only time to make any BC breaking cosmitic changes that will lead to less confusion in the long run.. That said - I'm not sure about the diagnostics group name.. Maybe allow for both the old and new naming on 5.4 an

Re: [PHP-DEV] FR #54098 -> default FPM values for processes

2011-07-02 Thread Kiall Mac Innes
I tend to agree. A working out of the box configuration is no harder for sysadmins needing to change it, and easier for developers to just install and run.. Kiall On Jul 2, 2011 7:00 p.m., "Rasmus Lerdorf" wrote: > > Why not just set it low as he suggested? That's what Apache and most web > serv