Tags: farhadi/rebar3_hex
Tags
Gracefully handle required missing retire arguments (erlef#254) * Gracefully handle required missing retire arguments - Add helper function in rebar3_hex_retire that gets a required param or raises - add basic tests for retire in integration suite - add post retirement route support in hex api model Co-authored-by: Paulo F. Oliveira <paulo.ferraz.oliveira@gmail.com>
Change api domain value to binary in rebar3_hex_user (erlef#242) * Change api domain value to binary in rebar3_hex_user The domain value for write permissions should be a binary vs an atom. * Ignore some functions temporarily and bump hex_core to 0.8.2 in test
Add custom hex httpc adapter (erlef#232) Per https://ferd.ca/you-ve-got-to-upgrade-rebar3.html we must provide our own http adapter so we can ensure ssl opts are set. Note that we can provide the default hex core httpc adapter ssl options, however having a custom adapter will provide us greater flexibility long term. This especially true in the case of custom repositories for which the edge cases around ssl are unknown. - Added rebar3_hex_httpc_adapter copied from rebar3. - Changed rebar3_hex_config to use rebar3_hex_httpc_adapter instead of the default hex_core http adapter - Changed test/support/test_utils.erl to work with rebar3 version 3.16 - Changed .github/workflows/ci.yml to only test against 3.16.1 - Changed .app.src to include hex_core to per the use of hex_http behavior in hex_core - Fixed a bug in rebar3_hex_docs where our call to rebar3_hex_client:delete_docs/3 had wrong expectations - Suppressed some dialyzer warnings that should be fixed up in a subsequent PR
Handle all types of deps in has_unstable_deps check (erlef#223) When the has_unstable_deps check was introduced non-hex based deps were not taken into account, this commit fixes this. What this fix doesn't address is whether git deps should be considered unstable, which is a moot point since we don't allow publishing when the project has a git dep and will error out anyway.
Use crypto_one_time_aead on OTP 23 and onwards (erlef#189) * Use crypto_one_time_aead on OTP 23 and onwards - updated rebar3_hex_user to use crypto:crypto_one_time_aead/6 and crypto:crypto_one_time_aead/7 if OTP is equal to or greater than 23 - added private function cipher/1 to determine the correct cipher to use with crypto:crypto_one_time_aead/6 and crypto:crypto_one_time_aead/7
PreviousNext