-
Notifications
You must be signed in to change notification settings - Fork 117
Get github automation working on ubuntu #903
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
kendonB
wants to merge
20
commits into
dictation-toolbox:master
Choose a base branch
from
kendonB:github_automation_ubuntu
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 2 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
a568fea
github automation ubuntu
kendonB 2955af1
remove import
kendonB 4bd6548
Doc Natlink Py3
LexiconCode 1d8dd7b
Drop py2 pathlib port
LexiconCode fc39075
remove imports for py2
LexiconCode eccbd2c
remove py2 action
LexiconCode ca2c240
Miscellaneous cleanup
LexiconCode 883293f
utilized py launcher with explicit 3.8-32 python version
LexiconCode 734d1db
Add HUD (#773)
dmakarov 656d632
Convert HMC to QT on python 3 (#786)
dmakarov f40b0c8
Remove API command grammars examples
LexiconCode c56ff4a
Merge remote-tracking branch 'origin/master' into DropPy2
LexiconCode 408a923
expand env vars
87f4e4e
expand env all paths
5e36b8e
Revert "expand env vars"
132a852
prevent overwrite of paths
611b75d
fix bug when settings.toml isnt there
55c948f
edit settings
0317223
Merge branch 'expand_env_in_paths' into myDropPy2
04d5be2
Merge branch 'myDropPy2' into github_automation_ubuntu
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 |
|---|---|---|
|
|
@@ -242,14 +242,25 @@ def _deep_merge_defaults(data, defaults): | |
|
|
||
|
|
||
| def _get_defaults(): | ||
| terminal_path_default = "C:/Program Files/Git/git-bash.exe" | ||
|
|
||
| if sys.platform == "win32": | ||
| terminal_path_default = "C:/Program Files/Git/git-bash.exe" | ||
| elif sys.platform.startswith("linux"): | ||
| terminal_path_default = "/usr/bin/gnome-terminal" | ||
| elif sys.platform == "darwin": | ||
| terminal_path_default = "/Applications/Utilities/Terminal.app" | ||
|
|
||
| if not os.path.isfile(terminal_path_default): | ||
| terminal_path_default = "" | ||
|
|
||
| ahk_path_default = "C:/Program Files/AutoHotkey/AutoHotkey.exe" | ||
| if not os.path.isfile(ahk_path_default): | ||
| ahk_path_default = "" | ||
|
|
||
|
|
||
| if sys.platform == "win32": | ||
| terminal_loading_time = 5 | ||
| else: | ||
| terminal_loading_time = 1 | ||
| return { | ||
| "paths": { | ||
| "BASE_PATH": | ||
|
|
@@ -301,7 +312,7 @@ def _get_defaults(): | |
|
|
||
| # EXECUTABLES | ||
| "AHK_PATH": | ||
| str(Path(_BASE_PATH).joinpath(ahk_path_default)), | ||
| str(Path(ahk_path_default)), | ||
|
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This one I'm not so sure of. I don't think that this was ever right
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes as |
||
| "DOUGLAS_PATH": | ||
| str(Path(_BASE_PATH).joinpath("asynch/mouse/grids.py")), | ||
| "ENGINE_PATH": | ||
|
|
@@ -365,8 +376,9 @@ def _get_defaults(): | |
| }, | ||
|
|
||
| # gitbash settings | ||
| # This really should be labelled "terminal" but was named when caster was Windows only. | ||
| "gitbash": { | ||
| "loading_time": 5, # the time to initialise the git bash window in seconds | ||
| "loading_time": terminal_loading_time, # the time to initialise the git bash window in seconds | ||
| "fetching_time": 3 # the time to fetch a github repository in seconds | ||
| }, | ||
|
|
||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.