Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add contextual comments to CodeTF when adding dependencies #94

Merged
merged 4 commits into from
Oct 24, 2023

Conversation

drdavella
Copy link
Member

@drdavella drdavella commented Oct 24, 2023

Overview

Add contextual comments to CodeTF when adding dependencies

Description

  • This is used by the platform to provide context for dependency updates
  • This also cleans up the JSON translation layer for Change and ChangeSet
  • We also now add packageActions, but there are some additional changes required in order to support this properly

@codecov
Copy link

codecov bot commented Oct 24, 2023

Codecov Report

Merging #94 (2e500cf) into main (06a6d9b) will increase coverage by 0.01%.
The diff coverage is 97.72%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #94      +/-   ##
==========================================
+ Coverage   95.70%   95.72%   +0.01%     
==========================================
  Files          48       49       +1     
  Lines        1957     2012      +55     
==========================================
+ Hits         1873     1926      +53     
- Misses         84       86       +2     
Files Coverage Δ
src/codemodder/codemods/api/__init__.py 95.38% <ø> (ø)
src/codemodder/codemods/base_codemod.py 100.00% <100.00%> (ø)
src/codemodder/codemods/imported_call_modifier.py 93.61% <100.00%> (ø)
src/codemodder/context.py 97.18% <100.00%> (+0.30%) ⬆️
src/codemodder/dependency_manager.py 90.56% <100.00%> (+0.77%) ⬆️
src/codemodder/file_context.py 100.00% <100.00%> (ø)
src/core_codemods/django_debug_flag_on.py 100.00% <ø> (ø)
.../core_codemods/django_session_cookie_secure_off.py 98.30% <ø> (ø)
src/core_codemods/order_imports.py 92.85% <ø> (ø)
src/core_codemods/process_creation_sandbox.py 100.00% <100.00%> (ø)
... and 6 more

@drdavella drdavella marked this pull request as ready for review October 24, 2023 16:35
@drdavella drdavella merged commit 6fed1c0 into main Oct 24, 2023
10 of 11 checks passed
@drdavella drdavella deleted the contextual-comments-for-deps branch October 24, 2023 17:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants