<feed xmlns='http://www.w3.org/2005/Atom'>
<title>go-x-review/git-codereview/doc.go, branch main</title>
<subtitle>Fork of golang.org/x/review with my patches.</subtitle>
<id>http://git.kilabit.info/go-x-review/atom?h=main</id>
<link rel='self' href='http://git.kilabit.info/go-x-review/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/'/>
<updated>2026-04-09T15:20:06Z</updated>
<entry>
<title>git-codereview: support remote other than "origin"</title>
<updated>2026-04-09T15:20:06Z</updated>
<author>
<name>Shulhan</name>
<email>m.shulhan@gmail.com</email>
</author>
<published>2024-07-20T20:48:32Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=31f678e5a420fecf567c30bc66e40b43ad85fd17'/>
<id>urn:sha1:31f678e5a420fecf567c30bc66e40b43ad85fd17</id>
<content type='text'>
For the git-codereview commands to works on any Go's repositories, the
remote name for "origin" must be pointed to the Go original repository URL
(in most cases the one with go.googlesource.com domain).

The problem is when the "origin" is from the fork, all of the
git-codereview commands then will not works.

For example, in computer X, I clone the this repository from
"https://go.googlesource.com/review" (the origin) and then push my
changes on "git@git.sr.ht:~shulhan/go-x-review" (the fork).
In another computer Y, I then clone from the fork to continue my works.
The fork become origin.

One of the solution is to rename the remote names manually each time we
clone the fork.
The only cons using this solution is every time new branch created we need
to remember to pass "--set-upstream" during git push.

This changes introduce "remote" configuration in codereview.cfg.
When one first working on fork of Go repository, they set the "remote"
key, commit it, and push it.
When they cloned the fork, they did not needs to changes anything except
adding new remote using the pre-defined name.

Change-Id: I335d08fd8b7efe17ba07b3c0a3794f9ccf59b339
</content>
</entry>
<entry>
<title>git-codereview: pending: add -g option</title>
<updated>2025-02-06T21:31:03Z</updated>
<author>
<name>Ian Lance Taylor</name>
<email>iant@golang.org</email>
</author>
<published>2025-02-06T18:48:39Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=53e0267ad4a55f61f94f167e38ccfa2aa7970662'/>
<id>urn:sha1:53e0267ad4a55f61f94f167e38ccfa2aa7970662</id>
<content type='text'>
This is a convenient format for listing changes awaiting review,
for pasting into an e-mail or chat.

Change-Id: Ib31bf0307d34aaca3e4de4baf9be4c3b3ac60be7
Reviewed-on: https://go-review.googlesource.com/c/review/+/647096
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Commit-Queue: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Auto-Submit: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>git-codereview: make hooks command report conflicting hooks</title>
<updated>2023-10-18T12:53:42Z</updated>
<author>
<name>siddharth ravikumar</name>
<email>s@ricketyspace.net</email>
</author>
<published>2023-09-12T02:34:15Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=8be3abfe097ddf04b28eec2783249d29b3a48dae'/>
<id>urn:sha1:8be3abfe097ddf04b28eec2783249d29b3a48dae</id>
<content type='text'>
Display warning message when a hook is already installed and is
different from the one installed by git-codereview.

Improves upon CL 184417.

Fixes golang/go#16777

Change-Id: I7579a3e86572e8b74f92317973e7cc7094b3942d
Reviewed-on: https://go-review.googlesource.com/c/review/+/377034
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Than McIntosh &lt;thanm@google.com&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
</content>
</entry>
<entry>
<title>git-codereview: change default -trybot flag to use LUCI</title>
<updated>2023-08-28T20:59:30Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2023-08-25T19:31:43Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=dbef367af75863876323ec31693d7cd0d65d5f9e'/>
<id>urn:sha1:dbef367af75863876323ec31693d7cd0d65d5f9e</id>
<content type='text'>
For when it's time.

Change-Id: Ife6df8eed0a02d9a47ffca141be083aaf3b09d28
Reviewed-on: https://go-review.googlesource.com/c/review/+/523115
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Reviewed-by: Heschi Kreinick &lt;heschi@google.com&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
</content>
</entry>
<entry>
<title>git-codereview: add GIT_CODEREVIEW_TRYBOT env var to control CI system</title>
<updated>2023-08-25T20:23:13Z</updated>
<author>
<name>Dmitri Shuralyov</name>
<email>dmitshur@golang.org</email>
</author>
<published>2023-08-25T19:34:18Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=a7f03fb75ac9ca173ff7d2d453bc09f3fb975220'/>
<id>urn:sha1:a7f03fb75ac9ca173ff7d2d453bc09f3fb975220</id>
<content type='text'>
The mail command has a -trybot flag, useful to start TryBots on the CL
being mailed. The new LUCI trybots are almost ready, and we'll soon be
asking contributors to consider them the new default. Prepare for that
by adding a temporary GIT_CODEREVIEW_TRYBOT environment variable which
will make it possible to override the CI system invoked by the -trybot
flag.

This CL keeps the default as the old CI system (farmer.golang.org),
and the next CL switches it to the new one (ci.chromium.org/p/golang).

The environment variable will eventually be removed once it has no use.

Change-Id: Ia20bb0cad1fee387b2d94a8438e8a3be3ec87e6b
Reviewed-on: https://go-review.googlesource.com/c/review/+/523095
Reviewed-by: Dmitri Shuralyov &lt;dmitshur@google.com&gt;
Run-TryBot: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
Auto-Submit: Dmitri Shuralyov &lt;dmitshur@golang.org&gt;
LUCI-TryBot-Result: Go LUCI &lt;golang-scoped@luci-project-accounts.iam.gserviceaccount.com&gt;
Reviewed-by: Heschi Kreinick &lt;heschi@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>git-codereview: add -autosubmit</title>
<updated>2022-10-03T20:07:31Z</updated>
<author>
<name>Heschi Kreinick</name>
<email>heschi@google.com</email>
</author>
<published>2022-09-16T15:17:40Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=a897dc9c03c577746ba0a4033dc61f3e5983f3e2'/>
<id>urn:sha1:a897dc9c03c577746ba0a4033dc61f3e5983f3e2</id>
<content type='text'>
Add a flag to set the Auto-Submit label.

For golang/go#48021.

Change-Id: If704e8b5e9e0e2521eed78fe28af10d3c31ec3a0
Reviewed-on: https://go-review.googlesource.com/c/review/+/431375
Auto-Submit: Heschi Kreinick &lt;heschi@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
Run-TryBot: Heschi Kreinick &lt;heschi@google.com&gt;
</content>
</entry>
<entry>
<title>git-codereview: remove -trust</title>
<updated>2022-04-12T21:26:36Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2022-04-12T20:19:37Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=f2105c4cf825fe09ece01c9d554f6c0a5bc06a03'/>
<id>urn:sha1:f2105c4cf825fe09ece01c9d554f6c0a5bc06a03</id>
<content type='text'>
We don't use that label anymore.

Change-Id: Ic31841efaea5d9d9ae38077d8c3a3b6c548fee88
Reviewed-on: https://go-review.googlesource.com/c/review/+/399117
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
Reviewed-by: Bryan Mills &lt;bcmills@google.com&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
</content>
</entry>
<entry>
<title>all: gofmt</title>
<updated>2022-04-11T22:47:05Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2022-04-11T17:12:29Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=adff2bbdb1effc869015960245d9d472a47859f8'/>
<id>urn:sha1:adff2bbdb1effc869015960245d9d472a47859f8</id>
<content type='text'>
Gofmt to update doc comments to the new formatting.

For golang/go#51082.

Change-Id: I257fdc6811a1156714d7c7934f6256f07a460b9d
Reviewed-on: https://go-review.googlesource.com/c/review/+/399618
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
TryBot-Result: Gopher Robot &lt;gobot@golang.org&gt;
Auto-Submit: Russ Cox &lt;rsc@golang.org&gt;
Reviewed-by: Ian Lance Taylor &lt;iant@google.com&gt;
</content>
</entry>
<entry>
<title>git-codereview: add -s option for change</title>
<updated>2021-07-29T10:11:46Z</updated>
<author>
<name>Paul Jolly</name>
<email>paul@myitcv.io</email>
</author>
<published>2021-07-15T09:29:06Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=2e4fd9a232c3368afeca71043fd7538ed11c681c'/>
<id>urn:sha1:2e4fd9a232c3368afeca71043fd7538ed11c681c</id>
<content type='text'>
Some projects (CUE, https://cuelang.org, is one such example) use the
Developer Certificate of Origin (https://developercertificate.org) as an
alternative to a CLA. For such projects, all commit messages must
contain the Signed-off-by trailer, with an email address that matches
the commit author. This requires the -s flag to be passed to git commit.

This change adds a -s flag to git-codereview's change command, which is
then simply passed through to git commit.

Change-Id: I6aeac37a1bcdc6e260ae822d3a03117fb87f846f
Reviewed-on: https://go-review.googlesource.com/c/review/+/334750
Trust: Paul Jolly &lt;paul@myitcv.org.uk&gt;
Run-TryBot: Paul Jolly &lt;paul@myitcv.org.uk&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Russ Cox &lt;rsc@golang.org&gt;
</content>
</entry>
<entry>
<title>git-codereview: document sync-branch</title>
<updated>2021-02-17T14:21:55Z</updated>
<author>
<name>Russ Cox</name>
<email>rsc@golang.org</email>
</author>
<published>2021-01-13T16:19:35Z</published>
<link rel='alternate' type='text/html' href='http://git.kilabit.info/go-x-review/commit/?id=840efbcaa4b8a3f0bd99f59d1eb822fecdd4bd74'/>
<id>urn:sha1:840efbcaa4b8a3f0bd99f59d1eb822fecdd4bd74</id>
<content type='text'>
Change-Id: If5f9018bc1a87444df44c4d8ae853908ee283154
Reviewed-on: https://go-review.googlesource.com/c/review/+/283613
Trust: Russ Cox &lt;rsc@golang.org&gt;
Run-TryBot: Russ Cox &lt;rsc@golang.org&gt;
TryBot-Result: Go Bot &lt;gobot@golang.org&gt;
Reviewed-by: Filippo Valsorda &lt;filippo@golang.org&gt;
</content>
</entry>
</feed>
