forgejo/modules
zeripath 48abe41ea8
Generate Bindata iff TAGS="bindata" and not up-to-date (#10004)
* Only generate bindata if necessary

* Only generate bindata if they are not up-to-date

* generate a hash of the fileinfo and use that to keep up-to-date

* Newer test is redundant

* handle missing bindata and clean

* Only update hash after successful write

* switch to sha1 hash

* Apply suggestions from code review

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-01-27 01:05:38 +00:00
..
auth Add support for database schema in PostgreSQL (#8819) 2020-01-20 16:45:14 +01:00
avatar
base
cache
charset
context API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
convert
cron Refactor repository check and sync functions (#9854) 2020-01-20 20:01:19 +00:00
generate
git API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
gitgraph
graceful Make CertFile and KeyFile relative to CustomPath (#9868) 2020-01-19 19:07:44 +00:00
highlight
httplib
indexer Fix file rename/copy not supported by indexer (#9965) 2020-01-24 18:26:49 -05:00
lfs
log
markup Don't convert ellipsis in markdown (#9905) 2020-01-22 16:30:20 +01:00
metrics
migrations API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
notification Fix repo indexer not updating upon push (#9957) 2020-01-24 20:00:49 +02:00
options Generate Bindata iff TAGS="bindata" and not up-to-date (#10004) 2020-01-27 01:05:38 +00:00
password
pprof
private
process
public Generate Bindata iff TAGS="bindata" and not up-to-date (#10004) 2020-01-27 01:05:38 +00:00
queue Update queue_redis.go (#9910) 2020-01-21 12:50:27 +00:00
recaptcha
references
repofiles Fix pull view when head repository or head branch missed and close related pull requests when delete head repository or head branch (#9927) 2020-01-25 10:48:22 +08:00
repository API add/generalize pagination (#9452) 2020-01-24 14:00:29 -05:00
secret
session
setting Make archive prefixing configurable with a global setting (#9943) 2020-01-22 23:46:46 +00:00
ssh
structs Fix wrong hint when status checking is running on pull request view (#9886) 2020-01-22 11:46:04 +08:00
sync
task
templates Generate Bindata iff TAGS="bindata" and not up-to-date (#10004) 2020-01-27 01:05:38 +00:00
test
timeutil
upload
user
util Sanitize credentials in mirror form (#9975) 2020-01-25 10:57:42 +00:00
validation
webhook Fix RocketChat (#9908) 2020-01-21 21:29:24 +01:00