Skip to content

[bemanification] Run beman-tidy on beman.iterator_interface #258

Closed

Description

@neatudarius

Run beman-tidy on target Beman library with default mode (check example in bemanproject/optional#210).

Links:

Goal: Run beman-tidy with default mode.

  • 1. Add beman-tidy (default mode - requirements only) to target library - follow How to Integrate beman-tidy pre-commit.
  • 2. Report findings in a comment on this issue.
  • 3. Open a PR for each check which needs to be fixed in target library. Get review and merge the PRs.
  • 4. Open a PR to enable beman-tidy in default mode on main in target library.

Follow-up goal: Attempt to run beman-tidy with --require-all mode.

  • Make sure you have beman-tidy with default mode enabled in main.
  • Tag/ask in this issue all codeowners (check .github/CODEOWNERS) if they would like to also commit for --require-all mode. Present the list of required checks currently failing.
  • Get approval from owners to continue.
  • Apply changes following previous steps 2 + 3 + 4.

Activity

  1. moved this to [bemanification] TODO in beman-tidyon Apr 23, 2026
  2. SkipperAndrei commented on Apr 25, 2026

    @SkipperAndrei

    i will pick up this issue.

  3. moved this from [bemanification] TODO to [bemanification] WIP in beman-tidyon Apr 25, 2026
  4. SkipperAndrei commented on Apr 25, 2026

    @SkipperAndrei

    Requirement Issues found by linter:

    • README.md doesn't have a License section
    • The License section doesn't have the required format
    • README.md lacks required badges of categories 'library_status' and 'standard_target'
  5. neatudarius commented on Apr 25, 2026

    @neatudarius
    MemberAuthor

    @SkipperAndrei , thanks for enabling beman-tidy on CI!

    Follow-up tasks - let me know if you would like to help (new PR for each one, please).

    1. Would you like to fix next one?
    Running check [Recommendation][file.copyright] ... 
    [warning][file.copyright]: Copyright notice found in config.hpp at line 4. It should be removed.
    [warning][file.copyright]: Copyright notice found in fwd.hpp at line 4. It should be removed.
    [warning][file.copyright]: Copyright notice found in iterator_interface.hpp at line 4. It should be removed.
    	check [Recommendation][file.copyright] ... failed
    

    We should exclude this directory - https://github.com/neatudarius/iterator_interface/tree/main/include/beman/iterator_interface/detail/stl_interfaces - from checks, as it's imported code (copy-paste) from other library and we should preserve copyright. You can follow example from https://github.com/bemanproject/optional/blob/main/.beman-tidy.yaml.

    1. This should also be ready to implement, as we have this library on compiler explorer
    Running check [Recommendation][release.godbolt_trunk_version] ... 
    [warning][release.godbolt_trunk_version]: The file 'README.md' does not contain a Compiler Explorer badge - trunk version assumed to be missing.
    	check [Recommendation][release.godbolt_trunk_version] ... failed
    

    bemanproject/iterator_interface#6 -> https://godbolt.org/z/Kcq9bbeWW

    1. I think .gitmodules is a left over and can removed. This would fix:
    Running check [Recommendation][repository.disallow_git_submodules] ... 
    [warning][repository.disallow_git_submodules]: The repository should not use git submodules. Please remove them. Known exception: wg21. See https://github.com/bemanproject/beman/blob/main/docs/beman_standard.md#repositorydisallow_git_submodules for more information.
    	check [Recommendation][repository.disallow_git_submodules] ... failed
    
  6. SkipperAndrei commented on Apr 27, 2026

    @SkipperAndrei

    @neatudarius Yes I would love to help. I will take care of each one today or tommorow at the latest.

  7. neatudarius commented on May 4, 2026

    @neatudarius
    MemberAuthor

    Congrats @SkipperAndrei ! Now beman tidy default mode is enabled in main.

  8. neatudarius commented on May 4, 2026

    @neatudarius
    MemberAuthor

    CODEOWNERS of beman.iterator_inteface: @steve-downey @camio @neatudarius, would you support enabling beman-tidy --require-all on CI for this library? (enforce both requirements and recommendations from Beman Standard).

    More context:

  9. neatudarius commented on May 20, 2026

    @neatudarius
    MemberAuthor
  10. neatudarius commented on Jul 9, 2026

    @neatudarius
    MemberAuthor

    This change was approved by one of leads (@JeffGarland ) - bemanproject/iterator_interface#63 (comment) - beman-tidy was enabled with --require-all for this repo.

    Thanks!

  11. moved this from [bemanification] WIP to [checks] DONE in beman-tidyon Jul 9, 2026
  12. moved this from [checks] DONE to [bemanification] DONE in beman-tidyon Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

  • Status
    [bemanification] DONE

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions