Skip to content

Conversation

@ericmj
Copy link
Member

@ericmj ericmj commented May 6, 2024

Private packages with a shared prefix, such that ecto is a prefix of ecto_sql, would delete the docs of ecto_sql when ecto was uploaded. This is because we list bucket files by prefix so that ecto/ would list all files under the ecto directory. The trailing / was removed by Path.join so we would also list the files of ecto_sql. This was only happened for private packages.

Closes hexpm/hexpm#1252.

Private packages with a shared prefix, such that ecto is a prefix of
ecto_sql, would delete the docs of ecto_sql when ecto was uploaded.
This is because we list bucket files by prefix so that ecto/ would
list all files under the ecto directory. The trailing / was removed
by Path.join so we would also list the files of ecto_sql. This was
only happened for private packages.

Closes hexpm/hexpm#1252.
@ericmj ericmj force-pushed the ericmj/fix-path-join branch from 7f1c0de to 22a6888 Compare May 6, 2024 13:16
@ericmj ericmj merged commit d7a408d into main May 6, 2024
@ericmj ericmj deleted the ericmj/fix-path-join branch May 6, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs are been removed

3 participants