Commit graph

51 commits

Author SHA1 Message Date
Wade Zhang e883e7d4d6 Append ".git" to directory name for bare git repositories 2023-04-04 16:01:11 +08:00
Songmu 8f7c89d3dd skip a test on windows 2023-02-22 20:42:28 +09:00
Songmu 0079eff157 fix around samePath in testing 2023-02-22 17:37:44 +09:00
Zhizhen He 97a47d32b3
Add spell check workflow 2023-02-22 15:35:22 +08:00
Nathan Baulch 4316194dc6 Minor linting 2022-08-18 16:02:06 +10:00
itchyny a1b17bd215 Use t.Cleanup for gitconfig.WithConfig 2022-05-08 10:37:32 +09:00
itchyny 24ba4ce422 Use t.Cleanup to set environment variables in tests 2022-05-08 10:26:15 +09:00
itchyny d46d183a76 Use t.Cleanup in test setup functions 2022-05-08 10:17:14 +09:00
itchyny f257a4210e Use t.Cleanup to remove temporally directories for tests 2022-05-08 10:09:00 +09:00
Shi Han NG dcae91f66c
Fix ghq root --all not showing all root directories 2020-06-26 06:57:09 +09:00
Songmu 510dbe91b9 adjust tests 2020-01-05 03:17:18 +09:00
Songmu d726be7040 fix race conditions by using sync.Once 2019-12-28 23:39:37 +09:00
Songmu 38562bbe5c define envGhqRoot 2019-12-26 00:58:38 +09:00
Songmu a4abaa46e5 skip test 2019-12-23 23:31:49 +09:00
Songmu 0885c29ec1 detect repositry root by using get-urlmatch 2019-12-23 02:35:30 +09:00
Songmu 3479c7d0a8 fix test again 2019-12-23 01:59:52 +09:00
Songmu 70fd3b343b adjustment 2019-12-23 01:57:25 +09:00
Songmu 1ef384b41f fix test 2019-12-23 01:49:43 +09:00
Songmu 23e2cf5c23 fix test 2019-12-22 22:29:39 +09:00
Songmu 391072ed5e define urlMatchLocalRepositoryRoots 2019-12-22 21:13:31 +09:00
Songmu 80fa054105 adjust file structure 2019-12-18 23:50:35 +09:00
Songmu 8a3a426ab0 treat git-svn as a kind of git repository in local 2019-12-18 18:42:18 +09:00
Yasuhiro Matsumoto fd3cfb30c9
Make really full-path 2019-12-05 01:27:38 +09:00
Yasuhiro Matsumoto 6513e998de
Exit test 2019-12-04 22:48:21 +09:00
Yasuhiro Matsumoto c041818e15
Abort test when any VCS not found 2019-12-04 22:17:29 +09:00
autopp 8aef9ad23e optimize --vcs option of list 2019-12-01 23:00:11 +09:00
Yasuhiro Matsumoto b563a7fede
Fix tests for Windows 2019-10-30 23:15:26 +09:00
gmidorii 8f7e0e6e5f Removing port number from local directory. 2019-05-29 16:56:11 +09:00
at-grandpa 360ea7ad97 fix list symlink in same directory 2019-05-15 22:21:26 +09:00
Songmu 9ed32e41c4 adjust walkLocalRepositories to return error correctly 2019-05-06 21:26:42 +09:00
Songmu b4c768e92d utilize newTempDir 2019-05-06 16:20:15 +09:00
Songmu 1c6d06f6b8 add TestLocalRepository_VCS 2019-05-06 16:16:40 +09:00
Songmu 53b149c598 add TestFindVCSBackend 2019-05-05 22:54:04 +09:00
Songmu 3defae5cad add test for relative root ref #126 2019-05-05 22:02:44 +09:00
Songmu 04263b9e75 rewrite local_repository_test.go in table driven testing 2019-05-01 03:27:10 +09:00
Songmu c663712340 rewrite TestNewLocalRepository in table driven testing 2019-05-01 03:11:01 +09:00
Songmu c02cc4c905 rewrite TestLocalRepositoryFromFullPath in table driven testing 2019-05-01 02:58:13 +09:00
Songmu ccc012ea13 cleanup tempDirs in testing 2019-05-01 02:44:05 +09:00
Songmu 91f30c1389 [wip] refactore local_repo 2019-05-01 00:29:01 +09:00
Songmu 9819635bbd fix import 2019-04-28 16:15:12 +09:00
Songmu 0d1c96502e remove logger.PanicIf 2019-04-28 04:09:39 +09:00
Songmu c8e0ac7a71 fmt 2019-04-27 01:57:21 +09:00
Takahiro HATORI f05abd93f8 support path list in GHQ_ROOT 2016-03-05 15:55:18 +09:00
motemen 0441a74f63 regression test 2015-08-06 14:40:12 +09:00
motemen fa02f956e6 use GHQ_ROOT env (if set) to override the root 2015-07-16 16:43:59 +09:00
sona_tar fd98cbcb9a Support Subversion 2014-10-14 22:16:02 +09:00
motemen a5cea157a4 search for .git and .hg dirs 2014-06-07 01:07:00 +09:00
tcnksm ac1d1c7231 Support remote repository installation except Github or GHE, Google code.
And save it same path with repository URL.
2014-06-06 19:14:16 +09:00
Kentaro Kuribayashi ff975a5865 Remove .git from local repository. 2014-06-02 13:04:11 +09:00
motemen 3d980885d6 support multiple ghq.root's 2014-05-20 13:46:16 +09:00