[Pkg-puppet-devel] in need of a little help for packaing puppet development kit with all dependencies

Gabriel Filion gabriel at koumbit.org
Fri Feb 7 04:52:58 GMT 2020


Hi there!

I've taken on the crazy project of packaging puppet development kit
(also known as pdk) for debian.

pdk is a tool that replaces the previous "puppet module build" command,
removed in puppet 6, that helps one package a module for publishing to
the forge.
It also has some shortcuts for helping you run a module's unit tests,
and it can also pre-populate many parts of a module for you (using
templates) so that starting something anew is way faster.

From what I could see, there were 17 complementary new packages that
needed to be created in debian for dependencies. Since I started looking
into this, 4 of these packages were sent by somebody else, so I'm now
down to 13 new still needed.

On top of that, two packages are already in debian but their versions
are lower than what pdk's gemspec specifies.. so it's possible we might
need to bump them up.

It's a pretty big project and I'm very new to packaging so I've stayed a
bit stuck for some time just thinking about the sheer number of things
to do (and understand).

Are some folks willing to help me out?

below are my notes about the current state of what needs to be packaged
before pdk can make it into debian:

-------------------
 dpkg-source --before-build .
dpkg-checkbuilddeps: error: Unmet build dependencies: ruby-concurrent
(>= 1.1.5) ruby-facter (>= 2.5.1) ruby-hitimes (>= 1.3.0) ruby-json-pure
(>= 2.1.0) ruby-json-schema (>= 2.8.0) ruby-pathspec (>= 0.2.1)
ruby-tty-prompt (>= 0.13) ruby-tty-spinner (>= 0.5) ruby-tty-which (>= 0.3)
dpkg-buildpackage: warning: build dependencies/conflicts unsatisfied;
aborting
dpkg-buildpackage: warning: (Use -d flag to override.)

should be ok:
  ruby-facter -> change dependency to "facter"
  ruby-json-schema -> already present in debian with version 2.8.1 --
not sure what's up here
  ruby-json-pure -> can we switch that dependency to the C-based
implementation? e.g. ruby-json

need some work:
  ruby-concurrent -> already present in debian but with version 1.0.5.
                     must package new version
  ruby-hitimes -> already present in debian but with version 1.2.1. must
                  package new version

new packages needed:
  ruby-pathspec -> *not present* in debian. must package. *ITP sent*.

  ruby-tty-prompt -> *not present* in debian. must package. *ITP sent*.
    |-> ruby-necromancer -> *not present* in debian. must package.
                            *ITP sent*.
    |-> -(ruby-pastel)- -> *not present* in debian. must package.
                           *package awaiting in NEW*.
       |-> -(ruby-equatable)- -> *not present* in debian. must package.
                                 *package awaiting in NEW*.
       |-> -(ruby-tty-color)- -> *not present* in debian. must package.
                                 *package awaiting in NEW*.
    |-> ruby-tty-reader -> *not present* in debian. must package.
                           *ITP sent*.
       |-> ruby-tty-cursor -> *not present* in debian. must package.
                              *ITP sent*.
       |-> ruby-tty-screen -> *not present* in debian. must package.
                              *ITP sent*.
       |-> ruby-wisper -> *not present* in debian. must package.
                          *ITP sent*.

  ruby-tty-spinner -> *not present* in debian. must package
                      (requires tty-cursor. see above)

  -(ruby-tty-which)- -> *not present* in debian. must package
                        *package awaiting in NEW*

  ruby-metadata-json-lint -> mentioned in README. *not present* in
                             debian. must package
                             (requires ruby-json-schema >= 2.8 but 2.8.1
                             is present in debian. should be ok)
    |-> ruby-spdx-licenses -> *not present* in debian. must package

  ruby-rspec-puppet-facts -> mentioned in README. *not present* in
                             debian. must package (needs dependency
                             change for ruby-facter->facter / need to
                             remove dependency on puppet gem)
    |-> ruby-facterdb -> *not present* in debian. must package (needs
                         dependency change for ruby-facter->facter)
       |-> ruby-jgrep -> *not present* in debian. must package

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-puppet-devel/attachments/20200206/4d90b00d/attachment.sig>


More information about the Pkg-puppet-devel mailing list