Unofficial Snap Packaging for Tidy: HTML parser and pretty printer. The grand daddy of HTML tools

After days of development and testing, I am thrilled to announce that the unofficial packaging work of Tidy has finally reached its end.

https://snapcraft.io/tidy

Tidy, or HTML Tidy, is an HTML parser, validator and pretty printer developed by Dave Raggett et. al., it can validate HTML/XML documents and beautify it with fine-grained customization options.

The main motivation of packaging Tidy as a snap is that the version shipped in Ubuntu 16.04 is a very old legacy version dated in late 2009, the application has been greatly improved since then and even uses a different version scheme and SCM system. This snap provides the latest official and development(next) release of the tidy command-line utility in the stable and beta channels.

We are now in the process of contributing this work back to the upstream, stay tuned for more updates!

How to Install

# Install Snap #
sudo snap install tidy

# Connect the Snap to Optional Interfaces #
## removable-media: For accessing files under `/media/*` and `/run/media/*`
sudo snap connect tidy:removable-media

Related Links

Support

Please refer our project’s issue tracker
https://github.com/Lin-Buo-Ren/tidy-snap/issues

or create a new topic under snap category in the Snapcraft Forums
https://forum.snapcraft.io

Join Snapcrafters

https://forum.snapcraft.io/t/join-snapcrafters/1325

Thank you for working on this! :smile:

Why have you added the -brlin suffix to this snap? It is really isn’t necessary and complicates the process of upstreaming in the future. We’ve discussed this in the past, please unpublish this snap and register tidy instead :+1:

Because the upstream preferred name is reserved so I have to get an alternative in order to continuing the Snapcrafters Template tasks. The upstream preferred name is already requested and I originally planned to obsolete the postfixed snap name once I got the preferred name (by printing a simple message notifying the old snap’s user to remove old snap and install the new one from the launcher).

I’ve approved your request for “tidy”. So I’d recommend moving to the tidy name rather than the namespaced one.

2 Likes

Thanks, I have now obsoleted the old name snap and update all the references to the new one.

1 Like

The upstream is currently planning on a new release:

https://github.com/htacg/tidy-html5/issues/741#issuecomment-417880293

it would be great if the snap inclusion can fit into it :slight_smile:

1 Like

Some communication with the upstream is being held in the pull request, any inputs are welcomed: