-
Notifications
You must be signed in to change notification settings - Fork 519
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
Update hex_core and add mirror_of repo config #1986
Conversation
08738f6
to
a85c4ca
Compare
PR updated and hex_core updated hexpm/hex_core#51. |
a60acdd
to
c88f5d5
Compare
c88f5d5
to
6a5ad07
Compare
This is ready for review. |
@ericmj we got a regression from this patch where we used to display: |
_ = insert_releases(Name, Releases, Repo, ?PACKAGE_TABLE), | ||
{ok, RegistryDir} = rebar_packages:registry_dir(State), | ||
PackageIndex = filename:join(RegistryDir, ?INDEX_FILE), | ||
ok = ets:tab2file(?PACKAGE_TABLE, PackageIndex); | ||
{ok, {403, _Headers, <<>>}} -> | ||
{ok, {403, _Headers, _}} -> |
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.
This is the change that now eats up the warning on line 249/252
Seems the warning was accidentally in place. Maybe we should duplicate it up here.
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.
I made this change because it's not meaningful to match on an empty body on 403 responses, in fact repo.hex.pm never returns an empty body for 403. Maybe the clause should be removed instead?
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.
Yeah that would be fine
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.
No description provided.