Done.

Mark


On 14/11/2024 04:01, Dianjin Wang wrote:
Hi Mark,

We still had some problems with the `contexts` settings in `.asf.yaml` file. Our one PR is stuck by the wrong settings - https://github.com/ apache/cloudberry-site/pull/173 <https://github.com/apache/cloudberry- site/pull/173>. Just created one patch to try to solve the problem, and we still need your help to apply the changes to the main branch to bypass the checks.

Sorry for bothering you. Thanks again!


Best,
Dianjin Wang


On Wed, Nov 6, 2024 at 9:56 PM Dianjin Wang <wangdian...@gmail.com <mailto:wangdian...@gmail.com>> wrote:

    Thanks, Mark! Appreciate your help!

    On Wednesday, November 6, 2024, Mark Thomas <ma...@apache.org
    <mailto:ma...@apache.org>> wrote:

        I've removed it.

        Mark


        On 06/11/2024 11:17, Dianjin Wang wrote:

            Hi Martin,

            Thanks for your reply. I tried but still failed:

            Run the commands:
            ```
            git remote add gitbox https://gitbox.apache.org/repos/asf/
            cloudberry- <https://gitbox.apache.org/repos/asf/cloudberry-
             > site.git <https://gitbox.apache.org/repos/asf/cloudberry-
            site.git <https://gitbox.apache.org/repos/asf/cloudberry-
            site.git>>
            git checkout tuhaihe-patch-1
            git push --set-upstream gitbox tuhaihe-patch-1:main
            ```

            Then returns:
            ```
            remote: remote: error: GH006: Protected branch update failed
            for refs/ heads/main.
            remote: remote:
            *remote: remote: - At least 1 approving review is required
            by reviewers with write access.*
            remote: remote:
            *remote: remote: - Required status check "cbdb external_fts
            pipeline/ icw-test" is expected.*
            remote: To github:apache/cloudberry-site.git
            remote:  ! [remote rejected]
            33cf90819d5a413b553c0b17681a318df37d6687 -> main (protected
            branch hook declined)
            remote: error: failed to push some refs to
            'git@github:apache/ cloudberry-site.git'
            remote: Syncing refs/heads/main...
            remote: Could not sync with GitHub:
            remote: Error running update hook: /x1/gitbox/hooks/
            update.d/01-sync-repo.py
            remote: error: hook declined to update refs/heads/main
            To https://gitbox.apache.org/repos/asf/cloudberry-site.git
            <https://gitbox.apache.org/repos/asf/cloudberry-site.git>
            <https:// gitbox.apache.org/repos/asf/cloudberry-site.git
            <http://gitbox.apache.org/repos/asf/cloudberry-site.git>>
               ! [remote rejected] tuhaihe-patch-1 -> main (hook declined)
            error: failed to push some refs to 'https://
            gitbox.apache.org/repos/asf/ <https://gitbox.apache.org/
            repos/asf/> cloudberry-site.git <https://gitbox.apache.org/
            repos/asf/cloudberry- <https://gitbox.apache.org/repos/asf/
            cloudberry-> site.git>'
            ```

            Still indicates that I cannot bypass the check...

            Best,
            Dianjin Wang


            On Wed, Nov 6, 2024 at 6:55 PM Martin Grigorov
            <mgrigo...@apache.org <mailto:mgrigo...@apache.org>
            <mailto:mgrigo...@apache.org <mailto:mgrigo...@apache.org>>>
            wrote:

                 Hi,

                 AFAIK you could use Gitbox instead of Github to bypass
            these checks.
                 See https://gitbox.apache.org/ <https://
            gitbox.apache.org/> <https://gitbox.apache.org/ <https://
            gitbox.apache.org/>>
            https://gitbox.apache.org/repos/asf/cloudberry-site.git
            <https://gitbox.apache.org/repos/asf/cloudberry-site.git>
            <https://
            gitbox.apache.org/repos/asf/cloudberry-site.git <http://
            gitbox.apache.org/repos/asf/cloudberry-site.git>>

                 Martin

                 On Wed, Nov 6, 2024 at 12:49 PM Dianjin Wang
            <wangdian...@gmail.com <mailto:wangdian...@gmail.com>
                 <mailto:wangdian...@gmail.com
            <mailto:wangdian...@gmail.com>>> wrote:

                  > Hi team,
                  >
                  > We just merged one `asf.yaml` PR for the Cloudberry
            website repo
                 initial
                  > settings[1], but the `asf.yaml` has a wrong setting
            that included
                  > an unnecessary check [2], which blocks our other new
            PRs from
                 being merged.
                  > I want to revert this commit or create one new PR[3]
            to fix it,
                 but cannot
                  > bypass the unnecessary check. It is a deadlock.
                  >
                  > Could you help with this? I'm not sure if it's the
            right place to
                 ask for
                  > help, should I create one Infra jira issue?
                  >
                  > Thanks!
                  >
                  > [1] https://github.com/apache/cloudberry-site/
            pull/168 <https://github.com/apache/cloudberry-site/
            pull/168> <https://
            github.com/apache/cloudberry-site/pull/168 <http://
            github.com/apache/cloudberry-site/pull/168>>
                  > [2]
                  > https://github.com/apache/cloudberry-site/blob/
            <https://github.com/apache/cloudberry-site/blob/>
                 f07d022c2c353bde54080c6cde0e66557c87af06/.asf.yaml#L47
            <https://
            github.com/apache/cloudberry-site/blob/ <http://github.com/
            apache/cloudberry-site/blob/>
                 f07d022c2c353bde54080c6cde0e66557c87af06/.asf.yaml#L47>
                  > [3] https://github.com/apache/cloudberry-site/
            pull/172 <https://github.com/apache/cloudberry-site/
            pull/172> <https://
            github.com/apache/cloudberry-site/pull/172 <http://
            github.com/apache/cloudberry-site/pull/172>>
                  >
                  > Best,
                  > Dianjin Wang
                  >




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cloudberry.apache.org
For additional commands, e-mail: dev-h...@cloudberry.apache.org

Reply via email to