Commit dbf2b74
authored
refactor: remove prevent-cli and flatten codecov-cli to repo root (#709)
Remove the prevent-cli sub-project entirely and move every
codecov-cli/* file up to the repository root so codecov-cli is once
again a top-level Python project.
Layout changes:
- Delete prevent-cli/.
- git mv codecov-cli/{codecov_cli,tests,samples,pyproject.toml,
uv.lock,setup.py,MANIFEST.in,ruff.toml,codecovcli_commands,
README.md,LICENSE} to the repo root.
- Replace the prevent-cli root README and LICENSE with the
codecov-cli ones (they're identical, so LICENSE shows as a
pure delete + retained file).
Companion edits to make the flat layout build cleanly:
- Makefile: drop `cd codecov-cli` from `test`, point
`command_dump` at the new top-level command_dump.py.
- command_dump.py: restored at the repo root, dumps only
codecovcli (sentry-prevent-cli no longer exists).
- hooks/pre-commit: stop staging prevent-cli/preventcli_commands.
- .craft.yml: point at codecov/codecov-cli and drop the
sentry_prevent_cli targets.
- .github/workflows/broadcast_api_changes.yml: watch
codecovcli_commands at the root.
- .github/workflows/ci.yml: drop all prevent-cli/sentry-prevent-cli
jobs and `cd codecov-cli`, fix repository_owner == 'codecov'
so dogfood / codecov-startup jobs actually run.
- .github/workflows/build.yml: build codecov-cli only, from the
repo root (no more dual-CLI matrix or Cosign signing).
- .github/workflows/release-codecov-cli.yml: download/publish from
./dist instead of codecov-cli/dist.
- scripts/build_alpine.sh, scripts/build_linux.sh: rewritten to
build codecov-cli only out of the repo root with uv.
- scripts/{bump-version.sh,pre-build.sh,uv-installer-0.7.8.sha256sum}:
deleted (prevent-cli specific).
- tests/helpers/test_versioning_systems.py: update the exotic
filename assertion from `codecov-cli/tests/data/...` to
`tests/data/...` now that tests live at the root.
- pyproject.toml + README.md: project URLs and badges now point
at codecov/codecov-cli instead of getsentry/prevent-cli.
Verified locally: `uv sync` succeeds, the full pytest suite passes
(697 tests), `ruff check` is clean, and `make command_dump`
produces no diff against the checked-in codecovcli_commands.1 parent beb955d commit dbf2b74
209 files changed
Lines changed: 325 additions & 2448 deletions
File tree
- .github/workflows
- codecov-cli
- codecov_cli
- commands
- helpers
- ci_adapters
- git_services
- plugins
- runners
- services
- commit
- empty_upload
- report
- upload_completion
- upload_coverage
- upload
- hooks
- prevent-cli
- src/prevent_cli
- commands
- samples
- fake_project
- .github
- dev
- inputs
- outputs
- scripts
- tests
- ci_adapters
- commands
- data
- files_to_fix_examples
- Контроллеры/Пользователь
- helpers
- git_services
- plugins
- runners
- services
- commit
- empty_upload
- report
- upload_completion
- upload
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
| 2 | + | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
| 15 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 27 | + | |
36 | 28 | | |
37 | 29 | | |
38 | 30 | | |
39 | 31 | | |
40 | 32 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 33 | + | |
48 | 34 | | |
49 | 35 | | |
50 | 36 | | |
| |||
56 | 42 | | |
57 | 43 | | |
58 | 44 | | |
59 | | - | |
60 | 45 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
| 46 | + | |
65 | 47 | | |
66 | 48 | | |
67 | 49 | | |
68 | 50 | | |
69 | 51 | | |
70 | 52 | | |
71 | | - | |
72 | 53 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
| 54 | + | |
77 | 55 | | |
78 | 56 | | |
79 | 57 | | |
| |||
88 | 66 | | |
89 | 67 | | |
90 | 68 | | |
91 | | - | |
92 | 69 | | |
93 | 70 | | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 71 | | |
100 | 72 | | |
101 | 73 | | |
| |||
104 | 76 | | |
105 | 77 | | |
106 | 78 | | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
| 79 | + | |
114 | 80 | | |
115 | 81 | | |
116 | 82 | | |
| |||
152 | 118 | | |
153 | 119 | | |
154 | 120 | | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 121 | + | |
162 | 122 | | |
163 | 123 | | |
164 | 124 | | |
165 | 125 | | |
166 | 126 | | |
167 | 127 | | |
168 | | - | |
169 | | - | |
170 | 128 | | |
171 | 129 | | |
172 | 130 | | |
173 | 131 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
| 132 | + | |
187 | 133 | | |
188 | 134 | | |
189 | 135 | | |
190 | 136 | | |
191 | 137 | | |
192 | 138 | | |
193 | | - | |
194 | | - | |
195 | 139 | | |
196 | 140 | | |
197 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
99 | | - | |
100 | | - | |
| 99 | + | |
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
104 | | - | |
105 | 103 | | |
106 | 104 | | |
107 | 105 | | |
108 | 106 | | |
109 | 107 | | |
110 | | - | |
| 108 | + | |
111 | 109 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
| 110 | + | |
| 111 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
File renamed without changes.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
0 commit comments