Skip to content

Conversation

@setchy
Copy link
Collaborator

@setchy setchy commented Dec 5, 2025

Changes

Improve regex used to insert Abandoned Dependencies section. Additionally remove the count/total from the h2 heading

Context

In repositories where there are both Replacements and Abandoned dependencies, it was picking up the wrong note to create the Abandoned Dependencies section heading under

Before After
Screenshot 2025-12-05 at 11 42 46 AM Screenshot 2025-12-05 at 3 20 08 PM

Please select one of the following:

  • This closes an existing Issue, Closes: #
  • This doesn't close an Issue, but I accept the risk that this PR may be closed if maintainers disagree with its opening or implementation

AI assistance disclosure

Did you use AI tools to create any part of this pull request?

Please select one option and, if yes, briefly describe how AI was used (e.g., code, tests, docs) and which tool(s) you used.

  • No — I did not use AI for this contribution.
  • Yes — minimal assistance (e.g., IDE autocomplete, small code completions, grammar fixes).
  • Yes — substantive assistance (AI-generated non‑trivial portions of code, tests, or documentation).
  • Yes — other (please describe):

Documentation (please check one with an [x])

  • I have updated the documentation, or
  • No documentation update is required

How I've tested my work (please select one)

I have verified these changes via:

  • Code inspection only, or
  • Newly added/modified unit tests, or
  • No unit tests, but ran on a real repository, or
  • Both unit tests + ran on a real repository

The public repository:

Signed-off-by: Adam Setch <adam.setch@outlook.com>
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@setchy setchy changed the title fix: more targeted movement of note fix(bitbucket): abandoned dependencies section placement when replacements exist Dec 5, 2025
@setchy setchy added the platform:bitbucket Bitbucket Cloud platform label Dec 5, 2025
@setchy setchy requested review from jamietanna and viceice December 5, 2025 19:27
Signed-off-by: Adam Setch <adam.setch@outlook.com>
@setchy setchy changed the title fix(bitbucket): abandoned dependencies section placement when replacements exist fix(bitbucket): abandoned dependencies formatting Dec 6, 2025
@setchy setchy changed the title fix(bitbucket): abandoned dependencies formatting fix(bitbucket): abandoned dependencies section heading formatting Dec 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

platform:bitbucket Bitbucket Cloud platform

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant