Commit 40cd6ef
Remove all Bitbucket Pipelines logic from the codebase (#1515)
* Initial plan
* Remove all Bitbucket Pipelines logic from source code
- Delete src/usethis/_integrations/ci/bitbucket/ directory (12 files)
- Delete src/usethis/_pipeweld/ directory (5 files)
- Delete src/usethis/_core/ci.py
- Delete src/usethis/_types/ci.py (CIServiceEnum)
- Delete src/usethis/_detect/ci/ directory
- Delete docs/pipeweld.md
- Delete all bitbucket-related test directories and files
- Remove bitbucket methods from Tool base class
- Remove bitbucket overrides from pre_commit, ruff, pytest tools
- Remove bitbucket step calls from all use_* tool functions
- Remove bitbucket status from usage list
- Remove BitbucketPipelinesYAMLManager from config_file.py
- Remove --ci parameter from init command
- Remove init_ci_opt from options.py
Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/2b46fad4-b933-4c23-a33c-8f7cd4dbbb21
* Remove Bitbucket-related tests after Bitbucket Pipelines integration removal
Removed all Bitbucket-related test code from:
- tests/usethis/_core/test_core_tool.py: Removed import, TestAllBitbucketCompatibleSteps class, all test_bitbucket_integration methods, and all TestBitbucketIntegration inner classes
- tests/usethis/_tool/impl/base/test_pytest.py: Removed bitbucket import and TestUpdateBitbucketSteps/TestRemoveBitbucketSteps inner classes
- tests/usethis/_ui/interface/test_init.py: Removed test_bitbucket_docstyle_and_status method
- tests/usethis/_core/test_list.py: Removed Bitbucket Pipelines UsageRow entries
- tests/usethis/_integrations/pre_commit/test_hooks.py: Removed bitbucket sync comment
- tests/conftest.py: Updated comment to remove Bitbucket reference
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Remove bitbucket references from tests, docs, and config
- Remove bitbucket test methods/classes from test_core_tool.py
- Remove bitbucket test classes from test_pytest.py
- Remove bitbucket test from test_init.py
- Remove Bitbucket Pipelines rows from test_list.py
- Remove bitbucket comment from test_hooks.py
- Update conftest.py comment
- Remove bitbucket from docs/cli/reference.md
- Remove bitbucket basedpyright config from pyproject.toml
- Remove pipeweld from mkdocs.yml navigation
- Update .importlinter to remove pipeweld, ci, and bitbucket references
Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/2b46fad4-b933-4c23-a33c-8f7cd4dbbb21
* Restore _pipeweld module, tests, and docs
The pipeweld utility is kept for future use with pre-commit/prek
and as a potential standalone package.
Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Agent-Logs-Url: https://github.com/usethis-python/usethis-python/sessions/f8fe25b7-3495-4399-91be-a5274472ea4b
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: nathanjmcdougall <18602289+nathanjmcdougall@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent b51510a commit 40cd6ef
45 files changed
Lines changed: 10 additions & 7642 deletions
File tree
- docs/cli
- src/usethis
- _core
- _detect/ci
- _integrations/ci/bitbucket
- _tool
- impl/base
- _types
- _ui
- interface
- tests
- usethis
- _core
- _integrations
- ci/bitbucket
- pre_commit
- _tool/impl/base
- _ui/interface
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 | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 25 | | |
31 | 26 | | |
32 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
232 | | - | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | 232 | | |
238 | 233 | | |
239 | 234 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | | - | |
28 | 26 | | |
29 | 27 | | |
30 | 28 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | 12 | | |
14 | 13 | | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
| |||
67 | 66 | | |
68 | 67 | | |
69 | 68 | | |
70 | | - | |
| 69 | + | |
71 | 70 | | |
72 | 71 | | |
73 | 72 | | |
74 | 73 | | |
75 | | - | |
76 | | - | |
77 | 74 | | |
78 | 75 | | |
79 | 76 | | |
| |||
100 | 97 | | |
101 | 98 | | |
102 | 99 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | 100 | | |
113 | 101 | | |
114 | 102 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
15 | 14 | | |
16 | 15 | | |
17 | 16 | | |
| |||
41 | 40 | | |
42 | 41 | | |
43 | 42 | | |
44 | | - | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
| |||
68 | 66 | | |
69 | 67 | | |
70 | 68 | | |
71 | | - | |
72 | 69 | | |
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
76 | 73 | | |
77 | | - | |
78 | 74 | | |
79 | 75 | | |
80 | 76 | | |
| |||
111 | 107 | | |
112 | 108 | | |
113 | 109 | | |
114 | | - | |
115 | 110 | | |
116 | 111 | | |
117 | 112 | | |
118 | 113 | | |
119 | 114 | | |
120 | 115 | | |
121 | 116 | | |
122 | | - | |
123 | 117 | | |
124 | 118 | | |
125 | 119 | | |
| |||
138 | 132 | | |
139 | 133 | | |
140 | 134 | | |
141 | | - | |
142 | 135 | | |
143 | 136 | | |
144 | 137 | | |
145 | 138 | | |
146 | 139 | | |
147 | | - | |
148 | 140 | | |
149 | 141 | | |
150 | 142 | | |
| |||
202 | 194 | | |
203 | 195 | | |
204 | 196 | | |
205 | | - | |
206 | | - | |
207 | | - | |
208 | | - | |
209 | 197 | | |
210 | 198 | | |
211 | | - | |
212 | | - | |
213 | | - | |
214 | | - | |
215 | 199 | | |
216 | 200 | | |
217 | 201 | | |
| |||
237 | 221 | | |
238 | 222 | | |
239 | 223 | | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | | - | |
249 | | - | |
250 | | - | |
251 | | - | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | | - | |
258 | 224 | | |
259 | 225 | | |
260 | 226 | | |
| |||
266 | 232 | | |
267 | 233 | | |
268 | 234 | | |
269 | | - | |
270 | 235 | | |
271 | 236 | | |
272 | 237 | | |
273 | 238 | | |
274 | 239 | | |
275 | | - | |
276 | 240 | | |
277 | 241 | | |
278 | 242 | | |
| |||
324 | 288 | | |
325 | 289 | | |
326 | 290 | | |
327 | | - | |
328 | | - | |
329 | 291 | | |
330 | 292 | | |
331 | 293 | | |
332 | 294 | | |
333 | 295 | | |
334 | | - | |
335 | | - | |
336 | 296 | | |
337 | 297 | | |
338 | 298 | | |
| |||
466 | 426 | | |
467 | 427 | | |
468 | 428 | | |
469 | | - | |
470 | 429 | | |
471 | 430 | | |
472 | 431 | | |
| |||
477 | 436 | | |
478 | 437 | | |
479 | 438 | | |
480 | | - | |
481 | 439 | | |
482 | 440 | | |
483 | 441 | | |
| |||
528 | 486 | | |
529 | 487 | | |
530 | 488 | | |
531 | | - | |
532 | 489 | | |
533 | 490 | | |
534 | 491 | | |
535 | 492 | | |
536 | 493 | | |
537 | | - | |
538 | 494 | | |
539 | 495 | | |
540 | 496 | | |
| |||
Whitespace-only changes.
This file was deleted.
Whitespace-only changes.
0 commit comments