# Add a constant to reflect --with-curlwrappers

- Thread: https://externals.io/message/66871
- Original archive: https://news-web.php.net/php.internals/66871
- Started by Laruence on 2013-03-31T13:25:51+00:00
- Messages: 57
- Page 1 of 3: messages 1 to 25 (25 per page, add `?page=N` to the URL)
- Next page: https://externals.io/message/66871.md?page=2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · RFCs at https://externals.io/rfc.md · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #66871 — Laruence — 2013-03-31T13:25:51+00:00

URL: https://externals.io/message/66871#66871

Hey:

   there are some issues when people run some codes in a php which is
compiled with --with-curlwrappers, like #61336, or the recently test script
for #64433 (failed when curl wrappers enabled).

   I know, that the curl wrapper should act the same as php http wrapper,
but for now, we need to provide the ability to user, that they can warn if
they codes can not run with curl wrappers..

   here are some really usages:
https://github.com/UnionOfRAD/lithium/issues/59  and
http://weizhifeng.net/wrong-with-curlwrappers.html

   I propose to add a constant : bool CURL_WRAPPERS_ENABLE

   or, any other better name...

   objections?

thanks
-- 
Laruence  Xinchen Hui
http://www.laruence.com/

---

## #66877 — Hannes Magnusson — 2013-03-31T23:18:52+00:00

URL: https://externals.io/message/66871#66877 · In reply to: #66871

> Hey:
>
>    there are some issues when people run some codes in a php which is
> compiled with --with-curlwrappers, like #61336, or the recently test script
> for #64433 (failed when curl wrappers enabled).
>
>    I know, that the curl wrapper should act the same as php http wrapper,
> but for now, we need to provide the ability to user, that they can warn if
> they codes can not run with curl wrappers..
>
>    here are some really usages:
> https://github.com/UnionOfRAD/lithium/issues/59  and
> http://weizhifeng.net/wrong-with-curlwrappers.html
>
>    I propose to add a constant : bool CURL_WRAPPERS_ENABLE

The curl wrappers have always been a major pain, with plenty of bugs
and we tend to forget to add context options there to match the
standard wrapper on new feature.

It has been marked as experimental since forever, and I think its time
to face the failed experiment and remove it.

-Hannes

---

## #66878 — Madara Uchiha — 2013-04-01T08:17:28+00:00

URL: https://externals.io/message/66871#66878 · In reply to: #66877

I actually agree with that. I've reached a point when I consider using
fsockopen instead of curl to fetch information from a website. I can
hardly stand cURL.

There should be a decent OOP based wrapper for making HTTP requests to
handle it decently. Meanwhile, I agree that cURL needs to go.

On Mon, Apr 1, 2013 at 2:18 AM, Hannes Magnusson
<hannes.magnusson@gmail.com> wrote:
> 
> > […]
>
> The curl wrappers have always been a major pain, with plenty of bugs
> and we tend to forget to add context options there to match the
> standard wrapper on new feature.
>
> It has been marked as experimental since forever, and I think its time
> to face the failed experiment and remove it.
>
> -Hannes

---

## #66879 — Pierre Joye — 2013-04-01T08:21:31+00:00

URL: https://externals.io/message/66871#66879 · In reply to: #66878

> I actually agree with that. I've reached a point when I consider using
> fsockopen instead of curl to fetch information from a website. I can
> hardly stand cURL.

Curl stream wrappers and ext/curl are two different things. ext/curl
APIs is quite clean and much easier to use than sockets when it comes
to deal with http or other internet related protocols (yes, it
supports ssh2, ftp(s), even imap). What is discussed here is the curl
usage to replace PHP's stream implementation.


Cheers,
--
Pierre

@pierrejoye

---

## #66880 — Jordi Boggiano — 2013-04-01T09:33:51+00:00

URL: https://externals.io/message/66871#66880 · In reply to: #66877

> > […]

+1 on a constant if it has to stay. We had to do pretty ugly stuff to
detect it in the composer installer
https://github.com/composer/getcomposer.org/blob/master/web/installer#L135-148

> The curl wrappers have always been a major pain, with plenty of bugs
> and we tend to forget to add context options there to match the
> standard wrapper on new feature.
> 
> It has been marked as experimental since forever, and I think its time
> to face the failed experiment and remove it.

+2 for just removing it. In my experience most/all people using it just
do so by accident, because they copy pasted a configure line that had it
enabled from somewhere 5 years ago and never looked back.

Cheers

-- 
Jordi Boggiano
@seldaek - http://nelm.io/jordi

---

## #66881 — Laruence — 2013-04-01T13:53:46+00:00

URL: https://externals.io/message/66871#66881 · In reply to: #66877

On Mon, Apr 1, 2013 at 7:18 AM, Hannes Magnusson <hannes.magnusson@gmail.com
> wrote:

> 
> > […]
> script
> > […]
> if
> > […]
>
> The curl wrappers have always been a major pain, with plenty of bugs
> and we tend to forget to add context options there to match the
> standard wrapper on new feature.
>
> It has been marked as experimental since forever, and I think its time
> to face the failed experiment and remove it.
>

Hey:

 remove is also okey for me,  but, I think it probably can only happen in
5.6

 before that,  I think a flag to 5.4+ is a good choice :)

 thanks

>
> -Hannes
>



-- 
Laruence  Xinchen Hui
http://www.laruence.com/

---

## #66894 — Laruence — 2013-04-03T02:19:16+00:00

URL: https://externals.io/message/66871#66894 · In reply to: #66881

Added new constant CURL_WRAPPERS_ENABLE  in (include 5.4)
https://github.com/php/php-src/commit/d7f709a032a40cb475042b43db07a4698a2488b7

thanks




>
>
>
> On Mon, Apr 1, 2013 at 7:18 AM, Hannes Magnusson <
> hannes.magnusson@gmail.com> wrote:
>
> > […]
>
> Hey:
>
>  remove is also okey for me,  but, I think it probably can only happen in
> 5.6
>
>  before that,  I think a flag to 5.4+ is a good choice :)
>
>  thanks
>
> > […]
>
>
>
> --
> Laruence  Xinchen Hui
> http://www.laruence.com/
>



-- 
Laruence  Xinchen Hui
http://www.laruence.com/

---

## #66898 — Hannes Magnusson — 2013-04-03T05:56:32+00:00

URL: https://externals.io/message/66871#66898 · In reply to: #66894

Wait wait wait. You are introducing a constant that is going to be
available as of 5.4.15 to 5.4.2x and then removed (as it looks like we
are agreeing)?

People have been living without this constant forever now so people
have their workarounds in place and no need to complicate their code
to for the existence of this constant which is only available for few
bugfix releases anyway?

-Hannes


> Added new constant CURL_WRAPPERS_ENABLE  in (include 5.4)
> https://github.com/php/php-src/commit/d7f709a032a40cb475042b43db07a4698a2488b7
>
> thanks
>
>
> 
> > […]
>
>
>
>
> --
> Laruence  Xinchen Hui
> http://www.laruence.com/

---

## #66899 — Xinchen Hui — 2013-04-03T06:10:21+00:00

URL: https://externals.io/message/66871#66899 · In reply to: #66898

发自我的 iPhone

在 2013-4-3，13:56，Hannes Magnusson <hannes.magnusson@gmail.com> 写道：

> Wait wait wait. You are introducing a constant that is going to be
> available as of 5.4.15 to 5.4.2x and then removed (as it looks like we
> are agreeing)?
how could that be?  This constant will in the final release of 5.5.0.

Thanks
>
> People have been living without this constant forever now so people
> have their workarounds in place and no need to complicate their code
> to for the existence of this constant which is only available for few
> bugfix releases anyway?
>
> -Hannes
>
> 
> > […]

---

## #66900 — Ferenc Kovacs — 2013-04-03T06:31:30+00:00

URL: https://externals.io/message/66871#66900 · In reply to: #66899

> 发自我的 iPhone
>
> 在 2013-4-3，13:56，Hannes Magnusson <hannes.magnusson@gmail.com> 写道：
>
> > […]
> how could that be?  This constant will in the final release of 5.5.0.
>
> Thanks


What Hannes wanted to say that we seem to agree that this experimental
feature was a failure and it should be removed.
If we only remove this in 5.6 then I agree that adding the constant
is worthwhile, but if we would remove it with 5.5.0, then I'm not that
sure, as people already has their workarounds.

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

---

## #66902 — Kalle Sommer Nielsen — 2013-04-03T07:31:38+00:00

URL: https://externals.io/message/66871#66902 · In reply to: #66871

Hi Laruence

2013/3/31 Laruence <laruence@php.net>
>    I propose to add a constant : bool CURL_WRAPPERS_ENABLE
>
>    or, any other better name...
>
>    objections?

I'm a -1 on this, because as we sort of agreed on (like Hannes
implied), this experimental feature did not turn out as we wanted, its
buggy and nobody maintains it. Currently to figure out if PHP was
built with curlwrappers, theres this dirty hack by printing the
 `phpinfo()` page into an output buffer, to parse it for the build
string, this sucks.

However, since this is an experimental feature, we should either:
1) Make it work (most unlikely)
2) Remove it

Instead of adding tiny hacks to make it easier (I know a constant wont
hurt much). Cross version code is also gonna end up with even more
clutter, imagine this (if you want to utilize this new constant, which
is the idea right?):

$curlwrappers = false;

if(defined('CURL_WRAPPERS_ENABLED')) {
 $curlwrappers = true;
} else {
 `ob_start()`;
 phpinfo(INFO_GENERAL);

 if(strpos('with-curlwrappers', `ob_get_clean()`) !== false) {
  $curlwrappers = true;
 }
}

What I'm saying is (like Hannes), adding a constant thats only gonna
be available for one minor version, is not worth it, we lived years
without it and we can live a little longer until it finally dies.



Also, seeing you already added the constant, it should be named
CURL_WRAPPERS_ENABLED, not ENABLE because it implies that its an
option used in a write context, where this constant is purely meant to
be used in a read context.



--
regards,

Kalle Sommer Nielsen
kalle@php.net

---

## #66903 — Hannes Magnusson — 2013-04-03T07:40:52+00:00

URL: https://externals.io/message/66871#66903 · In reply to: #66902

> Hi Laruence
>
> 2013/3/31 Laruence <laruence@php.net>
> > […]
>
> I'm a -1 on this, because as we sort of agreed on (like Hannes
> implied), this experimental feature did not turn out as we wanted, its
> buggy and nobody maintains it. Currently to figure out if PHP was
> built with curlwrappers, theres this dirty hack by printing the
> `phpinfo()` page into an output buffer, to parse it for the build
> string, this sucks.
>
> However, since this is an experimental feature, we should either:
> 1) Make it work (most unlikely)
> 2) Remove it
>
> Instead of adding tiny hacks to make it easier (I know a constant wont
> hurt much). Cross version code is also gonna end up with even more
> clutter, imagine this (if you want to utilize this new constant, which
> is the idea right?):
>
> $curlwrappers = false;
>
> if(defined('CURL_WRAPPERS_ENABLED')) {
>  $curlwrappers = true;



You'll actually have to assign the value of CURL_WRAPPERS_ENABLED to
$curlwrappers, as `defined()` only checks if the constant exist.. not if
its set to true :)

-Hannes

---

## #66904 — Kalle Sommer Nielsen — 2013-04-03T07:46:32+00:00

URL: https://externals.io/message/66871#66904 · In reply to: #66903

2013/4/3 Hannes Magnusson <hannes.magnusson@gmail.com>:
> You'll actually have to assign the value of CURL_WRAPPERS_ENABLED to
> $curlwrappers, as `defined()` only checks if the constant exist.. not if
> its set to true :)


well, s/defined('CURL_WRAPPERS_ENABLED')/defined('CURL_WRAPPERS_ENABLED')
&& CURL_WRAPPERS_ENABLED/

Doesn't make it prettier (either way) =)



-- 
regards,

Kalle Sommer Nielsen
kalle@php.net

---

## #66906 — Stas Malyshev — 2013-04-03T08:22:26+00:00

URL: https://externals.io/message/66871#66906 · In reply to: #66894

Hi!

> Added new constant CURL_WRAPPERS_ENABLE  in (include 5.4)
> https://github.com/php/php-src/commit/d7f709a032a40cb475042b43db07a4698a2488b7

I must say the process of how it was done was not very good. Not only
there were no substantial discussion on adding this new thing in stable
version before the commit, the time between message announcing it and
asking if there are any objections and the commit was barely a day. It's
not enough time at all to solicit feedback, and this change is not
really something urgent that needs to be committed ASAP. And it turns
out, there *are* objections. Could we be a little less quick with
commits into a stable version and give it some time when we're talking
about new things and not bugfixes?

Thanks,
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

---

## #66907 — Laruence — 2013-04-03T08:37:47+00:00

URL: https://externals.io/message/66871#66907 · In reply to: #66906

On Wed, Apr 3, 2013 at 4:22 PM, Stas Malyshev <smalyshev@sugarcrm.com>wrote:

> Hi!
>
> > […]
> https://github.com/php/php-src/commit/d7f709a032a40cb475042b43db07a4698a2488b7
>
> I must say the process of how it was done was not very good. Not only
> there were no substantial discussion on adding this new thing in stable
> version before the commit, the time between message announcing it and
> asking if there are any objections and the commit was barely a day. It's
> not enough time at all to solicit feedback, and this change is not
> really something urgent that needs to be committed ASAP. And it turns
> out, there *are* objections. Could we be a little less quick with
> commits into a stable version and give it some time when we're talking
> about new things and not bugfixes?
>
Hey:
    I have to say,  the objections only shows up after it happens..

    but yes,  I am a little rush at this commit, that is because, you can
see, the test script in ext/standard/tests/stream is depends on a ugly
trick to skip . it make me very uncomfortable.

    I send the mail the day before yesterday,  and it's really not a big
change (add a constant),  then no new feedback in a day,  I think it's okey
to commit.

    however, you are right, it's not a long time, so if objections becomes
strong,  I can revert it.

thanks

>
> Thanks,
> --
> Stanislav Malyshev, Software Architect
> SugarCRM: http://www.sugarcrm.com/
> (408)454-6900 ext. 227
>



-- 
Laruence  Xinchen Hui
http://www.laruence.com/

---

## #66908 — Pierre Joye — 2013-04-03T08:41:01+00:00

URL: https://externals.io/message/66871#66908 · In reply to: #66906

> Hi!
>
> > […]
>
> I must say the process of how it was done was not very good. Not only
> there were no substantial discussion on adding this new thing in stable
> version before the commit, the time between message announcing it and
> asking if there are any objections and the commit was barely a day. It's
> not enough time at all to solicit feedback, and this change is not
> really something urgent that needs to be committed ASAP. And it turns
> out, there *are* objections. Could we be a little less quick with
> commits into a stable version and give it some time when we're talking
> about new things and not bugfixes?

I'd to agree. I was surprised to see a commit this morning.

Cheers,
--
Pierre

@pierrejoye

---

## #66913 — Ferenc Kovacs — 2013-04-03T12:42:46+00:00

URL: https://externals.io/message/66871#66913 · In reply to: #66907

> On Wed, Apr 3, 2013 at 4:22 PM, Stas Malyshev <smalyshev@sugarcrm.com
> > […]
>
> > […]
> https://github.com/php/php-src/commit/d7f709a032a40cb475042b43db07a4698a2488b7
> > […]
> Hey:
>     I have to say,  the objections only shows up after it happens


this happens more frequently if you don't give a chance to the people to
explain their problems before pushing the proposed changes.
this weekend and the monday was a national holiday for many
countries(Easter) so that was really bad timing.


>
>     but yes,  I am a little rush at this commit, that is because, you can
> see, the test script in ext/standard/tests/stream is depends on a ugly
> trick to skip . it make me very uncomfortable.
>

yeah, and that is what everybody else out there has to live with, so
nothing really changed apart the fact that you also bumped to the issue.
I'm not saying that the situation is ideal, but pushing changes to stable
(5.4) or feature frozen (5.5) branches without using the RFC system and
waiting for the feedback from the RMs is a bad thing to do.
We also have a couple of tests with even more uglier checks (see
http://git.php.net/?p=php-src.git;a=blob_plain;f=Zend/tests/bug55509.phpt;hb=HEAD
for
example), so I don't find that reason that convincing to throw our
processes out of the window.


>
>     I send the mail the day before yesterday,  and it's really not a big
> change (add a constant),  then no new feedback in a day,  I think it's okey
> to commit.
>

there were feedback from multiple people that it would be better to remove
the whole thing.
which you replied that it would be ok with you, then pushed your change.


>
>     however, you are right, it's not a long time, so if objections becomes
> strong,  I can revert it.
>

this is exactly the kind of behavior why we changed from the commit first
then revert when people complaining to the current approach, where we try
to reach a concensus (via discussion on the mailing list or voting through
RFCs) before introducing a change.
the difference between the old and the current approach is that it switches
the burden of proof: instead of forcing others to prove that one's already
commited change is bad and should be reverted, the author has the burden
that his/her change is good enough to get in.
another recent example of the problem with the old approach was the
discussion about DateTimeImmutable: the majority agreed that it was a bad
decision to ship that as-is, but nobody dared to revert it.
hopefully Derick defused that situation, props for that.

ps: if we end up keeping the constant, please rename it to
CURL_WRAPPERS_ENABLED,
Kalle summed up pretty well the reasons.

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

---

## #66914 — Xinchen Hui — 2013-04-03T12:51:04+00:00

URL: https://externals.io/message/66871#66914 · In reply to: #66913

发自我的 iPhone

在 2013-4-3，20:42，Ferenc Kovacs <tyra3l@gmail.com> 写道：






> On Wed, Apr 3, 2013 at 4:22 PM, Stas Malyshev <smalyshev@sugarcrm.com
> > […]
>
> > […]
> https://github.com/php/php-src/commit/d7f709a032a40cb475042b43db07a4698a2488b7
> > […]
> Hey:
>     I have to say,  the objections only shows up after it happens


this happens more frequently if you don't give a chance to the people to
explain their problems before pushing the proposed changes.
this weekend and the monday was a national holiday for many
countries(Easter) so that was really bad timing.


>
>     but yes,  I am a little rush at this commit, that is because, you can
> see, the test script in ext/standard/tests/stream is depends on a ugly
> trick to skip . it make me very uncomfortable.
>

yeah, and that is what everybody else out there has to live with, so
nothing really changed apart the fact that you also bumped to the issue.
I'm not saying that the situation is ideal, but pushing changes to stable
(5.4) or feature frozen (5.5) branches without using the RFC system and
waiting for the feedback from the RMs is a bad thing to do.
We also have a couple of tests with even more uglier checks (see
http://git.php.net/?p=php-src.git;a=blob_plain;f=Zend/tests/bug55509.phpt;hb=HEAD
for
example), so I don't find that reason that convincing to throw our
processes out of the window.


>
>     I send the mail the day before yesterday,  and it's really not a big
> change (add a constant),  then no new feedback in a day,  I think it's okey
> to commit.
>

there were feedback from multiple people that it would be better to remove
the whole thing.
which you replied that it would be ok with you, then pushed your change.


>
>     however, you are right, it's not a long time, so if objections becomes
> strong,  I can revert it.
>

this is exactly the kind of behavior why we changed from the commit first
then revert when people complaining to the current approach, where we try
to reach a concensus (via discussion on the mailing list or voting through
RFCs) before introducing a change.
the difference between the old and the current approach is that it switches
the burden of proof: instead of forcing others to prove that one's already
commited change is bad and should be reverted, the author has the burden
that his/her change is good enough to get in.
another recent example of the problem with the old approach was the
discussion about DateTimeImmutable: the majority agreed that it was a bad
decision to ship that as-is, but nobody dared to revert it.
hopefully Derick defused that situation, props for that.

are we talking about add a constant only?

I always very respect the dev process flow,

In this case, one of important reason is : I proposed add a constant , a
tiny change, and IMO doenst worth of a RFC.

Thanks


ps: if we end up keeping the constant, please rename it to
CURL_WRAPPERS_ENABLED,
Kalle summed up pretty well the reasons.

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

---

## #66916 — Kalle Sommer Nielsen — 2013-04-03T14:42:47+00:00

URL: https://externals.io/message/66871#66916 · In reply to: #66907

2013/4/3 Laruence <laruence@php.net>:
> On Wed, Apr 3, 2013 at 4:22 PM, Stas Malyshev <smalyshev@sugarcrm.com>wrote:
>
> > […]
> Hey:
>     I have to say,  the objections only shows up after it happens..
>
>     but yes,  I am a little rush at this commit, that is because, you can
> see, the test script in ext/standard/tests/stream is depends on a ugly
> trick to skip . it make me very uncomfortable.
>
>     I send the mail the day before yesterday,  and it's really not a big
> change (add a constant),  then no new feedback in a day,  I think it's okey
> to commit.
>
>     however, you are right, it's not a long time, so if objections becomes
> strong,  I can revert it.

I think my argument against adding the constant is at least just as
strong as adding it. I agree we shouldn't go RFC/vote etc, over one
single constant but I think we can all agree on the fact that we
shouldn't try to add hacks to fix usage of an experimental feature
(which is essentially what this constant is).

We need more consistency, than inconsistencies.

-- 
regards,

Kalle Sommer Nielsen
kalle@php.net

---

## #66917 — Laruence — 2013-04-03T14:51:14+00:00

URL: https://externals.io/message/66871#66917 · In reply to: #66916

> 2013/4/3 Laruence <laruence@php.net>:
> > […]
> https://github.com/php/php-src/commit/d7f709a032a40cb475042b43db07a4698a2488b7
> > […]
> okey
> > […]
> becomes
> > […]
>
> I think my argument against adding the constant is at least just as
> strong as adding it. I agree we shouldn't go RFC/vote etc, over one
> single constant but I think we can all agree on the fact that we
> shouldn't try to add hacks to fix usage of an experimental feature
> (which is essentially what this constant is).
>
Hey:
   but as you see,  many people was entrapped by the experimental feature,
and whether the experimental is there is out of their hands.

   I,  from a user aspect,  I need to know whether my project can run in
the host environment. if not,  I can warn the user to re-configure it. this
is very important.

   now, the hack way ,  as you can see,  to check if the
--with-curlwrappers exists in `phpinfo()`,  doesn't work very well,  if the
curl extension is built as shared and separated.

  I don't think adding this flag is a hack way,  it's just to reflect some
features, like if (class_exists(PDO)), or like (if `PHP_VERSION` == 5.4)...


  thanks



>
> We need more consistency, than inconsistencies.
>
> --
> regards,
>
> Kalle Sommer Nielsen
> kalle@php.net
>



-- 
Laruence  Xinchen Hui
http://www.laruence.com/

---

## #66923 — Kalle Sommer Nielsen — 2013-04-03T19:10:18+00:00

URL: https://externals.io/message/66871#66923 · In reply to: #66917

Hi

2013/4/3 Laruence <laruence@php.net>:
> Hey:
>    but as you see,  many people was entrapped by the experimental feature,
> and whether the experimental is there is out of their hands.
>
>    I,  from a user aspect,  I need to know whether my project can run in the
> host environment. if not,  I can warn the user to re-configure it. this is
> very important.
>
>    now, the hack way ,  as you can see,  to check if the --with-curlwrappers
> exists in `phpinfo()`,  doesn't work very well,  if the curl extension is
> built as shared and separated.
>
>   I don't think adding this flag is a hack way,  it's just to reflect some
> features, like if (class_exists(PDO)), or like (if `PHP_VERSION` == 5.4)...

I see your point, but I think if we start adding "features" to an
experimental feature is a bad idea, it becomes a concern when people
start to rely on experimental features.

I don't think it will be a huge concern for the RMs (cc'd) of 5.5 to
consider removing curlwrappers, then we are done with that once and
for all and we don't even need to add the constant as it would be odd
that just a few versions of 5.4.x would have it.



-- 
regards,

Kalle Sommer Nielsen
kalle@php.net

---

## #66927 — Hannes Magnusson — 2013-04-03T20:42:16+00:00

URL: https://externals.io/message/66871#66927 · In reply to: #66913

> 
>

> > […]
>
> this is exactly the kind of behavior why we changed from the commit first
> then revert when people complaining to the current approach, where we try
> to reach a concensus (via discussion on the mailing list or voting through
> RFCs) before introducing a change.


I've gotta say, even though I disagree with the commit, writing an RFC
for a new constant is a total WTF.
There is absolutely no need for a RFC for it.
Heck, even that initial curtesy mail was more then I would have expected.



-Hannes

---

## #66928 — Stas Malyshev — 2013-04-03T21:00:40+00:00

URL: https://externals.io/message/66871#66928 · In reply to: #66927

Hi!

> There is absolutely no need for a RFC for it.
> Heck, even that initial curtesy mail was more then I would have expected.

Agree, no need for full scale RFC for one constant. However, sending an
email to the list and actually waiting for feedback is exactly what I
would expect, especially dealing with stable version and feature that it
is not exactly clear what's going on with it. We're not talking about
writing RFCs for every minor change, we're talking about teamwork and
have members of the team be aware of the change and have time to discuss
it if needed. Nothing bad would happen if the same commit would land a
week later, after everybody is behind it and every detail is hashed out
(or not if turns out it is out of consensus). The point here is not to
impede work but to support teamwork.
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

---

## #66930 — Hannes Magnusson — 2013-04-03T21:37:28+00:00

URL: https://externals.io/message/66871#66930 · In reply to: #66928

> Hi!
>
> > […]
>
> Agree, no need for full scale RFC for one constant. However, sending an
> email to the list and actually waiting for feedback is exactly what I
> would expect, especially dealing with stable version and feature that it
> is not exactly clear what's going on with it. We're not talking about
> writing RFCs for every minor change, we're talking about teamwork and
> have members of the team be aware of the change and have time to discuss
> it if needed. Nothing bad would happen if the same commit would land a
> week later, after everybody is behind it and every detail is hashed out
> (or not if turns out it is out of consensus). The point here is not to
> impede work but to support teamwork.


There is a thin line between impeding work and team work for such a
trivial change.
This constant is actually really useful.
The entire feature is however unfortunately broken, but had it been in
a working shape then common. Really? Send an email and wait a week
before being able to write a testcase?

Anyway. Lets move on.
I suspect removing an experimental feature in an extension that is
disabled by default and requires external library still requires an
RFC?
And according to the current rules of the game it cannot be removed in
5.5.1, but has to be removed in 5.6.0?

-Hannes

---

## #66932 — Ferenc Kovacs — 2013-04-04T03:40:37+00:00

URL: https://externals.io/message/66871#66932 · In reply to: #66927

On Wed, Apr 3, 2013 at 10:42 PM, Hannes Magnusson <
hannes.magnusson@gmail.com> wrote:

> 
> > […]
>
> > […]
> becomes
> > […]
> through
> > […]
>
>
> I've gotta say, even though I disagree with the commit, writing an RFC
> for a new constant is a total WTF.
> There is absolutely no need for a RFC for it.
> Heck, even that initial curtesy mail was more then I would have expected.
>
>
>
> -Hannes
>

I agree that not every small change requires an RFC (albeit a small change
for one can seem a huge change for another) and I think that this is what I
wrote originally.
I'm glad that Laruence sent the original mail, I just wish that he would
have waited another day or two before the commit.
My reply was meant to address why it is a bad idea to shrug off the
concerns and say that we can revert it later if the complains doesn't stop.

-- 
Ferenc Kovács
@Tyr43l - http://tyrael.hu

---

Next page: https://externals.io/message/66871.md?page=2
