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

dzil build --in disables tarball generation #701

Open
abraxxa opened this issue Jan 4, 2022 · 5 comments
Open

dzil build --in disables tarball generation #701

abraxxa opened this issue Jan 4, 2022 · 5 comments

Comments

@abraxxa
Copy link

abraxxa commented Jan 4, 2022

Not sure if this is expected, as least the docs don't mention anything.
Even when explicitly adding the --tgz command line option, no tarball is built.

@Grinnz
Copy link
Contributor

Grinnz commented Jan 4, 2022

The docs do mention it.

Specifies the directory into which the distribution should be built. If necessary, the directory will be created. An archive will not be created.

https://metacpan.org/pod/Dist::Zilla::App::Command::build#-in

@abraxxa
Copy link
Author

abraxxa commented Jan 4, 2022

I‘ve read this multiple times and missed it every time! 😣
The tgz option doesn‘t mention that you can‘t force it.
What‘s the reason both don‘t work together?
My use-case is building in a Dockerfile where I need the output directory statically named.

@abraxxa
Copy link
Author

abraxxa commented Apr 28, 2022

Any update why dzil build --in /output --tgz doesn't build a tarball?

@karenetheridge
Copy link
Contributor

Probably no one has looked into it, on account of extreme lack of time. I would suggest walking through the build process and seeing how the tarball is built -- the meat of that is in Dist::Zilla::Dist::Builder - start at sub build, and then look for the subs with 'archive' in the name.

@rjbs
Copy link
Owner

rjbs commented Jan 19, 2023

Weirdly, I just noticed this myself like 2wk ago. I may get to this, but I worked around it, so the priority in my head went down. :/

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

4 participants