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 remove as inline SCM action for added resources #4768

Merged
merged 1 commit into from
Oct 5, 2023
Merged

Conversation

mattseddon
Copy link
Contributor

@mattseddon mattseddon commented Oct 4, 2023

2/2 main <- #4769 <- this

Based on feedback provided in a customer call.

We did already have the move command wired up in the DVC Tracked tree but it not only removed the file/folder but deleted it as well.

I have removed the part of the action that deleted the file after removing it from DVC and added the action inline to the SCM tree for "added" resources.

Demo

Screen.Recording.2023-10-05.at.8.06.11.am.mov
Screen.Recording.2023-10-05.at.8.10.17.am.mov

cc @dberenbaum

@mattseddon mattseddon added the product PR that affects product label Oct 4, 2023
@mattseddon mattseddon self-assigned this Oct 4, 2023
@mattseddon mattseddon marked this pull request as ready for review October 4, 2023 21:17
@mattseddon mattseddon changed the base branch from main to remove-unused October 4, 2023 21:53
Copy link
Contributor

@julieg18 julieg18 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

Base automatically changed from remove-unused to main October 5, 2023 19:19
@mattseddon mattseddon enabled auto-merge (squash) October 5, 2023 19:22
@mattseddon mattseddon disabled auto-merge October 5, 2023 19:22
@mattseddon mattseddon enabled auto-merge (squash) October 5, 2023 19:22
@codeclimate
Copy link

codeclimate bot commented Oct 5, 2023

Code Climate has analyzed commit a3f98ea and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (85% is the threshold).

This pull request will bring the total coverage in the repository to 95.1%.

View more on Code Climate.

@mattseddon mattseddon merged commit 410b081 into main Oct 5, 2023
@mattseddon mattseddon deleted the fix-dvc-remove branch October 5, 2023 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
product PR that affects product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants