{"id":16809450,"url":"https://github.com/alias-mac/conflict-check","last_synced_at":"2025-07-11T07:04:17.969Z","repository":{"id":139394749,"uuid":"62288526","full_name":"alias-mac/conflict-check","owner":"alias-mac","description":"Sugar 7.8+ ViewDef conflict analyzer","archived":false,"fork":false,"pushed_at":"2016-06-30T21:30:15.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-14T10:02:30.280Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alias-mac.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-06-30T07:16:10.000Z","updated_at":"2016-08-11T14:29:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"31c3b3de-91f3-41e8-b013-4c41ad1c5b51","html_url":"https://github.com/alias-mac/conflict-check","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alias-mac/conflict-check","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alias-mac%2Fconflict-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alias-mac%2Fconflict-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alias-mac%2Fconflict-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alias-mac%2Fconflict-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alias-mac","download_url":"https://codeload.github.com/alias-mac/conflict-check/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alias-mac%2Fconflict-check/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264752565,"owners_count":23658654,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-13T10:02:02.538Z","updated_at":"2025-07-11T07:04:17.945Z","avatar_url":"https://github.com/alias-mac.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vardef and View defs checker\n\nThis is the Sugar 7.8+ Vardef and View def checker.\n\n## How to use the script\n\nYou can ask for help anytime by simply run:\n```bash\n$ ./conflict-check -h\n```\n\nYou can run this with directories:\n\n```bash\n$ ./conflict-check -d=\"directory/to/check\"\n$ ./conflict-check --dir=\"directory/to/check\"\n```\n\nOr files only:\n\n```bash\n$ ./conflict-check -f=\"file/to/check\"\n$ ./conflict-check --file=\"file/to/check\"\n```\n\nBoth can be have multiple values:\n\n```bash\n$ ./conflict-check -d=\"directory1/to/check\" -d=\"directory2/to/check\"\n$ ./conflict-check -f=\"file1/to/check\" -f=\"file2/to/check\"\n```\n\nDirectories can have regex patterns (that will be used by glob):\n\n```bash\n$ ./conflict-check -d=\"directory1/*/to/*/check\"\n```\n\nFor your convenience, you can keep the script out of the sugarcrm path and\ncombine the params above with the path of the [SugarCRM][SugarCRM] instance to\nupdate:\n\n```bash\n$ ./conflict-check -p=\"path/to/sugarcrm\" -d=\"directory/to/check\"\n$ ./conflict-check --path=\"path/to/sugarcrm\" -d=\"directory/to/check\"\n```\n\nTo see more output information from the script, you can use the `-v` option\n(for verbose).\n\n```bash\n$ ./conflict-check -p=\"path/to/sugarcrm\" -d=\"directory/to/check\" -v\n```\n\nYou can even be bold and run the script directly from github:\n\n```bash\n$ curl -sS https://raw.github.com/alias-mac/conflict-check/master/conflict-check | php -- --path=\"path/to/sugarcrm\" -f=\"modules/*/clients/*/views\" -v\n```\n\n## Have fun!\n\n## TODO\n\n- [ ] Support some modules that are blacklisted.\n- [ ] Support SugarObjects templates (like company, person, file, etc.).\n\n[SugarCRM]: http://www.sugarcrm.com/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falias-mac%2Fconflict-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falias-mac%2Fconflict-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falias-mac%2Fconflict-check/lists"}