GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add wmllint to CI · Issue #7082 · wesnoth/wesnoth

Add wmllint to CI #7082

New issue
Copy link
New issue
Copy link
Closed
Task
Closed
Add wmllint to CI#7082
Task
Copy link
Labels
CIIssues involving the CI platform.Issues involving the CI platform.EnhancementIssues that are requests for new features or changes to existing ones.Issues that are requests for new features or changes to existing ones.WML ToolsIssues involving WML maintenance tools.Issues involving WML maintenance tools.

Description

@Wedge009
Wedge009
opened on Nov 1, 2022
Issue body actions

Describe the desired feature

wmllint errors, genuine or otherwise, have been discussed on and off, most recently in #5799. Commentary in #4381 suggests adding it to the Travis build.

Reacted by Eric Gallager and Slayer95

Activity

  1. Wedge009
    added
    EnhancementIssues that are requests for new features or changes to existing ones.Issues that are requests for new features or changes to existing ones.
    WML ToolsIssues involving WML maintenance tools.Issues involving WML maintenance tools.
    CIIssues involving the CI platform.Issues involving the CI platform.
    on Nov 1, 2022
  2. Pentarctagon commented on Nov 1, 2022

    @Pentarctagon
    Pentarctagon
    on Nov 1, 2022
    Member
    More actions

    We use Github Actions these days, not Travis :P

  3. Wedge009 commented on Nov 1, 2022

    @Wedge009
    Wedge009
    on Nov 1, 2022
    MemberAuthor
    More actions

    I have no idea what the terminology is, I was just following what was written.

  4. Wedge009
    changed the title [-]Add wmllint to Travis builds[/-] [+]Add wmllint to CI[/+] on Nov 1, 2022
  5. sevu commented on Nov 2, 2022

    @sevu
    sevu
    on Nov 2, 2022
    Member
    More actions

    Exists for add-ons:
    https://github.com/czyzby/wesnoth-wml-linter

    It is a bit different though, in that it runs wmllint on mainline (to get the unit ids etc) and the commit/pr in the add-on repo, and filters the output which belongs to mainline.

  6. Pentarctagon commented on Nov 2, 2022

    @Pentarctagon
    Pentarctagon
    on Nov 2, 2022
    Member
    More actions

    I have no idea what the terminology is, I was just following what was written.

    For future reference then - travis and github actions are CI service providers. Travis is what we used before switching to github actions.

  7. czyzby commented on Dec 31, 2023

    @czyzby
    czyzby
    on Dec 31, 2023
    Contributor
    More actions

    @Pentarctagon What is the expected behavior? Should the jobs fail if wmllint/wmlindent/wmlscope report any issues? Because right now there are quite a lot warnings if you run those.

  8. Pentarctagon commented on Dec 31, 2023

    @Pentarctagon
    Pentarctagon
    on Dec 31, 2023
    Member
    More actions

    Yes, the expectation would be that it should fail. And yeah, it's known there's a bunch of things it warns on. The issue really is that nobody has gone through all those warnings and either fixed the issue or removed the warning for being bad/irrelevant.

  9. czyzby commented on Dec 31, 2023

    @czyzby
    czyzby
    on Dec 31, 2023
    Contributor
    More actions

    What about spellchecking? I imagine it might increase the number of errors significantly, since you have to register all non-dictionary words with wmllint: general spelling(s).

  10. Pentarctagon commented on Dec 31, 2023

    @Pentarctagon
    Pentarctagon
    on Dec 31, 2023
    Member
    More actions

    What's the question about spellchecking?

  11. czyzby commented on Dec 31, 2023

    @czyzby
    czyzby
    on Dec 31, 2023
    Contributor
    More actions

    Should it also fail the pipeline or be skipped in the automatic check?

  12. Pentarctagon commented on Dec 31, 2023

    @Pentarctagon
    Pentarctagon
    on Dec 31, 2023
    Member
    More actions

    It should fail the pipeline.

  13. czyzby commented on Dec 31, 2023

    @czyzby
    czyzby
    on Dec 31, 2023
    Contributor
    More actions

    OK, last question - could you give me a list of all tools that you want and any command line flags that you'd like to include? I'm assuming we'd like to run wmllint, wmlindent and wmlscope in dry-run mode wherever possible. Any extra flags for wmlscope?

  14. Pentarctagon commented on Dec 31, 2023

    @Pentarctagon
    Pentarctagon
    on Dec 31, 2023
    Member
    More actions

    wmlindent is already run. I'm not familiar with wmlscope.

  15. cooljeanius commented on Jan 1, 2024

    @cooljeanius
    cooljeanius
    on Jan 1, 2024
    Contributor
    More actions

    wmlindent is already run. I'm not familiar with wmlscope.

    I usually end up skipping that one, just because it prints so much output that I don't know where to start... might be worth asking @Elvish-Hunter about...

  16. CelticMinstrel commented on Jan 1, 2024

    @CelticMinstrel
    CelticMinstrel
    on Jan 1, 2024
    Member
    More actions

    wmlscope is the tool that generates the macro documentation page, maybe that's relevant somehow.

  17. cooljeanius commented on Jan 1, 2024

    @cooljeanius
    cooljeanius
    on Jan 1, 2024
    Contributor
    More actions

    wmlscope is the tool that generates the macro documentation page, maybe that's relevant somehow.

    Yes, but that's not the mode in which the proposed workflow runs it, though.

  18. Pentarctagon
    pinned this issue on Apr 13, 2026
  19. Pentarctagon commented on Jul 3, 2026

    @Pentarctagon
    Pentarctagon
    on Jul 3, 2026
    Member
    More actions

    Closed with #11309

  20. Pentarctagon
    closed this as completedon Jul 3, 2026
  21. Pentarctagon
    unpinned this issue on Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    CIIssues involving the CI platform.Issues involving the CI platform.EnhancementIssues that are requests for new features or changes to existing ones.Issues that are requests for new features or changes to existing ones.WML ToolsIssues involving WML maintenance tools.Issues involving WML maintenance tools.

    Type

    Task

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.