"zhongxuan (A)" zhongxuan2@huawei.com writes:
Where should I commit my patch? The access request to fork in Nettle / nettle * GitLab (liu.se)https://git.lysator.liu.se/nettle/nettle was denied.
Hi, I think you asked for "developer access" in the Nettle repo, which would allow you to push any changes you like to the repository. You can't have that, but unfortunately, I couldn't add any explanatory message when pushing the deny button in gitlab.
The usual way to contribute code in gitlab (as well as on github), is that you make your own "fork" of the repository, where you have full permissions. You commit your changes to a branch in that fork, and then create a merge request asking for changes to be merged into the original repo.
Yes, I've tried to make a fork in https://git.lysator.liu.se/nettle/nettle/-/forks/new but failed, it just reports ' An error occurred while forking the project. Please try again. '. I replied a long email but tragically didn’t attach my patch. Here I attach my new patch of ecc-sm2. Besides, could you help me figure out what's wrong with my fork? I preferred to commit in fork mode, too.
See https://docs.gitlab.com/ee/user/project/repository/forking_workflow.html on how to create a fork from the gitlab ui.
When you work with git locally, you can have both your own "fork" repo and the original repo as git "remotes".
And if gitlab doesn't work out for you, you could also send the updated patch to this list.
Best regards, /Niels
-- Niels Möller. PGP key CB4962D070D77D7FCB8BA36271D8F1FF368C6677. Internet email is subject to wholesale government surveillance.