Herman Schaaf
55ed158948
Custom 404 page
...
Closes #101
2016-05-30 21:23:58 +08:00
Shawn Smith
4954acc259
fix go vet error
2016-05-13 01:17:54 +09:00
Shawn Smith
b7e81332a0
#45 compare repo name during high scores insertion rather than form value
2016-04-29 16:55:45 +09:00
Shawn Smith
33cc76cb8c
#45 lowercase repo form value before checking
2016-04-29 16:14:55 +09:00
Herman Schaaf
b7d740ac6d
Fix edge case where we can not go get the repo
...
This fixes an edge case where the repo being tested has a dependency that
has had its git history rebased, thus causing go get to fail, and a subsequent
delete of that repo and another go get to fail as well. Now, if go get fails the first time,
we read the error message and clear the directory that caused the error. Then we try again.
If we get the same error two times in a row, something is wrong, and we return failure. If not,
we keep going and deleting cached repos until no error is returned.
2016-04-28 20:11:24 +08:00
Tomohiro TAIRA
aef7169c91
Support Shilds IO badge styles
2016-04-23 19:34:10 +09:00
Shawn Smith
f0eb50fcb2
Merge pull request #114 from trinchan/master
...
support for tracking scores, migration script for score tracking
2016-04-02 00:23:15 +09:00
Andrew Schwartz
a66a844957
decrement old score stats
2016-04-02 00:00:43 +09:00
Andrew Schwartz
98bf589158
support for tracking scores, migration script for score tracking
2016-04-01 23:32:20 +09:00
Shawn Smith
dfdf0ee403
Merge pull request #112 from trinchan/master
...
Sort checks by name
2016-03-30 01:29:38 +09:00
Andrew Schwartz
4cbafefc19
sort checks by name
2016-03-30 01:12:10 +09:00
Jeremy Mikkola
6afa72e6d2
89: Remove scheme from URLs
2016-03-26 15:36:07 -07:00
Andrew Schwartz
2fb44a1dd8
add default domain flag for badge urls
2016-03-22 02:53:08 +09:00
Andrew Schwartz
1b26b126ab
use literal byte strings in lieu of json marshalled strings
2016-03-19 01:12:44 +09:00
Shawn Smith
41260decd3
#104 add ineffassign check
2016-03-19 00:36:06 +09:00
Herman Schaaf
37d05c874b
Merge branch 'master' of github.com:gojp/goreportcard
2016-03-17 00:27:35 +08:00
Herman Schaaf
8c45357cd9
Use [[ ]] delims across all templates,
...
correct the google analytics variable for several templates
make about page dynamic to allow for custom google analytics code
2016-03-17 00:26:01 +08:00
Shawn Smith
baa60fb060
remove unnecessary else
2016-03-16 19:29:34 +09:00
Shawn Smith
6e9dadf752
add humanized last refresh
2016-03-16 18:54:20 +09:00
Vladislav Shub
a4bdaac687
Added support for custom domain and custom google analytics
2016-03-14 23:02:49 +02:00
Shawn Smith
35f1342cd4
make log line a bit more descriptive/easier to find
2016-03-03 14:13:30 +09:00
Herman Schaaf
7ec587cd69
Put recent column alongside popular repos, only add recent if it is not in the list already
2016-03-03 00:36:23 +08:00
Shawn Smith
c1dc77e9ab
use slice rather than heap for recent
2016-02-28 15:20:09 +09:00
Shawn Smith
269be4a978
start recent list
2016-02-28 15:03:54 +09:00
Herman Schaaf
c48408bf95
Merge branch 'master' of github.com:gojp/goreportcard
2016-02-15 19:17:27 +08:00
Herman Schaaf
9edfe29b03
if go get fails the first time, delete cached directory, then try again
2016-02-15 19:17:17 +08:00
Shawn Smith
2975d00b58
rename err
2016-02-14 01:55:39 +09:00
Shawn Smith
55f0cc3d25
check errors
2016-02-14 01:54:10 +09:00
Herman Schaaf
f13ef4c0b2
Remove unnecessary directory existence check
2016-02-11 19:53:07 +08:00
Herman Schaaf
808460fd3d
Remove faulty directory existence check
2016-02-11 19:51:36 +08:00
Eric Bower
4593fe980f
Properly update the golang package, #83
2016-02-10 22:14:54 -05:00
Herman Schaaf
c4eb48352d
Use html/template like good gophers
2016-02-09 22:38:56 +08:00
Herman Schaaf
8c6a393f94
Couple of related to redirecting:
...
- add report.html template
- remove unnecessary javascript logic from home.html
- add search bar to top of report.html
- stop using pushState, to fix bug in safari
2016-02-09 19:11:16 +08:00
Stratos Neiros
6f2a40e392
Add favicon.ico and handler
...
Created a goreportcard favicon based on the original
https://golang.org/favicon.ico gopher favicon.
2016-02-09 00:44:34 +02:00
Shawn Smith
0fcc259671
fix log line ellipsis
2016-02-07 14:57:09 +09:00
Shawn Smith
820e104dc3
check if err from go get is "no buildable Go source files" and ignore
2016-02-07 14:11:44 +09:00
Herman Schaaf
b16569b1f9
Fix checks test
2016-02-07 13:10:42 +08:00
Herman Schaaf
8615cdbfd3
Add back missing refresh button
2016-02-07 13:07:49 +08:00
Herman Schaaf
25c7a66d38
Start fix of deprecated URL redirecting
2016-02-07 02:38:31 +08:00
Herman Schaaf
2149fb0407
fix number of go get-related bugs
2016-02-07 02:00:27 +08:00
Herman Schaaf
ae8cb838a8
go get
2016-02-07 00:41:44 +08:00
Herman Schaaf
8b1d3a0566
Git clone -> go get
2016-02-07 00:29:43 +08:00
Herman Schaaf
e9c03ceb97
Add about page, new home page
2016-02-07 00:03:14 +08:00
Shawn Smith
22034bf2fa
lowercase err strings
2016-02-06 17:43:38 +09:00
Shawn Smith
6d3207bc00
move log statement
2016-02-06 17:42:28 +09:00
Shawn Smith
29f570b1e2
change high score amount to 50
2016-02-06 17:23:39 +09:00
Herman Schaaf
b3203185b9
High scores, total repos and completed migration script for bolt
2016-02-06 15:05:45 +08:00
Shawn Smith
8b0744ef9d
only save to boltdb if it's a force refresh
2016-02-06 14:15:37 +09:00
Shawn Smith
8d86983517
update comment
2016-02-06 14:04:16 +09:00
Shawn Smith
0ad682b371
lowercase err string
2016-02-06 14:02:24 +09:00