-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rename MAM modules #3684
Rename MAM modules #3684
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
Codecov Report
@@ Coverage Diff @@
## master #3684 +/- ##
==========================================
+ Coverage 81.11% 81.12% +0.01%
==========================================
Files 434 434
Lines 31884 31884
==========================================
+ Hits 25863 25867 +4
+ Misses 6021 6017 -4
Continue to review full report at Codecov.
|
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as outdated.
small_tests_24 / small_tests / 0b8923a small_tests_25 / small_tests / 0b8923a dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 0b8923a dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 0b8923a dynamic_domains_mysql_redis_25 / mysql_redis / 0b8923a ldap_mnesia_24 / ldap_mnesia / 0b8923a dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 0b8923a ldap_mnesia_25 / ldap_mnesia / 0b8923a pgsql_mnesia_24 / pgsql_mnesia / 0b8923a internal_mnesia_25 / internal_mnesia / 0b8923a elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 0b8923a pgsql_mnesia_25 / pgsql_mnesia / 0b8923a mysql_redis_25 / mysql_redis / 0b8923a riak_mnesia_24 / riak_mnesia / 0b8923a mssql_mnesia_25 / odbc_mssql_mnesia / 0b8923a |
small_tests_24 / small_tests / e389d71 small_tests_25 / small_tests / e389d71 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / e389d71 dynamic_domains_mysql_redis_25 / mysql_redis / e389d71 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / e389d71 ldap_mnesia_24 / ldap_mnesia / e389d71 ldap_mnesia_25 / ldap_mnesia / e389d71 pgsql_mnesia_24 / pgsql_mnesia / e389d71 internal_mnesia_25 / internal_mnesia / e389d71 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / e389d71 muc_SUITE:hibernation:hibernated_room_can_be_queried_for_archive{error,{{assertion_failed,assert,is_groupchat_message,
[<<"Restorable message">>],
undefined,"undefined"},
[{escalus_new_assert,assert_true,2,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{muc_SUITE,wait_for_mam_result,3,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4383}]},
{muc_SUITE,'-hibernated_room_can_be_queried_for_archive/1-fun-0-',3,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4124}]},
{escalus_story,story,4,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{muc_SUITE,hibernated_room_can_be_queried_for_archive,1,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4120}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} rest_SUITE:roster:end_per_group{error,
{{badrpc,
{'EXIT',
{timeout,
{gen_server,call,
['wpool_pool-mongoose_wpool$rdbms$global$default-3',
{sql_cmd,
{sql_execute,auth_delete_user,
[<<"domain.example.com">>,<<"alice">>]},
-576460110083},
60000]}}}},
[{escalus_rpc,call_with_cookie_match,
[mongooseim@localhost,ejabberd_admin,unregister,
[<<"alicE">>,<<"domain.example.com">>],
30000,ejabberd],
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_rpc.erl"},
{line,34}]},
{lists,foreach_1,2,[{file,"lists.erl"},{line,1442}]},
{escalus_ejabberd,delete_users,2,
[{file,
"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_ejabberd.erl"},
{line,216}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1379}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} rest_client_SUITE:init_per_suite{'EXIT',{{badrpc,timeout},
[{distributed_helper,rpc,
[#{node => mongooseim@localhost},
mongoose_modules,replace_modules,
[<<"test type">>,[],
#{mod_muc_light =>
#{all_can_configure => false,
all_can_invite => false,
backend => mnesia,blocking => true,
config_schema =>
[{<<"roomname">>,<<"Untitled">>,
roomname,binary},
{<<"subject">>,<<>>,subject,
binary}],
equal_occupants => false,
host => {prefix,<<"muclight.">>},
legacy_mode => false,
max_occupants => infinity,
rooms_in_rosters => true,
rooms_per_page => 10,
rooms_per_user => infinity}}]],
[{file,"/home/circleci/project/big_tests/tests/distributed_helper.erl"},
{line,117}]},
{rest_client_SUITE,init_modules,1,
[{file,"/home/circleci/project/big_tests/tests/rest_client_SUITE.erl"},
{line,136}]},
{rest_client_SUITE,init_per_suite,1,
[{file,"/home/circleci/project/big_tests/tests/rest_client_SUITE.erl"},
{line,123}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,... mysql_redis_25 / mysql_redis / e389d71 pep_SUITE:pep_tests:unsubscribe_after_presence_unsubscription{error,{{badmatch,[{xmlel,<<"presence">>,
[{<<"from">>,
<<"alice_unsubscribe_after_presence_unsubscription_1895@localhost/res1">>},
{<<"to">>,
<<"bob_unsubscribe_after_presence_unsubscription_1895@localhost/res1">>},
{<<"type">>,<<"unavailable">>}],
[]}]},
[{pep_SUITE,'-unsubscribe_after_presence_unsubscription/1-fun-0-',2,
[{file,"/home/circleci/project/big_tests/tests/pep_SUITE.erl"},
{line,384}]},
{escalus_story,story,4,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / e389d71 pgsql_mnesia_25 / pgsql_mnesia / e389d71 riak_mnesia_24 / riak_mnesia / e389d71 mssql_mnesia_25 / odbc_mssql_mnesia / e389d71 muc_SUITE:hibernation:hibernated_room_can_be_queried_for_archive{error,{{assertion_failed,assert,is_groupchat_message,
[<<"Restorable message">>],
undefined,"undefined"},
[{escalus_new_assert,assert_true,2,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_new_assert.erl"},
{line,84}]},
{muc_SUITE,wait_for_mam_result,3,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4383}]},
{muc_SUITE,'-hibernated_room_can_be_queried_for_archive/1-fun-0-',3,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4124}]},
{escalus_story,story,4,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{muc_SUITE,hibernated_room_can_be_queried_for_archive,1,
[{file,"/home/circleci/project/big_tests/tests/muc_SUITE.erl"},
{line,4120}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} pubsub_SUITE:dag+node_config:send_last_published_item_test{error,{{badmatch,false},
[{pubsub_tools,check_response,2,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,491}]},
{pubsub_tools,receive_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,481}]},
{pubsub_tools,receive_subscribe_response,3,
[{file,"/home/circleci/project/big_tests/tests/pubsub_tools.erl"},
{line,334}]},
{pubsub_SUITE,'-send_last_published_item_test/1-fun-0-',2,
[{file,"/home/circleci/project/big_tests/tests/pubsub_SUITE.erl"},
{line,937}]},
{escalus_story,story,4,
[{file,"/home/circleci/project/big_tests/_build/default/lib/escalus/src/escalus_story.erl"},
{line,72}]},
{test_server,ts_tc,3,[{file,"test_server.erl"},{line,1782}]},
{test_server,run_test_case_eval1,6,
[{file,"test_server.erl"},{line,1291}]},
{test_server,run_test_case_eval,9,
[{file,"test_server.erl"},{line,1223}]}]}} |
small_tests_24 / small_tests / 70796b8 small_tests_25 / small_tests / 70796b8 dynamic_domains_pgsql_mnesia_24 / pgsql_mnesia / 70796b8 dynamic_domains_pgsql_mnesia_25 / pgsql_mnesia / 70796b8 ldap_mnesia_24 / ldap_mnesia / 70796b8 dynamic_domains_mysql_redis_25 / mysql_redis / 70796b8 dynamic_domains_mssql_mnesia_25 / odbc_mssql_mnesia / 70796b8 ldap_mnesia_25 / ldap_mnesia / 70796b8 internal_mnesia_25 / internal_mnesia / 70796b8 pgsql_mnesia_24 / pgsql_mnesia / 70796b8 elasticsearch_and_cassandra_25 / elasticsearch_and_cassandra_mnesia / 70796b8 pgsql_mnesia_25 / pgsql_mnesia / 70796b8 riak_mnesia_24 / riak_mnesia / 70796b8 mysql_redis_25 / mysql_redis / 70796b8 mssql_mnesia_25 / odbc_mssql_mnesia / 70796b8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me :)
The goal is to make MAM module naming more intuitive.
mod_mam
is renamed tomod_mam_pm
, because it is a PM-specific module, just asmod_mam_muc
is a MUC-specific one.mod_mam_meta
is renamed tomod_mam
, because no other modules have this unexpected suffix, and it is more intuitive when the main module is just named after the functionality.GitHub does not recognize the renaming because types were left in
mod_mam
(they affect PM and MUC), but you can look at the individual commits, and see that the changes were quite mechanical - the diff is very straightforward for the first two commits.There are no functional changes in this PR.
The
mod_mam_*
backends are not renamed tomod_mam_pm_*
in this PR - if needed, we can do it in a separate task.