Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

ECS: replace github.com/sanathkr/go-yaml with gopkg.in/yaml.v3 #2228

Closed
wants to merge 1 commit into from
Closed

ECS: replace github.com/sanathkr/go-yaml with gopkg.in/yaml.v3 #2228

wants to merge 1 commit into from

Conversation

Juneezee
Copy link

@Juneezee Juneezee commented Feb 11, 2023

What I did

Currently we are using two YAML libraries:

  1. github.com/sanathkr/go-yaml v0.0.0-20170819195128-ed9d249f429b
  2. gopkg.in/yaml.v3 v3.0.1

This PR replaces github.com/sanathkr/go-yaml with gopkg.in/yaml.v3 for ECS. Doing this require updating the AWS CloudFormation package from v4.15.6 to v7.3.2.

The github.com/sanathkr/go-yaml was a fork and it was last updated in 2017. This library was added in #544, and github.com/awslabs/goformation was also using the same library at that time. In AWS CloudFormation v7.2.0, they switched their YAML library to gopkg.in/yaml.v3 (awslabs/goformation#535).

/test-ecs

(not mandatory) A picture of a cute animal, if possible in relation with what you did

image

@github-actions github-actions bot added the ecs label Feb 11, 2023
@Juneezee
Copy link
Author

Hi @milas , would you be kind enough to review this PR when you are free? Thanks ❤️

@Juneezee
Copy link
Author

Juneezee commented May 2, 2023

Hello @milas @StefanScherer @glours @ulyssessouza @nicksieger . I apologize for the explicit mention, but I wanted to follow up on this pull request I created some time ago.

I would be grateful if you could take some time to review the changes and provide me with your feedback. If there are any specific concerns or questions you have about the changes, I am more than willing to help address them.

Thank you for your time and consideration. I truly appreciate it. ❤️

Copy link

@thyarles thyarles left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A lot of change, wow. ☕ Just made a comment to get notified about this PR. Thanks!

The `github.com/sanathkr/go-yaml` was a fork and it was last updated in
2017. In AWS CloudFormation v7.2.0, they switched their YAML library to
`gopkg.in/yaml.v3` [1].

[1]: awslabs/goformation#535

Signed-off-by: Eng Zer Jun <[email protected]>
@Juneezee
Copy link
Author

This PR doesn't get any attention and this repository is retiring in November 2023.

@Juneezee Juneezee closed this Sep 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants