Skip to content

Commit

Permalink
v0.1.1 Initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
instance-id committed Jun 28, 2020
1 parent fbb1baa commit 7c28357
Show file tree
Hide file tree
Showing 24 changed files with 885 additions and 56 deletions.
Binary file added FileName.zip
Binary file not shown.
24 changes: 22 additions & 2 deletions Help/searcher/changelog/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#display: inverted notoc
#billboard: /images/billboards/blueprint.png
#style: background-color: #000000; background-size: auto;
#version: 1.00
#version: {#version}

<!-- ----------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------- Header Image -->
Expand All @@ -18,7 +18,7 @@
<!-- ----------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------ Settings Info -->

:disclosure:<font style="color:#D2A00C">v1.00</font>
:disclosure:<font style="color:#D2A00C">{#version}</font>

table width="100%">>
tr>>
Expand All @@ -29,3 +29,23 @@
:platform:Mac
* Due to a discrepancy with the way MacOS handles windowing, the MacOS version of Searcher will be released at a later date.

<!-- ----------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------ Contact -->

table width="100%">>
tr>>
td>>
* [website|https://instance.id/]
#glyph: fa-firefox
td>>
* [twitter| https://twitter.com/instance_id]
#glyph: fa-twitter
td>>
* [github|https://github.com/instance-id]
#glyph: fa-github
td>>
* [issues|https://github.com/instance-id/searcher_addon/issues?q=]
#glyph: fa-bug
td>>
* [email|https://github.com/instance-id/searcher_addon/issues?q=]
#glyph: fa-at
38 changes: 38 additions & 0 deletions Help/searcher/contact/index.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
= <font style="color:#D2A00C">Searcher</font> =
<!-- ----------------------------------------------------------------------------------------------
// -------------------------------------------------------------------------------- Page Config -->

#display: inverted notoc
#billboard: /images/billboards/blueprint.png
#style: background-color: #000000; background-size: auto;
#version: {#version}

<!-- ----------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------- Header Image -->
== <font style="color:#D2A00C">Change Log</font> ==

<!-- ----------------------------------------------------------------------------------------------
// ---------------------------------------------------------------------------------- Main Menu -->
<font style="color:#607FAE"> [ Main Window |/searcher/main] | [ Settings Window |/searcher/settings/] | [ Change Log |/searcher/changelog/]| [ Contact |/searcher/contact/] </font>

<!-- ----------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------ Settings Info -->


table width="100%">>
tr>>
td>>
* [website|https://instance.id/]
#glyph: fa-firefox
td>>
* [twitter| https://twitter.com/instance_id]
#glyph: fa-twitter
td>>
* [github|https://github.com/instance-id]
#glyph: fa-github
td>>
* [issues|https://github.com/instance-id/searcher_addon/issues?q=]
#glyph: fa-bug
td>>
* [email|https://github.com/instance-id/searcher_addon/issues?q=]
#glyph: fa-at
26 changes: 22 additions & 4 deletions Help/searcher/main.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#display: inverted notoc
#billboard: /images/billboards/blueprint.png
#style: background-color: #000000; background-size: auto;
#version: 1.00
#version: {#version}

<!-- ----------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------- Header Image -->
Expand All @@ -15,7 +15,7 @@
table width="100%">>
tr>>
td>>
<font style="color:#607FAE"> [ Main Window |/searcher/main] | [ Settings Window |/searcher/settings/] | [ Change Log |/searcher/changelog/] </font>
<font style="color:#607FAE"> [ Main Window |/searcher/main] | [ Settings Window |/searcher/settings/] | [ Change Log |/searcher/changelog/] </font>
tr>>
td>>
<font style="color:#607FAE">[ Menu Items |#menu] | [ Search Box |#searchbox] | [ Results Box |#resultsbox] | [ Hotkeys |#hotkeys]</font>
Expand Down Expand Up @@ -81,7 +81,7 @@ table width="100%">>
tr>>
td colspan="1">>
:platform:Mac
Due to a discrepancy with the way MacOS handles windowing, the MacOS version of Searcher will be released at a later date.
Due to some discrepancies between how Linux/Windows and MacOS operate, the MacOS version of Searcher will be released at a later date.


<!-- ----------------------------------------------------------------------------------------------
Expand All @@ -103,5 +103,23 @@ table width="100%">>
td width="75%">> With the Mouse over a Houdini pane, show available commands/hotkeys for that pane


<!-- ----------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------ Contact -->


table width="100%">>
tr>>
td>>
* [website|https://instance.id/]
#glyph: fa-firefox
td>>
* [twitter| https://twitter.com/instance_id]
#glyph: fa-twitter
td>>
* [github|https://github.com/instance-id]
#glyph: fa-github
td>>
* [issues|https://github.com/instance-id/searcher_addon/issues?q=]
#glyph: fa-bug
td>>
* [email|https://github.com/instance-id/searcher_addon/issues?q=]
#glyph: fa-at
22 changes: 21 additions & 1 deletion Help/searcher/settings/index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#display: inverted notoc
#billboard: /images/billboards/blueprint.png
#style: background-color: #000000; background-size: auto;
#version: 1.00
#version: {#version}

<!-- ----------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------- Header Image -->
Expand Down Expand Up @@ -41,3 +41,23 @@ table width="100%">>
# Bug report menu allows you to submit a bug report, suggestion, or feature request (Invokes browser window for proper submission type)
# Info menu contains links to our website and GitHub pages

<!-- ----------------------------------------------------------------------------------------------
// ------------------------------------------------------------------------------------ Contact -->

table width="100%">>
tr>>
td>>
* [website|https://instance.id/]
#glyph: fa-firefox
td>>
* [twitter| https://twitter.com/instance_id]
#glyph: fa-twitter
td>>
* [github|https://github.com/instance-id]
#glyph: fa-github
td>>
* [issues|https://github.com/instance-id/searcher_addon/issues?q=]
#glyph: fa-bug
td>>
* [email|mailto:[email protected]]
#glyph: fa-at
66 changes: 64 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,64 @@
# Searcher
Fuzzy Houdini
<!-- Open me in a markdown capable browser, or go to https://github.com/instance-id/searcher_addon -->

## Searcher
##### {#version}

#### [Installation](#install) | [Compatability Details](#notes)
---
Thanks for checking out Searcher. Below are the instructions to get you up and running.

#### Install

1. Extract/unzip 'Searcher_\<version>.zip'. (ex. Searcher_{#version}.zip) Inside will be a packages and Searcher folder as well as a README.md and a url link to this page.
```
Searcher_{#version}.zip /
Searcher_{#version}/__ /packages/
|_ /Searcher/
|__ README.md
|__ Searcher_install_instructions.url
```

2. Move the Searcher folder somewhere permanent. It can be placed where ever you would like. Make note of the folder path, as it will be needed in a later step. Examples below:
| OS | Path (replace \<user> with your actual username) |
| -------------------------------------------- | ------------------------------------------------- |
| <i class="fa fa-windows fa-1x"></i> Windows: | C:\Users\\\<user>\houdini_addons\Searcher |
| <i class="fa fa-linux fa-1x"></i> Linux: | /home/\<user>/houdini_addons/Searcher |
| <i class="fa fa-apple fa-1x"></i> MacOS: | /Users/\<user>/Library/h_addons/Searcher |

3. Move the 'packages' folder into your Houdini $HOME directory. The locations are seen below:
| OS | Path (replace \<user> with your actual username) |
| -------------------------------------------- | ---------------------------------------------------------------------- |
| <i class="fa fa-windows fa-1x"></i> Windows: | C:\Users\\\<user>\Documents\houdini18.0\packages\Searcher.json |
| <i class="fa fa-linux fa-1x"></i> Linux: | /home/\<user>/houdini18.0/packages/Searcher.json |
| <i class="fa fa-apple fa-1x"></i> MacOS: | /Users/\<user>/Library/Preferences/houdini/18.0/packages/Searcher.json |

4. Within the 'packages' folder is the Searcher.json file. Open this file in your editor of choice and edit line #27. Within the second set of quotation marks input the path to the Searcher folder from step #2. On Windows, replace the backslashes (\\) in the path with a forwardslashs (/)
Ex. If using Windows and following the example listed above, line 27 would look like this:
```
"SEARCHERLOCATION": "C:/Users/<user>/houdini_addons/Searcher",
```
5. Save the file and start Houdini. On the main shelf toolbar add the Searcher shelf by clicking on the plus(+) button, then the Shelves tab, followed by selecting "Searcher Shelf" seen in the images below:
![](https://i.imgur.com/GzdyUYt.png)
![](https://i.imgur.com/F4C5MOx.png)

6. You should now be able to hit the hotkey below to open the Searcher window:
Open Searcher Window: <kbd>Ctrl</kbd>+<kbd>`</kbd>

### Notes

##### Compatability:

| Houdini | Versions Tested |
| --------------------------------------------- | ------------------------ |
| ![](https://i.imgur.com/h9Nefqz.png) Houdini: | Version: 18.0.348 and up |

##### Tested versions
| OS | Versions Tested |
| ---------- | -------------------------------------- |
| ⊞ Windows: | Windows 10 Pro v10.0.19041.264 (v2004) |
| 🐧 Linux: | Pop_OS! (Ubuntu) 19.04/19.10/20.04 |
| 🍎 MacOS: | Coming soon! |



<i class="fa fa-firefox fa-1x"></i> [website](https://instance.id/) | <i class="fa fa-twitter fa-1x"></i> [twitter](https://twitter.com/instance_id) | <i class="fa fa-github fa-1x"> </i> [github](https://github.com/instance-id) | <i class="fa fa-bug fa-1x"></i> [issues](https://github.com/instance-id/searcher_addon/issues?q=) | <i class="fa fa-at fa-1x"></i> [email](https://github.com/instance-id/searcher_addon/issues?q=)
5 changes: 5 additions & 0 deletions Searcher_install_instructions.url
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[{000214A0-0000-0000-C000-000000000046}]
Prop3=19,11
[InternetShortcut]
IDList=
URL=https://github.com/instance-id/searcher_addon
67 changes: 67 additions & 0 deletions build.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# .\build.ps1 -Zip -Version v0.1.0
Param (
[Parameter()]
[string]$Version,
[switch]$Zip
)

if ($Version) {
Write-Host "Building $Version..."
} else {
Write-Host "Just updating files..."
}

$date = Get-Date -Format "yyyy-MM-dd_HH-mm-ss"
$exclude = "--exclude-from=E:\GitHub\Searcher\build\exclude.excl"
$include = "--include-from=E:\GitHub\Searcher\build\include.incl"
$config = "--config=C:/Users/mosthated/.backup/rclone.conf"

$cmd = "C:\files\rclone\rclone.exe"

$source1 = "E:\GitHub\Searcher\"
$destination1 = "E:\Searcher"
$log1 = "--log-file=C:\files\rclone\logs\searcher_$date.log"

&$cmd sync $source1 $destination1 $log1 $exclude $config --log-level NOTICE --progress --no-update-modtime --transfers=4 --checkers=8 --contimeout=60s --timeout=300s --retries=3 --low-level-retries=10 -L --stats=1s --stats-file-name-length=0 -P --ignore-case --fast-list --drive-chunk-size=64M

if ($Version) {
Write-Host "Building $Version..."

$searcher = "Searcher"
$destination2 = $searcher, $Version -join "_"
$folderVer = "$destination1\$destination2"

Write-Host "Destination2: $destination2"

if([System.IO.File]::Exists($folderVer)){
Get-ChildItem $folderVer -Recurse -ErrorAction SilentlyContinue | Remove-Item -Recurse
}
New-Item "$folderVer\$searcher" -Type Directory
Move-Item -Path $destination1\packages -Destination $folderVer\packages
Move-Item -Path $destination1\README.md -Destination $folderVer\README.md
Move-Item -Path $destination1\Searcher_install_instructions.url -Destination $folderVer\Searcher_install_instructions.url

Move-Item -Path $destination1\dso -Destination $folderVer\$searcher\dso
Move-Item -Path $destination1\help -Destination $folderVer\$searcher\help
Move-Item -Path $destination1\python2.7libs -Destination $folderVer\$searcher\python2.7libs
Move-Item -Path $destination1\toolbar -Destination $folderVer\$searcher\toolbar

$listfiles = Get-ChildItem $folderVer -Recurse -File -Include '*.md', '*.txt'
$old = '{#version}'
foreach($file in $listfiles) {
(Get-Content $file) -Replace ($old,$Version) | Set-Content $file
}

$FileName = "$destination1\$destination2.zip"
if (Test-Path $FileName) {
Write-Host "Removing $FileName and recreating"
Remove-Item $FileName
}
if($Zip)
{
Compress-Archive -Path $folderVer -DestinationPath $FileName
}
Write-Host "Update Complete"
} else {
Write-Host "Update Complete"
}
35 changes: 28 additions & 7 deletions packages/Searcher.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,38 @@
// ------------------------------ Searcher --------------------------------------
// --- Make sure this file resides in your Houdini settings/packages --
// --- folder as listed below: --
// --- Windows: C:\Users\<user>\Documents\houdini18.0\packages --
// --- Linux: /home/<user>/houdini18.0/packages --
// --- MacOS: /Users/<user>/Library/Preferences/houdini/18.0/packages --
// ----------------------------- instance.id ------------------------------------
{
"enable": "houdini_version <= '18.0.418'",
// --- Not compatible with versions under 18.0.348 | MacOS not operational --
"enable": "houdini_version >= '18.0.348' and (houdini_os != 'macos')",
// --------------------------------------------------------------------------
"env": [
// --- Add path to Searcher root folder here using "/" as separator:
// --- ex. Windows : C:/Users/Me/houdini_addons/searcher
// --- ex. Linux : /home/me/houdini_addons/searcher
// ----------------------------------------------------------------------
// --- Add path to Searcher root folder below using "/" as separator: --
// --- The folder can reside wherever you would like. Examples below: --
// ----------------------------------------------------------------------
// --- ex. Windows: --
// --- "SEARCHERLOCATION": "C:/Users/<user>/houdini_addons/searcher" --
// --- ex. Linux: --
// --- "SEARCHERLOCATION": "/home/<user>/houdini_addons/searcher" --
// --- ex. MacOS: --
// --- "SEARCHERLOCATION": "/Users/<user>/Library/h_addons/searcher" --
// ----------------------------------------------------------------------
{
"SEARCHERLOCATION": "E:/GitHub/Searcher"
// -------------------------------------------
// --------------------- Change Path Here ----
"SEARCHERLOCATION": "",
// -------------------------------------------
},
// -----------------------------------------
{
"SEARCHER": "$SEARCHERLOCATION"
// -------------------- Do not edit
"SEARCHER": "$SEARCHERLOCATION",
},
{
// -------------------- Do not edit
"HOUDINI_PATH": "$SEARCHER/"
}
]
Expand Down
1 change: 0 additions & 1 deletion python2.7libs/searcher/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
__package__ = "searcher"
__version__ = "0.1b"
__author__ = "instance.id"
__copyright__ = "2020 All rights reserved. See LICENSE for more details."
__status__ = "Prototype"
Loading

0 comments on commit 7c28357

Please sign in to comment.