Jordan Sissel
Jordan Sissel
I have one solution that might work. FPM supports an environment variable "FPMOPTS" where it will use the contents of this variable as flags. https://github.com/jordansissel/fpm/issues/1827 ``` % FPMOPTS="--version 1.0" fpm...
Noting for future: I may have found a way to do this with a flag. https://github.com/mdub/clamp/blob/03f1e6585438aadeb0e0df48e6512c87b05e79b2/lib/clamp/option/parsing.rb#L50-L52 I made a small demo to see if the idea works, and I think...
Draft in progress! https://github.com/jordansissel/fpm/pull/1905
`checkinstall` seems to work by tracking files created during a subcommand (such as `make install`). `fpm` doesn't have this feature, though it's possible it could be added in the future....
Hmm.. I wonder if we could turn all of these new flags into a single flag. When reading your proposal, it feels like we can summarize this behavior into two...
I'm not exactly sure how to check if pip is available. Some tests: * When not available, `python3 -m pip` exits code 1 and prints an error message "/usr/bin/python3: No...
@devicenull and @amdei, can y'all help provide any additional info? I do believe this is a bug somewhere in fpm, and learning more about how/why it fails will help in...
@devicenull Oh nice! This made it easy to reproduce. Thank you :) ``` root@b3a818affb14:/# CI_PIPELINE_ID=1 root@b3a818affb14:/# fpm --python-bin python3 --python-package-name-prefix python3 -s python -t deb --python-disable-dependency py-radix --iteration $CI_PIPELINE_ID aggregate6...
I ran this with `--debug-workspace` which tells fpm to keep any temporary directories around, and I found this: ``` root@b3a818affb14:/tmp/package-python-build-f715004495b75a4f098048dde4802ced7c3d8ca8ccf051be4bd14b991209# ls -lR .: total 12 drwxr-xr-x 2 root root 4096...
> This error message is incorrect. The issue is that python does not exist, not that it's missing modules. Agreed! FPM could do some more detailed checking to help identify...