Giter Site home page Giter Site logo

Comments (5)

iluuu1994 avatar iluuu1994 commented on May 28, 2024 1

I think the reason some people don't include the release notes in the commit itself is because our merge strategy discards changes from the NEWS file when merging upwards (see https://wiki.php.net/vcs/gitworkflow#initial_setup). I usually merge with git merge PHP-8.x --no-commit, copy the change for NEWS, and then commit the merge. But we don't have any guidelines for this.

Is there any other reason I'm missing? I think the suggestion makes sense, if the NEWS entry is included in the change commit itself, then it's much easier to further investigate the change through git blame and then git show.

/cc @nielsdos @SakiTakamachi @arnaud-lb @Girgias

from php-src.

nielsdos avatar nielsdos commented on May 28, 2024

I do it separately when it's a series of changes to the code that will make up a single note. For most changes I include the NEWS or UPGRADING note in the commit itself (when it's a single commit).
I never realized this could be a problem because you need to read the content of the file itself to know what the details are anyway.
But I'll make a note to write at least a short title for future notes.

from php-src.

Girgias avatar Girgias commented on May 28, 2024

I usually try to commit the UPGRADING/NEWS changes with the relevant commit too.
However, usually such UPGRADING commits immediately follow the relevant commits, so I don't "really" see an issue here.

from php-src.

SakiTakamachi avatar SakiTakamachi commented on May 28, 2024

Since this is not a code change, I didn't give it much thought. I don't think this is actually a problem, but from now on I'll include a brief description of what I updated.

from php-src.

iluuu1994 avatar iluuu1994 commented on May 28, 2024

Ok. Let's leave it at that for now. We should try to include the message in the change itself if it consists of a single commit. If there are multiple, adding a better description and/or adding the commit hashes could help (note that this only works if the commits aren't rebased). Thanks for your inputs!

from php-src.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.