Today I opened for myself a possibility to merge PR via GitHub. And
GitHub allows 3 usual options to do a merge (merge commit, rebase, squash). And "merge commit" is a default option but an illegal one according to Apache Ignite usual practices. So, I wonder is it somehow possible to configure it to keep only "squash" merge option? -- Best regards, Ivan Pavlukhin |
Hello!
I implore everybody to use scripts/apply-pull-request.sh, I never had any problems with it. The only downside is that cherry-peek needs to be clean. Regards, -- Ilya Kasnacheev пн, 27 янв. 2020 г. в 14:22, Ivan Pavlukhin <[hidden email]>: > Today I opened for myself a possibility to merge PR via GitHub. And > GitHub allows 3 usual options to do a merge (merge commit, rebase, > squash). And "merge commit" is a default option but an illegal one > according to Apache Ignite usual practices. > > So, I wonder is it somehow possible to configure it to keep only > "squash" merge option? > > -- > Best regards, > Ivan Pavlukhin > |
Iliya,
How well does this script work under non-linux operations systems? > On 27 Jan 2020, at 14:24, Ilya Kasnacheev <[hidden email]> wrote: > > Hello! > > I implore everybody to use scripts/apply-pull-request.sh, I never had any > problems with it. The only downside is that cherry-peek needs to be clean. > > Regards, > -- > Ilya Kasnacheev > > > пн, 27 янв. 2020 г. в 14:22, Ivan Pavlukhin <[hidden email]>: > >> Today I opened for myself a possibility to merge PR via GitHub. And >> GitHub allows 3 usual options to do a merge (merge commit, rebase, >> squash). And "merge commit" is a default option but an illegal one >> according to Apache Ignite usual practices. >> >> So, I wonder is it somehow possible to configure it to keep only >> "squash" merge option? >> >> -- >> Best regards, >> Ivan Pavlukhin >> |
Merging from GitHub is very convenient indeed, much faster and safer than
anything else. And yes, GitHub provides a way to disable Merge and Rebase, leaving only Squash option: https://help.github.com/en/github/administering-a-repository/configuring-commit-squashing-for-pull-requests However, I don't have access to the settings. Peter, can you please change this setting for us? On Mon, Jan 27, 2020 at 2:38 PM Petr Ivanov <[hidden email]> wrote: > Iliya, > > How well does this script work under non-linux operations systems? > > > > On 27 Jan 2020, at 14:24, Ilya Kasnacheev <[hidden email]> > wrote: > > > > Hello! > > > > I implore everybody to use scripts/apply-pull-request.sh, I never had any > > problems with it. The only downside is that cherry-peek needs to be > clean. > > > > Regards, > > -- > > Ilya Kasnacheev > > > > > > пн, 27 янв. 2020 г. в 14:22, Ivan Pavlukhin <[hidden email]>: > > > >> Today I opened for myself a possibility to merge PR via GitHub. And > >> GitHub allows 3 usual options to do a merge (merge commit, rebase, > >> squash). And "merge commit" is a default option but an illegal one > >> according to Apache Ignite usual practices. > >> > >> So, I wonder is it somehow possible to configure it to keep only > >> "squash" merge option? > >> > >> -- > >> Best regards, > >> Ivan Pavlukhin > >> > > |
+1 to keep only "squash" merge option
On Mon, 27 Jan 2020 at 14:39, Pavel Tupitsyn <[hidden email]> wrote: > > Merging from GitHub is very convenient indeed, much faster and safer than > anything else. > > And yes, GitHub provides a way to disable Merge and Rebase, leaving only > Squash option: > https://help.github.com/en/github/administering-a-repository/configuring-commit-squashing-for-pull-requests > > > However, I don't have access to the settings. > Peter, can you please change this setting for us? > > On Mon, Jan 27, 2020 at 2:38 PM Petr Ivanov <[hidden email]> wrote: > > > Iliya, > > > > How well does this script work under non-linux operations systems? > > > > > > > On 27 Jan 2020, at 14:24, Ilya Kasnacheev <[hidden email]> > > wrote: > > > > > > Hello! > > > > > > I implore everybody to use scripts/apply-pull-request.sh, I never had any > > > problems with it. The only downside is that cherry-peek needs to be > > clean. > > > > > > Regards, > > > -- > > > Ilya Kasnacheev > > > > > > > > > пн, 27 янв. 2020 г. в 14:22, Ivan Pavlukhin <[hidden email]>: > > > > > >> Today I opened for myself a possibility to merge PR via GitHub. And > > >> GitHub allows 3 usual options to do a merge (merge commit, rebase, > > >> squash). And "merge commit" is a default option but an illegal one > > >> according to Apache Ignite usual practices. > > >> > > >> So, I wonder is it somehow possible to configure it to keep only > > >> "squash" merge option? > > >> > > >> -- > > >> Best regards, > > >> Ivan Pavlukhin > > >> > > > > |
I always merge PRs from GitHub when possible. By doing it I can keep my
Git's local state unmodified. So I suggest using squash and merge. пн, 27 янв. 2020 г. в 14:59, Maxim Muzafarov <[hidden email]>: > +1 to keep only "squash" merge option > > On Mon, 27 Jan 2020 at 14:39, Pavel Tupitsyn <[hidden email]> wrote: > > > > Merging from GitHub is very convenient indeed, much faster and safer than > > anything else. > > > > And yes, GitHub provides a way to disable Merge and Rebase, leaving only > > Squash option: > > > https://help.github.com/en/github/administering-a-repository/configuring-commit-squashing-for-pull-requests > > > > > > However, I don't have access to the settings. > > Peter, can you please change this setting for us? > > > > On Mon, Jan 27, 2020 at 2:38 PM Petr Ivanov <[hidden email]> wrote: > > > > > Iliya, > > > > > > How well does this script work under non-linux operations systems? > > > > > > > > > > On 27 Jan 2020, at 14:24, Ilya Kasnacheev <[hidden email] > > > > > wrote: > > > > > > > > Hello! > > > > > > > > I implore everybody to use scripts/apply-pull-request.sh, I never > had any > > > > problems with it. The only downside is that cherry-peek needs to be > > > clean. > > > > > > > > Regards, > > > > -- > > > > Ilya Kasnacheev > > > > > > > > > > > > пн, 27 янв. 2020 г. в 14:22, Ivan Pavlukhin <[hidden email]>: > > > > > > > >> Today I opened for myself a possibility to merge PR via GitHub. And > > > >> GitHub allows 3 usual options to do a merge (merge commit, rebase, > > > >> squash). And "merge commit" is a default option but an illegal one > > > >> according to Apache Ignite usual practices. > > > >> > > > >> So, I wonder is it somehow possible to configure it to keep only > > > >> "squash" merge option? > > > >> > > > >> -- > > > >> Best regards, > > > >> Ivan Pavlukhin > > > >> > > > > > > > |
But there is still the question how to configure it. Petr, can you
help here? Or somebody else? Or INFRA ticket should be created? пн, 27 янв. 2020 г. в 15:05, Dmitriy Pavlov <[hidden email]>: > > I always merge PRs from GitHub when possible. By doing it I can keep my > Git's local state unmodified. > > So I suggest using squash and merge. > > пн, 27 янв. 2020 г. в 14:59, Maxim Muzafarov <[hidden email]>: > > > +1 to keep only "squash" merge option > > > > On Mon, 27 Jan 2020 at 14:39, Pavel Tupitsyn <[hidden email]> wrote: > > > > > > Merging from GitHub is very convenient indeed, much faster and safer than > > > anything else. > > > > > > And yes, GitHub provides a way to disable Merge and Rebase, leaving only > > > Squash option: > > > > > https://help.github.com/en/github/administering-a-repository/configuring-commit-squashing-for-pull-requests > > > > > > > > > However, I don't have access to the settings. > > > Peter, can you please change this setting for us? > > > > > > On Mon, Jan 27, 2020 at 2:38 PM Petr Ivanov <[hidden email]> wrote: > > > > > > > Iliya, > > > > > > > > How well does this script work under non-linux operations systems? > > > > > > > > > > > > > On 27 Jan 2020, at 14:24, Ilya Kasnacheev <[hidden email] > > > > > > > wrote: > > > > > > > > > > Hello! > > > > > > > > > > I implore everybody to use scripts/apply-pull-request.sh, I never > > had any > > > > > problems with it. The only downside is that cherry-peek needs to be > > > > clean. > > > > > > > > > > Regards, > > > > > -- > > > > > Ilya Kasnacheev > > > > > > > > > > > > > > > пн, 27 янв. 2020 г. в 14:22, Ivan Pavlukhin <[hidden email]>: > > > > > > > > > >> Today I opened for myself a possibility to merge PR via GitHub. And > > > > >> GitHub allows 3 usual options to do a merge (merge commit, rebase, > > > > >> squash). And "merge commit" is a default option but an illegal one > > > > >> according to Apache Ignite usual practices. > > > > >> > > > > >> So, I wonder is it somehow possible to configure it to keep only > > > > >> "squash" merge option? > > > > >> > > > > >> -- > > > > >> Best regards, > > > > >> Ivan Pavlukhin > > > > >> > > > > > > > > > > -- Best regards, Ivan Pavlukhin |
Unfortunately, I have no power at Apache's GitHub repositories.
Ticket for INFRA maybe the best way to solve the issue. > On 27 Jan 2020, at 15:23, Ivan Pavlukhin <[hidden email]> wrote: > > But there is still the question how to configure it. Petr, can you > help here? Or somebody else? Or INFRA ticket should be created? > > пн, 27 янв. 2020 г. в 15:05, Dmitriy Pavlov <[hidden email]>: >> >> I always merge PRs from GitHub when possible. By doing it I can keep my >> Git's local state unmodified. >> >> So I suggest using squash and merge. >> >> пн, 27 янв. 2020 г. в 14:59, Maxim Muzafarov <[hidden email]>: >> >>> +1 to keep only "squash" merge option >>> >>> On Mon, 27 Jan 2020 at 14:39, Pavel Tupitsyn <[hidden email]> wrote: >>>> >>>> Merging from GitHub is very convenient indeed, much faster and safer than >>>> anything else. >>>> >>>> And yes, GitHub provides a way to disable Merge and Rebase, leaving only >>>> Squash option: >>>> >>> https://help.github.com/en/github/administering-a-repository/configuring-commit-squashing-for-pull-requests >>>> >>>> >>>> However, I don't have access to the settings. >>>> Peter, can you please change this setting for us? >>>> >>>> On Mon, Jan 27, 2020 at 2:38 PM Petr Ivanov <[hidden email]> wrote: >>>> >>>>> Iliya, >>>>> >>>>> How well does this script work under non-linux operations systems? >>>>> >>>>> >>>>>> On 27 Jan 2020, at 14:24, Ilya Kasnacheev <[hidden email] >>>> >>>>> wrote: >>>>>> >>>>>> Hello! >>>>>> >>>>>> I implore everybody to use scripts/apply-pull-request.sh, I never >>> had any >>>>>> problems with it. The only downside is that cherry-peek needs to be >>>>> clean. >>>>>> >>>>>> Regards, >>>>>> -- >>>>>> Ilya Kasnacheev >>>>>> >>>>>> >>>>>> пн, 27 янв. 2020 г. в 14:22, Ivan Pavlukhin <[hidden email]>: >>>>>> >>>>>>> Today I opened for myself a possibility to merge PR via GitHub. And >>>>>>> GitHub allows 3 usual options to do a merge (merge commit, rebase, >>>>>>> squash). And "merge commit" is a default option but an illegal one >>>>>>> according to Apache Ignite usual practices. >>>>>>> >>>>>>> So, I wonder is it somehow possible to configure it to keep only >>>>>>> "squash" merge option? >>>>>>> >>>>>>> -- >>>>>>> Best regards, >>>>>>> Ivan Pavlukhin >>>>>>> >>>>> >>>>> >>> > > > > -- > Best regards, > Ivan Pavlukhin |
Petr Ivanov
The script works great for me under windows. пн, 27 янв. 2020 г. в 15:33, Petr Ivanov <[hidden email]>: > Unfortunately, I have no power at Apache's GitHub repositories. > Ticket for INFRA maybe the best way to solve the issue. > > > > On 27 Jan 2020, at 15:23, Ivan Pavlukhin <[hidden email]> wrote: > > > > But there is still the question how to configure it. Petr, can you > > help here? Or somebody else? Or INFRA ticket should be created? > > > > пн, 27 янв. 2020 г. в 15:05, Dmitriy Pavlov <[hidden email]>: > >> > >> I always merge PRs from GitHub when possible. By doing it I can keep my > >> Git's local state unmodified. > >> > >> So I suggest using squash and merge. > >> > >> пн, 27 янв. 2020 г. в 14:59, Maxim Muzafarov <[hidden email]>: > >> > >>> +1 to keep only "squash" merge option > >>> > >>> On Mon, 27 Jan 2020 at 14:39, Pavel Tupitsyn <[hidden email]> > wrote: > >>>> > >>>> Merging from GitHub is very convenient indeed, much faster and safer > than > >>>> anything else. > >>>> > >>>> And yes, GitHub provides a way to disable Merge and Rebase, leaving > only > >>>> Squash option: > >>>> > >>> > https://help.github.com/en/github/administering-a-repository/configuring-commit-squashing-for-pull-requests > >>>> > >>>> > >>>> However, I don't have access to the settings. > >>>> Peter, can you please change this setting for us? > >>>> > >>>> On Mon, Jan 27, 2020 at 2:38 PM Petr Ivanov <[hidden email]> > wrote: > >>>> > >>>>> Iliya, > >>>>> > >>>>> How well does this script work under non-linux operations systems? > >>>>> > >>>>> > >>>>>> On 27 Jan 2020, at 14:24, Ilya Kasnacheev < > [hidden email] > >>>> > >>>>> wrote: > >>>>>> > >>>>>> Hello! > >>>>>> > >>>>>> I implore everybody to use scripts/apply-pull-request.sh, I never > >>> had any > >>>>>> problems with it. The only downside is that cherry-peek needs to be > >>>>> clean. > >>>>>> > >>>>>> Regards, > >>>>>> -- > >>>>>> Ilya Kasnacheev > >>>>>> > >>>>>> > >>>>>> пн, 27 янв. 2020 г. в 14:22, Ivan Pavlukhin <[hidden email]>: > >>>>>> > >>>>>>> Today I opened for myself a possibility to merge PR via GitHub. And > >>>>>>> GitHub allows 3 usual options to do a merge (merge commit, rebase, > >>>>>>> squash). And "merge commit" is a default option but an illegal one > >>>>>>> according to Apache Ignite usual practices. > >>>>>>> > >>>>>>> So, I wonder is it somehow possible to configure it to keep only > >>>>>>> "squash" merge option? > >>>>>>> > >>>>>>> -- > >>>>>>> Best regards, > >>>>>>> Ivan Pavlukhin > >>>>>>> > >>>>> > >>>>> > >>> > > > > > > > > -- > > Best regards, > > Ivan Pavlukhin > > -- Best regards, Alexei Scherbakov |
I used squash for last two years, no problemo with that. Of course we
should have 1 commit to 1 PR relationship, don't put all your commits to the table:) пн, 27 янв. 2020 г. в 15:50, Alexei Scherbakov <[hidden email] >: > Petr Ivanov > > The script works great for me under windows. > > пн, 27 янв. 2020 г. в 15:33, Petr Ivanov <[hidden email]>: > > > Unfortunately, I have no power at Apache's GitHub repositories. > > Ticket for INFRA maybe the best way to solve the issue. > > > > > > > On 27 Jan 2020, at 15:23, Ivan Pavlukhin <[hidden email]> wrote: > > > > > > But there is still the question how to configure it. Petr, can you > > > help here? Or somebody else? Or INFRA ticket should be created? > > > > > > пн, 27 янв. 2020 г. в 15:05, Dmitriy Pavlov <[hidden email]>: > > >> > > >> I always merge PRs from GitHub when possible. By doing it I can keep > my > > >> Git's local state unmodified. > > >> > > >> So I suggest using squash and merge. > > >> > > >> пн, 27 янв. 2020 г. в 14:59, Maxim Muzafarov <[hidden email]>: > > >> > > >>> +1 to keep only "squash" merge option > > >>> > > >>> On Mon, 27 Jan 2020 at 14:39, Pavel Tupitsyn <[hidden email]> > > wrote: > > >>>> > > >>>> Merging from GitHub is very convenient indeed, much faster and safer > > than > > >>>> anything else. > > >>>> > > >>>> And yes, GitHub provides a way to disable Merge and Rebase, leaving > > only > > >>>> Squash option: > > >>>> > > >>> > > > https://help.github.com/en/github/administering-a-repository/configuring-commit-squashing-for-pull-requests > > >>>> > > >>>> > > >>>> However, I don't have access to the settings. > > >>>> Peter, can you please change this setting for us? > > >>>> > > >>>> On Mon, Jan 27, 2020 at 2:38 PM Petr Ivanov <[hidden email]> > > wrote: > > >>>> > > >>>>> Iliya, > > >>>>> > > >>>>> How well does this script work under non-linux operations systems? > > >>>>> > > >>>>> > > >>>>>> On 27 Jan 2020, at 14:24, Ilya Kasnacheev < > > [hidden email] > > >>>> > > >>>>> wrote: > > >>>>>> > > >>>>>> Hello! > > >>>>>> > > >>>>>> I implore everybody to use scripts/apply-pull-request.sh, I never > > >>> had any > > >>>>>> problems with it. The only downside is that cherry-peek needs to > be > > >>>>> clean. > > >>>>>> > > >>>>>> Regards, > > >>>>>> -- > > >>>>>> Ilya Kasnacheev > > >>>>>> > > >>>>>> > > >>>>>> пн, 27 янв. 2020 г. в 14:22, Ivan Pavlukhin <[hidden email] > >: > > >>>>>> > > >>>>>>> Today I opened for myself a possibility to merge PR via GitHub. > And > > >>>>>>> GitHub allows 3 usual options to do a merge (merge commit, > rebase, > > >>>>>>> squash). And "merge commit" is a default option but an illegal > one > > >>>>>>> according to Apache Ignite usual practices. > > >>>>>>> > > >>>>>>> So, I wonder is it somehow possible to configure it to keep only > > >>>>>>> "squash" merge option? > > >>>>>>> > > >>>>>>> -- > > >>>>>>> Best regards, > > >>>>>>> Ivan Pavlukhin > > >>>>>>> > > >>>>> > > >>>>> > > >>> > > > > > > > > > > > > -- > > > Best regards, > > > Ivan Pavlukhin > > > > > > -- > > Best regards, > Alexei Scherbakov > |
INFRA ticket filed:
https://issues.apache.org/jira/browse/INFRA-19778 On Mon, Jan 27, 2020 at 4:38 PM Alexey Zinoviev <[hidden email]> wrote: > I used squash for last two years, no problemo with that. Of course we > should have 1 commit to 1 PR relationship, don't put all your commits to > the table:) > > пн, 27 янв. 2020 г. в 15:50, Alexei Scherbakov < > [hidden email] > >: > > > Petr Ivanov > > > > The script works great for me under windows. > > > > пн, 27 янв. 2020 г. в 15:33, Petr Ivanov <[hidden email]>: > > > > > Unfortunately, I have no power at Apache's GitHub repositories. > > > Ticket for INFRA maybe the best way to solve the issue. > > > > > > > > > > On 27 Jan 2020, at 15:23, Ivan Pavlukhin <[hidden email]> > wrote: > > > > > > > > But there is still the question how to configure it. Petr, can you > > > > help here? Or somebody else? Or INFRA ticket should be created? > > > > > > > > пн, 27 янв. 2020 г. в 15:05, Dmitriy Pavlov <[hidden email]>: > > > >> > > > >> I always merge PRs from GitHub when possible. By doing it I can keep > > my > > > >> Git's local state unmodified. > > > >> > > > >> So I suggest using squash and merge. > > > >> > > > >> пн, 27 янв. 2020 г. в 14:59, Maxim Muzafarov <[hidden email]>: > > > >> > > > >>> +1 to keep only "squash" merge option > > > >>> > > > >>> On Mon, 27 Jan 2020 at 14:39, Pavel Tupitsyn <[hidden email] > > > > > wrote: > > > >>>> > > > >>>> Merging from GitHub is very convenient indeed, much faster and > safer > > > than > > > >>>> anything else. > > > >>>> > > > >>>> And yes, GitHub provides a way to disable Merge and Rebase, > leaving > > > only > > > >>>> Squash option: > > > >>>> > > > >>> > > > > > > https://help.github.com/en/github/administering-a-repository/configuring-commit-squashing-for-pull-requests > > > >>>> > > > >>>> > > > >>>> However, I don't have access to the settings. > > > >>>> Peter, can you please change this setting for us? > > > >>>> > > > >>>> On Mon, Jan 27, 2020 at 2:38 PM Petr Ivanov <[hidden email]> > > > wrote: > > > >>>> > > > >>>>> Iliya, > > > >>>>> > > > >>>>> How well does this script work under non-linux operations > systems? > > > >>>>> > > > >>>>> > > > >>>>>> On 27 Jan 2020, at 14:24, Ilya Kasnacheev < > > > [hidden email] > > > >>>> > > > >>>>> wrote: > > > >>>>>> > > > >>>>>> Hello! > > > >>>>>> > > > >>>>>> I implore everybody to use scripts/apply-pull-request.sh, I > never > > > >>> had any > > > >>>>>> problems with it. The only downside is that cherry-peek needs to > > be > > > >>>>> clean. > > > >>>>>> > > > >>>>>> Regards, > > > >>>>>> -- > > > >>>>>> Ilya Kasnacheev > > > >>>>>> > > > >>>>>> > > > >>>>>> пн, 27 янв. 2020 г. в 14:22, Ivan Pavlukhin < > [hidden email] > > >: > > > >>>>>> > > > >>>>>>> Today I opened for myself a possibility to merge PR via GitHub. > > And > > > >>>>>>> GitHub allows 3 usual options to do a merge (merge commit, > > rebase, > > > >>>>>>> squash). And "merge commit" is a default option but an illegal > > one > > > >>>>>>> according to Apache Ignite usual practices. > > > >>>>>>> > > > >>>>>>> So, I wonder is it somehow possible to configure it to keep > only > > > >>>>>>> "squash" merge option? > > > >>>>>>> > > > >>>>>>> -- > > > >>>>>>> Best regards, > > > >>>>>>> Ivan Pavlukhin > > > >>>>>>> > > > >>>>> > > > >>>>> > > > >>> > > > > > > > > > > > > > > > > -- > > > > Best regards, > > > > Ivan Pavlukhin > > > > > > > > > > -- > > > > Best regards, > > Alexei Scherbakov > > > |
It's done, only Squash mode is enabled in GitHub UI.
On Mon, Jan 27, 2020 at 5:05 PM Pavel Tupitsyn <[hidden email]> wrote: > INFRA ticket filed: > https://issues.apache.org/jira/browse/INFRA-19778 > > On Mon, Jan 27, 2020 at 4:38 PM Alexey Zinoviev <[hidden email]> > wrote: > >> I used squash for last two years, no problemo with that. Of course we >> should have 1 commit to 1 PR relationship, don't put all your commits to >> the table:) >> >> пн, 27 янв. 2020 г. в 15:50, Alexei Scherbakov < >> [hidden email] >> >: >> >> > Petr Ivanov >> > >> > The script works great for me under windows. >> > >> > пн, 27 янв. 2020 г. в 15:33, Petr Ivanov <[hidden email]>: >> > >> > > Unfortunately, I have no power at Apache's GitHub repositories. >> > > Ticket for INFRA maybe the best way to solve the issue. >> > > >> > > >> > > > On 27 Jan 2020, at 15:23, Ivan Pavlukhin <[hidden email]> >> wrote: >> > > > >> > > > But there is still the question how to configure it. Petr, can you >> > > > help here? Or somebody else? Or INFRA ticket should be created? >> > > > >> > > > пн, 27 янв. 2020 г. в 15:05, Dmitriy Pavlov <[hidden email]>: >> > > >> >> > > >> I always merge PRs from GitHub when possible. By doing it I can >> keep >> > my >> > > >> Git's local state unmodified. >> > > >> >> > > >> So I suggest using squash and merge. >> > > >> >> > > >> пн, 27 янв. 2020 г. в 14:59, Maxim Muzafarov <[hidden email]>: >> > > >> >> > > >>> +1 to keep only "squash" merge option >> > > >>> >> > > >>> On Mon, 27 Jan 2020 at 14:39, Pavel Tupitsyn < >> [hidden email]> >> > > wrote: >> > > >>>> >> > > >>>> Merging from GitHub is very convenient indeed, much faster and >> safer >> > > than >> > > >>>> anything else. >> > > >>>> >> > > >>>> And yes, GitHub provides a way to disable Merge and Rebase, >> leaving >> > > only >> > > >>>> Squash option: >> > > >>>> >> > > >>> >> > > >> > >> https://help.github.com/en/github/administering-a-repository/configuring-commit-squashing-for-pull-requests >> > > >>>> >> > > >>>> >> > > >>>> However, I don't have access to the settings. >> > > >>>> Peter, can you please change this setting for us? >> > > >>>> >> > > >>>> On Mon, Jan 27, 2020 at 2:38 PM Petr Ivanov <[hidden email] >> > >> > > wrote: >> > > >>>> >> > > >>>>> Iliya, >> > > >>>>> >> > > >>>>> How well does this script work under non-linux operations >> systems? >> > > >>>>> >> > > >>>>> >> > > >>>>>> On 27 Jan 2020, at 14:24, Ilya Kasnacheev < >> > > [hidden email] >> > > >>>> >> > > >>>>> wrote: >> > > >>>>>> >> > > >>>>>> Hello! >> > > >>>>>> >> > > >>>>>> I implore everybody to use scripts/apply-pull-request.sh, I >> never >> > > >>> had any >> > > >>>>>> problems with it. The only downside is that cherry-peek needs >> to >> > be >> > > >>>>> clean. >> > > >>>>>> >> > > >>>>>> Regards, >> > > >>>>>> -- >> > > >>>>>> Ilya Kasnacheev >> > > >>>>>> >> > > >>>>>> >> > > >>>>>> пн, 27 янв. 2020 г. в 14:22, Ivan Pavlukhin < >> [hidden email] >> > >: >> > > >>>>>> >> > > >>>>>>> Today I opened for myself a possibility to merge PR via >> GitHub. >> > And >> > > >>>>>>> GitHub allows 3 usual options to do a merge (merge commit, >> > rebase, >> > > >>>>>>> squash). And "merge commit" is a default option but an illegal >> > one >> > > >>>>>>> according to Apache Ignite usual practices. >> > > >>>>>>> >> > > >>>>>>> So, I wonder is it somehow possible to configure it to keep >> only >> > > >>>>>>> "squash" merge option? >> > > >>>>>>> >> > > >>>>>>> -- >> > > >>>>>>> Best regards, >> > > >>>>>>> Ivan Pavlukhin >> > > >>>>>>> >> > > >>>>> >> > > >>>>> >> > > >>> >> > > > >> > > > >> > > > >> > > > -- >> > > > Best regards, >> > > > Ivan Pavlukhin >> > > >> > > >> > >> > -- >> > >> > Best regards, >> > Alexei Scherbakov >> > >> > |
Great news! Thank you Pavel!
чт, 30 янв. 2020 г. в 14:14, Pavel Tupitsyn <[hidden email]>: > > It's done, only Squash mode is enabled in GitHub UI. > > On Mon, Jan 27, 2020 at 5:05 PM Pavel Tupitsyn <[hidden email]> wrote: > > > INFRA ticket filed: > > https://issues.apache.org/jira/browse/INFRA-19778 > > > > On Mon, Jan 27, 2020 at 4:38 PM Alexey Zinoviev <[hidden email]> > > wrote: > > > >> I used squash for last two years, no problemo with that. Of course we > >> should have 1 commit to 1 PR relationship, don't put all your commits to > >> the table:) > >> > >> пн, 27 янв. 2020 г. в 15:50, Alexei Scherbakov < > >> [hidden email] > >> >: > >> > >> > Petr Ivanov > >> > > >> > The script works great for me under windows. > >> > > >> > пн, 27 янв. 2020 г. в 15:33, Petr Ivanov <[hidden email]>: > >> > > >> > > Unfortunately, I have no power at Apache's GitHub repositories. > >> > > Ticket for INFRA maybe the best way to solve the issue. > >> > > > >> > > > >> > > > On 27 Jan 2020, at 15:23, Ivan Pavlukhin <[hidden email]> > >> wrote: > >> > > > > >> > > > But there is still the question how to configure it. Petr, can you > >> > > > help here? Or somebody else? Or INFRA ticket should be created? > >> > > > > >> > > > пн, 27 янв. 2020 г. в 15:05, Dmitriy Pavlov <[hidden email]>: > >> > > >> > >> > > >> I always merge PRs from GitHub when possible. By doing it I can > >> keep > >> > my > >> > > >> Git's local state unmodified. > >> > > >> > >> > > >> So I suggest using squash and merge. > >> > > >> > >> > > >> пн, 27 янв. 2020 г. в 14:59, Maxim Muzafarov <[hidden email]>: > >> > > >> > >> > > >>> +1 to keep only "squash" merge option > >> > > >>> > >> > > >>> On Mon, 27 Jan 2020 at 14:39, Pavel Tupitsyn < > >> [hidden email]> > >> > > wrote: > >> > > >>>> > >> > > >>>> Merging from GitHub is very convenient indeed, much faster and > >> safer > >> > > than > >> > > >>>> anything else. > >> > > >>>> > >> > > >>>> And yes, GitHub provides a way to disable Merge and Rebase, > >> leaving > >> > > only > >> > > >>>> Squash option: > >> > > >>>> > >> > > >>> > >> > > > >> > > >> https://help.github.com/en/github/administering-a-repository/configuring-commit-squashing-for-pull-requests > >> > > >>>> > >> > > >>>> > >> > > >>>> However, I don't have access to the settings. > >> > > >>>> Peter, can you please change this setting for us? > >> > > >>>> > >> > > >>>> On Mon, Jan 27, 2020 at 2:38 PM Petr Ivanov <[hidden email] > >> > > >> > > wrote: > >> > > >>>> > >> > > >>>>> Iliya, > >> > > >>>>> > >> > > >>>>> How well does this script work under non-linux operations > >> systems? > >> > > >>>>> > >> > > >>>>> > >> > > >>>>>> On 27 Jan 2020, at 14:24, Ilya Kasnacheev < > >> > > [hidden email] > >> > > >>>> > >> > > >>>>> wrote: > >> > > >>>>>> > >> > > >>>>>> Hello! > >> > > >>>>>> > >> > > >>>>>> I implore everybody to use scripts/apply-pull-request.sh, I > >> never > >> > > >>> had any > >> > > >>>>>> problems with it. The only downside is that cherry-peek needs > >> to > >> > be > >> > > >>>>> clean. > >> > > >>>>>> > >> > > >>>>>> Regards, > >> > > >>>>>> -- > >> > > >>>>>> Ilya Kasnacheev > >> > > >>>>>> > >> > > >>>>>> > >> > > >>>>>> пн, 27 янв. 2020 г. в 14:22, Ivan Pavlukhin < > >> [hidden email] > >> > >: > >> > > >>>>>> > >> > > >>>>>>> Today I opened for myself a possibility to merge PR via > >> GitHub. > >> > And > >> > > >>>>>>> GitHub allows 3 usual options to do a merge (merge commit, > >> > rebase, > >> > > >>>>>>> squash). And "merge commit" is a default option but an illegal > >> > one > >> > > >>>>>>> according to Apache Ignite usual practices. > >> > > >>>>>>> > >> > > >>>>>>> So, I wonder is it somehow possible to configure it to keep > >> only > >> > > >>>>>>> "squash" merge option? > >> > > >>>>>>> > >> > > >>>>>>> -- > >> > > >>>>>>> Best regards, > >> > > >>>>>>> Ivan Pavlukhin > >> > > >>>>>>> > >> > > >>>>> > >> > > >>>>> > >> > > >>> > >> > > > > >> > > > > >> > > > > >> > > > -- > >> > > > Best regards, > >> > > > Ivan Pavlukhin > >> > > > >> > > > >> > > >> > -- > >> > > >> > Best regards, > >> > Alexei Scherbakov > >> > > >> > > -- Best regards, Ivan Pavlukhin |
Free forum by Nabble | Edit this page |