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

Add multi file support to Json/Toml/csv resource #899

Merged
merged 13 commits into from
Oct 4, 2022

Conversation

olblak
Copy link
Member

@olblak olblak commented Sep 30, 2022

  • Add multi file support to Json/Toml/Csv resource
  • Refactor Json resource to create an intermediate package named Dasel which could be reused for the csv and toml resource
    • github.com/updatecli/updatecli/pkg/plugins/utils/dasel"

Test

To test this pull request, you can run the following commands:

cp <to_package_directory>
go test

Additional Information

Tradeoff

Potential improvement

Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
@olblak olblak added enhancement New feature or request resource-json labels Sep 30, 2022
@olblak olblak marked this pull request as draft September 30, 2022 19:30
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Refactor toml to use dasel package

Signed-off-by: Olblak <me@olblak.com>
@olblak olblak changed the title Add multi file support to Json resource Add multi file support to Json/Toml resource Sep 30, 2022
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Refactor csv resource to use custom dasel package

Signed-off-by: Olblak <me@olblak.com>
@olblak olblak marked this pull request as ready for review October 3, 2022 07:35
@olblak olblak changed the title Add multi file support to Json/Toml resource Add multi file support to Json/Toml/csv resource Oct 3, 2022
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
Signed-off-by: Olblak <me@olblak.com>
@olblak olblak merged commit 7f70e4c into updatecli:main Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant