Aleksey Kashapov
d8a4f490d4
FIN-31: Bumps valitydev/damsel@ab292d9 and valitydev/dmt-core@19d8f57 ( #17 )
...
* FIN-31: Bumps valitydev/damsel@ab292d9 and valitydev/dmt-core@19d8f57
* Adds creation timestamp support for cached snapshot building
* Temporarily disables codecov report upload; fixes protocol and dialyzer warnings
* Fixes linting after including prometheus as a dependency
2024-05-15 10:10:57 +03:00
Aleksey Kashapov
b8bc0281db
TD-686: Bumps woody ( #16 )
...
* Bumps CI checks action
2023-10-24 10:43:12 +03:00
Артем
19a8ded17c
TD-454: Add allow support ( #15 )
2022-11-21 14:15:18 +04:00
Артем
ada77949d1
Bump to valitydev/damsel@4e82c24 ( #14 )
2022-09-21 16:04:44 +03:00
Артем
ce6678af14
TD-330: Bump to valitydev/damsel@9362c08 ( #13 )
2022-07-12 20:14:18 +03:00
Andrew Mayorov
899bd71161
TD-312: Update to valitydev/damsel@dac2cb5 ( #12 )
...
* Drop proprietary CI stuff
* Sync with valitydev/erlang-templates@da1971c
* Update to valitydev/dmt-core@7584133
2022-06-20 11:17:22 +03:00
github-actions[bot]
7939898b87
Update file(s) from valitydev/.github
2022-02-22 16:45:21 +00:00
github-actions[bot]
e4793482b6
Update file(s) from valitydev/.github
2022-02-22 11:35:09 +00:00
Артем
e9b1961b96
Add check object function ( #1 )
...
* added object function
* fixed
* renamed, added comment
2022-01-25 20:36:10 +03:00
Jarosław Rogov
64591401b0
Feat/upstream latest ( #53 )
...
* deps: Fix build_utils dir
* feat: Add use_upstream_latest force fetch option
* fix: Add lower limits for max cache size opts
* fix: Fix dialyzer warning
* test: Add use_upstream_latest test
* fix: Fix use_upstream_latest opt fetching
* fix: Add option to sys.config
* ref: Fix naming
* ref: Fix dialyzer warning
* ref: Fix do_get naming
* ref: Move constants to defines
* fix: Check cache limits on start, refactor cache
* test: Fix unit tests
* fix: Fix dialyzer issue
* ref: Rename to use_cached_latest
* fix: Fix option invertion
* fix: Fix inversion once again
* fix: Remove use_cached_latest as env opt
* Revert "fix: Remove use_cached_latest as env opt"
This reverts commit a5216280e1c0a7c5a1bf3420cb60cf6e51343677.
* fix: Remove from opts
* ref: Rename to use_cached_last_version
* fix: Fix use_cached_last_version default
* test: Check default case
2021-10-21 17:58:03 +03:00
Yaroslav Rogov
3f66402843
Fix/commit latest ( #52 )
...
* fix: add pre-commit cache update for latest
* test: Remove unnecessary update
* refactor: Add updating_ref_to_version
* feat: Add /3 versions of convenience methods
2021-07-23 16:15:54 +03:00
Yaroslav Rogov
f6e181e86f
feat: Add convenience methods ( #50 )
...
* feat: Add convenience methods
* test: Add tests and fix and refactor things
* tests: Fix remove test
* fix: Remove god_modules warning for dmt_client
* chore: Fix elvis config
* chore: Fix elvis typo
* feat: Add sync opt to commit with default of true
* test: Remove unnecessary updates from tests
* fix: Remove commit update opts
* fix typo
2021-07-22 14:34:45 +03:00
Yaroslav Rogov
b04dcb651d
fix: Fix cache limits opt fetch ( #51 )
2021-07-13 10:42:48 +03:00
Yaroslav Rogov
3d62d9bb7a
feat: Add latest option to commit and pull_range ( #49 )
...
* feat: Add latest option to commit and pull_range
* fix: typos
* feat: Add checkout/0
* test: Make tests more concise
2021-07-09 17:45:58 +03:00
Yaroslav Rogov
1a8404ae52
#44 fixes: api signatures and cache version-miss ( #48 )
...
* fix: Fix API signatures
* fix: Fix get_snap version_not_found case
2021-07-08 10:59:13 +03:00
Yaroslav Rogov
53924f4de4
fix: Change opts passing to include woody_context ( #47 )
...
* fix: Change opts passing to include woody_context
* test: Fix tests
* fix: More opts passing
* fix: Switch from proc_lib spawn to usual
* fix: Fix dmt_client_api opts parsing
2021-06-30 18:26:34 +03:00
Yaroslav Rogov
a137b5ff5b
Fix/stale head ( #46 )
...
* fix: PoC of fixing the stale-head issue
* fix: Improve update_head history check
2021-06-29 15:06:25 +03:00
Yaroslav Rogov
128f9f193b
Ed 180/feat/extra methods ( #44 )
...
* refactor: Switch to ensure_version variant of functions
* refactor: Fix naming and redundant API
* feat: Add get_by_type, filter and fold
* refactor: Generalize fetch_version, remove update
* feat: Add implicit head API, easier ref passing
* refactor: fix linter warning
* refactor: Fix linter for sure
* refactor: remove test-only methods
* refactor: split updating and fetching
* refactor: Fix ref and version type and API args
* fix: Fix cleanup perms issue for cleanup
* test: Fix tests for new API
* feat: deferred usage-based cleanup
* fix: PoC of fixing the stale-head issue
* perf: switch to ordered_set for snapshot tables
* feat: Switch to ets-based lock version
* fix: Fix cleanup interval options
* feat: Add time-based snap-users table usage
* fix: Fix cleanup for locked snapshots
* fix: Add users-table cleanup
* fix: Improve update_head history check
* fix: Remove stale unlock cast
* fix: Fix cleanup_users for dead processes
* refactor: Fix dialyzer errors
* refactor: Fix recs for ets match specs for dialyze
* refactor: Simplify with_version
* refactor: switch back to checkout_* names
* Revert "refactor: Simplify with_version"
This reverts commit 8e1d925f72
.
* Revert "fix: Fix cleanup_users for dead processes"
This reverts commit ff808b00a1
.
* Revert "fix: Remove stale unlock cast"
This reverts commit c6f09fd640
.
* Revert "fix: Add users-table cleanup"
This reverts commit 5665ee6df2
.
* Revert "fix: Fix cleanup for locked snapshots"
This reverts commit c3a843887b
.
* Revert "feat: Add time-based snap-users table usage"
This reverts commit f852c7595c
.
* Revert "fix: Fix cleanup interval options"
This reverts commit b3b5c30828
.
* Revert "feat: Switch to ets-based lock version"
This reverts commit 8a224b81f8
.
* Revert "feat: deferred usage-based cleanup"
This reverts commit cd8eef5d46
.
* refactor: Fix init spec
* refactor: Fix cache API semantics
* chore: Mention proposal move to another task
* Revert "fix: Improve update_head history check"
This reverts commit 597d77a690
.
* Revert "fix: PoC of fixing the stale-head issue"
This reverts commit 357c772284
.
2021-06-29 14:28:57 +03:00
Sergey Yelin
37f376e239
erlang 24 ( #43 )
...
* Update build utils
* Erlang 24
* Update elvis config
2021-06-03 13:35:24 +03:00
Andrey Fadeev
9e11f50e9c
Add formatter ( #41 )
...
* Add erlfmt
* Apply erlfmt
* Update build-utils
* Switch to Erlang lib pipe
2020-10-14 12:38:41 +03:00
Andrew Mayorov
24e3aad9ce
Bump to rbkmoney/woody_erlang@d106ef6 ( #40 )
...
* Bump to rbkmoney/genlib@1ca0879
* Bump to rbkmoney/dominant@6896d15 service image
* Bump to rbkmoney/machinegun@b366973 service image
Co-authored-by: Toporkov Igor <i.toporkov@rbkmoney.com>
2020-08-19 12:49:41 +03:00
Toporkov Igor
ffbb01d2da
Upgrade damsel ( #39 )
2020-07-24 11:01:14 +03:00
Andrew Mayorov
9148719c4d
Add LICENSE file ( #38 )
2020-06-29 16:46:21 +03:00
Andrew Mayorov
1b48369757
DC-120: Bump dependencies ( #37 )
...
* Bump to rbkmoney/image-build@07d3946f
* Bump to rbkmoney/build_utils@1aa7267
* Bump to rbkmoney/woody_erlang@dd5eaa7
* Bump to rbkmoney/damsel@d0e949b
* Bump to rbkmoney/dmt_core@5a0ff399
2020-06-29 15:39:25 +03:00
Sergey Yelin
43723edc18
DC-119: Update damsel ( #36 )
2020-05-08 17:50:38 +03:00
Sergei Shuvatov
32b702a6a2
MSPF-532: get rid of rfc3339 library ( #35 )
2020-02-19 15:49:00 +03:00
Sergey Yelin
7d4b4a5a80
Remove server from client ( #34 )
...
* Remove server from client
* Fix missing type in dialyzer
* Fix cache path
2019-12-20 17:10:14 +03:00
Артем
9e7c066b65
DC-118: Health check ( #33 )
...
* added health check
* fix
* minor
* fix
* fixed cfg
* removed has version api
* changed transport opts
* refixed transport opts
* added requested changes
* fixed
* minor
2019-12-19 15:36:08 +03:00
Sergey Yelin
c1bbcbb88c
Add formatter config ( #32 )
...
* AAA-54: Update woody
* Add config to test
* Remove scoper
2019-12-13 16:26:39 +03:00
Sergei Shuvatov
621fb49e9c
HG-494: rename dmsl to damsel ( #30 )
2019-07-31 14:45:27 +03:00
Sergey Elin
22aba96c65
MSPF-462: Update erlang and woody ( #29 )
2019-06-20 21:40:59 +03:00
Toporkov Igor
6bb0b65a18
MSPF-438: Erlang 21 ( #28 )
...
* Revert "DC-116: Revert "Add Erlang 21 support (#24 )" (#25 )"
This reverts commit 97fdfe552c
.
* Added hay metrics, updated to new deps
* Removed redundant configs
* Customizable event_handlers
* renamed event_handlers option
2019-05-07 17:31:16 +03:00
Sergei Shuvatov
ea5b1fd6d0
DC-116: implement LRU cache and workers ( #27 )
2019-05-06 16:19:41 +03:00
Sergei
635dc0fb19
DC-116: optimize memory consumption ( #26 )
2019-04-25 12:43:46 +03:00
Sergei
97fdfe552c
DC-116: Revert "Add Erlang 21 support ( #24 )" ( #25 )
...
This reverts commit 22f5a54f87
.
2019-04-22 20:07:25 +03:00
Andrey Fadeev
22f5a54f87
Add Erlang 21 support ( #24 )
2019-04-19 19:38:14 +03:00
Evgeny Levenets
dca3a0a9ee
DC-97: implement PullRange interface ( #23 )
...
* remove Pull interface also
* use my own dominant image that support PullRange
* move pull limit to config
2018-08-30 13:24:09 +03:00
Evgeny Levenets
8387fbed6f
fix wrong exception in checkout_object function ( #22 )
2018-07-09 13:29:39 +03:00
Andrey Fadeev
f13f92dec4
MSPF-373 Update woody version ( #20 )
2018-07-08 23:26:31 +03:00
Andrey Fadeev
8a7fc3ec9b
Update test container images to latest versions ( #21 )
2018-07-06 20:02:59 +03:00
Evgeny Levenets
84b2735c0e
add ability to specify woody-opts on each call ( #19 )
...
* move network timeouts to sys.config
* add ability to specify woody-opts on each call
2018-06-19 14:44:35 +03:00
Anton Belyaev
2d12274713
Update dmt_client_api.erl
2018-05-16 20:14:49 +03:00
Anton Belyaev
cec0a01497
Hotfix: hardcode increase client timeouts ( #18 )
2018-05-16 19:57:16 +03:00
Anton Belyaev
52183b5006
HG-273: use scoper for logs, fix lint, bump buitutils ( #17 )
2017-10-25 19:49:20 +03:00
Natalia Pulina
93577c536d
DC-47: update_cache fixed, bump to rbkmoney/dmt_core@045c781 ( #16 )
2017-07-13 16:11:43 +04:00
Evgeny Levenets
6de81bcb84
DC-34: added naive cache displacement implementation ( #15 )
2017-05-18 12:48:42 +03:00
Evgeny Levenets
d2be019477
DC-35: added cache and bumped some dependencies ( #14 )
2017-05-12 12:29:13 +03:00
Evgeny Levenets
601f7bfb22
DC-33: fixed woody error handling ( #13 )
2017-04-28 15:09:31 +03:00
Evgeny Levenets
aec229fca9
MSPF-191: bumped to rbkmoney/woody_erlang@b5ae9ae ( #11 )
...
rbkmoney/woody_erlang@b5ae9ae
2017-02-15 20:04:51 +03:00
Evgeny Levenets
97a215e957
DC-19: bumped damsel to bc7d54b ( #10 )
...
Bumped to rbkmoney/damsel@bc7d54b
2017-01-24 16:52:56 +03:00