The currently recommended dh-make-golang tool is known to be unreliable and relies on various outdated
and deprecated libraries to function. Gophian seeks to change that by providing a tool that works out of
the box, as well as adding on more features and more intelligence to improve the Go packaging experience.
It achieves this by replicating the functionality of "go get", avoiding the need to rely on the
golang.org/x/tools/go/vcs library.
So you want to package some nifty piece of software you found, and it's written in Go? Look no further
than Gophian! To start out, make sure that it hasn't already been packaged using
https://packages.debian.org or "apt search". Ensure that there isn't already an existing effort by
checking for any open Intent to Package (ITP) bugs using wnpp-check(1).
Next, you'll want to use gophian-estimate(1) to estimate the amount of work that will be needed to
package this software for Debian. This subcommand will list any dependencies that are not available as
packages in Debian yet in a tree format. gophian-estimate-graphviz(1) may also be useful to create a
visual tree with Graphviz, especially for large or complex dependency graphs.
Then, you can use gophian-make(1) to prepare some initial Debian packaging for the software, including
setting up a Git repo, importing the latest upstream version, and creating some packaging templates,
inferring and filling in values for you when available. Refer to gophian-make(1) for an in-depth
explanation of this subcommand's use.
Refer to the individual subcommand manual pages for more detailed information.