Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jan 4, 2026. It is now read-only.

alias-mac/conflict-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

1 Commit

Repository files navigation

Vardef and View defs checker

This is the Sugar 7.8+ Vardef and View def checker.

How to use the script

You can ask for help anytime by simply run:

$ ./conflict-check -h

You can run this with directories:

$ ./conflict-check -d="directory/to/check"
$ ./conflict-check --dir="directory/to/check"

Or files only:

$ ./conflict-check -f="file/to/check"
$ ./conflict-check --file="file/to/check"

Both can be have multiple values:

$ ./conflict-check -d="directory1/to/check" -d="directory2/to/check"
$ ./conflict-check -f="file1/to/check" -f="file2/to/check"

Directories can have regex patterns (that will be used by glob):

$ ./conflict-check -d="directory1/*/to/*/check"

For your convenience, you can keep the script out of the sugarcrm path and combine the params above with the path of the SugarCRM instance to update:

$ ./conflict-check -p="path/to/sugarcrm" -d="directory/to/check"
$ ./conflict-check --path="path/to/sugarcrm" -d="directory/to/check"

To see more output information from the script, you can use the -v option (for verbose).

$ ./conflict-check -p="path/to/sugarcrm" -d="directory/to/check" -v

You can even be bold and run the script directly from github:

$ curl -sS https://raw.github.com/alias-mac/conflict-check/master/conflict-check | php -- --path="path/to/sugarcrm" -f="modules/*/clients/*/views" -v

Have fun!

TODO

  • Support some modules that are blacklisted.
  • Support SugarObjects templates (like company, person, file, etc.).

About

Sugar 7.8+ ViewDef conflict analyzer

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

AltStyle によって変換されたページ (->オリジナル) /