Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add DeNA/unity-meta-check/unity-meta-check #22867

Conversation

ponkio-o
Copy link
Sponsor Contributor

@ponkio-o ponkio-o commented May 14, 2024

DeNA/unity-meta-check/unity-meta-check: Checker for missing/dangling meta files. The result print to stdout.

Check List

How to confirm if this package works well

Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.

Command and output

root@26f606a4d9ed:/workspace# unity-meta-check --help
usage: unity-meta-check [<options>] [<path>]

Check missing or dangling .meta files.

  <path>
        root directory of your Unity project or UPM package to check (default "$(git rev-parse --show-toplevel)")

OPTIONS
  -debug
        set log level to DEBUG (default INFO)
  -ignore-dangling
        ignore dangling .meta
  -ignore-file string
        path to .meta-check-ignore
  -ignore-submodules
        ignore git submodules and nesting repositories (this is RECOMMENDED but not enabled by default because it can cause to miss problems in submodules or nesting repositories)
  -no-ignore-case
        treat case of file paths
  -silent
        set log level to WARN (default INFO)
  -unity-project
        check as Unity project
  -unity-project-sub-dir
        check as sub directory of Unity project
  -upm-package
        check as UPM package (same meaning of -unity-project-sub-dir)
  -version
        print version

EXAMPLE USAGES
  $ cd path/to/UnityProject
  $ unity-meta-check -silent

  $ cd path/to/any/dir
  $ unity-meta-check -silent -upm-package path/to/MyUPMPackage
  $ unity-meta-check -silent -unity-project-sub-dir path/to/UnityProject/Assets/Sub/Dir

EXAMPLE USAGES WITH OTHER TOOLS
  $ unity-meta-check <options> | unity-meta-check-junit path/to/junit.xml
  $ unity-meta-check <options> | unity-meta-check-github-pr-comment <options>
  $ unity-meta-check <options> | unity-meta-check-junit path/to/junit.xml | unity-meta-check-github-pr-comment <options>

If files such as configuration file are needed, please share them.

Reference

@suzuki-shunsuke suzuki-shunsuke added the enhancement New feature or request label May 14, 2024
@suzuki-shunsuke
Copy link
Member

Added a simple cmdx task to resolve conflicts.

cmdx resolve-conflict 22867

@suzuki-shunsuke suzuki-shunsuke added this to the v4.180.0 milestone May 14, 2024
@suzuki-shunsuke suzuki-shunsuke merged commit e7ba4e0 into aquaproj:main May 14, 2024
16 checks passed
@ponkio-o
Copy link
Sponsor Contributor Author

@suzuki-shunsuke Thanks for the correction of all PRs!!

@suzuki-shunsuke
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants