Mislav Marohnić
fbf425f048
go mod tidy
2020-07-07 17:57:52 +02:00
Mislav Marohnić
f4c4ce0b0a
Add names to GraphQL queries made over shurcooL adapter
2020-07-07 17:53:40 +02:00
Mislav Marohnić
0dfc0f733f
Fix indentation of Example blocks
...
In HTML, `Example` blocks seem to be already injected in fenced Markdown
blocks `` ``` ``, so they don't need to be especially intented.
2020-06-11 20:31:37 +02:00
Mislav Marohnić
61ddd67f20
Bump yaml.v3
2020-05-28 15:23:41 +02:00
Mislav Marohnić
26466f8a0d
Bump net
2020-05-28 15:23:23 +02:00
Mislav Marohnić
4abb1a9778
Bump crypto
2020-05-28 15:23:08 +02:00
Mislav Marohnić
bc575fd50c
Bump githubv4
2020-05-28 15:22:44 +02:00
Mislav Marohnić
755c4c315b
Bump go-runewidth
2020-05-28 15:22:18 +02:00
Mislav Marohnić
8cb714f2fc
Bump httpretty
2020-05-28 15:21:55 +02:00
Mislav Marohnić
55c9537c68
Bump go-cmp
2020-05-28 15:21:28 +02:00
Mislav Marohnić
c831f2623b
Bump spinner
2020-05-28 15:20:23 +02:00
Mislav Marohnić
eab5af9449
Merge remote-tracking branch 'origin' into cobra1.0
2020-05-28 15:15:20 +02:00
Mislav Marohnić
bef62faaea
Make NewCmdApi testable
2020-05-20 15:21:35 +02:00
Mislav Marohnić
e39894d4a0
Update to Cobra 1.0.0
2020-05-13 12:49:52 +02:00
Mislav Marohnić
ea9f89f366
go mod tidy
2020-04-13 16:53:46 +02:00
Mislav Marohnić
0bc631179b
Update spinner library to avoid race condition after Stop()
2020-04-13 14:07:16 +02:00
Toshiya Doi
0095fe9a13
Merge branch 'master' into view-the-current-state
2020-04-02 23:52:41 +09:00
vilmibm
0680bb5c6c
go mod tidy
2020-03-31 14:47:27 -05:00
Mislav Marohnić
8460609181
repo clone: automatically set up "upstream" remote for forks
2020-03-31 15:32:52 +02:00
Toshiya Doi
7d42f46cda
Merge branch 'master' into view-the-current-state
2020-03-25 22:46:12 +09:00
Christian Muehlhaeuser
d2fda98e16
Bump glamour dependency
...
This fixes #647 by not retrieving the terminal's background color on init.
2020-03-20 18:51:17 +01:00
Toshiya Doi
0cfa4be86a
Add tests for utilities of PR/issue state format
2020-03-18 07:30:28 +09:00
Christian Muehlhaeuser
0d6e347155
Bump glamour dependency
...
This indirectly also updates the chroma syntax highlighting package,
which fixes a rendering bug for CRLF line endings, which we
encountered in cli. We can therefore remove our internal work-around.
2020-03-04 15:03:04 +01:00
Nate Smith
3d7733870e
Merge branch 'master' into repo-fork
2020-03-03 15:40:54 -06:00
Mislav Marohnić
6b286072dd
Bump dependencies
2020-03-03 18:12:30 +01:00
vilmibm
1217bfce09
add spinner helper
2020-02-26 11:41:54 -06:00
Henrique Vicente
e7c88d0fb1
impr(verbose): using package httpretty to log requests on DEBUG.
2020-02-21 02:46:18 +01:00
Mislav Marohnić
4c3e498021
Fix column alignment and truncation for Eastern Asian languages
...
- Ensure that text is never truncated mid-character, which would result
in garbled text
- Ensure that columns in `issue/pr list` output align properly
2020-02-20 18:52:17 +01:00
Mislav Marohnić
619c9d9495
Bump dependencies
...
go get -u -t ./...
go get github.com/charmbracelet/glamour@8d4e3f0
go mod tidy
2020-02-20 12:51:32 +01:00
Nicolas Martin
950144945f
Use glamour as markdown rendering backend for issue & pr previews
...
glamour uses the CommonMark compliant Goldmark markdown parser instead of
go-termd which is based on Blackfriday.
2020-02-06 00:20:16 +01:00
vilmibm
daf02ff3ec
de-inline go-termd
2020-01-13 16:10:22 -06:00
vilmibm
e42b097629
inline a markdown rendering lib
...
This commit inlines https://github.com/tj/go-termd for a few reasons:
- off the shelf it relies on a broken, erroneously released version of
blackfriday (a markdown parser)
- based on discussion with ampinsk, there are some tweaks we'd like to
make to markdown rendering beyond what the library exposes now
- it's a small library (around 300 sloc)
This commit only:
- messes with go.mod to fix the blackfriday issues
- adds an inclusion note
- renames the package
2020-01-10 14:44:51 -06:00
vilmibm
4925c3cf01
preview PRs and issues in the terminal with -p
2020-01-10 11:41:26 -06:00
Mislav Marohnić
9425d33b3d
Merge pull request #127 from github/help-site
...
Generate help docs to GitHub Pages
2019-12-05 18:37:46 +01:00
Corey Johnson
b6adf7f4b1
Merge branch 'master' into upgrade-gh-reminder
2019-12-04 09:55:23 -08:00
Mislav Marohnić
67f0cf3ce3
Improvements to update notifier
...
- Only report an update available if the version number of the release
is greater than the current version
- Removes `command` dependency from `update` package; instead, pass
current version as an argument
- Remove `brew upgrade` instructions since we can't be certain that gh
was installed via Homebrew in the first place.
- Does not check for updates unless stderr is a tty
- Preserve stderr color output even if stdout is not a tty
- Fixes stderr color output on Windows
2019-12-04 14:47:27 +01:00
Mislav Marohnić
2621bccc44
Use RunCommand in tests to ensure flags reset between runs
2019-12-03 17:26:28 +01:00
Mislav Marohnić
723cd06b8a
Add pr list --assignee test
2019-12-03 16:01:03 +01:00
Mislav Marohnić
39080dc332
Generate help docs to GitHub Pages
...
`make site-docs`:
1. checks out the `gh-pages` branch into the `site/` directory;
2. regenerates `.md` help pages using Cobra;
3. commits and publishes updates.
2019-11-28 16:43:07 +01:00
vilmibm
237fd04ad0
use errors.Wrap
2019-11-13 15:00:57 -06:00
Mislav Marohnić
a275398dac
Merge remote-tracking branch 'origin/master' into pr-create
2019-11-11 12:24:09 +01:00
Mislav Marohnić
29b5593e21
go mod tidy
2019-11-06 19:12:53 +01:00
nate smith
e8634ca5d8
use mgutz/ansi in utils
2019-11-05 13:47:48 -07:00
nate smith
dfd567bf7f
blindly committing the state of these files
2019-10-30 12:00:35 -05:00
Mislav Marohnić
25c90ed265
go mod tidy
2019-10-17 02:26:32 +02:00
Corey Johnson
cff76fbc22
Use gookit for colors
2019-10-15 14:51:33 -07:00
Corey Johnson
b4d28f11b0
Style gh pr list
2019-10-14 14:21:15 -07:00
Mislav Marohnić
c67f315164
go mod tidy
2019-10-04 10:50:45 +02:00
nate smith
8dd03144ff
initial commit
2019-10-03 22:20:31 -05:00