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

Generating a diff json #971

Closed
EmilioCarrelon99 opened this issue Dec 31, 2024 · 7 comments
Closed

Generating a diff json #971

EmilioCarrelon99 opened this issue Dec 31, 2024 · 7 comments
Assignees
Labels
enhancement New feature or request

Comments

@EmilioCarrelon99
Copy link

EmilioCarrelon99 commented Dec 31, 2024

Is your proposal related to a problem?

Yes for our current process we need to generate this diff


Describe a solution you propose

Generate a diff like this one, where we can identify all the components
--- {
"action": "Deploy",
"metadataType": "Profile",
"componentName": " ",
"message": "",
"path": "package/force-app/main/default/profiles/.profile-meta.xml"
},

Describe alternatives you've considered


I tried with --generate-delta but it doesnt work for this

Additional context


@EmilioCarrelon99 EmilioCarrelon99 added the enhancement New feature or request label Dec 31, 2024
@scolladon
Copy link
Owner

Hi @EmilioCarrelon99!

Thanks for proposing this feature and thanks for contributing in making this project better!

Could you tell me more about how it will be used please ? By whom ? And what problem it solved ?

@scolladon scolladon changed the title [FEATURE NAME]Generating a diff json Generating a diff json Jan 7, 2025
@EmilioCarrelon99
Copy link
Author

EmilioCarrelon99 commented Jan 13, 2025

We will use it with a plugin to get the tests related into the org.

@scolladon
Copy link
Owner

Does those feature can solve your problems ?

@EmilioCarrelon99
Copy link
Author

Not sure, why it doesnt work for me
screenshot github
You have any example in a yaml?

@scolladon
Copy link
Owner

You have any example in a yaml?

Why do you want a yaml @EmilioCarrelon99 ?
It takes a package.xml

What did you try ?

@scolladon
Copy link
Owner

Just to follow up here
Do you managed to get what you need using jq and xq @EmilioCarrelon99 ?

@scolladon
Copy link
Owner

scolladon commented Jan 28, 2025

Closing this issue as I do not have enough information to help closing it.
Feel free to reopen it with more information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants