When I increase the version of the module with with the rake task for example module:bump:minor, a new metadata.json is created.
When this file created, the format is changed into a pretty format.
It would be nice if there is a possibility to maintain the current formatting.
For example.
{
"name": "org-my_module",
"version": "1.1.2",
"author": "Me",
"license": "Apache-2.0",
"summary": "summary",
"source": "https://github.com",
"project_page": "https://github.com",
"issues_url": "https://github.com",
"tags": ["tag1","tag2"],
"operatingsystem_support": [
{ "operatingsystem": "RedHat", "operatingsystemrelease": [ "6", "7" ] },
{ "operatingsystem": "CentOS", "operatingsystemrelease": [ "6", "7" ] }
],
"dependencies": [
{ "name": "puppetlabs/stdlib", "version_requirement": ">=4.25.0 <7.0.0" }
]
}
is not rewritten to
{
"name": "org-my_module",
"version": "1.1.2",
"author": "Me",
"license": "Apache-2.0",
"summary": "summary",
"source": "https://github.com",
"project_page": "https://github.com",
"issues_url": "https://github.com",
"tags": [
"tag1",
"tag2"
],
"operatingsystem_support": [
{
"operatingsystem": "RedHat",
"operatingsystemrelease": [
"6",
"7"
]
},
{
"operatingsystem": "CentOS",
"operatingsystemrelease": [
"6",
"7"
]
}
],
"dependencies": [
{
"name": "puppetlabs/stdlib",
"version_requirement": ">=4.25.0 <7.0.0"
}
]
}
When I increase the version of the module with with the rake task for example module:bump:minor, a new metadata.json is created.
When this file created, the format is changed into a pretty format.
It would be nice if there is a possibility to maintain the current formatting.
For example.
{ "name": "org-my_module", "version": "1.1.2", "author": "Me", "license": "Apache-2.0", "summary": "summary", "source": "https://github.com", "project_page": "https://github.com", "issues_url": "https://github.com", "tags": ["tag1","tag2"], "operatingsystem_support": [ { "operatingsystem": "RedHat", "operatingsystemrelease": [ "6", "7" ] }, { "operatingsystem": "CentOS", "operatingsystemrelease": [ "6", "7" ] } ], "dependencies": [ { "name": "puppetlabs/stdlib", "version_requirement": ">=4.25.0 <7.0.0" } ] }is not rewritten to
{ "name": "org-my_module", "version": "1.1.2", "author": "Me", "license": "Apache-2.0", "summary": "summary", "source": "https://github.com", "project_page": "https://github.com", "issues_url": "https://github.com", "tags": [ "tag1", "tag2" ], "operatingsystem_support": [ { "operatingsystem": "RedHat", "operatingsystemrelease": [ "6", "7" ] }, { "operatingsystem": "CentOS", "operatingsystemrelease": [ "6", "7" ] } ], "dependencies": [ { "name": "puppetlabs/stdlib", "version_requirement": ">=4.25.0 <7.0.0" } ] }