Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2023 17:26:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 272054] [NEW PORT] sysutils/gh-md-toc: Easy TOC creation for GitHub README.md
Message-ID:  <bug-272054-7788-rrzv0Hw1bj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-272054-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-272054-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272054

Robert Clausecker <fuz@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fuz@FreeBSD.org

--- Comment #1 from Robert Clausecker <fuz@FreeBSD.org> ---
Thank you for your submission.  Here are some comments:

 - does this script run with /bin/sh?  If yes, we could eliminate the bash
dependency.
 - could you patch the script to use fetch(1) instead of wget(1) or curl(1)?
   This would permit elimination of these dependencies.
 - please only use ${PORTNAME} if the makefile would still work was PORTNAME
   changed.  In this case, if the port is renamed, the do-install target no
   longer works, so perhaps you shouldn't use PORTNAME there.
 - using ${PORTDOCS[0]} to get the name of a known file is fragile programm=
ing
   style.  What if PORTDOCS has multiple entries and someone sorts it so RE=
ADME
   is no longer the first entry?  Try to avoid such dependencies on element
order
   in lists.  Just hardcode README as the file you want to install.
 - WWW does not need a trailing slash.

Will proceed with a build test once these issues have been addressed.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272054-7788-rrzv0Hw1bj>