-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fix generate_new_metadata in tidy_backup_clean.rb needs to preserve metadata.json. #107
Open
Vasu1105
wants to merge
4
commits into
chef:main
Choose a base branch
from
MsysTechnologiesllc:vasundhara/MSYS_1129_Preserve_metadata_json_in_knife_tidy_backup_clean
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vasu1105
changed the title
Fix generate_new_metadata in tidy_backup_clean.rb needs to preserve metadata.json.
[WIP] Fix generate_new_metadata in tidy_backup_clean.rb needs to preserve metadata.json.
Oct 11, 2019
Vasu1105
changed the title
[WIP] Fix generate_new_metadata in tidy_backup_clean.rb needs to preserve metadata.json.
Fix generate_new_metadata in tidy_backup_clean.rb needs to preserve metadata.json.
Dec 31, 2019
@lamont-granquist could you please review this PR. Most of this comments #105 (comment) are incorporated here. |
Vasu1105
force-pushed
the
vasundhara/MSYS_1129_Preserve_metadata_json_in_knife_tidy_backup_clean
branch
from
May 20, 2020 12:34
28e80c7
to
5cf0c2b
Compare
@Vasu1105 Can you rebase this please? |
….rb needs to preserve metadata.json. It skips the new generation of files if both metadata.json and metadata.rb exist It creates minimal data if both metadata.json or metadata.rb does not exist It creates metadata.json if only metadata.rb exist as knife cookbook metadata does. No metadata.rb is generated if only metadata.json exist only fields of the existing metadata.json gets fixed if there any repair to file require which as per old logic. Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
…well when both does not exist Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
Signed-off-by: Vasu1105 <vasundhara.jagdale@msystechnologies.com>
Vasu1105
force-pushed
the
vasundhara/MSYS_1129_Preserve_metadata_json_in_knife_tidy_backup_clean
branch
from
June 12, 2020 03:47
da5acb7
to
fe0ce2f
Compare
@PrajaktaPurohit this could also use review |
@lamont-granquist since you reported this issue do you wanna review this? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Signed-off-by: Vasu1105 vasundhara.jagdale@msystechnologies.com
Description
It skips the new generation of files if both metadata.json and metadata.rb exist
It raises error if both metadata.json or metadata.rb does not exist
It creates metadata.json if only metadata.rb exist as knife cookbook metadata does.
Issues Resolved
Fixes #105
Check List