Code Monkey home page Code Monkey logo

Comments (7)

santisoler avatar santisoler commented on May 27, 2024

cc @lheagy @jcapriot

from simpeg.

santisoler avatar santisoler commented on May 27, 2024

After discussing this topic in today's meeting, @jcapriot expressed he's in favor of using Squash and Merge.

So if we all agree on that, we can implement the change and set Squash and Merge as the only way to merge PRs to main.

from simpeg.

lheagy avatar lheagy commented on May 27, 2024

Thanks for raising this @santisoler! I am supportive of using Squash and Merge. There is the drawback of not having the full (and messy -- but real life :) ) history, but to me that is far outweighed by easy navigation of the purpose of changes and the peace-of-mind that we could always revert back to a valid and passing state.

In terms of capturing this decision, would a pr that updates the contributor guide be fitting?

from simpeg.

santisoler avatar santisoler commented on May 27, 2024

Sure! We can add some words to the Contributors Guide explaining how the merge process works with Squash and Merge. In there we can also instruct contributors to be more thorough with the PR description, rather than with commit messages.

from simpeg.

santisoler avatar santisoler commented on May 27, 2024

I've just configured Squash and Merge as the only way to merge Pull Requests in the repo. And I've opened #1375 to include some details in the docs about the merge process.

from simpeg.

prisae avatar prisae commented on May 27, 2024

Late to the game - and something I am not particular good myself, but it might be worth to add it to the docs @santisoler where you explain the process: Given the Squash & Merge as only option, it is also good to make as small PR's as possible, and each PR should "ideally" only address one thing - not massive PR's adding a feature, fixing some things, correct a few typos, remove a deprecated feature, etc., all in one.

from simpeg.

santisoler avatar santisoler commented on May 27, 2024

I fully agree on that. This is something we've been enforcing and promoting in the past years. But we should probably make it more explicit in the docs. Thanks for the input @prisae!

from simpeg.

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.