Skip to content

Fix capitalization of generated flags#638

Merged
knative-prow-robot merged 2 commits intoknative:masterfrom
dsimansk:issue-636
Feb 8, 2020
Merged

Fix capitalization of generated flags#638
knative-prow-robot merged 2 commits intoknative:masterfrom
dsimansk:issue-636

Conversation

@dsimansk
Copy link
Copy Markdown
Contributor

@dsimansk dsimansk commented Feb 5, 2020

Fixes #636

Proposed Changes

  • When generating negative flag, change first character of original usage desc to lower case

@googlebot googlebot added the cla: yes Indicates the PR's author has signed the CLA. label Feb 5, 2020
Copy link
Copy Markdown
Contributor

@knative-prow-robot knative-prow-robot left a comment

Choose a reason for hiding this comment

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

@dsimansk: 0 warnings.

Details

In response to this:

Fixes #636

Proposed Changes

  • When generating negative flag, change first character of original usage desc to lower case

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@knative-prow-robot knative-prow-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Feb 5, 2020
@dsimansk
Copy link
Copy Markdown
Contributor Author

dsimansk commented Feb 6, 2020

/retest

Copy link
Copy Markdown
Contributor

@maximilien maximilien left a comment

Choose a reason for hiding this comment

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

Thanks for the contribution :)

/lgtm

@knative-prow-robot knative-prow-robot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Feb 6, 2020
Copy link
Copy Markdown
Contributor

@rhuss rhuss left a comment

Choose a reason for hiding this comment

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

cool, thx !

/lgtm

@knative-prow-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dsimansk, maximilien, rhuss

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rhuss
Copy link
Copy Markdown
Contributor

rhuss commented Feb 7, 2020

Failed to successfully execute 'kn service create hello --image gcr.io/knative-samples/helloworld-go -n kne2etests6': Execution error: stderr: 'RevisionMissing: Revision "hello-pvkvk-1" referenced in traffic not found.
' error: 'exit status 1'FAIL	knative.dev/client/test/e2e	31.400s
FAIL

Same error as in #640 , we should fix that flake somehow.

@rhuss
Copy link
Copy Markdown
Contributor

rhuss commented Feb 7, 2020

/retest

2 similar comments
@dsimansk
Copy link
Copy Markdown
Contributor Author

dsimansk commented Feb 7, 2020

/retest

@rhuss
Copy link
Copy Markdown
Contributor

rhuss commented Feb 7, 2020

/retest

@rhuss
Copy link
Copy Markdown
Contributor

rhuss commented Feb 7, 2020

Again:

Failed to successfully execute 'kn service create hello --image gcr.io/knative-samples/helloworld-go -n kne2etests4': Execution error: stderr: 'RevisionMissing: Revision "hello-hrwhj-1" referenced in traffic not found.
' error: 'exit status 1'FAIL	knative.dev/client/test/e2e	38.095s
FAIL

I think has todo with BYO revision name feature (as the name here is clearly one that we generate on the client side.) From my feeling it looks like that the route is created before the revision has been established.

@rhuss
Copy link
Copy Markdown
Contributor

rhuss commented Feb 8, 2020

Flake should be fixed now with #644

/retest

@knative-prow-robot knative-prow-robot removed the lgtm Indicates that a PR is ready to be merged. label Feb 8, 2020
@rhuss
Copy link
Copy Markdown
Contributor

rhuss commented Feb 8, 2020

/lgtm

@knative-prow-robot knative-prow-robot added the lgtm Indicates that a PR is ready to be merged. label Feb 8, 2020
@knative-metrics-robot
Copy link
Copy Markdown

The following is the coverage report on the affected files.
Say /test pull-knative-client-go-coverage to re-run this coverage report

File Old Coverage New Coverage Delta
pkg/kn/flags/bool.go 87.2% 87.8% 0.6

@rhuss
Copy link
Copy Markdown
Contributor

rhuss commented Feb 8, 2020

/retest

@knative-prow-robot knative-prow-robot merged commit 50ae82b into knative:master Feb 8, 2020
dsimansk pushed a commit to dsimansk/client that referenced this pull request Apr 17, 2025
This PR contains the following updates:

| Package | Change |
|---|---|
| quay.io/konflux-ci/tekton-catalog/task-apply-tags | `61c90b1` ->
`4973fa4` |
| quay.io/konflux-ci/tekton-catalog/task-build-image-index | `95be274`
-> `4d5ab47` |
| quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta |
`1d26a89` -> `57a4a8b` |
| quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta | `9709088` ->
`88367f7` |
| quay.io/konflux-ci/tekton-catalog/task-init | `737682d` -> `38660e6` |
| quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta |
`55a4ff2` -> `6ad0ae8` |
| quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan | `7b80f5a`
-> `998b546` |
| quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta | `9fe82c9`
-> `f0e6c6f` |

---

### Configuration

📅 **Schedule**: Branch creation - "after 5am on saturday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

To execute skipped test pipelines write comment `/ok-to-test`.

This PR has been generated by
[MintMaker](https://redirect.github.com/konflux-ci/mintmaker) (powered
by [Renovate Bot](https://redirect.github.com/renovatebot/renovate)).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNTguMC1ycG0iLCJ1cGRhdGVkSW5WZXIiOiIzOS4xNTguMC1ycG0iLCJ0YXJnZXRCcmFuY2giOiJyZWxlYXNlLXYxLjE3IiwibGFiZWxzIjpbXX0=-->

Signed-off-by: red-hat-konflux-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux-kflux-prd-rh02[bot] <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
dsimansk pushed a commit to dsimansk/client that referenced this pull request Apr 17, 2025
This PR contains the following updates:

| Package | Change |
|---|---|
| quay.io/konflux-ci/tekton-catalog/task-apply-tags | `61c90b1` ->
`4973fa4` |
| quay.io/konflux-ci/tekton-catalog/task-build-image-index | `95be274`
-> `4d5ab47` |
| quay.io/konflux-ci/tekton-catalog/task-buildah-remote-oci-ta |
`1d26a89` -> `57a4a8b` |
| quay.io/konflux-ci/tekton-catalog/task-git-clone-oci-ta | `9709088` ->
`88367f7` |
| quay.io/konflux-ci/tekton-catalog/task-init | `737682d` -> `38660e6` |
| quay.io/konflux-ci/tekton-catalog/task-push-dockerfile-oci-ta |
`55a4ff2` -> `6ad0ae8` |
| quay.io/konflux-ci/tekton-catalog/task-rpms-signature-scan | `7b80f5a`
-> `998b546` |
| quay.io/konflux-ci/tekton-catalog/task-source-build-oci-ta | `9fe82c9`
-> `f0e6c6f` |

---

### Configuration

📅 **Schedule**: Branch creation - "after 5am on saturday" (UTC),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the
rebase/retry checkbox.

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config
help](https://redirect.github.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

To execute skipped test pipelines write comment `/ok-to-test`.

This PR has been generated by
[MintMaker](https://redirect.github.com/konflux-ci/mintmaker) (powered
by [Renovate Bot](https://redirect.github.com/renovatebot/renovate)).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xNTguMC1ycG0iLCJ1cGRhdGVkSW5WZXIiOiIzOS4xNTguMC1ycG0iLCJ0YXJnZXRCcmFuY2giOiJyZWxlYXNlLXYxLjE3IiwibGFiZWxzIjpbXX0=-->

Signed-off-by: red-hat-konflux-kflux-prd-rh02 <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
Co-authored-by: red-hat-konflux-kflux-prd-rh02[bot] <190377777+red-hat-konflux-kflux-prd-rh02[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cla: yes Indicates the PR's author has signed the CLA. lgtm Indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

generated negative flag --no-xxx description are not well capitalized

6 participants