Coder Social home page Coder Social logo

lcheck's People

Contributors

levi-leah avatar rh-tcapek avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

lcheck's Issues

RFE: add more verbosity to -c reports

Typically, you generate a report, redirect it to a file, and process it afterwards.

For that, it would be useful if the command output summarized what it generates (repo name, checked version) at the beginning, and concluded the output with some basic stats, just like the LinkChecker tool used with -l . In particular , the link checked/mismatched link found would be useful.

RFE: Version checking

Since lcheck builds all documents before checking links, it seems to be well-positioned to also discover links which work but use a wrong major version, most prominently RHEL 9 (Beta) docs pointing to RHEL 8 docs. By default, it is safe to assume that such a link is wrong so the testing procedure could be fairly basic.

We don't have to stop there. Another related and fairly frequent bug is that {ProductNumber} is not always used where it should. As a consequence, there are occurrences of "RHEL 8" in RHEL 9 docs. If possible (and reasonably easy to implement), make the versions configurable on the command line or via a config file.

EDIT: Come to think of it, maybe simply identifying links with the any wrong number relative to the source doc would be robust enough to cover multiple use cases (8 -> 9, 9 -> 8, 8 -> 7, etc.)

Thank you

RFE: Scan built files for unresolved attrs

In particular, we want to watch {PackageManagerCommand} and {ProductNumberLink} for now but there might be more variables later to check.

There might also be typos in the attrs (in the name or missing/doubled parenthesis) so some heuristics might be in order to have this robust enough. Overgenerating results is probably better than potentially missing some.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.