February 22Re: How hard would it be to create a dub2deb tool?
Posted in reply to H. S. Teoh
On Thursday, 18 February 2021 at 19:56:51 UTC, H. S. Teoh wrote: >> You simply can't download a bunch of crap from the internet and deploy it this way. First, this is very insecure (see https://firstname.lastname@example.org/dependency-confusion-4a5d60fec610 for the latest iteration of the madness) but it also a reproducibility problems (the source may change from under your feets) and availability (someone pulling leftpad can bring down your whole deployment capability). >> >> This is why you want to be able to package things and deploy them as deb/rpm/dmg/whatever > > +1. I have always been skeptical of having my ability to build/deploy depend on some random 3rd party provider somewhere out there in the wild internet whose availability/continued existence is not under my control. It seems, Meson build system solves this problem by referencing to strictly defined commits. If we will have something like dub2meson then we can use it for build Debian packages: dub2meson && dh build --buildsystem=meson
February 23Re: How hard would it be to create a dub2deb tool?
Posted in reply to Jacob Carlborg
On Thursday, 18 February 2021 at 07:01:19 UTC, Jacob Carlborg wrote: > various kinds. If support for Dub is added to that, then it would be possible to output Deb, RPM, tar, macOS .pkg and a couple of other packages as well. > >  https://github.com/jordansissel/fpm > > -- > /Jacob Carlborg This would make D my instant choice for several types of small applications.
February 24Re: How hard would it be to create a dub2deb tool?
Posted in reply to Petar Kirov [ZombineDev]
On Friday, 19 February 2021 at 08:51:47 UTC, Petar Kirov [ZombineDev] wrote: > On Friday, 19 February 2021 at 08:43:21 UTC, Petar Kirov [ZombineDev] wrote: >> >> @deadalnix Required reading: https://edolstra.github.io/pubs/phd-thesis.pdf >> :P > > Here's a more approachable and up to date introduction to Nix: > https://www.youtube.com/watch?v=D5Gq2wkRXpU Thx for your answer.
Copyright © 1999-2018 by the D Language Foundation