Skip to content

Commit 9f91bd4

Browse files
authored
Version 2.6.3
Signed-off-by: mctinker <mikrubin@gmail.com>
1 parent 61f5f07 commit 9f91bd4

File tree

3 files changed

+43
-14
lines changed

3 files changed

+43
-14
lines changed

Changelog.md

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,39 @@
22

33
All notable changes to this project will be documented in this file!
44

5-
## [2.6.2] 2024-Jan-08
5+
## [2.6.3] 15-January-2024
66

77
### Changed
88

9-
- Eliminated PSUTIL dependency.
10-
- On entry to the GUI, the individual items that have been automatically restored are no longer displayed in the text message window.
9+
- The runtime options to fetch the backup file from the Android device have changed.
10+
See the 'Added" section. '-backup' is no longer supported.
11+
If the old options exist in the saved runtime file, they will automatically be converted to the new runtime option format.
12+
- The runtime option '-appearance' can no longer be abbreviated as '-a'.
13+
- The old format for the saved settings that date back to the year 2022 is no longer supported.
14+
- Updated README to reflect new '-android...' runtime options.
15+
- The GUI message box now only displays the current message and not any previous messages.
1116

1217
### Fixed
1318

14-
- "Rerun" command under certain conditions would never end.
15-
- Normal exits were not displaying the message that all had ended normally.
16-
- The saved runtime arguments were restored twice if using the GUI.
19+
- README had a bad reference to the supplemental information regarding Tkinter.
20+
- If the backup file is not found on the Android device via the GUI, the program ends rather than catching the error in the GUI.
21+
- Gracefully handle invalid command line options.
1722

1823
### Added
1924

20-
- Added: Recognize AutoLocation plugin (Geofences) for Task actions and Profile Events.
25+
- The runtime options for fetching the backup file directly from the Android device are 'android_ipaddr', 'android_port', and 'android_file'.
26+
- Added additional Task properties.
27+
28+
## Older History Logs
2129

22-
## Older History Log
30+
## [2.6.2]
31+
32+
- Changed: Eliminated PSUTIL dependency.
33+
- Changed: On entry to the GUI, the individual items that have been automatically restored are no longer displayed in the text message window.
34+
- Fixed: The "Rerun" command under certain conditions would never end.
35+
- Fixed: Normal exits were not displaying the message that all had ended normally.
36+
- Fixed: The saved runtime arguments were restored twice if using the GUI.
37+
- Added: Recognize AutoLocation plugin (Geofences) for Task actions and Profile Events.
2338

2439
## [2.6.1]
2540

README.md

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ A portion/example of the results can be found at https://imgur.com/a/KIR7Vep.
3131
The Tasker backup XML can either be manually uploaded to your Mac/Google Drive, or this program can fetch it directly from your Android device.
3232

3333
### Program Dependencies
34-
- Python version v3.10 or higher and Tkinter (not included with Python 3.10 via the 'brew' installation method)
34+
- Python version v3.10 or higher and Tkinter (not included with Python 3.10. Use the 'brew' installation method)
3535

3636

3737
python 3.10: `brew install python3.10`
@@ -89,10 +89,18 @@ Runtime: `maptasker -option1 -option2` ...
8989

9090
`-h` for help.
9191

92-
`-a` for appearance mode, one of system, light, dark.
92+
`-android_ipaddr` TCP IP address of the Android device from which to fetch the backup file.
93+
Example: 192.168.0.210
9394

94-
`-b ip_addr:port+file_location` to get the backup file directly from the Android device (* = use default)<sup>2</sup>.
95-
Example: 192.168.0.210:8120+//Tasker/configs/user/backup.xml
95+
`-android_port` the port number of the Android device from which to fetch the backup file.
96+
Example: 1821
97+
98+
`-android_file` the location of the backup xml file on the Android device.
99+
Example: /Tasker/configs/user/backup.xml
100+
101+
The above three 'android' options are mutually inclusive.
102+
103+
`-appearance` for appearance mode, one of system, light, dark.
96104

97105
`-conditions` to display a Profile's and Task's condition(s),
98106
`-c(type) color_name` defines a specific color to 'type', where 'type' is *one* of the following:
@@ -184,7 +192,7 @@ Alternatively, see *config.py* for some user-customizable options. Make user-sp
184192
2- The [sample Tasker Project](https://taskernet.com/shares/?user=AS35m8ne7oO4s%2BaDx%2FwlzjdFTfVMWstg1ay5AkpiNdrLoSXEZdFfw1IpXiyJCVLNW0yn&id=Project%3AHttp+Server+Example) must be installed and active on the Android device, and the server must be running..see Android notification: "HTTP Server Info...".
185193
3- See config.py to change the default settings permanently
186194

187-
<sup>1</sup> If having problems getting Tkinter to version 8.6, try the following:
195+
<sup>3</sup> If having problems getting Tkinter to version 8.6, try the following:
188196
1- uninstall python
189197
2- brew install tcl-tk
190198
3- reinstall python

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "maptasker"
3-
version = "2.6.2"
3+
version = "2.6.3"
44
description = "Utility to display your entire Android 'Tasker' configuration on your MAC."
55
authors = ["Michael Rubin <mikrubin@gmail.com>"]
66
readme = "README_PyPl.md"
@@ -123,6 +123,7 @@ ignore = [
123123
"PLR2004", # Constant value comparison
124124
"SIM115", # Missing "with" on oepn file
125125
"S606", # No shell
126+
"B009", # Do not perform function calls in argument defaults
126127
]
127128
show-fixes = true
128129
src = ['src',]
@@ -152,6 +153,11 @@ max-statements = 80
152153
[tool.ruff.flake8-tidy-imports]
153154
ban-relative-imports = 'all'
154155

156+
[tool.ruff.format]
157+
quote-style = "double"
158+
# indent-style = "tab"
159+
docstring-code-format = true
160+
155161
[tool.black]
156162
--line-length = 120
157163

0 commit comments

Comments
 (0)