# NEWS handling

- Thread: https://externals.io/message/69516
- Original archive: https://news-web.php.net/php.internals/69516
- Started by Michael Wallner on 2013-10-08T13:46:04+00:00
- Messages: 9
- 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

---

## #69516 — Michael Wallner — 2013-10-08T13:46:04+00:00

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

Hi,

I was wondering how we are supposed to handle NEWS entries when a fix
goes into both branches, PHP-5.4 and 5.5. IIRC we used to add the BFN
only to the lowest numbered branch, but then again that was at times
we had mostly onle one stable release branch...

-- 
Regards,
Mike

---

## #69517 — Adam Harvey — 2013-10-08T17:09:49+00:00

URL: https://externals.io/message/69516#69517 · In reply to: #69516

> I was wondering how we are supposed to handle NEWS entries when a fix
> goes into both branches, PHP-5.4 and 5.5. IIRC we used to add the BFN
> only to the lowest numbered branch, but then again that was at times
> we had mostly onle one stable release branch...

The way I've done it (and it seems like most developers are doing it
now) is to add the same entry to each stable branch as I merge
upwards, so the 5.4 and 5.5 NEWS files each end up with something
like:

- Extension:
  . Fixed bug #12345 (luggage combination is weak). (Adam)

I think the bug number really has to be in each branch for the NEWS
file to be useful — users need to be able to find out at a glance
what's been fixed from 5.5.4 to 5.5.5, for instance.

Adam

---

## #69519 — Pierre Joye — 2013-10-09T02:32:53+00:00

URL: https://externals.io/message/69516#69519 · In reply to: #69517

> 
> > […]
>
> The way I've done it (and it seems like most developers are doing it
> now) is to add the same entry to each stable branch as I merge
> upwards, so the 5.4 and 5.5 NEWS files each end up with something
> like:
>
> - Extension:
>   . Fixed bug #12345 (luggage combination is weak). (Adam)
>
> I think the bug number really has to be in each branch for the NEWS
> file to be useful — users need to be able to find out at a glance
> what's been fixed from 5.5.4 to 5.5.5, for instance.

agreed.

I never really liked the "lowest branch" only way, too confusing and
hard to see what was fixed where.

Cheers,
-- 
Pierre

@pierrejoye | http://www.libgd.org

---

## #69521 — Martin Keckeis — 2013-10-09T06:01:32+00:00

URL: https://externals.io/message/69516#69521 · In reply to: #69519

Hello togehter,

2013/10/9 Pierre Joye <pierre.php@gmail.com>

> 
> > […]
>
> agreed.
>
> I never really liked the "lowest branch" only way, too confusing and
> hard to see what was fixed where.
>
> Cheers,
> --
> Pierre
>
> @pierrejoye | http://www.libgd.org
>
> --
> 
> 
>
>
As more or less a "enduser" i have to agree. Writing in both is the easiest
way, to get a "quick" overview what is releavant.

---

## #69522 — Michael Wallner — 2013-10-09T06:18:46+00:00

URL: https://externals.io/message/69516#69522 · In reply to: #69521

> Hello togehter,
>
> 2013/10/9 Pierre Joye <pierre.php@gmail.com>
> > […]
>
> As more or less a "enduser" i have to agree. Writing in both is the easiest
> way, to get a "quick" overview what is releavant.
>

Thanks for your feedback! I fixed NEWS for the upcoming releases.
Please let us have an eye on it in the future!

-- 
Regards,
Mike

---

## #69523 — Michael Wallner — 2013-10-09T07:07:08+00:00

URL: https://externals.io/message/69516#69523 · In reply to: #69522

> Thanks for your feedback! I fixed NEWS for the upcoming releases.
> Please let us have an eye on it in the future!

Okay -- looking at NEWS.GIT-RULES it actually says the opposite:

2. All news updates intended for public viewing, such as new features,
      bug fixes, improvements, etc., should go into the NEWS file of the
      *first* to be released version with the given change. In other words
      any NEWS file change only needs to done in one branch.

How about changing it to:

2. All news updates intended for public viewing, such as new features,
      bug fixes, improvements, etc., should go into the NEWS file of *any
      stable release* version with the given change. In other words,
      news about a bug fix which went into PHP-5.4, PHP-5.5 and master
      should be noted in both PHP-5.4/NEWS and PHP-5.5/NEWS but
      not master, which is not a public released version yet.

PS: I post that for other people that had not time to notice this
discussion and I will most probably give a week or so for others to
speek up before changing any settled rules. Could well be there are
people who do not want to write two NEWS entries :)

-- 
Regards,
Mike

---

## #69524 — Adam Harvey — 2013-10-09T07:16:46+00:00

URL: https://externals.io/message/69516#69524 · In reply to: #69523

> Okay -- looking at NEWS.GIT-RULES it actually says the opposite:
>
> 2. All news updates intended for public viewing, such as new features,
>       bug fixes, improvements, etc., should go into the NEWS file of the
>       *first* to be released version with the given change. In other words
>       any NEWS file change only needs to done in one branch.
>
> How about changing it to:
>
> 2. All news updates intended for public viewing, such as new features,
>       bug fixes, improvements, etc., should go into the NEWS file of *any
>       stable release* version with the given change. In other words,
>       news about a bug fix which went into PHP-5.4, PHP-5.5 and master
>       should be noted in both PHP-5.4/NEWS and PHP-5.5/NEWS but
>       not master, which is not a public released version yet.

+1. Copying the NEWS entry across is pretty easy when merging upwards,
even if you're using the touch driver for NEWS.

Adam

---

## #69526 — Pierre Joye — 2013-10-09T07:37:16+00:00

URL: https://externals.io/message/69516#69526 · In reply to: #69523

> > […]
>
> Okay -- looking at NEWS.GIT-RULES it actually says the opposite:
>
> 2. All news updates intended for public viewing, such as new features,
>       bug fixes, improvements, etc., should go into the NEWS file of the
>       *first* to be released version with the given change. In other words
>       any NEWS file change only needs to done in one branch.
>
> How about changing it to:
>
> 2. All news updates intended for public viewing, such as new features,
>       bug fixes, improvements, etc., should go into the NEWS file of *any
>       stable release* version with the given change. In other words,
>       news about a bug fix which went into PHP-5.4, PHP-5.5 and master
>       should be noted in both PHP-5.4/NEWS and PHP-5.5/NEWS but
>       not master, which is not a public released version yet.
>
> PS: I post that for other people that had not time to notice this
> discussion and I will most probably give a week or so for others to
> speek up before changing any settled rules. Could well be there are
> people who do not want to write two NEWS entries :)

+1

And maybe we should begin to consider to force the new commit message
format? (see https://wiki.php.net/vcs/gitworkflow#new_commit_message_format),
may need a RFC and be done, almost :)


-- 
Pierre

@pierrejoye | http://www.libgd.org

---

## #69538 — Christopher Jones — 2013-10-09T16:57:49+00:00

URL: https://externals.io/message/69516#69538 · In reply to: #69523

> > […]
>
> Okay -- looking at NEWS.GIT-RULES it actually says the opposite:
>
> 2. All news updates intended for public viewing, such as new features,
>        bug fixes, improvements, etc., should go into the NEWS file of the
>        *first* to be released version with the given change. In other words
>        any NEWS file change only needs to done in one branch.
>
> How about changing it to:
>
> 2. All news updates intended for public viewing, such as new features,
>        bug fixes, improvements, etc., should go into the NEWS file of *any
>        stable release* version with the given change. In other words,
>        news about a bug fix which went into PHP-5.4, PHP-5.5 and master
>        should be noted in both PHP-5.4/NEWS and PHP-5.5/NEWS but
>        not master, which is not a public released version yet.
>
> PS: I post that for other people that had not time to notice this
> discussion and I will most probably give a week or so for others to
> speek up before changing any settled rules. Could well be there are
> people who do not want to write two NEWS entries :)
>

+1.

-- 
christopher.jones@oracle.com  http://twitter.com/ghrd
Free PHP & Oracle book:
http://www.oracle.com/technetwork/topics/php/underground-php-oracle-manual-098250.html
