Milka Kuzminski
51727053de
archives: optimize performance of repo archive option by delegating all logic to vcsserver.
...
- sending GBs of data over the wire was slow and very memory consuming
2020-10-19 14:53:21 +02:00
Marcin Kuzminski
fe96e16646
code: update copyrights to 2020
2020-04-16 00:34:52 +02:00
Marcin Kuzminski
ed0653712b
dependencies: bumped test libraries.
2019-09-30 13:26:57 +02:00
Marcin Kuzminski
1d9452ce80
pytest: use consistent way of creating a fixture by using pytest.fixture()
2019-09-28 23:04:18 +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
5b8d619a70
tests: fixes after some later code changes
2019-07-29 13:01:18 +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
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
51fb86379c
tests: fixed author for commit messages to be in a proper format.
2019-07-11 20:22:45 +02:00
Marcin Kuzminski
f08743ff88
tests: further test fixes
2019-07-01 23:33:26 +02:00
Marcin Kuzminski
7f271c15c6
tests: fixed further tests
2019-07-01 20:02:06 +02:00
Marcin Kuzminski
634590913e
commits: updated logic of in-memory-commits, fixed tests and re-architectured a bit how commit_ids are calculated and updated.
...
- it's all part of recent updates on performance, and new commit pages
2019-06-11 12:59:37 +02:00
Marcin Kuzminski
ee06461a89
changelog: rename changelog to commits pages
2019-06-06 13:02:10 +02:00
Marcin Kuzminski
6a2e2f0b94
commits: re-implemented fetching a single commit for git case.
...
- faster using always cache if available
- fixed problems after changes of __bool__ of repo object which always rebuilt cache and this is not the case now
- make few error messages better
2019-06-10 12:28:47 +02:00
Marcin Kuzminski
bd1a9c8201
docs: updated copyrights to 2019
2019-01-02 18:13:27 +01:00
Daniel Dourvaris
599f9b7964
pull-requests: ensure merge response provide more details
...
- refactor merge responses with detailed messages
- fixes #5520
- code cleanups
2018-12-30 11:00:09 +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
f3d3f479b4
code: fixed deprecated octal calls for py3 compat.
2018-11-30 11:49:27 +01:00
Marcin Kuzminski
0cc2c2c07d
code: code cleanups, use is None instead of == None.
2018-11-21 18:05:27 +01:00
Marcin Kuzminski
5a4a98b40e
git: use a fetch_sync based creation of remote repos.
...
- skips fragile dulwich code that has problems with large repos
- is in sync with logic that does remote fetch
- is faster and more efficient
2018-09-21 13:35:45 +02:00
Marcin Kuzminski
e41725c078
branch permissions: added logic to define in UI branch permissions.
...
- db models
- new permissions pages placeholders
2018-08-28 13:41:30 +02:00
Marcin Kuzminski
23c4d38e15
tests: fixed name generation for shadow repos
2018-07-13 21:02:50 +02:00
Marcin Kuzminski
42c80fe075
shadow-repos: use numeric repo id for creation of shadow repos.
...
- Fixes a problem after rename or move into repository group.
2018-06-21 14:04:06 +02:00
Marcin Kuzminski
8fc7773140
tests: improved vcs tests
2018-02-20 13:52:44 +01:00
Marcin Kuzminski
00b45c1fa7
release: update copyright year to 2018
2018-01-19 17:13:16 +01:00
Marcin Kuzminski
d6584da7c3
tests: fixed tests for new source ref checking.
2018-01-15 19:13:54 +01:00
Marcin Kuzminski
4f426c33f5
tests: rewrote code for running vcs_operations. Now it starts it's own
...
configurable instances for exactly those tests.
2017-12-18 21:19:29 +01:00
Marcin Kuzminski
6ba1fb962c
tests: move vcs_operations into its own module.
2017-12-18 18:24:06 +01:00
Marcin Kuzminski
aa84b1a0e4
tests: use gunicorn for testing. This is close to production testing
...
and actually will reproduce any chunked encoding problems as we hit on production
servers.
2017-12-18 12:29:33 +01:00
Marcin Kuzminski
fad0fcf1c3
git: use bool condition to check if the git path is fine. Using exceptions
...
spams the logs with confusing tracebacks.
2017-12-18 15:31:48 +01:00
Marcin Kuzminski
5f9ae2ae11
pylons: remove pylons as dependency
...
- dependencies: bumped:
-setuptools-scm==1.15.6
-celery==4.1.0
-kombu==4.1.0
-pytz==2017.3
-Routes==2.4.1
Removed all pylons components. Refactored the code to use only pyramid
parts
2017-11-15 13:42:54 +01:00
Marcin Kuzminski
862e0c122b
commits: hide evolve commits. Fixes #5392
2017-10-03 16:37:39 +02:00
Marcin Kuzminski
71fee00277
home: moved home and repo group views into pyramid.
...
- fixed lots of tests related to those changes
- now main and subrepo group views are handled by pyramid.
2017-06-05 15:16:04 +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
f8f9bdc988
http-backend: catch errors from HTTP calls that are not raising exceptions, but
...
return non 200 exception codes.
2017-02-07 16:16:42 +01:00
Marcin Kuzminski
3d3f2db34a
core: removed pyro4 from Enterprise code. Fixes #5198
2017-02-07 15:58:49 +01:00
Marcin Kuzminski
05d89e4d2c
tests: fixed tests after removing hardcoded timezone in tests.
2017-01-24 15:30:10 +01:00
Marcin Kuzminski
fcc027c282
license: updated copyright year to 2017
2017-01-02 09:30:39 +01:00
Marcin Kuzminski
e44090dfe8
diffs: compare overhaul.
...
- made compare and commit range pages more consistent with other commit diff pages
- removed mergerly, closes #4665 . Old diff2way is replaced by new diffs with
side-by-side mode.
- cleanup button behaviour on compare page. Added help text and
generally improved UX
- switched file-diffs to compare page with file filter. Part of #4000
- added collapse/expand commits buttons in compare views.
2016-12-22 23:48:05 +01:00
Marcin Kuzminski
0b5d562197
dependencies: bumped pytest libraries to latest versions.
2016-12-06 23:47:47 +01:00
Marcin Kuzminski
f76d8139cb
vcs-http: explicitly pass in vcs-type into vcsserver.
2016-11-17 19:25:09 +01:00
Martin Bornhold
66a336156c
vcs: Use more specific merge error reason (either target or source ref missing)
2016-10-27 12:50:02 +02:00
Martin Bornhold
6bb188f742
tests: Ignore merge commit id on camparison of merge responses.
2016-10-25 10:23:38 +02:00
Martin Bornhold
80dde63a91
tests: Adapt asserts to work with merge reference onbject in merge response.
2016-10-24 10:14:42 +02:00
Martin Bornhold
7c33907e21
tests: Adapt tests to new merge response object.
2016-10-23 16:04:07 +02:00
Martin Bornhold
a9a4e32eed
subprocess: Change all imports from subprocess -> subprocess32
2016-10-14 09:37:44 +02:00
Daniel Dourvaris
323c951802
vcs: add equality testing for commits against non commits to allow
...
commit == None functionality
2016-10-13 13:30:06 +03:00
Martin Bornhold
8279f376a9
tests: Fix tests that depend on the default value of 'pyro4' as backend.
2016-10-04 14:37:09 +02:00
Martin Bornhold
cb1b19cfba
tests: Fix infinite loop.
2016-10-04 12:44:03 +02:00