Commit graph

11279 commits

Author SHA1 Message Date
jlsestak
170f7fa305
Merge pull request #41 from jlsestak/trunk
Made test for parse files args, fixed parse file args, fixed repo flag
2021-06-08 22:10:57 -07:00
Jessica Sestak
e5b81fb6a5 Started working on testing for parseFileArgs 2021-06-08 22:09:11 -07:00
Jessica Sestak
1657cf46c1 Fixed parsefileargs to throw errors with incorrect line numbers 2021-06-08 21:23:50 -07:00
Jessica Sestak
a96612c5e9 Fixed --repo to open with Args 2021-06-08 20:54:56 -07:00
bchadwic
98a5541d15 Started to fix the flags and the restrictions using them 2021-06-08 20:35:38 -07:00
bchadwic
95afca882b Finished refactoring now 2021-06-08 16:35:53 -07:00
Benjamin Chadwick
ab468a99e2
Merge pull request #40 from bchadwic/trunk
Refactored output, the tests, and the use of opts in runBrowse
2021-06-08 15:39:39 -07:00
bchadwic
506bd4b2de working on refactoring the output, the tests and how opts is structured 2021-06-08 15:36:11 -07:00
vilmibm
395355d075 make prompt.Confirm stubbable 2021-06-08 15:49:37 -05:00
Benjamin Chadwick
5b8a849a9c
Merge pull request #39 from bchadwic/first-browse-pull
keeping working branch up to speed
2021-06-08 13:21:27 -07:00
Benjamin Chadwick
698ca014c7
Merge pull request #38 from bchadwic/trunk
Redefined browse output, and added in more test cases
2021-06-08 13:12:48 -07:00
Benjamin Chadwick
b059054102
Update settings.json 2021-06-08 13:12:11 -07:00
Benjamin Chadwick
5efe9f8df3
Update settings.json 2021-06-08 13:10:33 -07:00
Benjamin Chadwick
9fe986a480
Update pkg/cmd/browse/browse.go
Co-authored-by: Mislav Marohnić <hi@mislav.net>
2021-06-08 12:48:17 -07:00
Benjamin Chadwick
891f4af69c
Update pkg/cmd/browse/browse.go
Co-authored-by: Mislav Marohnić <hi@mislav.net>
2021-06-08 12:47:56 -07:00
Benjamin Chadwick
94002bf0cc
Update pkg/cmd/browse/browse.go
Co-authored-by: Mislav Marohnić <hi@mislav.net>
2021-06-08 12:47:44 -07:00
Mislav Marohnić
f5cd33b4bf Fix showing Checks in pr status
This was a regression in how `statusCheckRollup` is queried and stored.
As a result, `gh pr status` did not include rendered information about
checks related to each pull request. This switches the query builder to
`PullRequestGraphQL()` to eliminate the outdated query.
2021-06-08 20:22:33 +02:00
Mislav Marohnić
3a55c26000 Update "Accept" header for github.com requests
The `antiope-preview` has graduated in github.com and no longer needs
activating. However, we still need it for GHES requests.
2021-06-08 19:25:40 +02:00
Mislav Marohnić
8a221bb766 Add tests for our default HTTP client 2021-06-08 19:21:48 +02:00
Husrav Homidov
0ebcbdd448
Merge pull request #37 from ravocean/trunk
A small change in code
2021-06-07 22:01:38 -07:00
ravocean
898d585e6a A small change in code 2021-06-07 22:00:05 -07:00
bchadwic
569d2fd58a Got tests objects to fully work! Currently working on making more test cases 2021-06-07 21:47:08 -07:00
Benjamin Chadwick
698c7d61b5
Merge pull request #36 from bchadwic/trunk
Updating pr, Fixed output comparison
2021-06-07 13:02:15 -07:00
Husrav Homidov
3dc66b9539
Merge pull request #35 from ravocean/trunk
Continued to work on the output of test file
2021-06-07 12:58:21 -07:00
ravocean
449858158d Continued to work on the output of test file 2021-06-07 12:57:36 -07:00
Benjamin Chadwick
f9a5818ddc
Merge pull request #34 from bchadwic/trunk
Added in a rough test file
2021-06-07 11:59:53 -07:00
jlsestak
a3a010b603
Merge pull request #33 from jlsestak/trunk
Worked on browse_test.go, still not getting appropriate errors
2021-06-07 11:06:24 -07:00
Jessica Sestak
f792704003 Worked on browse_test.go, still not getting errors 2021-06-07 11:04:29 -07:00
bchadwic
6ed9900084 working on the test file for the browse.go 2021-06-06 01:09:43 -07:00
Thanh D Tran
dd4ebc9b8f
Merge pull request #32 from ttran112/trunk
working on test file
2021-06-05 23:34:44 -07:00
ttran112
e425e897a6 create new test file for first browse branch 2021-06-05 23:31:19 -07:00
ttran112
1a9704dbfb fix the route 2021-06-05 22:46:46 -07:00
Thanh D Tran
0174dbcdc4
Merge pull request #2 from bchadwic/first-browse-pull
firstbrowse
2021-06-05 22:18:44 -07:00
Benjamin Chadwick
bc3a341479
Update browse.go 2021-06-05 21:56:06 -07:00
jlsestak
f27b47f4f9
Merge pull request #31 from jlsestak/trunk
Updated errors
2021-06-05 21:48:54 -07:00
Jessica Sestak
6f09e4f51a Fixed print error messages and returning error from openInBrowser 2021-06-05 21:47:03 -07:00
jlsestak
95f7fb4bd8
Merge pull request #1 from bchadwic/first-browse-pull
Working on the errors
2021-06-05 20:53:40 -07:00
Thanh D Tran
ed87cf71b7 Merge branch 'cli:trunk' into first-browse-pull 2021-06-05 20:43:39 -07:00
Benjamin Chadwick
314b8e8571
Update main.go 2021-06-05 20:21:43 -07:00
Benjamin Chadwick
e5bd9666ff
Fix white space 2021-06-05 20:20:57 -07:00
bchadwic
6fc36cf01f Fixed long message 2021-06-05 17:48:52 -07:00
bchadwic
e28000b5d2 Worked on help section 2021-06-05 17:46:07 -07:00
chemotaxis
a72f6346dd Rearrange Conda installation instructions
Originally,  I was thinking of putting Conda in a separate section after
the Windows section, since Conda probably isn't as well known or used.
But reading through the readme again, it seems like arranging it like
the other instructions makes more sense.

I found myself trying to look for the instructions when I first read it
in the MacOS section, but couldn't find the instructions.
2021-06-05 12:37:55 -04:00
chemotaxis
71c6b8f43a Add links to Conda section within each OS section 2021-06-05 00:48:36 -04:00
chemotaxis
71b738b553 Make whitespace consistent 2021-06-05 00:42:39 -04:00
chemotaxis
3caba02f3c Add documentation for installing via Conda
Conda is a cross-platform package and environment manager, primarily
associated with the scientific computing and data science communities.
2021-06-05 00:35:30 -04:00
Cristian Dominguez
b3c2318e09 Increase GH_PAGER precedence
If `GH_PAGER` is exists, set it as the pager even if one is
already set in config.

This allows a user to change/disable the pager per single invocation.
2021-06-04 23:22:37 -03:00
Mislav Marohnić
606deaf134 Allow setting empty body via editor in issue/pr create 2021-06-04 21:50:51 +02:00
Mislav Marohnić
f570deb118 Add tests for opening the editor program 2021-06-04 21:24:17 +02:00
Mislav Marohnić
75abeb13a8
Merge pull request #3786 from browniebroke/remove-secret-long-description
Add a long command description for secrets remove
2021-06-04 20:18:26 +02:00