-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* change how device are initialized * test pass and add py-custom-printer to dependencies * fix settings * is_pressed is a property * py-custom-printer@b1754c01921a7ac25553a8794498201ec8e44c4d * fix typo * GPIO -> GPIOZERON in RemoteReleaseConnector factory * @timeit on printer.print_image * update py-custom-printer version * focus lens on startup * install numpy with apt-get * update wifi-connect version * add ImageMagick dependency * add all wifi-connect files * implementation of RTC_DS1302 real time clock * fix settings and @transaction_decorate * change default pin configuration * do not create RTC for time being * try fixing RTC * use RPi.GPIO for real time clock management * remove datadog agent * call camera.configure(), camera.clear_space() and camera.focus() explicitly in photobooth.initialize_devices() * enter liveview during camera.focus_narer() and camera.focus_further() * change default focus steps * remove datadog agent * allow shutting down the device by activating a specific pin * add wireless-tools to the list of software installed * comment lockfile for time being * sharpen image before printing * try writing the file in binary mode * enhance picture only * Not filter by default * remove imagemagick * do not trigger capture if paper is not present * make sure to clear messages before asking the printer for status * python-epson-printer@1.10.0 * python-epson-printer@v1.11.0 py-custom-printer@v0.1.1. Check photobooth paper level * raise OutPfPaper error in CustomPrinter * fix trigger api endpoint * py-custom-printer@0.1.2 * check paper level only for VKP80III * fix printer * add a white margin on VKP80III * fix ticket not printing correctly * rotate image before printing * remove logging of workers * change how image enhancement work * fix margin color * try/except for printer.configure() * set resin wifi retry flag to True * resin-wifi-connect@2.0.5 * log wifi-connect connectivity state * always retry after failed connection * start local server only if specified in configuration * fix Fix NM_CONNECTIVITY constants * customize wifi-connect state flow diagram * try using python-webkit2png * install specific version of pip * fix bug render_screenshot take one argument * build from figure base images * fix some errors * add xvfb to init.d * start Xfvb in start.sh * create qt application in main thread * remove typo in try: except * call init_qtgui after it is defined * add an argument to get_screenshot in print_booting_template * use python-webkit2png as a separate process * try launching get_screenshot as multiprocessing.Process * some bug fixes * figure/%%RESIN_MACHINE_NAME%%:1.1.0 * py-custom-printer@v0.1.3 * fix some imports * py_custom_printer@v0.1.4 * V2.0 refactor (#146) * Refactor + tests * return the file ticket that was actually printed * fix booting ticket * change Makefile, remove unused tests, add a fabfile for deployment * remove Cython dependency * fix some errors in api.py * start server no matter what but catch socket error * add a /focus endpoint to the api * fix /test_template and /print * EOS_1200D_CONFIG -> CAMERA_CONFIG * make door lock pin configurable * compatibility with master * fix test
- Loading branch information
1 parent
a3fc640
commit 98a5f02
Showing
58 changed files
with
3,759 additions
and
2,946 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
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,4 +1,2 @@ | ||
test: | ||
# This runs all of the tests. To run an individual test, run py.test with | ||
# the -k flag, like "py.test -k test_processus" | ||
py.test test_figure.py | ||
python -m unittest discover |
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,28 @@ | ||
|
||
from fabric.api import task, env | ||
from fabric.operations import local | ||
|
||
env.force = False | ||
|
||
@task | ||
def integration(): | ||
env.remotes = ['resinintegration_raspi2', 'resinintegration_raspi3'] | ||
|
||
@task | ||
def production(): | ||
env.remotes = ['resinproduction_raspi2', 'resinproduction_raspi3'] | ||
|
||
@task | ||
def force(): | ||
env.force = True | ||
|
||
@task | ||
def deploy(branch="master"): | ||
for remote in env.remotes: | ||
cmd = ['git', 'push'] | ||
if env.force: | ||
cmd.append('--force') | ||
cmd.append(remote) | ||
cmd.append('%s:master' % branch) | ||
cmd = ' '.join(cmd) | ||
local(cmd) |
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
Oops, something went wrong.