Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/randomecho/sugar-sinkhole

Scripts, generators, whatever in running Sugar smoother
https://github.com/randomecho/sugar-sinkhole

sugarcrm

Last synced: 23 days ago
JSON representation

Scripts, generators, whatever in running Sugar smoother

Awesome Lists containing this project

README

        

# Sugar sinkhole

Scripts, generators, whatever in terms of smoothing
out working in Sugar.

## Scripts

- [manifest-exists.rb](./manifest-exists.rb)

Verify all files mentioned in manifest.php exist in their
location and match case-sensitivity.

- [create-manifest.rb](./create-manifest.rb)

Generates a boilerplate manifest.php file. If a list of filenames
is used as an argument it will also create the copy block under
the installdefs section.

- [sugar-packer.rb](./sugar-packer.rb)

Reads from a manifest.php file and attempts fetch all the listed files
necessary for the Module Loader package.

- [Vagrant config setter](./vagrant-config.sh)

Update config.php to use values expected if using vagrant box from Sugar.

Example result:

array (
'db_host_name' => 'localhost', // 10.3.2.1,
'db_user_name' => 'root', // original_username,
'db_password' => 'root', // original_password,

## Tests

Some files have tests:

rspec

### Health check

[![Build Status](https://travis-ci.com/randomecho/sugar-sinkhole.svg?branch=master)](https://travis-ci.com/randomecho/sugar-sinkhole)

## License

Released under [BSD 3-Clause](./LICENSE).