Giter VIP home page Giter VIP logo

Comments (5)

jordansissel avatar jordansissel commented on August 24, 2024

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.

jneen avatar jneen commented on August 24, 2024

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.

jordansissel avatar jordansissel commented on August 24, 2024

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.

jneen avatar jneen commented on August 24, 2024

Oh. Got it. Yeah, that's weird. Good to be noisy, then :)

from fpm.

jordansissel avatar jordansissel commented on August 24, 2024

fpm 0.2.31 released that includes the restriction on .deb package names.

from fpm.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.