cookbook 'sparkleshare', '~> 0.6.0'
sparkleshare (2) Versions 0.6.0 Follow0
Configures sparkleshare and configures/installes dashboard http client
cookbook 'sparkleshare', '~> 0.6.0', :supermarket
knife supermarket install sparkleshare
knife supermarket download sparkleshare
Description
Sets up sparkleshare dashboard (https://github.com/NewProggie/SparkleShare-Android/wiki/Testing-SparkleShare-for-Android)
Dashboard has the advanced capability to sync with mobile devices.
Currently Dashboard is tested in connection with GitLab. (TODO insert link to gitlab cookbook)
Currently only one repository (main sync repository) is supported.
Requirements
openssh
Attributes
Target repository
ruby
default['sparkleshare']['repo_dir'] = "/home/storage"
default['sparkleshare']['repo_name'] = "SparkleShare"
Directory for source code of dashboard
ruby
default['sparkleshare']['dashboard_dir'] = "/home/storage/dashboard"
Session secret for client/server communication
ruby
default['sparkleshare']['session_secret'] = 'JustSomeRandomString'
Usage
- Set up
node['sparkleshare']['session_secret']
- Run recipe
sparkleshare::dashboard
Ideas/Todo
- Finish and test the server cookbook
- use LWRP to share repositories
sparkleshare_repository "myCoolRepo" do visibility "private" #"public" path "/path/to/git/repo" #defaults to node attr end
Contact
see metadata.rb
Dependent cookbooks
npm >= 0.0.0 |
openssh >= 0.0.0 |
Contingent cookbooks
There are no cookbooks that are contingent upon this one.
Collaborator Number Metric
0.6.0 failed this metric
Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.
Contributing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.6.0 failed this metric
FC043: Prefer new notification syntax: sparkleshare/recipes/dashboard.rb:50
FC064: Ensure issues_url is set in metadata: sparkleshare/metadata.rb:1
FC065: Ensure source_url is set in metadata: sparkleshare/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sparkleshare/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: sparkleshare/metadata.rb:1
FC069: Ensure standardized license defined in metadata: sparkleshare/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.6.0 passed this metric
Testing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.6.0 failed this metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
0.6.0 failed this metric
FC043: Prefer new notification syntax: sparkleshare/recipes/dashboard.rb:50
FC064: Ensure issues_url is set in metadata: sparkleshare/metadata.rb:1
FC065: Ensure source_url is set in metadata: sparkleshare/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sparkleshare/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: sparkleshare/metadata.rb:1
FC069: Ensure standardized license defined in metadata: sparkleshare/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
No Binaries Metric
0.6.0 passed this metric
Testing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.6.0 failed this metric
FC064: Ensure issues_url is set in metadata: sparkleshare/metadata.rb:1
FC065: Ensure source_url is set in metadata: sparkleshare/metadata.rb:1
FC066: Ensure chef_version is set in metadata: sparkleshare/metadata.rb:1
FC067: Ensure at least one platform supported in metadata: sparkleshare/metadata.rb:1
FC069: Ensure standardized license defined in metadata: sparkleshare/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
0.6.0 passed this metric
Testing File Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number
0.6.0 failed this metric
0.6.0 failed this metric
Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number