Commit graph

26 commits

Author SHA1 Message Date
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Marcin Kuzminski
bd9e5dc1c3 api: exposed modified added/modified/deleted functions of commit to return only paths.
This combined with full text search build for certain repositories that each commit
contains lots of file changes results in *huge* (10x in some cases) performance gain.
2020-03-16 15:09:45 +01:00
Marcin Kuzminski
21f849c51b mercurial: use commit_ids for parents/children instead of revisions which could change when evolve is used. 2019-09-22 18:32:24 +02:00
Daniel Dourvaris
e9ca6badf7 files: ensure we ask hg vcsserver check for largefiles for path and commit, else we cache path that might become a LF node later on 2019-08-23 20:56:03 +02:00
Daniel Dourvaris
38b8c11ea5 vcsserver: made binary content check be calculated on vcsserver
- now can use caching
- for git/hg there are faster dedicated functions instead of detecting the content
2019-08-23 20:31:43 +02:00
Daniel Dourvaris
de8ff5bcfa file-nodes: added streaming remote attributes for vcsserver.
- this will enable doing a streaming raw content or raw downloads of large files without transfering them over to enterprise for pack & repack using msgpack
- msgpack has a limit of 4gb and generally pack+repack for 2gb is very slow
2019-08-23 19:09:59 +02:00
Marcin Kuzminski
0ae89b9907 files: only check for git_lfs/hg_largefiles if they are enabled.
- this speeds up fetching of files if they are not LF and very big.
2019-08-23 14:37:56 +02:00
Marcin Kuzminski
5b07354763 git: replaced some raw subprocess commands with dedicated GIT vcsserver commands. 2019-07-19 13:16:44 +02:00
Marcin Kuzminski
924578c2db mercurial: use hash as vcsserver parameters instead of ints which can change even on a server side when a strip is performed. 2019-07-18 17:19:14 +02:00
Marcin Kuzminski
0b076e1f65 caches: updated cache backend to new vcsserver caches implementation. 2019-07-17 00:14:26 +02:00
Marcin Kuzminski
ccfa86d740 git: adjusted code for new libgit2 backend
- made @CachedProperty use a custom decarator that can do invalidations. This
 is required for tests
- made few cleanups of code since we use a simpler libgit2 backend now
- removed some unused obsolete code
2019-07-12 17:39:32 +02:00
Marcin Kuzminski
94390f644f logging: fixed some log calls. 2019-07-11 20:23:24 +02:00
Marcin Kuzminski
7ae6f87669 Mercurial: changes for hg 4.9 support
- we dropped custom diff call and replace it with generic solution
- before ctx_diff was called which is no longer supported by vcsserver backend
2019-03-04 12:00:00 +01:00
Marcin Lulek
9002e26af3 mercurial-submodules: only show submodule in the path that it belongs too.
- before even submodules from root node were shown in subdirectories, and other way arround.
2019-02-12 10:40:50 +01:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
169a8475bb vcs: rename get_file_history to get_path_history as it better reflects what it does. 2018-12-07 09:43:58 +01:00
Marcin Kuzminski
382b0cf748 mercurial: compatability changes for mercurial 4.6.0 release 2018-05-09 21:40:20 +02:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
3718a47d3f changelog: fix and optimize loading of chunks for file history.
- load-next/prev wasn't working
- make sure pagination works as expected
- speed up certain actions by pre-loading more attributes
2017-09-27 13:21:57 +02:00
Marcin Kuzminski
4801f5f8ca mercurial-evolve: enable evolve setting on repositories. 2017-05-10 18:33:59 +02:00
Marcin Kuzminski
15fc2d8a48 mercurial: show phases status in changelog.
- ref #5265
2017-04-20 20:56:16 +02:00
Marcin Kuzminski
91c104ae49 largefiles: enabled download of largefiles for git and mercurial from web interface.
- fixes #2817
2017-03-27 14:00:36 +02:00
Marcin Kuzminski
07a595c030 vcs: added possibility to pre-load attributes for FileNodes. 2017-01-25 12:45:05 +01:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
Daniel Dourvaris
bf510fd33c vcs: make commit datetimes utc 2016-06-09 05:20:58 +03:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00