Gowtham Munukutla
a1f26057de
gofmt
2021-07-10 23:04:46 +05:30
Gowtham Munukutla
52550f0bee
fix private repo creation in case of ignore templates
2021-07-10 23:03:16 +05:30
Sam Coe
63f7372b31
Fix lint
2021-07-01 09:55:13 -07:00
vilmibm
589b695bcf
test for org + license/ignore
2021-06-30 17:41:39 -05:00
vilmibm
2723a01760
fix repo generation in org with license/ignore
2021-06-30 17:21:58 -05:00
Sam Coe
a1e1842e6d
Catch a couple more edge cases
2021-06-29 20:48:30 -07:00
Sam Coe
0b80c30789
Fix remote resolving for source repo
2021-06-28 17:00:06 -07:00
Nate Smith
7fc0acd8a5
Merge pull request #3746 from g14a/feature/repo-with-gitignore-license
...
Feature/create repo with gitignore license
2021-06-28 14:57:31 -07:00
Sam Coe
5481b2b5e6
Move dirty repo check before any network calls
2021-06-24 09:08:36 -07:00
Sam Coe
8219710551
Address PR comments
2021-06-23 14:20:14 -07:00
Sam Coe
0e838052a4
Rewrite tests with new mocks
2021-06-23 12:01:58 -07:00
Gowtham Munukutla
5c7da584e5
clone remote repo after creating with gitignore and license
2021-06-23 10:21:28 +05:30
Sam Coe
4ed2bfc4a0
Revert "Add counterfeiter"
...
This reverts commit 096f30a319 .
2021-06-22 13:55:30 -07:00
Gowtham Munukutla
a44a3c8fd0
remove redundant logs
2021-06-17 10:41:24 +05:30
Gowtham Munukutla
137053399e
tweak tests and add extra validations
2021-06-17 10:17:26 +05:30
Gowtham Munukutla
3c8e163e8b
resolve PR comments. Tests WIP
2021-06-16 12:50:05 +05:30
Gowtham Munukutla
7c8b6867f4
Merge branch 'trunk' of https://github.com/cli/cli into feature/repo-with-gitignore-license
2021-06-16 09:27:53 +05:30
Sam Coe
8423de7f50
Add tests
2021-06-14 10:54:28 -04:00
Sam Coe
096f30a319
Add counterfeiter
2021-06-14 10:51:51 -04:00
Sam Coe
2729af50df
Cleanup SyncOptions
2021-06-14 10:51:51 -04:00
Sam Coe
8d61b96bde
Fix up error message
2021-06-14 10:51:51 -04:00
Sam Coe
8b5abc77ea
Extract git interactions into interface
2021-06-14 10:51:51 -04:00
Sam Coe
c6f89d3c17
Start tests
2021-06-14 10:51:50 -04:00
Sam Coe
86e16cc7c4
Add repo sync command
2021-06-14 10:51:50 -04:00
camille folch
568f4e4ee0
Minor refactoring for readability in NewCmdFork's runE
2021-06-11 23:28:41 -03:00
camille folch
54b86c7093
repo fork: check that --org is not the empty string
...
As it is already being done for --remote-name, except in this case
the default is the empty string.
2021-06-11 23:28:41 -03:00
Nate Smith
b0998772ae
more cleanup
2021-06-10 21:46:02 +00:00
Nate Smith
f31a31e2ed
stop stubbing out a Since function
2021-06-10 21:46:02 +00:00
vilmibm
4a7ec7f4f6
cleaning up fork tests
2021-06-10 21:45:54 +00:00
vilmibm
14de70a011
add defaultRemoteName
2021-06-10 21:44:49 +00:00
Gowtham Munukutla
5c96d5d460
fix lint errors
2021-05-30 13:53:56 +05:30
Gowtham Munukutla
c4beed8276
complete tests
2021-05-30 13:42:39 +05:30
Gowtham Munukutla
9b87b13b80
add test cases WIP
2021-05-29 19:27:30 +05:30
Mislav Marohnić
4b0b422eb5
Add --json export functionality to repo commands ( #3627 )
2021-05-17 16:53:20 +02:00
Mislav Marohnić
3f3d4e38d4
Avoid crash when --json doesn't request nameWithOwner
2021-05-17 16:43:39 +02:00
Mislav Marohnić
a2307e357d
Add repo list --json support
2021-05-17 16:32:01 +02:00
Mislav Marohnić
02a2ed2f73
Add repo view --json export functionality
2021-05-12 17:05:15 +02:00
Mislav Marohnić
3cbd5b4934
Add repo fork --org functionality ( #3611 )
...
Co-authored-by: Gowtham Munukutla <gowtham.m81197@gmail.com>
2021-05-10 17:09:03 +02:00
Sam Coe
01505daaf5
remove previous emoji workaround
2021-04-12 09:56:00 -07:00
Gowtham Munukutla
5caf01c564
add test for non tty fork
2021-04-01 10:49:12 +05:30
Gowtham Munukutla
745b3fec17
fix premature return while forking repo non interactively
2021-03-31 20:20:07 +05:30
Mislav Marohnić
44ae7ae3cf
Merge pull request #3279 from cli/browser-refactor
...
Pass web browser to each individual command
2021-03-30 16:54:59 +02:00
Sam
9ec1e21d4c
Default to GHES host if only GHES is authenticated ( #3286 )
2021-03-30 16:51:00 +02:00
Mislav Marohnić
179d3f0249
Add a unified GitHub Search query builder
2021-03-23 18:52:58 +01:00
Mislav Marohnić
111e8dbcf2
Pass web browser to each individual command
...
This removes sensitivity to the BROWSER environment variable in tests
and makes it easier to verify the URL that the browser was invoked with
without having to stub sub-processes.
2021-03-19 21:22:37 +01:00
Nate Smith
2ab073d599
Refactor use of glamour to allow style overrides ( #3243 )
...
* Refactor use of glamour to allow style overrides
* leave the things the way they were and just expose the ability to set overrides
2021-03-19 16:29:32 +00:00
Mislav Marohnić
07e6d60c80
Merge pull request #2991 from cli/repo-create-prompt-change
...
Repo create tweaks
2021-03-02 15:14:16 +01:00
Mislav Marohnić
9e63199a65
Add tests for checking out repository after creating from template
2021-03-01 14:12:56 +01:00
Mislav Marohnić
00cb921cd5
Merge pull request #2953 from cristiand391/add-repo-list
...
Add `repo list` command
2021-02-27 17:34:32 +01:00
Mislav Marohnić
e27a77fc99
Add ability to filter by archived in repo list
...
Like `--language`, archived filters also use the Search API.
2021-02-27 17:20:06 +01:00