summaryrefslogtreecommitdiff
path: root/src/r3_hex_api_user.erl
Commit message (Collapse)AuthorAgeFilesLines
* Update vendored in hex_core to version 0.5.1Bryan Paxton2019-07-301-1/+1
| | | | | | | | version 0.5.1 is a maintenance release of hex_core specifically for rebar3 which contains a configuration update. Prior to v0.5.1 if no repo_organization key was set this could result in a function clause error. The behavior is to now set repo_organization to undefined in this case.
* Fix fetching of private packages from orgs on hex repos (#2020)Bryan Paxton2019-03-071-0/+46
- vendor in hex_core at v0.5.0 - Change where repo_name should be the org and not the parent - Changed rebar_utils:url_append_path/2 to not explicitly add a '?', this is returned in the Query chunk by http_uri:parse/1 (e.g., "?foo=bar") - update organization_merging test to expect the sub-repo as the repo_name - Add tests for rebar_utils:url_append_path/2 - Stop referencing/setting "organization" in config and use new organization settings (api_repository and repo_organization) - Do not set (assume) the read key is valid for any/every repo - Set repo_organization and api_repository to org - Update tests to check for new config opts