mbox series

[PULL,v2] git-gui pull request

Message ID 20210304184455.sah45hzavctfnhwa@yadavpratyush.com (mailing list archive)
State New, archived
Headers show
Series [PULL,v2] git-gui pull request | expand

Pull-request

https://github.com/prati0100/git-gui.git

Message

Pratyush Yadav March 4, 2021, 6:44 p.m. UTC
Hi Junio,

In light of the recent breakages on macOS, this PR contains a revert of 
the offending commit. I will add it back in the next version with 
problems on macOS fixed.

This highlights the need for me to figure out a way to test on macOS. It 
is not a good strategy to put breaking bugs in a release and hope to fix 
it in the next one. And macOS has been a regular offender. Dunno if it 
is possible without owning the Mac hardware though...

---
The following changes since commit 
b1056f60b63f1bc8226d01881bc829e171fc78bf:

  Merge branch 'py/commit-comments' (2021-02-22 20:19:53 +0530)

are available in the Git repository at:

  https://github.com/prati0100/git-gui.git 

for you to fetch changes up to df4f9e28f64ea97032ec70d9c8894dc87a1b7f9e:

  Merge branch 'py/revert-commit-comments' (2021-03-04 13:59:45 +0530)

----------------------------------------------------------------
Pratyush Yadav (2):
      Revert "git-gui: remove lines starting with the comment character"
      Merge branch 'py/revert-commit-comments'

 git-gui.sh     |  5 -----
 lib/commit.tcl | 18 ++----------------
 2 files changed, 2 insertions(+), 21 deletions(-)

Comments

Eric Sunshine March 4, 2021, 6:54 p.m. UTC | #1
On Thu, Mar 4, 2021 at 1:45 PM Pratyush Yadav <me@yadavpratyush.com> wrote:
> In light of the recent breakages on macOS, this PR contains a revert of
> the offending commit. I will add it back in the next version with
> problems on macOS fixed.
>
> This highlights the need for me to figure out a way to test on macOS. It
> is not a good strategy to put breaking bugs in a release and hope to fix
> it in the next one. And macOS has been a regular offender. Dunno if it
> is possible without owning the Mac hardware though...

A couple suggestions:

Send pull requests to Junio early and often. His tree gets tested more
widely than the stand-alone git-gui, so breakage is more likely to get
detected earlier rather than later in his tree, thus giving us a more
comfortable margin for dealing with problems.

The majority of the problems noticed on macOS have not been specific
to macOS itself. Rather, they are specific to the old version of Tcl
which ships with macOS. Therefore, an easy way for you to detect these
problems early is to install an old version of Tcl on your development
machine and ensure that you test against that version before sending a
pull request. I think that this approach alone would catch all of the
outright breakage problems we've seen recently on macOS. (It won't
catch aesthetic issues, but those tend to be minor compared with the
outright breakage.)

Thanks.
Junio C Hamano March 4, 2021, 9:04 p.m. UTC | #2
Pratyush Yadav <me@yadavpratyush.com> writes:

> The following changes since commit 
> b1056f60b63f1bc8226d01881bc829e171fc78bf:
>
>   Merge branch 'py/commit-comments' (2021-02-22 20:19:53 +0530)
>
> are available in the Git repository at:
>
>   https://github.com/prati0100/git-gui.git 
>
> for you to fetch changes up to df4f9e28f64ea97032ec70d9c8894dc87a1b7f9e:
>
>   Merge branch 'py/revert-commit-comments' (2021-03-04 13:59:45 +0530)

Thanks.