From nobody Tue Jan 9 12:53:21 2024 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4T8W7k20bZz57PLS for ; Tue, 9 Jan 2024 12:53:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T8W7k0Cdpz4wKl for ; Tue, 9 Jan 2024 12:53:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704804802; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dznxrqIQvgxtGmjkBJfVnL4ig+DdvDyFSXjHjzCoGyc=; b=OQI7Gu/MB357+e12MZWnRk+yDn/X5cgAfMI5w+N9fxD+Pl4GtuA9zkSA4JJrUIumgLhCmO LrswOZ5/jv96IeiZqcNs8IKwm58Q0Az3zXDRWgJ5sWc3UnJj5qpxQ5og0cTXk7rDcaT1e3 pttn54vM+j+JDKaphetyhh2ih/bw1zIr2WeywHkKYKE/55lo6hZeC7ITseyQi8kSqzz3gF 7b/Q/g7mqq/atZUl729P74HwcGEv85XZHjKJ+BZy+/vbw31l+YW9p/YTmRDwQFWBC2PYix lrIJOJdvLc7SoS+iLhaSrKabMGCqLFngNTxy94g8etTtOUL8SoiNJTs7jQPEDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704804802; a=rsa-sha256; cv=none; b=subuuEjrzjjGC0KJVLApsPZYGi1U6hO0qFWUkmwImP7Hp8B1ECMcwgsPSy0K7WXaynX8wT MbKT0H8ZNzdvfAcDvV1oPNCbzIkDY0jgoz4ViTQ6NBpiM7hVsq1A96SO/SvkDkPMFKlrgI UvFYmgTPIBTkowwNesmRv41owe64ZLV1J7nuZ3H5tsI8uJ4PqikQePNHaTWq0fAymCV9A/ nMeP/tUEH4uRLc2HEMfKvJFrLyTBHi5B+CAo6Fse+cyF1HI2lD42UL4vclt/lbcYFqgHqA LilyKVYrfZgKclVnTQgtpiKx1snnHExOCF0CvYtOcplMrebOTqLF6fUO1R8XBQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4T8W7j6Q6Dzrv5 for ; Tue, 9 Jan 2024 12:53:21 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 409CrLxR010184 for ; Tue, 9 Jan 2024 12:53:21 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 409CrL8x010183 for ports-bugs@FreeBSD.org; Tue, 9 Jan 2024 12:53:21 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 276219] sysutils/gh-md-toc: Update to 0.9.1 Date: Tue, 09 Jan 2024 12:53:21 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: DtxdF@disroot.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform bug_file_loc op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D276219 Bug ID: 276219 Summary: sysutils/gh-md-toc: Update to 0.9.1 Product: Ports & Packages Version: Latest Hardware: Any URL: https://github.com/ekalinin/github-markdown-toc/releas es/tag/0.9.1 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: DtxdF@disroot.org Attachment #247543 maintainer-approval+ Flags: Created attachment 247543 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D247543&action= =3Dedit gh-md-toc-0.9.1.patch Description: * Pet portfmt. * Add jq as runtime dependency. * Fix gh-md-toc: - Retrieving the README depends on the content of the repository and sinc= e it can change at any time, the script could break, as it did. Although scraping is still used as a method to get the README, it has only a small responsibility: to get the JSON with the repository information, so that it can be easi= ly retrieved by sending a request like `https://raw.githubusercontent.com////`. - Add the `--location` parameter to the curl command in the `gh_toc_load` function. Necessary for requests like `https://github.com///blob/`. - Add the `--fail` parameter to the curl command in the `gh_toc_load` funct= ion. Necessary to show errors correctly. ChangeLog: https://github.com/ekalinin/github-markdown-toc/releases/tag/0.9= .1 QA: * portlint: OK (looks fine.) * testport: OK (poudriere: 14.0-RELEASE, amd64, DOCS tested) --=20 You are receiving this mail because: You are the assignee for the bug.=