magic-chunks | use tool to config transformations | YAML Processing library
kandi X-RAY | magic-chunks Summary
kandi X-RAY | magic-chunks Summary
Easy to use tool to config transformations for JSON, XML and YAML. Everyone remember XML Document Transform syntax to transform configuration files during the build process. But world is changing and now you can have different config types in your .NET projects. Magic Chunks allows you to transform you JSON, XML and YAML files. You can run it at MSBuild, Cake, PSake or Powershell script as well as use Visual Studio Team Services build extension. Also, it's possible to reference Magic Chunks from your .NET projects in more complicated cases.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of magic-chunks
magic-chunks Key Features
magic-chunks Examples and Code Snippets
Community Discussions
Trending Discussions on magic-chunks
QUESTION
I am using VSTS for CI/CD process in my project.
As of now, we have few config files in project with *.deployment.config
extension. We are using XDT Transform
task in build definition which applies transform to all files having extension *.deployment.config
.
Similarly, I am looking for a task to transform my json files. I want to keep *.deployment.json
files and want them to be transformed into .json
file on build.
I also got one task, mentioned below. But this will transform only one file at a time. Hence, we will have to create multiple tasks for multiple json files.
https://marketplace.visualstudio.com/items?itemName=sergeyzwezdin.magic-chunks
Could anyone please suggest a better way?
...ANSWER
Answered 2018-May-24 at 05:16No built-in tasks/extensions can transform multiple json files, there is a related extension: File Patch Build and Release Tasks.
On the other hand, you can build a custom task through VSTS extension: Add a build or release task
QUESTION
I'm aware that you can use web.config transformations as part of the build for app.config files, but in my case, I'm trying to do this for a little scheduled task that gets deployed to an on-premise server for multiple environments.
I'd rather not have to create multiple build configurations given the only change is the app.config, so I'm trying to use the Magic Chunks extension, but due to the size of the changes I want to make, I'm having to use a json file (rather than using inline json).
When I look at the release logs, the Magic Chunks step is failing with:
...ANSWER
Answered 2018-Jan-11 at 10:51This appears to be an issue with version 2.x of the Magic Chunks Task. Until that is resolved, changing the release to use version 1.x of the task allows to complete
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install magic-chunks
MSBuild
Cake
Powershell
PSake
VSTS extension
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page