Commit dc0e32b
authored
refactor module structure (#100)
* refactor module structure
* Fix clippy warnings and update doctests after refactoring
- Remove unused import AnalysisCommands from main.rs
- Mark unused helper functions with #[allow(dead_code)]
- print_getting_started, print_import_help, print_supported_formats,
print_environment_config, print_full_getting_started in help.rs
- handle_init_command in init.rs
- needs_setup in setup.rs
- Update doctests to use new crate names
- retrochat::* -> retrochat_core::* in message.rs
- retrochat::tui::* -> retrochat_tui::* in text.rs and layout.rs
All tests passing (203 tests). Clippy clean with -D warnings.
* Exclude retrochat-gui from CI workspace checks
The GUI package requires platform-specific system dependencies (glib, gtk)
that are not available in the Ubuntu CI environment. GUI builds are handled
separately by the release-tauri.yml workflow which sets up the necessary
dependencies for each platform.
This change excludes retrochat-gui from:
- cargo test --workspace
- cargo clippy --workspace
- cargo check --workspace
The GUI package will continue to be built and tested in its dedicated
release workflow with proper system dependencies installed.1 parent baa83b9 commit dc0e32b
File tree
252 files changed
+17866
-5917
lines changed- .cargo
- .github/workflows
- crates
- retrochat-cli
- src
- commands
- tests/contract
- retrochat-core
- .sqlx
- migrations
- src
- database
- models
- provider
- config
- parsers
- services
- analytics
- google_ai
- tools
- parsers
- utils
- tests
- integration
- unit
- retrochat-gui
- .cargo
- gen/schemas
- icons
- android
- mipmap-anydpi-v26
- mipmap-hdpi
- mipmap-mdpi
- mipmap-xhdpi
- mipmap-xxhdpi
- mipmap-xxxhdpi
- values
- ios
- src
- commands
- retrochat-tui
- src
- components
- events
- state
- utils
- examples
- specs
- 001-i-want-to
- contracts
- 002-add-retrospection-process
- contracts
- src
- cli
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
252 files changed
+17866
-5917
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
7 | 8 | | |
8 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
9 | 15 | | |
10 | 16 | | |
11 | | - | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
12 | 24 | | |
13 | | - | |
14 | | - | |
| 25 | + | |
| 26 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
43 | 50 | | |
44 | 51 | | |
45 | 52 | | |
| |||
48 | 55 | | |
49 | 56 | | |
50 | 57 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
56 | 67 | | |
57 | 68 | | |
58 | 69 | | |
59 | 70 | | |
60 | | - | |
| 71 | + | |
61 | 72 | | |
62 | | - | |
63 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
64 | 77 | | |
65 | 78 | | |
66 | 79 | | |
| |||
73 | 86 | | |
74 | 87 | | |
75 | 88 | | |
76 | | - | |
77 | | - | |
| 89 | + | |
| 90 | + | |
78 | 91 | | |
79 | 92 | | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
86 | 99 | | |
87 | 100 | | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
92 | 105 | | |
93 | 106 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
98 | 111 | | |
99 | 112 | | |
100 | | - | |
| 113 | + | |
101 | 114 | | |
102 | 115 | | |
103 | 116 | | |
| |||
0 commit comments