diff --git a/GOVERNANCE.md b/GOVERNANCE.md index d301c05fa..8bd9b51b8 100644 --- a/GOVERNANCE.md +++ b/GOVERNANCE.md @@ -1,6 +1,6 @@ # Project Governance -This document defines governance policies for the the projects under the Devfile organization. +This document defines governance policies for the projects under the Devfile organization. - [Project Governance](#project-governance) - [Maintainers](#maintainers) @@ -70,7 +70,7 @@ members. ## Code of Conduct -[Code of Conduct](./code-of-conduct.md) +[Code of Conduct](./CODE_OF_CONDUCT.md) violations by community members will be discussed and resolved on the [private Maintainer mailing list](https://lists.cncf.io/g/cncf-devfile-maintainers). If the reported CoC violator is a Maintainer, the Maintainers will instead designate two Maintainers to work diff --git a/docs/proposals/versioning-and-release.md b/docs/proposals/versioning-and-release.md index 24f668b21..c59027055 100644 --- a/docs/proposals/versioning-and-release.md +++ b/docs/proposals/versioning-and-release.md @@ -86,8 +86,8 @@ The following steps outline the steps done to release a new version of the Devfi An example pull request, `make-release.sh` script and GitHub action can be found here: - [Release Pull Request](https://github.com/devfile/api/pull/958) -- [make-release.sh](./make-release.sh) -- [release-schema.yaml](./.github/workflows/release-devfile-schema.yaml) +- [make-release.sh](../../make-release.sh) +- [release-schema.yaml](../../.github/workflows/release-devfile-schema.yaml) **Schema Store** diff --git a/generator/genutils/json_schema_edit.go b/generator/genutils/json_schema_edit.go index b5abb8e84..e6d66791d 100644 --- a/generator/genutils/json_schema_edit.go +++ b/generator/genutils/json_schema_edit.go @@ -80,7 +80,7 @@ func AddUnionOneOfConstraints(jsonSchema *apiext.JSONSchemaProps, unionDiscrimin unionMemberProperty := strcase.ToLowerCamel(fieldName) if _, foundUnionMember := schema.Properties[unionMemberProperty]; !foundUnionMember { // The discriminator enum contains values that do not correspond to any enum field. - // So so just skip the oneOf creation here since this union definition seems invalid. + // So just skip the oneOf creation here since this union definition seems invalid. continue discriminatorLoop } for _, toSkip := range fieldsToSkip { diff --git a/generator/genutils/kube_like_versions.go b/generator/genutils/kube_like_versions.go index f1e672f0d..f5e9fbd4f 100644 --- a/generator/genutils/kube_like_versions.go +++ b/generator/genutils/kube_like_versions.go @@ -40,7 +40,7 @@ func SortKubeLikeVersion(versions []string) { sort.Sort(sortByKubeLikeVersion(versions)) } -// LatestKubeLikeVersion retrieves the latest version from the the provided versions, according to "kube-like" versioning order. +// LatestKubeLikeVersion retrieves the latest version from the provided versions, according to "kube-like" versioning order. // "Kube-like" versions start with a "v", then are followed by a number (the major version), // then optionally the string "alpha" or "beta" and another number (the minor version). These are sorted first // by GA > beta > alpha (where GA is a version with no suffix such as beta or alpha), and then by comparing diff --git a/pkg/utils/overriding/keys.go b/pkg/utils/overriding/keys.go index b30feb5a6..6a848e136 100644 --- a/pkg/utils/overriding/keys.go +++ b/pkg/utils/overriding/keys.go @@ -32,7 +32,7 @@ type checkFn func(elementType string, keysSets []sets.String) []error // contained in the `toplevelListContainers` passed in argument. // // For each type of top-level list, the `keysSets` argument that will be passed to the `doCheck` function -// contains the the key sets that correspond to the `toplevelListContainers` passed to this method, +// contains the key sets that correspond to the `toplevelListContainers` passed to this method, // in the same order. func checkKeys(doCheck checkFn, toplevelListContainers ...dw.TopLevelListContainer) error { var errors *multierror.Error diff --git a/test/v200/utils/common/parent_command_test_utils.go b/test/v200/utils/common/parent_command_test_utils.go index 8f0f61037..a4b70938f 100644 --- a/test/v200/utils/common/parent_command_test_utils.go +++ b/test/v200/utils/common/parent_command_test_utils.go @@ -28,7 +28,7 @@ func (testDevFile *TestDevfile) parentCommandAdded(command schema.CommandParentO testDevFile.SchemaDevFile.Parent.Commands = append(testDevFile.SchemaDevFile.Parent.Commands, command) } -// addParentEnv creates and returns a specifed number of env attributes in a schema structure +// addParentEnv creates and returns a specified number of env attributes in a schema structure func addParentEnv(numEnv int) []schema.EnvVarParentOverride { commandEnvs := make([]schema.EnvVarParentOverride, numEnv) for i := 0; i < numEnv; i++ {