# operator-0.3 extension update

- Thread: https://externals.io/message/65681
- Original archive: https://news-web.php.net/php.internals/65681
- Started by Gabriel Wu on 2013-02-05T20:43:40+00:00
- Messages: 13
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #65681 — Gabriel Wu — 2013-02-05T20:43:40+00:00

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

Hi, thank you for pointing me in this direction. The opengrok program
is awesome! And I managed to update the operator-0.3 extension to work
with php 5.3 (will be working on making it compatible with 5.4 next).
I was wondering whether (where) I should submit the code so that the
package can be updated, and whether there are issues with supporting
operator overloading that make it something that you will not want to
support too much.

Best regards,
Gabriel


>
>
>
> 
> > […]
>
> Hi,
>
> we have a bunch of information/docs/examples here and there, check out the
> links at http://pecl.php.net/support.php#resources and using
> http://lxr.php.net/ is also helps a lot for wading through the php
> sourcecode.
>
> --
> Ferenc Kovács
> @Tyr43l - http://tyrael.hu

---

## #65683 — Sara Golemon — 2013-02-05T22:36:28+00:00

URL: https://externals.io/message/65681#65683 · In reply to: #65681

Have you you got a php.net svn account?  If so, go ahead and push the
fixes yourself, if not: Get access and go for it.

As to support, everything in PECL is supported precisely as much as
community members are willing to keep it up to date with patches and
fixes. :)

-Sara


> Hi, thank you for pointing me in this direction. The opengrok program
> is awesome! And I managed to update the operator-0.3 extension to work
> with php 5.3 (will be working on making it compatible with 5.4 next).
> I was wondering whether (where) I should submit the code so that the
> package can be updated, and whether there are issues with supporting
> operator overloading that make it something that you will not want to
> support too much.
>
> Best regards,
> Gabriel
>
> 
> > […]

---

## #65685 — Gabriel Wu — 2013-02-06T09:51:13+00:00

URL: https://externals.io/message/65681#65685 · In reply to: #65683

Hi Sara,

Good to hear from you! I have just submitted a pecl account request
listing you as the sponsor.

I'll be figuring out how to go about submitting the packages, etc, but
I'll need the account first.

Thanks for your advice!
Gabriel


> Have you you got a php.net svn account?  If so, go ahead and push the
> fixes yourself, if not: Get access and go for it.
>
> As to support, everything in PECL is supported precisely as much as
> community members are willing to keep it up to date with patches and
> fixes. :)
>
> -Sara
>
> 
> > […]

---

## #65686 — Ferenc Kovacs — 2013-02-06T10:22:55+00:00

URL: https://externals.io/message/65681#65686 · In reply to: #65685

> Hi Sara,
>
> Good to hear from you! I have just submitted a pecl account request
> listing you as the sponsor.
>
> I'll be figuring out how to go about submitting the packages, etc, but
> I'll need the account first.
>
> Thanks for your advice!
> Gabriel
>
>
Hi,

I've approved your pecl account request and assigned you to the package,
but it seems that you didn't requested a php.net account.
Which is fine, if you want to host the code externally(github, bitbucket,
etc.) and only upload there releases on pecl.php.net, but if you want to
host the code on svn.php.net or git.php.net, you should also request a
php.net account (http://php.net/git-php.php).

ps: we prefer top posting on the php.net mailing lists, see
http://www.php.net/reST/README.MAILINGLIST_RULES for the rules.

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

---

## #65687 — Ferenc Kovacs — 2013-02-06T10:33:50+00:00

URL: https://externals.io/message/65681#65687

On Wed, Feb 6, 2013 at 11:30 AM, Christian Stoller <stoller@leonex.de>wrote:

> > […]
>
> Did you intend to say "bottom posting"? ;-)
>
> Christian
>

yeah, I just re-worded that sentence and screwed up, sorry
so to clarify: we prefer bottom or inline posting instead of top posting on
this list.

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

---

## #65689 — Gabriel Wu — 2013-02-06T11:22:58+00:00

URL: https://externals.io/message/65681#65689 · In reply to: #65686

> if you want to host the code externally(github, bitbucket,
> etc.) and only upload there releases on pecl.php.net, but if you want to
> host the code on svn.php.net or git.php.net, you should also request a
> php.net account (http://php.net/git-php.php).
>
> ps: we prefer top posting on the php.net mailing lists, see
> http://www.php.net/reST/README.MAILINGLIST_RULES for the rules.
>

Sorry about the top posting thing... it took me a while to figure out
what it meant, and for a moment I was worried that I had posted to the
wrong newsgroup.

I am requesting for a git-php account, sending the request to the 'PHP
Group', and mentioning you (Ferenc Kovács) as sponsor.

Best regards,
Gabriel

---

## #65690 — Ferenc Kovacs — 2013-02-06T11:28:57+00:00

URL: https://externals.io/message/65681#65690 · In reply to: #65689

> 
> > […]
>
> Sorry about the top posting thing... it took me a while to figure out
> what it meant, and for a moment I was worried that I had posted to the
> wrong newsgroup.
>
> I am requesting for a git-php account, sending the request to the 'PHP
> Group', and mentioning you (Ferenc Kovács) as sponsor.
>
> Best regards,
> Gabriel
>

I think mentioning Sara as a sponsor would weight in more than myself. ;)

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

---

## #65693 — Gabriel Wu — 2013-02-06T13:14:35+00:00

URL: https://externals.io/message/65681#65693 · In reply to: #65690

>
> I think mentioning Sara as a sponsor would weight in more than myself. ;)
>
>

Oh, you aren't the one approving the application?

Anyway I was wondering how to go about submitting the update - are
there any howto's on creating the pear package that I should upload on
http://pecl.php.net/release-upload.php?

Also, how are compatibility with different php versions incorporated?
Do users download the appropriate extension version? or is there an
automatic way of detecting the version that I should incorporate into
the script?

Regardless, I can upload the two updates first, one compatible with
php5.3 and another with php5.4 (calling them operator-0.4 and
operator-0.5?), and I will learn up these intricacies on the go. Also,
please feel free to correct my coding convention. I will comment on
the parts of the code that I have changed, so people can review and
see if it is sound.

Many thanks for your help!
Gabriel

---

## #65694 — Pierre Joye — 2013-02-06T14:09:18+00:00

URL: https://externals.io/message/65681#65694 · In reply to: #65693

hi,


> 
> > […]
>
> Oh, you aren't the one approving the application?

Many do that.

> Anyway I was wondering how to go about submitting the update - are
> there any howto's on creating the pear package that I should upload on
> http://pecl.php.net/release-upload.php?

See the pear documentation and the existing extensions in pecl, you
only need to update the package.xml information (changelog, lead devs,
etc.) and run "pecl package package.xml" from the src directory.

> Also, how are compatibility with different php versions incorporated?

You deal with it using #ifdef in one tree. See the other extensions as
well for example.


> Regardless, I can upload the two updates first, one compatible with
> php5.3 and another with php5.4 (calling them operator-0.4 and
> operator-0.5?),

Please do it all in one release only unless you plan to drop support
for one a given version :)

Cheers,
--
Pierre

@pierrejoye

---

## #65710 — Harald Lapp — 2013-02-07T10:15:15+00:00

URL: https://externals.io/message/65681#65710 · In reply to: #65693

Am 06.02.13 14:14, schrieb Gabriel Wu:
> 
> > […]
>
> Oh, you aren't the one approving the application?
>
> Anyway I was wondering how to go about submitting the update - are
> there any howto's on creating the pear package that I should upload on
> http://pecl.php.net/release-upload.php?

hi,

great, that someone is updating this extension. will you also offer an 
updated version for php-5.5 later (if it does not already work)? i just 
wanted to give it a try, but there seems to be a problem with the 
uploaded package: it seems to only contain the "package.xml"?

greetings,
harald

---

## #65711 — Michael Wallner — 2013-02-07T10:40:05+00:00

URL: https://externals.io/message/65681#65711 · In reply to: #65710

> great, that someone is updating this extension. will you also offer an
> updated version for php-5.5 later (if it does not already work)? i just
> wanted to give it a try, but there seems to be a problem with the uploaded
> package: it seems to only contain the "package.xml"?

% tar -i


-- 
Regards,
Mike

---

## #65712 — Harald Lapp — 2013-02-07T11:03:18+00:00

URL: https://externals.io/message/65681#65712 · In reply to: #65711

Am 07.02.13 11:40, schrieb Michael Wallner:
> > […]
>
> % tar -i
>

i feel really stupid, but i am unable to extract this archive on my 
system (mac). neither with bsdtar nor with gnutar. i've not had such 
issue with any other archive ever downloaded from php.net before.

---

## #65717 — Gabriel Wu — 2013-02-07T13:18:56+00:00

URL: https://externals.io/message/65681#65717 · In reply to: #65712

> Am 07.02.13 11:40, schrieb Michael Wallner:
>
> > […]
>
> i feel really stupid, but i am unable to extract this archive on my system
> (mac). neither with bsdtar nor with gnutar. i've not had such issue with any
> other archive ever downloaded from php.net before.
>
>
>
>
> --
> 
> 
>

Hi Micheal,

I have uploaded a new tarball which hopefully contains the src files.
I had problems previously with a bug on the pecl package system, which
I thought I sorted out, but apparently not. I will test it on php-5.5
on my own sometime, but please let me know of the outcome of your
tests!

Best regards,
Gabriel
