[Pkg-rust-maintainers] Package for nu
vanessa sochat
vsochat at stanford.edu
Wed Oct 16 21:56:48 BST 2019
Hey Rust Maintainers!
I'm relatively new to both Rust and Debian packaging, but I want to figure
out how to create an official debian package for nutshell. Here is what
we've done so far:
A Docker base <https://github.com/nushell/nushell/tree/master/debian> was
first used to build a .dkkg file, meaning generated in a container and then
copied out to install. I didn't think this was totally right (there are a
lot of posts about using fakeroot / dpkg-buildpackage and not a lot of
examples with Docker, so I opened an issue
<https://github.com/nushell/nushell/issues/741> and decided to start fresh
<https://github.com/vsoch/nushell-debian>. I also made a similar effort to
still separate the build but use the Docker image
<https://github.com/vsoch/nushell-debian/pull/2>, because it seemed easier
that way. It also made sense to maintain the package build itself separate
from the source repository, but I'm not sure what is best practice, or how
Debian packages magically appear there with apt-get ...
This was about <https://github.com/vsoch/nushell-debian/issues/1> as far as
I got, and for the second effort linked above
<https://github.com/vsoch/nushell-debian/pull/2>. But then I found this page
<https://wiki.debian.org/Teams/RustPackaging> (with a link to you!) along
with this archive post
<https://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/Week-of-Mon-20161205/000692.html>
that mentioned dh-cargo. I gave that a try and got an error message about
default-run being required.
So - instead of floundering around like a water dinosaur on land, I'm
hoping to ask for your help. Taking into account that I have very little
experience on both fronts (but can learn quickly), and you can assume that
I've found the standard Google searches to help me out (and they haven't
helped) can others on the list help me to put together debian packaging for
rust? Automated?
Best,
Vanessa
--
Vanessa Villamia Sochat
Stanford University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-rust-maintainers/attachments/20191016/de08fe32/attachment-0001.html>
More information about the Pkg-rust-maintainers
mailing list