Commit graph

3122 commits

Author SHA1 Message Date
Mislav Marohnić
2bdffc85e2 Isolate flag processing tests in repo list 2021-02-27 14:39:06 +01:00
Mislav Marohnić
1fa763f514 Avoid having to first query for username in repo list
Dynamically construct the GraphQL query by using the `viewer` connection
if the owner isn't set and the `repositoryOwner(login:"...")` connection
if the owner was set.
2021-02-27 14:38:56 +01:00
Mislav Marohnić
4da02614ed Switch repo list to query via graphql package
Also order results by PUSHED_AT instead of UPDATED_AT to match the web
interface.
2021-02-27 13:17:59 +01:00
Cristian Dominguez
2284ef43d0 repo list: add tests 2021-02-19 17:34:17 -03:00
Cristian Dominguez
cad875a05f repo list: render repo tags into the 3rd column instead of the 2nd 2021-02-18 19:02:59 -03:00
Cristian Dominguez
b7c2865d0f Remove archived filter from repo list 2021-02-18 17:34:00 -03:00
Cristian Dominguez
9a149d7694 Add repo list command 2021-02-11 19:44:47 -03:00
Mislav Marohnić
962791bf27
Merge pull request #2888 from Ma3oBblu/gist-view-raw-fix
remove gist description from single file raw view (#2886)
2021-02-02 15:12:12 +01:00
Mislav Marohnić
3f7b1387e5 Improve gist view rendering
- Separate out logic to render a single file
- Render directly to stdout instead of to string slice
- Normalize whitespace between files; ensure no excessive trailing whitespace
- Add terminal pager support
- Sentence-case for flags
2021-02-02 14:21:48 +01:00
Ruslan Gilyazetdinov
bf4370bc3a linter fixes 2021-02-02 10:56:29 +03:00
Ruslan Gilyazetdinov
232dc7b7fa change condition for single file, remove empty lines in single file mode 2021-02-02 10:54:07 +03:00
Nate Smith
de5c04f721
Merge pull request #2856 from cli/fix-rpms
run createrepo via docker
2021-02-01 13:20:51 -08:00
Ruslan Gilyazetdinov
8e86129e2e remove gist description from single file raw view (#2886) 2021-02-01 18:49:26 +03:00
Mislav Marohnić
7e8348a68f
Remove duplicate link to report a security vulnerability
We already have a `.github/security.md` file which auto-generates a link in the issue template chooser
2021-02-01 13:18:15 +01:00
Mislav Marohnić
c8704260b1
Add additional resources to issue template chooser 2021-02-01 13:16:33 +01:00
Mislav Marohnić
d771bef106
Merge pull request #2858 from dpromanko/dpromanko/remove-set-cmd-prepare
Remove use of run.SetPrepareCmd in tests
2021-01-28 22:38:50 +01:00
Mislav Marohnić
051fbbc1e1 Merge remote-tracking branch 'origin' into dpromanko/remove-set-cmd-prepare 2021-01-28 22:00:08 +01:00
Mislav Marohnić
d86cfe4627 Unpublish SetPrepareCmd 2021-01-28 21:59:30 +01:00
Mislav Marohnić
88c27934a1 Update some stubs to be closer to how git behaves 2021-01-28 21:58:45 +01:00
Nate Smith
d91b3121c8
Merge pull request #2839 from kevinmbeaulieu/kb/delete-issue-cmd
Add `issue delete` command
2021-01-27 16:41:30 -08:00
Kevin Beaulieu
4b036f6675 Skip confirmation for non-interactive contexts 2021-01-27 16:31:23 -08:00
Devon Romanko
2964895a77 fix test behavior changes from migration to run.Stub 2021-01-27 18:46:29 -05:00
Sam
11d3972bac
Merge pull request #2859 from cli/hidden-comments
Do not display minimized comments
2021-01-27 11:20:01 -08:00
vilmibm
7479b3834d use volume to avoid having to rebuild 2021-01-27 10:58:54 -08:00
vilmibm
773c8b3923 no longer try and install createrepo 2021-01-27 10:58:08 -08:00
vilmibm
33c119aa98 remove stray debug line 2021-01-27 10:41:03 -08:00
Sam Coe
52bdcad8ea
Do not display minimized comments 2021-01-27 08:14:46 -08:00
Devon Romanko
cb897fd7e2 remove unused errorStub from 'pr checkout' test 2021-01-27 08:04:57 -05:00
Devon Romanko
696cbfc8d1 use Stub instead of SetPrepareCmd in 'repo create' tests 2021-01-27 07:59:32 -05:00
Devon Romanko
a04e0ece71 use Stub instead of SetPrepareCmd in 'pr checkout' tests 2021-01-27 07:53:21 -05:00
Devon Romanko
45bc1d787c use Stub instead of SetPrepareCmd in 'pr view' tests 2021-01-27 07:23:49 -05:00
vilmibm
6ef5248d21 cp -r instead of mv 2021-01-26 17:08:08 -08:00
vilmibm
39628a4354 use new docker-based script 2021-01-26 16:53:00 -08:00
vilmibm
a603526e01 clean up temporary directory 2021-01-26 16:44:37 -08:00
vilmibm
71da09e560 add docker-based script for running createrepo 2021-01-26 16:43:53 -08:00
Devon Romanko
9dcd3fbacf use Stub instead of SetPrepareCmd in 'issue create' tests 2021-01-26 08:24:22 -05:00
Devon Romanko
3068d80a27 use Stub instead of SetPrepareCmd in 'issue view' tests 2021-01-26 08:15:43 -05:00
Devon Romanko
2eed1593ce use Stub instead of SetPrepareCmd in 'pr list' tests 2021-01-26 08:15:13 -05:00
Devon Romanko
877cbbb5dc use Stub instead of SetPrepareCmd in 'issue list' tests 2021-01-26 08:14:29 -05:00
Kevin Beaulieu
4468a5c950 Update tests to handle confirmation 2021-01-25 18:24:52 -08:00
Kevin Beaulieu
e7df220b01 Add confirmation prompt 2021-01-25 18:03:45 -08:00
Sam
c71dc877b1
Merge pull request #2255 from quiye/alert-merging-with-unpushed
Alert unpushed commits when merging a pull request
2021-01-25 13:56:47 -08:00
Sam Coe
3f172ad991
Add contional and tests 2021-01-25 13:27:32 -08:00
zamasu
e4b9f7cb8c
Alert unpushed commits when merging a pull request 2021-01-25 12:04:32 -08:00
Sam
e6e920827f
Merge pull request #2444 from bigkevmcd/config-dir-from-env
Configuration path can come from environment.
2021-01-25 11:50:02 -08:00
Sam Coe
85a6267810
Remove last hardcoded config paths and fix tests 2021-01-25 11:43:37 -08:00
Nate Smith
e9afac9373
Merge pull request #2844 from cli/secret-set-fix
Fix `secret set --repos` for repositories that have dashes
2021-01-25 11:34:59 -08:00
Nate Smith
6152d8a419
Merge pull request #2825 from cli/rename-fork
restore fork rename behavior for nontty case
2021-01-25 11:29:52 -08:00
Sam
8125cd5911
Merge pull request #2117 from fsmiamoto/checkout-detached-head
Add flag for using detached HEAD to `pr checkout`
2021-01-25 11:29:36 -08:00
vilmibm
26f6761481 add note about future behavior 2021-01-25 11:29:26 -08:00