forked from 0xYUANTI/krc
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: modernise the repository a bit (#29)
* Ease booting application for development docker-compose and user.conf are added because otherwise there's no support elements for the boot * Pin specific versions and help Renovate This way it's easier for us to reason on the updates semantically. * Ease moving toward rebar3 Check https://erlangforums.com/t/what-is-the-best-way-to-deal-with-rebar-lock-files-of-dependencies/2826/15 on a discussion of the benefits of rebar.lock * Remove useless warning: nowarn_shadow_vars By default we wanna get warned about these * Add a few "good practice" compiler warnings As per https://github.com/kivra/erlang_template * Approach rebar3: remove some defaults * Remove xref_check: prefer defaults The defaults cover a wider range of options * Add `dialyzer` options * xref: stop caring about "unused exports" It's either this or flagging all "interface API" functions as -ignore_xref, which is potentially more difficult to maintain. Choices (?) * Tweak test coverage * Cleanup Try to be consistent in whitespace * Ease owner identification
- Loading branch information
1 parent
9259f78
commit 3551262
Showing
6 changed files
with
76 additions
and
15 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# the project is owned by the platform team | ||
* @kivra/platform-team |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,3 @@ doc | |
_build | ||
*~ | ||
.vscode/ | ||
rebar.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
services: | ||
riak: | ||
image: basho/riak-kv:ubuntu-2.2.3 | ||
ports: | ||
- 8081:8081 | ||
volumes: | ||
- ./riak/user.conf:/etc/riak/user.conf | ||
healthcheck: | ||
test: riak-admin wait-for-service riak_kv | ||
interval: 2s | ||
timeout: 5s | ||
retries: 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{"1.2.0", | ||
[{<<"hamcrest">>, | ||
{git,"https://github.com/basho/hamcrest-erlang.git", | ||
{ref,"ad3dbab419762fc2d5821abb88b989da006b85c6"}}, | ||
2}, | ||
{<<"prometheus">>,{pkg,<<"prometheus">>,<<"4.10.0">>},0}, | ||
{<<"quantile_estimator">>,{pkg,<<"quantile_estimator">>,<<"0.2.1">>},1}, | ||
{<<"riak_pb">>, | ||
{git,"https://github.com/basho/riak_pb", | ||
{ref,"08771aba2ce4935b715d32d1b92555efdc3da994"}}, | ||
1}, | ||
{<<"riakc">>, | ||
{git,"git@github.com:kivra/riak-erlang-client.git", | ||
{ref,"675098b50052508ab7be09198b023a2648c061ee"}}, | ||
0}, | ||
{<<"stdlib2">>, | ||
{git,"git@github.com:kivra/stdlib2.git", | ||
{ref,"f5fdd13de0f02d7b1f9482133a7e4bf8cce14974"}}, | ||
0}, | ||
{<<"telemetry">>,{pkg,<<"telemetry">>,<<"1.3.0">>},0}]}. | ||
[ | ||
{pkg_hash,[ | ||
{<<"prometheus">>, <<"792ADBF0130FF61B5FA8826F013772AF24B6E57B984445C8D602C8A0355704A1">>}, | ||
{<<"quantile_estimator">>, <<"EF50A361F11B5F26B5F16D0696E46A9E4661756492C981F7B2229EF42FF1CD15">>}, | ||
{<<"telemetry">>, <<"FEDEBBAE410D715CF8E7062C96A1EF32EC22E764197F70CDA73D82778D61E7A2">>}]}, | ||
{pkg_hash_ext,[ | ||
{<<"prometheus">>, <<"2A99BB6DCE85E238C7236FDE6B0064F9834DC420DDBD962AAC4EA2A3C3D59384">>}, | ||
{<<"quantile_estimator">>, <<"282A8A323CA2A845C9E6F787D166348F776C1D4A41EDE63046D72D422E3DA946">>}, | ||
{<<"telemetry">>, <<"7015FC8919DBE63764F4B4B87A95B7C0996BD539E0D499BE6EC9D7F3875B79E6">>}]} | ||
]. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
storage_backend=memory | ||
buckets.default.allow_mult=true | ||
buckets.default.last_write_wins=false |