bbrtj / btcpaywall

Self-hosted bitcoin payment system
BSD 2-Clause "Simplified" License
7 stars 3 forks source link

request: provision to create dist tarballs from source directory #5

Closed artvogel closed 2 years ago

artvogel commented 2 years ago

I've tried for a bit, but have been unable to build cpan-style tarballs of btcpaywall without adding a $VERSION and modifying the source more than I'd like.

In my testing, it would be great if it was easy to build cpan-style tarballs from the git checkouts, (perhaps ones with versions like 0.00001_01).

(I looked into submitting a PR to easily make tarballs, but it got pretty involved with distribution tools and I wasn't sure which one you wanted to use, or was most appropriate).

bbrtj commented 2 years ago

Hey, could you elaborate a bit more on the idea - what is your use case for the tarballs? When it comes to distribution tools, I'm open to suggestions.

artvogel commented 2 years ago

I want to have tarballs with versions to create different test/production, (and testnet/livenet) installations. I'd like to have tarballs with versions to create these environments from, instead of using git and git hashes because it's more consistent with how I typically do things and how I usually install software.

I have little opinion on what particular distribution tool to use, I guess whatever is more familiar/consistent with your other perl distros.

bbrtj commented 2 years ago

Right, that's fair. Also, I've been thinking about the possibility of CPAN distribution at some point, so might as well do the very first step. I'll add a very basic Makefile.PL - it's up to you to create a manifest file (make manifest should be enough) and set the version variable in Makefile.PL to whatever you like. Feel free to close this issue if that's sufficient

bbrtj commented 2 years ago

It's been 20 days since I added EU::MM to the project, so I assume that's enough of a solution to this issue.