You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123 lines
6.3 KiB

go 1.13
require ( v0.45.0 // indirect v0.0.0-20190822013154-a5f53841ed2b v0.0.0-20190822004001-a6e7fee4ee76 v0.0.0-20190822015246-daa973478bae v0.0.0-20190821152825-7dcef4a17175 v0.0.0-20190822024205-3dc5a4474439 v0.0.0-20190822004228-474e714e2223 v0.0.0-20190805023432-d4c86e31027a v1.3.3-0.20190821202302-9646c0587edb v0.0.0-20190821211443-122c47c5f705 v0.0.0-20190822013122-05ff0fc766b7 v1.5.0 v0.4.7 // indirect v0.1.0 // indirect v0.0.0-20190214220507-05d86ea8f6e3 v0.0.0-20180227211930-4b158bb555a3 // indirect v0.0.0-20141230013033-23a2c8e5cf1f // indirect v0.0.0-20160105220820-db70c57796cc // indirect v0.0.0-20161226211916-fe0f26ff6d26 // indirect v0.0.0-20190111184608-e91b68ff3efe // indirect v0.0.0-20181122101859-a26611c4d92d // indirect v0.0.0-20181122101859-297441e03548 // indirect v0.0.0-20181122101858-275e90344537 // indirect v0.0.0-20190924004331-208c0a498538 v3.2.0+incompatible v2.1.1
Improve listing performance by using go-git (#6478) * Use go-git for tree reading and commit info lookup. Signed-off-by: Filip Navara <> * Use TreeEntry.IsRegular() instead of ObjectType that was removed. Signed-off-by: Filip Navara <> * Use the treePath to optimize commit info search. Signed-off-by: Filip Navara <> * Extract the latest commit at treePath along with the other commits. Signed-off-by: Filip Navara <> * Fix listing commit info for a directory that was created in one commit and never modified after. Signed-off-by: Filip Navara <> * Avoid nearly all external 'git' invocations when doing directory listing (.editorconfig code path is still hit). Signed-off-by: Filip Navara <> * Use go-git for reading blobs. Signed-off-by: Filip Navara <> * Make SHA1 type alias for plumbing.Hash in go-git. Signed-off-by: Filip Navara <> * Make Signature type alias for object.Signature in go-git. Signed-off-by: Filip Navara <> * Fix GetCommitsInfo for repository with only one commit. Signed-off-by: Filip Navara <> * Fix PGP signature verification. Signed-off-by: Filip Navara <> * Fix issues with walking commit graph across merges. Signed-off-by: Filip Navara <> * Fix typo in condition. Signed-off-by: Filip Navara <> * Speed up loading branch list by keeping the repository reference (and thus all the loaded packfile indexes). Signed-off-by: Filip Navara <> * Fix lising submodules. Signed-off-by: Filip Navara <> * Fix build Signed-off-by: Filip Navara <> * Add back commit cache because of name-rev Signed-off-by: Filip Navara <> * Fix tests Signed-off-by: Filip Navara <> * Fix code style * Fix spelling * Address PR feedback Signed-off-by: Filip Navara <> * Update vendor module list Signed-off-by: Filip Navara <> * Fix getting trees by commit id Signed-off-by: Filip Navara <> * Fix remaining unit test failures * Fix GetTreeBySHA * Avoid running `git name-rev` if not necessary Signed-off-by: Filip Navara <> * Move Branch code to git module * Clean up GPG signature verification and fix it for tagged commits * Address PR feedback (import formatting, copyright headers) * Make blob lookup by SHA working * Update tests to use public API * Allow getting content from any type of object through the blob interface * Change test to actually expect the object content that is in the GIT repository * Change one more test to actually expect the object content that is in the GIT repository * Add comments
4 years ago v1.12.0 v1.3.2 // indirect v0.0.0-20180203182544-0a76f03a811a v0.0.0-20160127193407-b4ab57deab51 // indirect v0.0.0-20160209184415-751773369052 // indirect v0.0.0-20150612182917-8dac2c3c4870 // indirect v0.2.2 v0.0.0-20180323001048-9f0cb55181dd // indirect v0.0.0-20190315024820-982ee783a72e // indirect v0.19.3 // indirect v0.19.5 // indirect v6.15.2+incompatible v1.4.1 v0.20.1 v0.2.3 v0.0.0-20150115103509-2404f7772561 v0.0.0-20171120032916-9f6c956d3e14 v24.0.1 v1.1.1 v1.3.2 // indirect v0.0.0-20160320065130-d36b54562f4c v0.0.0-20160923191438-8fb95d837f7d v1.0.0 // indirect v1.3.0 // indirect v0.0.0-20170619183022-cd60e84ee657 v0.0.0-20170605145657-00ac4db533f6 v0.0.0-20161025140425-8df558b6cb6f v0.0.0-20160302075316-09cded8978dc // indirect v0.0.0-20161016154125-cb6bfca970f6 // indirect v1.3.2 v1.2.0 v0.0.0-20171025031554-e3534c89ef96 v0.0.0-20190217115915-02b525a4418e v0.7.0 // indirect v1.56.0
Better logging (#6038) (#6095) * Panic don't fatal on create new logger Fixes #5854 Signed-off-by: Andrew Thornton <> * partial broken * Update the logging infrastrcture Signed-off-by: Andrew Thornton <> * Reset the skip levels for Fatal and Error Signed-off-by: Andrew Thornton <> * broken ncsa * More log.Error fixes Signed-off-by: Andrew Thornton <> * Remove nal * set log-levels to lowercase * Make console_test test all levels * switch to lowercased levels * OK now working * Fix vetting issues * Fix lint * Fix tests * change default logging to match current gitea * Improve log testing Signed-off-by: Andrew Thornton <> * reset error skip levels to 0 * Update documentation and access logger configuration * Redirect the router log back to gitea if redirect macaron log but also allow setting the log level - i.e. TRACE * Fix broken level caching * Refactor the router log * Add Router logger * Add colorizing options * Adjust router colors * Only create logger if they will be used * update app.ini.sample * rename Attribute ColorAttribute * Change from white to green for function * Set fatal/error levels * Restore initial trace logger * Fix Trace arguments in modules/auth/auth.go * Properly handle XORMLogger * Improve admin/config page * fix fmt * Add auto-compression of old logs * Update error log levels * Remove the unnecessary skip argument from Error, Fatal and Critical * Add stacktrace support * Fix tests * Remove x/sync from vendors? * Add stderr option to console logger * Use filepath.ToSlash to protect against Windows in tests * Remove prefixed underscores from names in colors.go * Remove not implemented database logger This was removed from Gogs on 4 Mar 2016 but left in the configuration since then. * Ensure that log paths are relative to ROOT_PATH * use path.Join * rename jsonConfig to logConfig * Rename "config" to "jsonConfig" to make it clearer * Requested changes * Requested changes: XormLogger * Try to color the windows terminal If successful default to colorizing the console logs * fixup * Colorize initially too * update vendor * Colorize logs on default and remove if this is not a colorizing logger * Fix documentation * fix test * Use go-isatty to detect if on windows we are on msys or cygwin * Fix spelling mistake * Add missing vendors * More changes * Rationalise the ANSI writer protection * Adjust colors on advice from @0x5c * Make Flags a comma separated list * Move to use the windows constant for ENABLE_VIRTUAL_TERMINAL_PROCESSING * Ensure matching is done on the non-colored message - to simpify EXPRESSION
4 years ago v0.0.7 v0.0.0-20190320171441-14ba190cf52d // indirect v1.11.0 v0.0.0-20190308113854-92cdf37c5b75 v0.0.0-20161012083705-f77f16ffc87a v0.0.0-20160514031455-90eadee771ae // indirect v0.0.0-20151204160544-02ccfbfaf0cc v0.0.0-20160724205520-891127d8d1b5 v0.1.8 v0.2.2 v1.0.0 // indirect v0.8.1 v0.0.0-20160912161815-54653902c20e v1.1.0 v0.0.4 // indirect v0.0.0-20190321074620-2f0d2b0e0001 // indirect v2.0.0+incompatible // indirect v2.0.1 v0.0.0-20120816061221-3af4cd4741ca // indirect v1.2.0 v1.0.0 v0.0.0-20190527155220-6a4d4a70508b // indirect v1.0.0 // indirect v0.0.0-20181202132449-6a9ea43bcacd v0.0.0-20150807155958-0abe01ef9be2 // indirect v1.4.0 v0.0.0-20181010114359-8752a9433481 // indirect v0.0.0-20180516164116-c8cf64dff200 // indirect v1.0.0 v0.0.0-20190822084630-55a0b64484a1 v0.0.0-20190804042917-757f69c95f3e v0.0.0-20190805065654-5c6446a380b6 v0.0.0-20151104151617-7748a72e0141 v1.20.0 v0.0.0-20180426185212-8ce1146b8621 // indirect v0.0.0-20160914080427-2c050d2dae53 v0.0.0-20190927123631-a832865fa7ad v0.0.0-20191101175033-0deb6923b6d9 v0.0.0-20190604053449-0f29369cfe45 v0.0.0-20190910064555-bbd175535a8b v0.3.2 v0.0.0-20190910221609-7f5965fd7709 // indirect v3.0.0-20150716171945-2caba252f4dc // indirect v1.0.0-20150924051756-4e86f4367175 // indirect v2.0.0-20160411212932-81ebce5c23df v1.48.0 v3.0.2 v4.3.2 v4.13.1 v2.5.0 v2.1.0 v0.0.0-20191008002943-06d1c002b251 v0.3.6 v0.7.2 v0.8.0