Skip to content

Conversation

@Juneezee
Copy link
Contributor

@Juneezee Juneezee commented May 8, 2023

Description

The github.com/ghodss/yaml package is no longer being actively maintained. sigs.k8s.io/yaml is a permanent fork of github.com/ghodss/yaml, which is actively maintained by Kubernetes SIG and widely used in K8s projects.

The notable change is that github.com/ghodss/yaml uses gopkg.in/yaml.v2 v2.2.2, while sigs.k8s.io/yaml uses gopkg.in/yaml.v2 v2.4.0. You can see the changes between the two versions here: v2.2.2...v2.4.0, which mostly consists of bug fixes.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

$ make build
rm -f devtron
wire
Warning: /home/jun/Desktop/github/devtron/internal/util/MergeUtil.go:29:6: using struct literal to inject github.com/devtron-labs/devtron/internal/util.MergeUtil is deprecated and will be removed in the next release; use wire.Struct instead, see https://godoc.org/github.com/google/wire#Struct for more information.
wire: github.com/devtron-labs/devtron: wrote /home/jun/Desktop/github/waiting-for-merge/devtron/wire_gen.go
go test ./pkg/pipeline
ok  	github.com/devtron-labs/devtron/pkg/pipeline	0.051s
echo 'test cases ran successfully'
test cases ran successfully
GOOS=linux go build -o devtron \
		-ldflags="-X 'github.com/devtron-labs/devtron/util.GitCommit=ec9f262' \
		-X 'github.com/devtron-labs/devtron/util.BuildTime=2023-05-08T15:55:10Z' \
		-X 'github.com/devtron-labs/devtron/util.ServerMode=FULL'"

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?


@Juneezee
Copy link
Contributor Author

@kartik-579
Copy link
Member

kartik-579 commented May 10, 2023

@Juneezee thanks for pointing this out. Will review this PR in a while.

@Juneezee
Copy link
Contributor Author

friendly ping @nishant-d @pawan-mehta-dt

@Juneezee
Copy link
Contributor Author

Hi @kartik-579, I just wanted to follow up on the pull request I submitted a while ago. I understand you mentioned that you would review it, and I appreciate your time. If you happen to have some free time now or in the near future, I would be grateful if you could review the PR. Thank you for your attention, and please let me know if there's anything else I can provide or assist with.

@kartik-579
Copy link
Member

kartik-579 commented Jun 19, 2023

Hi @Juneezee, sorry for the delay. I have made one comment, please make the required changes and let me know so that i can check running the application once for sanity checks. Also, building the application after the changes is recommended to avoid such cases.

At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.

`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.

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

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@Juneezee Juneezee requested a review from kartik-579 June 19, 2023 08:02
@kartik-579
Copy link
Member

@Juneezee thanks for the quick changes. The PR looks good to me, will run it through sanity checks and then we can move ahead with the merge. Please allow me some more time.

@kartik-579 kartik-579 merged commit 73f1aa5 into devtron-labs:main Jun 20, 2023
@kartik-579
Copy link
Member

Congratulations and thank you @Juneezee on your first contribution to devtron. Hoping for more contributions from you in the future! Please let me know if you face any issue or need any help.

rish2320 added a commit that referenced this pull request Jun 23, 2023
gireesh-naidu pushed a commit that referenced this pull request Jun 26, 2023
* fix: acd app delete non cascade (#3506)

* acd app delete with non-cascade

* handled DeleteErrorResponse length error

* added go routine

* argo non-casecade delete for helm and devtron app

* fix: api response for cluster connection error

* fix: nil pointer for cluster details

* fix: updated test interface for pipeline

* fix: non-cascade delete condition

* fix: forceDelete and cascadeDelete validation

* fix: delete response for force delete req

* fix: added clusterName to res

* fix: added clusterName to cluster-conn api resp

* fix: updated non-cascade api resp

* fix: updated non-cascade api err return

* fix: updated chart list delete bug

* fix: installed app delete bug

* fix: installed app noncascade delete bug

* fix: helm release force delete

* fix: appstore release force delete

* fix: appstore deployment list response

* fix: bulk delete deployment api condition

* fixed typo and response message

* fix: bulk delete cd pipeline api payload

* fix: logger and conditional chain

* updated wire

* modifed cluster services

* chore: replace `github.com/ghodss/yaml` with `sigs.k8s.io/yaml` (#3355)

At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.

`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.

Signed-off-by: Eng Zer Jun <[email protected]>

---------

Signed-off-by: Eng Zer Jun <[email protected]>
Co-authored-by: Asutosh Das <[email protected]>
Co-authored-by: Eng Zer Jun <[email protected]>
gireesh-naidu pushed a commit that referenced this pull request Jun 26, 2023
* fix: acd app delete non cascade (#3506)

* acd app delete with non-cascade

* handled DeleteErrorResponse length error

* added go routine

* argo non-casecade delete for helm and devtron app

* fix: api response for cluster connection error

* fix: nil pointer for cluster details

* fix: updated test interface for pipeline

* fix: non-cascade delete condition

* fix: forceDelete and cascadeDelete validation

* fix: delete response for force delete req

* fix: added clusterName to res

* fix: added clusterName to cluster-conn api resp

* fix: updated non-cascade api resp

* fix: updated non-cascade api err return

* fix: updated chart list delete bug

* fix: installed app delete bug

* fix: installed app noncascade delete bug

* fix: helm release force delete

* fix: appstore release force delete

* fix: appstore deployment list response

* fix: bulk delete deployment api condition

* fixed typo and response message

* fix: bulk delete cd pipeline api payload

* fix: logger and conditional chain

* updated wire

* modifed cluster services

* chore: replace `github.com/ghodss/yaml` with `sigs.k8s.io/yaml` (#3355)

At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.

`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.

Signed-off-by: Eng Zer Jun <[email protected]>

* release: PR for v0.6.18-rc.2 (#3510)

* Created release-notes files

* Updated release notes

* Updated latest image of hyperion in installer

* Updated latest image of devtron in installer

* Updated latest image of dashboard in installer

* Updated release notes

* Updated latest image of hyperion in installer

* Updated latest image of devtron in installer

* Updated latest image of dashboard in installer

* Updated latest image of dashboard in installer

* Updated latest image of dashboard in installer

* Updated latest image of dashboard in installer

* Updated latest image of dashboard in installer

* Updated release-notes files

* Updated latest image of hyperion in installer

* Updated latest image of devtron in installer

* Updated latest image of ci-runner in installer

* Updated latest image of kubelink in installer

* Updated latest image of dashboard in installer

* Updated latest image of dashboard in installer

* Updated release-notes files

* Updated latest image of devtron in installer

* Updated latest image of hyperion in installer

* Updated latest image of dashboard in installer

* Updated release-notes files

* Updated latest image of dashboard in installer

* Updated release-notes files

* Updated latest image of hyperion in installer

* Updated latest image of devtron in installer

* Updated latest image of hyperion in installer

* Updated latest image of devtron in installer

* Updated latest image of dashboard in installer

* Updated latest image of ci-runner in installer

* Updated latest image of dashboard in installer

* Updated latest image of hyperion in installer

* Updated latest image of devtron in installer

* Updated latest image of hyperion in installer

* Updated latest image of devtron in installer

* Updated latest image of dashboard in installer

* Updated release-notes files

* Update devtron-installer.yaml

* Update installation-script

* Update values.yaml

* Update devtron-bom.yaml

* Update Chart.yaml

* Update devtron-bom.yaml

* Update values.yaml

* Update releasenotes.md

* Updated release-notes files

---------

Co-authored-by: Pawan Mehta <[email protected]>

* task: updated workflow name provision in app workflow api (#3526)

* updated workflow name provision in app workflow api

* review comment

---------

Signed-off-by: Eng Zer Jun <[email protected]>
Co-authored-by: Asutosh Das <[email protected]>
Co-authored-by: Eng Zer Jun <[email protected]>
Co-authored-by: Prakarsh <[email protected]>
Co-authored-by: Pawan Mehta <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants