-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
406 additions
and
515 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,38 @@ | ||
Homebrew Info module | ||
============== | ||
|
||
Gathers and returns information on the client's Homebrew installation. It does not collect information on installed bottles/packages. It can be installed separately from the homebrew module. | ||
Gathers and returns information on the client's Homebrew installation. It does not collect information on installed bottles/packages. It can be installed separately from the `homebrew` module. | ||
|
||
Database: | ||
* core_tap_head - varchar(255) - hash of the core tap head | ||
This module requires Homebrew to be installed [https://brew.sh/](https://brew.sh/) | ||
|
||
Table Schema | ||
----- | ||
* core_tap_head - varchar(255) - Hash of the core tap head | ||
* core_tap_origin - varchar(255) - URI of the core tap origin | ||
* core_tap_last_commit - varchar(255) - static local time of when brew last checked for updates | ||
* head - varchar(255) - hash of the head | ||
* last_commit - varchar(255) - when brew itself was last updated | ||
* core_tap_last_commit - varchar(255) - Static local time of when brew last checked for updates | ||
* head - varchar(255) - Hash of the head | ||
* last_commit - varchar(255) - When brew itself was last updated | ||
* origin - varchar(255) - Git repo used for origin pulls | ||
* homebrew_bottle_domain - varchar(255) - domain used for making bottles | ||
* homebrew_cellar - varchar(255) - path to cellar | ||
* homebrew_bottle_domain - varchar(255) - Domain used for making bottles | ||
* homebrew_cellar - varchar(255) - Path to cellar | ||
* homebrew_prefix - varchar(255) - Homebrew prefix | ||
* homebrew_repository - varchar(255) - path to Homebrew repository | ||
* homebrew_version - varchar(255) - version of Homebrew currently installed | ||
* homebrew_ruby - varchar(255) - version of Ruby currently used by Homebrew | ||
* command_line_tools - varchar(255) - command line tools version | ||
* cpu - varchar(255) - quick general information about the CPU | ||
* git - varchar(255) - version and path of Git used by brew | ||
* homebrew_repository - varchar(255) - Path to Homebrew repository | ||
* homebrew_version - varchar(255) - Version of Homebrew currently installed | ||
* homebrew_ruby - varchar(255) - Version of Ruby currently used by Homebrew | ||
* command_line_tools - varchar(255) - Command line tools version | ||
* cpu - varchar(255) - Quick general information about the CPU | ||
* git - varchar(255) - Version and path of Git used by brew | ||
* clang - varchar(255) - Clang version | ||
* java - varchar(255) - Java path and version | ||
* perl - varchar(255) - path to perl | ||
* python - varchar(255) - path to Python | ||
* ruby - varchar(255) - path to Ruby | ||
* x11 - varchar(255) - version of X11 installed | ||
* perl - varchar(255) - Path to perl | ||
* python - varchar(255) - Path to Python | ||
* ruby - varchar(255) - Path to Ruby | ||
* x11 - varchar(255) - Version of X11 installed | ||
* xcode - varchar(255) - Xcode version | ||
* macos - varchar(255) - macOS version and type detected by Homebrew | ||
* core_cask_tap - varchar(255) - Cask tap URL | ||
* homebrew_cask_opts - varchar(255) - Homebrew cask options | ||
* homebrew_make_jobs - varchar(255) - Homebrew make jobs count | ||
* rosetta_2 - varchar(255) - Using Rosetta 2 | ||
|
||
This module requires Homebrew to be installed [https://brew.sh/](https://brew.sh/) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?php | ||
use Illuminate\Database\Schema\Blueprint; | ||
use Illuminate\Database\Migrations\Migration; | ||
use Illuminate\Database\Capsule\Manager as Capsule; | ||
|
||
class HomebrewInfoMore extends Migration | ||
{ | ||
private $tableName = 'homebrew_info'; | ||
|
||
public function up() | ||
{ | ||
$capsule = new Capsule(); | ||
$capsule::schema()->table($this->tableName, function (Blueprint $table) { | ||
$table->string('core_cask_tap')->nullable(); | ||
$table->string('homebrew_cask_opts')->nullable(); | ||
$table->string('homebrew_make_jobs')->nullable(); | ||
$table->string('rosetta_2')->nullable(); | ||
}); | ||
} | ||
|
||
public function down() | ||
{ | ||
$capsule = new Capsule(); | ||
$capsule::schema()->table($this->tableName, function (Blueprint $table) { | ||
$table->dropColumn('core_cask_tap'); | ||
$table->dropColumn('homebrew_cask_opts'); | ||
$table->dropColumn('homebrew_make_jobs'); | ||
$table->dropColumn('rosetta_2'); | ||
}); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
client_tabs: | ||
homebrew_info-tab: | ||
view: homebrew_info_tab | ||
i18n: homebrew_info.clienttitle | ||
listings: | ||
homebrew_info: | ||
view: homebrew_info_listing | ||
i18n: homebrew_info.clienttitle |
Oops, something went wrong.