Skip to content
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

package command silently reuses a temporary directory #686

Open
janihur opened this issue Jan 7, 2025 · 0 comments
Open

package command silently reuses a temporary directory #686

janihur opened this issue Jan 7, 2025 · 0 comments

Comments

@janihur
Copy link

janihur commented Jan 7, 2025

v0.9.1

package command exports the module to directory dictated by -path option. In the directory the command creates following items:

  • directory (that looks temporary)
  • tarball file

If the directory already exists and contains e.g. class files those files are silently included into the actual exported package tarball.

So currently the directory should not be reused blindly but it is user's responsibility to make sure -path is good to go.

I find this is surprising and unexpected and undocumented behavior.

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

No branches or pull requests

1 participant