<feed xmlns='http://www.w3.org/2005/Atom'>
<title>code-review/code-review-gh-start, branch master</title>
<subtitle>Tools to facilitate code review on the command line</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/code-review/'/>
<entry>
<title>code-review-gh-start: Add "origin/" prefix to merge base</title>
<updated>2023-12-08T21:01:20+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-12-08T21:01:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/code-review/commit/?id=d0ab1abe75e20dd402734bafa30b0b828905880d'/>
<id>d0ab1abe75e20dd402734bafa30b0b828905880d</id>
<content type='text'>
True, the remote name is not necessarily going to be called "origin",
but that's a reasonable default.

This allows commit ranges to work even when the merge base branch hasn't
been created locally.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
True, the remote name is not necessarily going to be called "origin",
but that's a reasonable default.

This allows commit ranges to work even when the merge base branch hasn't
been created locally.
</pre>
</div>
</content>
</entry>
<entry>
<title>code-review-gh-start: Get the merge base from the GitHub API</title>
<updated>2023-07-26T23:28:23+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-07-26T23:28:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/code-review/commit/?id=c214aeac877f9d3043f28d6f8215d5c5f0809f8e'/>
<id>c214aeac877f9d3043f28d6f8215d5c5f0809f8e</id>
<content type='text'>
Haven't tested this yet, but the idea is to use the `gh` CLI to call the
GitHub API and get the list of pulls requests. These are filtered to get
the one open for the current branch, and we can then get its merge base
and start a `code-review` review using that merge base.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Haven't tested this yet, but the idea is to use the `gh` CLI to call the
GitHub API and get the list of pulls requests. These are filtered to get
the one open for the current branch, and we can then get its merge base
and start a `code-review` review using that merge base.
</pre>
</div>
</content>
</entry>
<entry>
<title>code-review-gh-start: Idea to get merge base from GitHub API via gh CLI</title>
<updated>2023-07-26T23:18:26+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-07-26T23:18:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/code-review/commit/?id=f8e1d32f122ea1f8d51e53062a4b2a974d868a86'/>
<id>f8e1d32f122ea1f8d51e53062a4b2a974d868a86</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>code-review-gh-start: Idea to get merge base from GitHub pull request</title>
<updated>2023-07-26T22:24:17+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2023-07-26T22:24:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/code-review/commit/?id=00e9d626712dc1b201eb2380cf21ebe2169121d7'/>
<id>00e9d626712dc1b201eb2380cf21ebe2169121d7</id>
<content type='text'>
To alleviate dealing with repositories that don't use "master" as their
master branch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To alleviate dealing with repositories that don't use "master" as their
master branch.
</pre>
</div>
</content>
</entry>
</feed>
