Skip to content

Commit

Permalink
GitHubPluginUpdater
Browse files Browse the repository at this point in the history
  • Loading branch information
kmarkley committed Jul 4, 2017
1 parent 0c79f2a commit 2ff2ec4
Show file tree
Hide file tree
Showing 5 changed files with 575 additions and 29 deletions.
130 changes: 130 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.pyc

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
.hypothesis/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# dotenv
.env

# virtualenv
.venv/
venv/
ENV/

# Spyder project settings
.spyderproject

# Rope project settings
.ropeproject
13 changes: 13 additions & 0 deletions Realistic Random.indigoPlugin/Contents/Server Plugin/MenuItems.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
<?xml version="1.0"?>
<MenuItems>
<MenuItem id="checkForUpdates">
<Name>Check for Updates</Name>
<CallbackMethod>checkForUpdates</CallbackMethod>
</MenuItem>
<MenuItem id="updatePlugin">
<Name>Update Plugin</Name>
<CallbackMethod>updatePlugin</CallbackMethod>
</MenuItem>
<MenuItem id="forceUpdate">
<Name>Force Update</Name>
<CallbackMethod>forceUpdate</CallbackMethod>
</MenuItem>
<MenuItem id="debugSeperator" type="separator" />
<MenuItem id='toggleDebug'>
<Name>Toggle Debugging</Name>
<CallbackMethod>toggleDebug</CallbackMethod>
Expand Down
19 changes: 19 additions & 0 deletions Realistic Random.indigoPlugin/Contents/Server Plugin/ghpu.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# this is a configuration file for the Indigo GitHub Plugin Updater
# it must be located in the plugin's 'Server Plugin' directory with plugin.py

# for more information on the syntax of this file, see Python's ConfigParser module:
# https://docs.python.org/2/library/configparser.html

[repository]

# REQUIRED: the GitHub username for the owner of the plugin repository
owner = kmarkley

# REQUIRED: the name of the repository where the plugin is located
name = Indigo-Realistic-Random

# OPTIONAL: the path to the plugin inside the repository, defaults to base dir
path = Realistic Random.indigoPlugin

# this section controls automatic update settings
[auto-update]
Loading

0 comments on commit 2ff2ec4

Please sign in to comment.