Summary: | sysutils/gh-md-toc: Update to 0.9.1 | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Jesús Daniel Colmenares Oviedo <DtxdF> | ||||||
Component: | Individual Port(s) | Assignee: | Robert Clausecker <fuz> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | fuz | ||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
URL: | https://github.com/ekalinin/github-markdown-toc/releases/tag/0.9.1 | ||||||||
Attachments: |
|
Description
Jesús Daniel Colmenares Oviedo
2024-01-09 12:53:21 UTC
Hi Robert, There is a new version available [1], I will update this patch as soon as possible. As a side note, I tested the current patch again and everything works perfectly except the main thing: parsing Markdown content; the cause seems to be the new github HTML layout [2]. I copy-paste the gh_toc_grab function to update the installed gh-toc-md script again in a clean environment (a jail) and it seems to work very well: ``` ==== Test #1 ==== $ gh-md-toc https://github.com/freebsd/poudriere Table of Contents ================= * [Welcome to poudriere!](#welcome-to-poudriere) * [Where is the documentation?](#where-is-the-documentation) * [Support](#support) * [Getting started with poudriere](#getting-started-with-poudriere) * [Build status](#build-status) <!-- Created by https://github.com/ekalinin/github-markdown-toc --> ==== Test #2 ==== $ fetch -qo - https://raw.githubusercontent.com/DtxdF/AppJail/main/README.md | gh-md-toc - * [AppJail](#appjail) * [Features](#features) * [Documentation](#documentation) * [Comparing AppJail](#comparing-appjail) * [Support](#support) * [Design decisions](#design-decisions) * [TODO](#todo) * [Contributing](#contributing) ==== Test #3 ==== $ fetch https://raw.githubusercontent.com/ekalinin/github-markdown-toc/master/README.md README.md 12 kB 3338 kBps 00s $ gh-md-toc README.md Table of Contents ================= * [gh-md-toc](#gh-md-toc) * [Table of contents](#table-of-contents) * [Installation](#installation) * [Usage](#usage) * [STDIN](#stdin) * [Local files](#local-files) * [Remote files](#remote-files) * [Multiple files](#multiple-files) * [Combo](#combo) * [Auto insert and update TOC](#auto-insert-and-update-toc) * [GitHub token](#github-token) * [TOC generation with Github Actions](#toc-generation-with-github-actions) * [Tests](#tests) * [Dependency](#dependency) * [Docker](#docker) * [Local](#local) * [Public](#public) <!-- Created by https://github.com/ekalinin/github-markdown-toc --> ``` [1] https://github.com/ekalinin/github-markdown-toc/releases/tag/0.10.0 [2] https://github.com/ekalinin/github-markdown-toc/commit/7d0a86b3be2e8e959cd9747fcf2c4a1f0e6a24eb#diff-95b2a174eea81fed1e1a47ccacdc81fa1736cccee14095786a4d3033edcf60deL256 Created attachment 249177 [details] gh-md-toc-0.10.0.patch Description: ChangeLog: https://github.com/ekalinin/github-markdown-toc/releases/tag/0.10.0 * Update for a new GH HTML layout QA: * portlint: OK (looks fine.) * testport: OK (synth: 14.0-RELEASE, amd64, DOCS tested) Will commit the updated patch from attachment 249177 [details].
Thank you for staying on top of things.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=849771c682905859f57d5c0a73dff421a88efc6e commit 849771c682905859f57d5c0a73dff421a88efc6e Author: Jesús Daniel Colmenares Oviedo <DtxdF@disroot.org> AuthorDate: 2024-03-15 00:51:19 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2024-03-19 14:18:51 +0000 sysutils/gh-md-toc: Update to 0.10.0 ChangeLog: https://github.com/ekalinin/github-markdown-toc/releases/tag/0.10.0 * Update for a new GH HTML layout PR: 276219 sysutils/gh-md-toc/Makefile | 7 +- sysutils/gh-md-toc/distinfo | 6 +- sysutils/gh-md-toc/files/patch-gh-md-toc | 251 +++++++++++++++++++++++++------ 3 files changed, 211 insertions(+), 53 deletions(-) Thank you for your contribution. |