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

[FEATURE] cleanup command that finds unused components and interactively deletes them #2037

Open
JoernBerkefeld opened this issue Jan 31, 2025 · 0 comments
Labels
enhancement New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story" NEW not yet analyzed new issues get this label
Milestone

Comments

@JoernBerkefeld
Copy link
Contributor

A new command that would use already set up dependencies between types to identify items that are no longer in use and the offers to delete them.

First, the user should be asked to re-retrieve everything.

I am imagining a multi-select list similar to selectTypes at the end of parsing all files in the local project folder, followed by the question if those should really be deleted.

The only known problems so far:

  • dataExtensions that are used to load data from in SQL, ampscript or SSJS would currently not be recognized
  • journeys don't state they have transactionalEmail as dependency. The link only exists in the code the other way round.
  • content blocks in emails link back to their original key which can be irrelevant and in fact I've seen that those original blocks are sometimes outdated.
@JoernBerkefeld JoernBerkefeld added enhancement New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story" NEW not yet analyzed new issues get this label labels Jan 31, 2025
@JoernBerkefeld JoernBerkefeld added this to the Minor 1 milestone Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request; requires increasing the minor version of mcdev. Jira issue-type "Story" NEW not yet analyzed new issues get this label
Projects
None yet
Development

No branches or pull requests

1 participant