-
Notifications
You must be signed in to change notification settings - Fork 255
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release the man page #355
Comments
So the "usual way" is (1), which is what Debian, Arch and Ubuntu do. I'm surprised that installing through homebrew does not install the man page. I see the point of avoiding the pandoc dependency. Looking at https://formulae.brew.sh/formula/gocryptfs , what does "bottle" mean? Pre-built binaries? |
PS: The binary releases at https://github.com/rfjakob/gocryptfs/releases do include the man page. |
In Debian, we call |
@rfjakob Yes, pretty much. Homebrew, in general, is a build-from-source distribution but provides binaries of homebrew-core formulae for multiple macOS versions as a convenience.
@rfjakob What is the difference in the way the
@lechner Right, that is the same terminology I used in the report above.
@lechner It's true that a user does not need Pandoc to use gocryptfs, but I'm guessing you mean that a user will not need Pandoc to render the man page. That depends on how the user obtains gocryptfs. A user obtaining a I guess the question comes down to whether the GitHub release process for gocryptfs should be changed to include rendering and releasing the man page. If the answer is no, I'll go over to Homebrew and query about adding Pandoc as a build dependency to include the man page. |
This gives users who build from the source tarball, but do not want to install pandoc, access to the man pages. Requested at #355
This gives users who build from the source tarball, but do not want to install pandoc, access to the man pages. Apperently the gocryptfs homebrew package ships without the man pages at the moment to avoid pandoc. Requested at #355
As it does not really cause extra work during the release process, I will include the man pages in the source tarball ( commit 61940a9 ).
Well, linux-static is the compiled binary plus the generated man pages, while "src" and "src-deps" only zips up the source files. Now it also generates the man pages and includes them. |
I discovered
MANPAGE.md
andMANPAGE-render.bash
for rendering the Markdown file using Pandoc. I think it would be nice to have this man page included along with gocryptfs, whichever way it is installed.I suppose there are two basic ways for getting the rendered man page into a target installation:
MANPAGE-render.bash
to generate the man page. For source packaging, this means that Pandoc must be installed on the user's computer.From a packaging and user's perspective, avoiding an extra dependency such as Pandoc is nice. There is, of course, plenty of software that requires an extra dependency for building documentation, so this is not that unusual.
From a gocryptfs developer's perspective, depending on the release process, it might be nice to avoid installing yet another tool and adding this extra step.
(For my own context, I installed gocryptfs on macOS with Homebrew. The current formula uses the
gocryptfs_v1.6.1_src-deps.tar.gz
release archive. I don't know how the Homebrew folk generally view having a build dependency for documentation, but if that is the preferred goal, it doesn't hurt to ask.)It seems like option 1 is the current situation, but I think option 2 is better, esp. if it can be automated to ease the maintenance burden.
The text was updated successfully, but these errors were encountered: