Comments (5)
I think I'll have it abort if you build a package with capital letters in it - if only to fix human behaviors - if I just downcase it internally, you might think you got the package name with capital letters in it and go on and tell puppet with capital letters.
from fpm.
Yeah, that's kind of annoying. Though it seems like a bug to be fixed with puppet, forcing downcase seems like reasonable behavior as long as that's a convention everyone sticks to. Although I know there are packages like VirtualBox-OSE
that appear every once in a while, I suppose it's all the same internally.
from fpm.
It's not a bug with puppet, I think, that was just a use case. Check out this example:
% fpm -s dir -t deb -n FooBarBaz -C /home/jls --prefix /opt/foobar ~/.zshrc
Created .../FooBarBaz_1.0_amd64.deb
% dpkg --info FooBarBaz_1.0_amd64.deb | grep Package
Package: FooBarBaz
% sudo dpkg -i FooBarBaz_1.0_amd64.deb
Selecting previously deselected package foobarbaz.
(Reading database ... 239045 files and directories currently installed.)
Unpacking foobarbaz (from FooBarBaz_1.0_amd64.deb) ...
Setting up foobarbaz (1.0) ...
% dpkg -l FooBarBaz
No packages found matching FooBarBaz.
% dpkg -l foobarbaz
...
ii foobarbaz 1.0 no description given
Notice how when installing, dpkg automatically downcased the name.
That's pretty shitty, but I'm pretty sure the source of it is some (as usual) bullshit Debian policy.
from fpm.
Oh. Got it. Yeah, that's weird. Good to be noisy, then :)
from fpm.
fpm 0.2.31 released that includes the restriction on .deb package names.
from fpm.
Related Issues (20)
- Could not execute systemctl: at /usr/bin/deb-systemd-invoke line 142.
- add custom metadata in pcakage
- URGENT : BUG - Dependency Confusion Vulnerability leads to RCE(Remote Code Execution) HOT 4
- python: pkg_resources is deprecated HOT 4
- python: stop using `setup.py` as a CLI tool HOT 3
- fpm -t rpm error when workdir contains a + in name.
- "gem install fpm" is not sufficient to have fpm correctly installed HOT 1
- How is this configuration item(config-files) used
- --deb-dist option does not set the distribution
- fpm install fails on RHEL8 Ruby 2.5.0 due to dotenv HOT 10
- Buildroot when building .deb? HOT 3
- How to get RPM to place all files from a local folder inside a specific folder when installed (without including the local folder itself) HOT 1
- fpm output as JSON instead ruby hash?
- too long unix socket path (120bytes given but 108bytes max)
- Any tips for compiling a binary executable of fpm on arm64? HOT 2
- PEP517 Support HOT 1
- Private vulnerability reporting HOT 2
- Sign apk packages
- "--fpm-options-file" fails with "undefined method `extract_value' for nil:NilClass" HOT 1
- When making a deb package is there a way to include files under /debian/test for autopkgtest
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fpm.