gerrit

How to abandon all changes of an entire patchset at once in Gerrit?

对着背影说爱祢 提交于 2020-01-16 12:34:24
问题 Due to our workflow, I have to abandon changes often, and now I'm doing it by going over every single commit and clicking abandon. But that is getting tiring, is there a way to abandon the entire patchset and all parents in one go, just like I can submit including parents? I was hoping for a web UI method, but if not possible, I might also give the gerrit CLI tool a try: https://gerrit-review.googlesource.com/Documentation/cmd-review.html Related for a topic: How to abandon a whole topic on

How to abandon all changes of an entire patchset at once in Gerrit?

六眼飞鱼酱① 提交于 2020-01-16 12:34:04
问题 Due to our workflow, I have to abandon changes often, and now I'm doing it by going over every single commit and clicking abandon. But that is getting tiring, is there a way to abandon the entire patchset and all parents in one go, just like I can submit including parents? I was hoping for a web UI method, but if not possible, I might also give the gerrit CLI tool a try: https://gerrit-review.googlesource.com/Documentation/cmd-review.html Related for a topic: How to abandon a whole topic on

How to abandon all changes of an entire patchset at once in Gerrit?

て烟熏妆下的殇ゞ 提交于 2020-01-16 12:33:53
问题 Due to our workflow, I have to abandon changes often, and now I'm doing it by going over every single commit and clicking abandon. But that is getting tiring, is there a way to abandon the entire patchset and all parents in one go, just like I can submit including parents? I was hoping for a web UI method, but if not possible, I might also give the gerrit CLI tool a try: https://gerrit-review.googlesource.com/Documentation/cmd-review.html Related for a topic: How to abandon a whole topic on

How is git merge better than svn merge if you still have to go through the same steps?

我与影子孤独终老i 提交于 2020-01-15 07:23:10
问题 After reading How and/or why is merging in Git better than in SVN? I still don't get it. Let's say I have multiple versions I'm maintaining (I need to maintain them all, all in production): v1.0 v1.1 v1.2 v1.3 v1.4 Now I commit a bugfix to v1.0 (and I need this bug fix in all next versions). Now in both git and svn I have to perform the following logical operations x=1 merge into next branch v1.(x) check everything is ok (tests, build) for v1.(x) x++ goto (2) until at last branch What is the

GERRIT: ! [remote rejected] HEAD -> refs/for/master (internal server error)

[亡魂溺海] 提交于 2020-01-15 06:11:44
问题 It was working fine. Now, when I try to push git push origin HEAD:refs/for/master I get, Counting objects: 5, done. Delta compression using up to 2 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 310 bytes, done. Total 3 (delta 1), reused 0 (delta 0) remote: Resolving deltas: 100% (1/1) remote: Processing changes: refs: 2, done To ssh://vinoth.pramati@192.168.6.9:29412/gerrit_prj_1 **! [remote rejected] HEAD -> refs/for/master (internal server error)** error:

GERRIT: ! [remote rejected] HEAD -> refs/for/master (internal server error)

允我心安 提交于 2020-01-15 06:11:30
问题 It was working fine. Now, when I try to push git push origin HEAD:refs/for/master I get, Counting objects: 5, done. Delta compression using up to 2 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 310 bytes, done. Total 3 (delta 1), reused 0 (delta 0) remote: Resolving deltas: 100% (1/1) remote: Processing changes: refs: 2, done To ssh://vinoth.pramati@192.168.6.9:29412/gerrit_prj_1 **! [remote rejected] HEAD -> refs/for/master (internal server error)** error:

GERRIT: ! [remote rejected] HEAD -> refs/for/master (internal server error)

你离开我真会死。 提交于 2020-01-15 06:11:30
问题 It was working fine. Now, when I try to push git push origin HEAD:refs/for/master I get, Counting objects: 5, done. Delta compression using up to 2 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 310 bytes, done. Total 3 (delta 1), reused 0 (delta 0) remote: Resolving deltas: 100% (1/1) remote: Processing changes: refs: 2, done To ssh://vinoth.pramati@192.168.6.9:29412/gerrit_prj_1 **! [remote rejected] HEAD -> refs/for/master (internal server error)** error:

Using REST APIs

不羁岁月 提交于 2020-01-13 09:07:54
问题 I am new to gerrit. I am using gerrit V. 2.6 . I want to use gerrit REST APIs in my python script. But not able to figure out how to use it. I tried below code but getting errors. curl --digest --user user:password http://server/a/changes/path/to/project~branch~change_id/rebase getting error : 401 Authorization Required Authorization Required This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password),

Using REST APIs

倖福魔咒の 提交于 2020-01-13 09:06:31
问题 I am new to gerrit. I am using gerrit V. 2.6 . I want to use gerrit REST APIs in my python script. But not able to figure out how to use it. I tried below code but getting errors. curl --digest --user user:password http://server/a/changes/path/to/project~branch~change_id/rebase getting error : 401 Authorization Required Authorization Required This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password),

Using REST APIs

落爺英雄遲暮 提交于 2020-01-13 09:06:11
问题 I am new to gerrit. I am using gerrit V. 2.6 . I want to use gerrit REST APIs in my python script. But not able to figure out how to use it. I tried below code but getting errors. curl --digest --user user:password http://server/a/changes/path/to/project~branch~change_id/rebase getting error : 401 Authorization Required Authorization Required This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password),