Kim "BKC" Carlbäcker
2deabe3c3b
This isn't working...
2017-11-23 09:07:59 +01:00
Kim "BKC" Carlbäcker
e3a1c88ffc
Use GITEA_GIT_PATH to set the git-binary to use
2017-11-23 08:34:47 +01:00
Sandro Santilli
62d6d2d500
Request no perl
2017-11-13 23:37:44 +13:00
Sandro Santilli
93fb71c7fd
Fix (hopefully) git 1.7.0 install
2017-11-13 23:33:26 +13:00
Sandro Santilli
3bde35d961
Simplify curl call
2017-11-13 23:27:08 +13:00
Sandro Santilli
b210dde5d6
Try more curl calls
2017-11-13 23:24:51 +13:00
Sandro Santilli
66cc3175f0
Try curl
2017-11-13 23:20:55 +13:00
Sandro Santilli
6de09e0a9d
Check ability to resolve github.com
2017-11-13 23:19:42 +13:00
Sandro Santilli
7f2c5e4b98
Add an head ref for the sake of using self repo for testing
2017-11-13 23:07:41 +13:00
Sandro Santilli
1ddbf2ec99
Print actual time when tests fail
2017-11-13 22:35:17 +13:00
Sandro Santilli
d55d8ce272
Test no error is raised by time parsing and GetLatestCommitTime
2017-11-13 22:33:45 +13:00
Sandro Santilli
16fb5435fc
Try more git versions
2017-11-13 22:30:17 +13:00
Sandro Santilli
f8b81a9589
Improve test for test for GetLatestCommitTime
...
Also check that the latest commit is more recent than the commit
this PR is based at
2017-11-13 22:26:40 +13:00
Sandro Santilli
01daf71dd7
Show git version during testing
2017-11-13 22:19:56 +13:00
Sandro Santilli
3e662dfe30
Add test for GetLatestCommitTime
...
The test just checks that latest commit time is before now
2017-11-13 22:15:30 +13:00
Sandro Santilli
b668a2bf4e
Add test for CommitCount
2017-11-13 22:07:13 +13:00
Sandro Santilli
9fca2020be
Add testing with git-1.7.0 installed
2017-11-13 21:04:15 +13:00
Sandro Santilli
68da3f4e6c
Accept git 1.7.0 as the minimum version
...
Debian old old (very old) distribution (6.0 aka Squeeze)
ships version 1.7.10.4.
The version requirement was raised in #46 supposedly for the
need of "symbolic-ref" command, but that command is supported
by the 1.7 version too, and even older versions.
2017-11-11 23:19:11 +13:00
Lauris BH
d47b98c44c
Fix signature without time parsing to fall back to unix 0 time ( #89 )
2017-10-23 08:52:09 +08:00
David Schneiderbauer
576fbdd4d3
remove unnecessary version checks
...
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com >
2017-10-11 17:50:48 +02:00
Morlinest
cdf53e08ef
Update MAINTAINERS ( #86 )
2017-10-07 02:50:34 -05:00
David Schneiderbauer
cdb43f0ed2
add @daviian as maintainer
...
Signed-off-by: David Schneiderbauer <dschneiderbauer@gmail.com >
2017-09-19 23:03:12 +02:00
Lauris BH
d7487da878
Add method to allow custom sorting of tree entry list ( #81 )
...
* Add method to allow custom sorting of tree entry list
* Add tests for git tree entries sorting
2017-09-16 20:49:37 +03:00
Kim "BKC" Carlbäcker
e8ae926b65
Fix blob test and drone git-pull ( #82 )
...
* use require
* Fix drone
* import testify/require
* cleanup tree-entry benchmark
2017-09-16 19:40:27 +03:00
Bo-Yi Wu
878757c6e2
remove sig file. ( #79 )
...
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2017-09-10 15:48:26 +03:00
Thomas Boerger
870e58e003
Merge pull request #80 from go-gitea/drone-upgrade
...
Changes for latest DroneCI
2017-09-07 19:16:31 +02:00
Thomas Boerger
dda5008844
Changes for latest DroneCI
2017-09-07 19:11:35 +02:00
Patrick G
45f50c66bd
Comment help text for issues ( #78 )
2017-08-09 07:25:27 +08:00
Lauris BH
479f87e5d1
Fix branch deletion with git < 2.5.0 ( #77 )
2017-08-03 08:53:29 +08:00
Roy Marples
fc63966893
Use POSIX complaint ! operator in find ( #76 )
...
-not is a GNU extension and not all find(8) implementations
support it. It's just an alias for ! which is POSIX compliant.
2017-07-10 11:37:35 +03:00
melak
ef3ac5f3ff
Trim commit message when generating Summary ( #75 )
...
Commit messages with superfluous empty lines on the top generate
empty summaries. Trim the commit message so the summary contains
something meaningful (as far as the commit message permits).
2017-07-01 08:51:17 -05:00
Ethan Koenig
7c4fc4e5ca
Revert to old implementation of GetCommitsInfo ( #73 )
2017-06-28 14:06:37 +08:00
Jonas Östanbäck
7546898e31
Add discourse link to issue template ( #74 )
2017-06-27 20:20:08 -05:00
Ethan Koenig
51eca9e922
Check unchecked error ( #69 )
2017-06-20 20:06:07 -05:00
Lunny Xiao
94d75c2432
fix commit tree view when submodule file lost ( #68 )
2017-06-20 20:05:24 -05:00
Ethan Koenig
a34a13dea3
Fix Windows path bug in GetCommitInfos ( #67 )
2017-06-19 21:08:21 -05:00
Ethan Koenig
cd5d28eee8
Fix bug in GetCommitInfos ( #66 )
2017-06-19 12:34:00 +08:00
Bo-Yi Wu
fb22c9ecdb
switch gitter to discord for drone. ( #65 )
...
* switch gitter to discord for drone.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
* add changed status
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com >
2017-06-15 21:13:53 -05:00
Ethan Koenig
2f740f25eb
Fix escaped char bug in getCommitInfos ( #64 )
2017-06-15 20:12:13 -05:00
Andrey Nering
cff67d432c
Merge pull request #62 from cez81/cez81_as_maintainer
...
Add myself as a maintainer
2017-06-12 10:21:26 -03:00
Jonas Östanbäck
f2dbffb6dd
Add myself as a maintainer
2017-06-12 13:09:03 +02:00
Jonas Östanbäck
4449dfd2c1
Update chat links to Discord ( #61 )
2017-06-11 20:13:13 -05:00
Bo-Yi Wu
f42d649911
replace gitter chat with discord
2017-06-11 09:19:08 +02:00
Ethan Koenig
a709880af9
Use cross-platform path separator ( #59 )
2017-06-06 01:50:37 -05:00
Ethan Koenig
544c5b3fbd
Fix parsing bug in GetTagInfos ( #58 )
...
* Fix parsing bug in GetTagInfos
* Comment
2017-06-06 10:00:19 +08:00
Ethan Koenig
7b07391b09
Fix bug in GetCommitInfos ( #57 )
2017-06-01 08:33:00 +08:00
Ethan Koenig
c98a6f353a
Return error from cmd.Wait() ( #56 )
2017-05-29 19:48:12 +08:00
Ethan Koenig
56f6a2c9bb
Use b.Fatal in benchmark tests ( #55 )
2017-05-27 08:35:32 +08:00
Ethan Koenig
ec4446b83c
Faster commit lookup ( #53 )
...
* Add bench task
* Create tree_entry_test.go
* Remove init time
* Add TODO information
* Add linux repo
* Faster implementation of GetCommitsInfo
* Start/stop timer
* Use benchmark/ directory for benchmark repos
2017-05-26 23:08:20 +08:00
Dennis Keitzel
43e52163f8
Return empty list of branches if repository is bare. ( #39 )
...
Signed-off-by: Dennis Keitzel <github@pinshot.net >
2017-05-26 13:12:24 +08:00