2016-08-18 21:52:59 +02:00
|
|
|
<?php
|
|
|
|
|
|
|
|
return [
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Default source repository type
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| The default source repository type you want to pull your updates from.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'default' => env('SELF_UPDATER_SOURCE', 'github'),
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Version installed
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Set this to the version of your software installed on your system.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'version_installed' => env('SELF_UPDATER_VERSION_INSTALLED', '2.6.9'),
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Repository types
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| A repository can be of different types, which can be specified here.
|
|
|
|
| Current options:
|
|
|
|
| - github
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'repository_types' => [
|
|
|
|
'github' => [
|
|
|
|
'type' => 'github',
|
|
|
|
'repository_vendor' => env('SELF_UPDATER_REPO_VENDOR', 'invoiceninja'),
|
|
|
|
'repository_name' => env('SELF_UPDATER_REPO_NAME', 'invoiceninja'),
|
|
|
|
'repository_url' => '',
|
|
|
|
'download_path' => env('SELF_UPDATER_DOWNLOAD_PATH', '/tmp'),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
|
2016-09-21 17:16:50 +02:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Exclude folders from update
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Specifiy folders which should not be updated and will be skipped during the
|
|
|
|
| update process.
|
|
|
|
|
|
|
|
|
| Here's already a list of good examples to skip. You may want to keep those.
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'exclude_folders' => [
|
|
|
|
'node_modules',
|
|
|
|
'bootstrap/cache',
|
|
|
|
'bower',
|
|
|
|
'storage/app',
|
|
|
|
'storage/framework',
|
|
|
|
'storage/logs',
|
|
|
|
'storage/self-update',
|
|
|
|
'vendor',
|
|
|
|
],
|
|
|
|
|
2016-08-18 21:52:59 +02:00
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Event Logging
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Configure if fired events should be logged
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'log_events' => env('SELF_UPDATER_LOG_EVENTS', false),
|
|
|
|
|
|
|
|
/*
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
| Mail To Settings
|
|
|
|
|--------------------------------------------------------------------------
|
|
|
|
|
|
|
|
|
| Configure if fired events should be logged
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
'mail_to' => [
|
|
|
|
'address' => env('SELF_UPDATER_MAILTO_ADDRESS', ''),
|
|
|
|
'name' => env('SELF_UPDATER_MAILTO_NAME', ''),
|
|
|
|
],
|
|
|
|
|
|
|
|
];
|