umu-commander 1.5.3__tar.gz → 1.5.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of umu-commander might be problematic. Click here for more details.

Files changed (29) hide show
  1. {umu_commander-1.5.3 → umu_commander-1.5.4}/.idea/workspace.xml +64 -61
  2. {umu_commander-1.5.3 → umu_commander-1.5.4}/PKG-INFO +9 -2
  3. {umu_commander-1.5.3 → umu_commander-1.5.4}/README.md +8 -1
  4. {umu_commander-1.5.3 → umu_commander-1.5.4}/pyproject.toml +1 -1
  5. {umu_commander-1.5.3 → umu_commander-1.5.4}/src/umu_commander/main.py +4 -4
  6. {umu_commander-1.5.3 → umu_commander-1.5.4}/src/umu_commander/util.py +1 -1
  7. {umu_commander-1.5.3 → umu_commander-1.5.4}/.gitignore +0 -0
  8. {umu_commander-1.5.3 → umu_commander-1.5.4}/.idea/.gitignore +0 -0
  9. {umu_commander-1.5.3 → umu_commander-1.5.4}/.idea/inspectionProfiles/Project_Default.xml +0 -0
  10. {umu_commander-1.5.3 → umu_commander-1.5.4}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
  11. {umu_commander-1.5.3 → umu_commander-1.5.4}/.idea/misc.xml +0 -0
  12. {umu_commander-1.5.3 → umu_commander-1.5.4}/.idea/modules.xml +0 -0
  13. {umu_commander-1.5.3 → umu_commander-1.5.4}/.idea/umu-commander.iml +0 -0
  14. {umu_commander-1.5.3 → umu_commander-1.5.4}/.idea/vcs.xml +0 -0
  15. {umu_commander-1.5.3 → umu_commander-1.5.4}/LICENSE.txt +0 -0
  16. {umu_commander-1.5.3 → umu_commander-1.5.4}/example_config.toml +0 -0
  17. {umu_commander-1.5.3 → umu_commander-1.5.4}/src/umu_commander/__init__.py +0 -0
  18. {umu_commander-1.5.3 → umu_commander-1.5.4}/src/umu_commander/classes.py +0 -0
  19. {umu_commander-1.5.3 → umu_commander-1.5.4}/src/umu_commander/configuration.py +0 -0
  20. {umu_commander-1.5.3 → umu_commander-1.5.4}/src/umu_commander/database.py +0 -0
  21. {umu_commander-1.5.3 → umu_commander-1.5.4}/src/umu_commander/proton.py +0 -0
  22. {umu_commander-1.5.3 → umu_commander-1.5.4}/src/umu_commander/tracking.py +0 -0
  23. {umu_commander-1.5.3 → umu_commander-1.5.4}/src/umu_commander/umu_config.py +0 -0
  24. {umu_commander-1.5.3 → umu_commander-1.5.4}/tests/__init__.py +0 -0
  25. {umu_commander-1.5.3 → umu_commander-1.5.4}/tests/test_config.py +0 -0
  26. {umu_commander-1.5.3 → umu_commander-1.5.4}/tests/test_db.py +0 -0
  27. {umu_commander-1.5.3 → umu_commander-1.5.4}/tests/test_manual.py +0 -0
  28. {umu_commander-1.5.3 → umu_commander-1.5.4}/tests/test_proton.py +0 -0
  29. {umu_commander-1.5.3 → umu_commander-1.5.4}/tests/test_tracking.py +0 -0
@@ -4,7 +4,10 @@
4
4
  <option name="autoReloadType" value="SELECTIVE" />
5
5
  </component>
6
6
  <component name="ChangeListManager">
7
- <list default="true" id="043620f1-711f-4c27-a2e2-15fa501e8ce0" name="Changes" comment="1.5.2" />
7
+ <list default="true" id="043620f1-711f-4c27-a2e2-15fa501e8ce0" name="Changes" comment="1.5.3">
8
+ <change beforePath="$PROJECT_DIR$/src/umu_commander/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/src/umu_commander/main.py" afterDir="false" />
9
+ <change beforePath="$PROJECT_DIR$/src/umu_commander/util.py" beforeDir="false" afterPath="$PROJECT_DIR$/src/umu_commander/util.py" afterDir="false" />
10
+ </list>
8
11
  <option name="SHOW_DIALOG" value="false" />
9
12
  <option name="HIGHLIGHT_CONFLICTS" value="true" />
10
13
  <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -50,46 +53,46 @@
50
53
  <option name="hideEmptyMiddlePackages" value="true" />
51
54
  <option name="showLibraryContents" value="true" />
52
55
  </component>
53
- <component name="PropertiesComponent"><![CDATA[{
54
- "keyToString": {
55
- "Python tests.Python tests for test_config.Config.executor": "Run",
56
- "Python tests.Python tests for test_config.Config.test_missing_config.executor": "Run",
57
- "Python tests.Python tests for test_db.DB.executor": "Run",
58
- "Python tests.Python tests for test_proton.Tracking.executor": "Run",
59
- "Python tests.Python tests for test_proton.Tracking.test_collect_proton_versions.executor": "Run",
60
- "Python tests.Python tests for test_tracking.Tracking.executor": "Run",
61
- "Python tests.Python tests for test_tracking.Tracking.test_track.executor": "Run",
62
- "Python tests.Python tests for test_tracking.Tracking.test_track_untrack.executor": "Run",
63
- "Python tests.Python tests for test_tracking.TrackingTest.executor": "Run",
64
- "Python tests.Python tests for test_tracking.TrackingTest.test_track.executor": "Run",
65
- "Python tests.Python tests for tests.test_db.DB.executor": "Run",
66
- "Python tests.Python tests for tests.test_db.DBTest.executor": "Run",
67
- "Python tests.Python tests for tests.test_db.DBTest.test_addition_removal.executor": "Run",
68
- "Python tests.Python tests for tests.test_db.DBTest.test_malformed_db.executor": "Run",
69
- "Python tests.Python tests for tests.test_db.DBTest.test_missing_db.executor": "Run",
70
- "Python tests.Python tests for tests.test_tracking.Tracking.executor": "Run",
71
- "Python tests.Python tests for tests.test_tracking.TrackingTest.executor": "Debug",
72
- "Python tests.Python tests for tests.test_tracking.TrackingTest.test_track.executor": "Run",
73
- "Python tests.Python tests in tests.executor": "Run",
74
- "Python tests.Run tests.executor": "Run",
75
- "Python.create.executor": "Run",
76
- "Python.delete.executor": "Run",
77
- "Python.manage.executor": "Run",
78
- "Python.run.executor": "Run",
79
- "Python.track.executor": "Run",
80
- "Python.umu-commander.executor": "Run",
81
- "Python.untrack.executor": "Run",
82
- "Python.users.executor": "Run",
83
- "RunOnceActivity.ShowReadmeOnStart": "true",
84
- "RunOnceActivity.git.unshallow": "true",
85
- "Shell Script.Build.executor": "Run",
86
- "Shell Script.Upload.executor": "Run",
87
- "git-widget-placeholder": "master",
88
- "last_opened_file_path": "/home/hiroshi/Code/Python/umu-commander/tests",
89
- "run.code.analysis.last.selected.profile": "aDefault",
90
- "settings.editor.selected.configurable": "com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable"
56
+ <component name="PropertiesComponent">{
57
+ &quot;keyToString&quot;: {
58
+ &quot;Python tests.Python tests for test_config.Config.executor&quot;: &quot;Run&quot;,
59
+ &quot;Python tests.Python tests for test_config.Config.test_missing_config.executor&quot;: &quot;Run&quot;,
60
+ &quot;Python tests.Python tests for test_db.DB.executor&quot;: &quot;Run&quot;,
61
+ &quot;Python tests.Python tests for test_proton.Tracking.executor&quot;: &quot;Run&quot;,
62
+ &quot;Python tests.Python tests for test_proton.Tracking.test_collect_proton_versions.executor&quot;: &quot;Run&quot;,
63
+ &quot;Python tests.Python tests for test_tracking.Tracking.executor&quot;: &quot;Run&quot;,
64
+ &quot;Python tests.Python tests for test_tracking.Tracking.test_track.executor&quot;: &quot;Run&quot;,
65
+ &quot;Python tests.Python tests for test_tracking.Tracking.test_track_untrack.executor&quot;: &quot;Run&quot;,
66
+ &quot;Python tests.Python tests for test_tracking.TrackingTest.executor&quot;: &quot;Run&quot;,
67
+ &quot;Python tests.Python tests for test_tracking.TrackingTest.test_track.executor&quot;: &quot;Run&quot;,
68
+ &quot;Python tests.Python tests for tests.test_db.DB.executor&quot;: &quot;Run&quot;,
69
+ &quot;Python tests.Python tests for tests.test_db.DBTest.executor&quot;: &quot;Run&quot;,
70
+ &quot;Python tests.Python tests for tests.test_db.DBTest.test_addition_removal.executor&quot;: &quot;Run&quot;,
71
+ &quot;Python tests.Python tests for tests.test_db.DBTest.test_malformed_db.executor&quot;: &quot;Run&quot;,
72
+ &quot;Python tests.Python tests for tests.test_db.DBTest.test_missing_db.executor&quot;: &quot;Run&quot;,
73
+ &quot;Python tests.Python tests for tests.test_tracking.Tracking.executor&quot;: &quot;Run&quot;,
74
+ &quot;Python tests.Python tests for tests.test_tracking.TrackingTest.executor&quot;: &quot;Debug&quot;,
75
+ &quot;Python tests.Python tests for tests.test_tracking.TrackingTest.test_track.executor&quot;: &quot;Run&quot;,
76
+ &quot;Python tests.Python tests in tests.executor&quot;: &quot;Run&quot;,
77
+ &quot;Python tests.Run tests.executor&quot;: &quot;Run&quot;,
78
+ &quot;Python.create.executor&quot;: &quot;Run&quot;,
79
+ &quot;Python.delete.executor&quot;: &quot;Run&quot;,
80
+ &quot;Python.manage.executor&quot;: &quot;Run&quot;,
81
+ &quot;Python.run.executor&quot;: &quot;Run&quot;,
82
+ &quot;Python.track.executor&quot;: &quot;Run&quot;,
83
+ &quot;Python.umu-commander.executor&quot;: &quot;Run&quot;,
84
+ &quot;Python.untrack.executor&quot;: &quot;Run&quot;,
85
+ &quot;Python.users.executor&quot;: &quot;Run&quot;,
86
+ &quot;RunOnceActivity.ShowReadmeOnStart&quot;: &quot;true&quot;,
87
+ &quot;RunOnceActivity.git.unshallow&quot;: &quot;true&quot;,
88
+ &quot;Shell Script.Build.executor&quot;: &quot;Run&quot;,
89
+ &quot;Shell Script.Upload.executor&quot;: &quot;Run&quot;,
90
+ &quot;git-widget-placeholder&quot;: &quot;master&quot;,
91
+ &quot;last_opened_file_path&quot;: &quot;/home/hiroshi/Code/Python/umu-commander/tests&quot;,
92
+ &quot;run.code.analysis.last.selected.profile&quot;: &quot;aDefault&quot;,
93
+ &quot;settings.editor.selected.configurable&quot;: &quot;com.jetbrains.python.configuration.PyActiveSdkModuleConfigurable&quot;
91
94
  }
92
- }]]></component>
95
+ }</component>
93
96
  <component name="RecentsManager">
94
97
  <key name="CopyFile.RECENT_KEYS">
95
98
  <recent name="$PROJECT_DIR$/tests" />
@@ -99,7 +102,7 @@
99
102
  <recent name="$PROJECT_DIR$/src" />
100
103
  </key>
101
104
  </component>
102
- <component name="RunManager" selected="Shell Script.Upload">
105
+ <component name="RunManager" selected="Python.users">
103
106
  <configuration name="create" type="PythonConfigurationType" factoryName="Python">
104
107
  <module name="umu-commander" />
105
108
  <option name="ENV_FILES" value="" />
@@ -379,22 +382,6 @@
379
382
  <option name="presentableId" value="Default" />
380
383
  <updated>1751043400140</updated>
381
384
  </task>
382
- <task id="LOCAL-00009" summary="Update readme and decapitalise umu">
383
- <option name="closed" value="true" />
384
- <created>1751918299613</created>
385
- <option name="number" value="00009" />
386
- <option name="presentableId" value="LOCAL-00009" />
387
- <option name="project" value="LOCAL" />
388
- <updated>1751918299613</updated>
389
- </task>
390
- <task id="LOCAL-00010" summary="Add example config">
391
- <option name="closed" value="true" />
392
- <created>1751919191540</created>
393
- <option name="number" value="00010" />
394
- <option name="presentableId" value="LOCAL-00010" />
395
- <option name="project" value="LOCAL" />
396
- <updated>1751919191540</updated>
397
- </task>
398
385
  <task id="LOCAL-00011" summary="Tweak &quot;latest umu&quot; functionality">
399
386
  <option name="closed" value="true" />
400
387
  <created>1751919211128</created>
@@ -771,7 +758,23 @@
771
758
  <option name="project" value="LOCAL" />
772
759
  <updated>1754003619303</updated>
773
760
  </task>
774
- <option name="localTasksCounter" value="58" />
761
+ <task id="LOCAL-00058" summary="made typo.">
762
+ <option name="closed" value="true" />
763
+ <created>1754004029502</created>
764
+ <option name="number" value="00058" />
765
+ <option name="presentableId" value="LOCAL-00058" />
766
+ <option name="project" value="LOCAL" />
767
+ <updated>1754004029502</updated>
768
+ </task>
769
+ <task id="LOCAL-00059" summary="1.5.3">
770
+ <option name="closed" value="true" />
771
+ <created>1754004038591</created>
772
+ <option name="number" value="00059" />
773
+ <option name="presentableId" value="LOCAL-00059" />
774
+ <option name="project" value="LOCAL" />
775
+ <updated>1754004038591</updated>
776
+ </task>
777
+ <option name="localTasksCounter" value="60" />
775
778
  <servers />
776
779
  </component>
777
780
  <component name="Vcs.Log.Tabs.Properties">
@@ -798,8 +801,6 @@
798
801
  </option>
799
802
  </component>
800
803
  <component name="VcsManagerConfiguration">
801
- <MESSAGE value="Add UMU_PROTON_DIR config key" />
802
- <MESSAGE value="Rename DB methods&#10;Rename variables for consistency&#10;Use dataclasses to group data better&#10;Add full support for multiple proton directories" />
803
804
  <MESSAGE value="shorter" />
804
805
  <MESSAGE value="Add some comments, rename a DB method" />
805
806
  <MESSAGE value="Move src code to src directory" />
@@ -823,6 +824,8 @@
823
824
  <MESSAGE value="Improve config handling" />
824
825
  <MESSAGE value="Update documentation" />
825
826
  <MESSAGE value="1.5.2" />
826
- <option name="LAST_COMMIT_MESSAGE" value="1.5.2" />
827
+ <MESSAGE value="made typo." />
828
+ <MESSAGE value="1.5.3" />
829
+ <option name="LAST_COMMIT_MESSAGE" value="1.5.3" />
827
830
  </component>
828
831
  </project>
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: umu-commander
3
- Version: 1.5.3
3
+ Version: 1.5.4
4
4
  Summary: umu-commander is an interactive CLI tool to help you manage umu.
5
5
  Project-URL: Homepage, https://github.com/Mpaxlamitsounas/umu-commander
6
6
  Project-URL: Issues, https://github.com/Mpaxlamitsounas/umu-commander/issues
@@ -49,4 +49,11 @@ umu-commander needs one of the following verbs specified after the executable na
49
49
  * This is NOT equivalent to `umu-run --config <config_name>`, as vanilla umu configs do not support setting environment variables as of 07/2025.
50
50
 
51
51
  ### Installation/Usage
52
- Add umu-run to your PATH and then install with pipx by running `pipx install umu-commander`. After that you can invoke umu-commander by running `umu-commander <verb>`.
52
+ Add umu-run to your PATH and then install with pipx by running `pipx install umu-commander`. After that you can invoke umu-commander by running `umu-commander <verb>`.
53
+
54
+ ### Return codes
55
+ | Number | Name | Description |
56
+ |:-------|:------------------|:----------------------------------------------------------------|
57
+ | 0 | SUCCESS | Program executed as intended. |
58
+ | 1 | READING_ERROR | Failed to parse a file and could not recover. |
59
+ | 2 | INVALID_SELECTION | User selected an invalid verb or there are no valid selections. |
@@ -33,4 +33,11 @@ umu-commander needs one of the following verbs specified after the executable na
33
33
  * This is NOT equivalent to `umu-run --config <config_name>`, as vanilla umu configs do not support setting environment variables as of 07/2025.
34
34
 
35
35
  ### Installation/Usage
36
- Add umu-run to your PATH and then install with pipx by running `pipx install umu-commander`. After that you can invoke umu-commander by running `umu-commander <verb>`.
36
+ Add umu-run to your PATH and then install with pipx by running `pipx install umu-commander`. After that you can invoke umu-commander by running `umu-commander <verb>`.
37
+
38
+ ### Return codes
39
+ | Number | Name | Description |
40
+ |:-------|:------------------|:----------------------------------------------------------------|
41
+ | 0 | SUCCESS | Program executed as intended. |
42
+ | 1 | READING_ERROR | Failed to parse a file and could not recover. |
43
+ | 2 | INVALID_SELECTION | User selected an invalid verb or there are no valid selections. |
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "umu-commander"
7
- version = "1.5.3"
7
+ version = "1.5.4"
8
8
  authors = [
9
9
  { name="Mpaxlamitsounas", email="worldstudy123@gmail.com" },
10
10
  ]
@@ -36,7 +36,7 @@ def main() -> ExitCode:
36
36
 
37
37
  if len(sys.argv) == 1:
38
38
  print_help()
39
- return ExitCode.SUCCESS
39
+ return ExitCode.SUCCESS.value
40
40
 
41
41
  verb: str = sys.argv[1]
42
42
  match verb:
@@ -55,14 +55,14 @@ def main() -> ExitCode:
55
55
  case _:
56
56
  print("Invalid verb.")
57
57
  print_help()
58
- return ExitCode.INVALID_SELECTION
58
+ return ExitCode.INVALID_SELECTION.value
59
59
 
60
60
  tracking.untrack_unlinked()
61
61
  db.dump()
62
62
  config.dump()
63
63
 
64
- return ExitCode.SUCCESS
64
+ return ExitCode.SUCCESS.value
65
65
 
66
66
 
67
67
  if __name__ == "__main__":
68
- exit(main().value)
68
+ exit(main())
@@ -58,7 +58,7 @@ def get_selection(
58
58
  ) -> Element:
59
59
  if not _selection_set_valid(selection_elements, selection_groups):
60
60
  print("Nothing to select from.")
61
- exit(ExitCode.INVALID_SELECTION)
61
+ exit(ExitCode.INVALID_SELECTION.value)
62
62
 
63
63
  if selection_groups is None:
64
64
  selection_groups = []
File without changes
File without changes