Skip to content

bootkube: use long flags for consistency - #2130

Merged
openshift-merge-robot merged 1 commit into
openshift:masterfrom
stbenjam:cp-consistent
Jul 31, 2019
Merged

openshift-merge-robot merged 1 commit into
openshift:masterfrom
stbenjam:cp-consistent

Conversation

@stbenjam

Copy link
Copy Markdown
Contributor

bootkube.sh largely uses long form flags for shell commands, this fixes
the remaining ones that do not.

bootkube.sh largely uses long form flags for shell commands, this fixes
the remaining ones that do not.
@stbenjam

Copy link
Copy Markdown
Contributor Author

/assign @abhinavdahiya

@openshift-ci-robot openshift-ci-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Jul 31, 2019
@abhinavdahiya

Copy link
Copy Markdown
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 31, 2019
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: abhinavdahiya, stbenjam

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

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 31, 2019
@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@stbenjam

Copy link
Copy Markdown
Contributor Author

/test e2e-openstack

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

2 similar comments
@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-bot

Copy link
Copy Markdown
Contributor

/retest

Please review the full test history for this PR and help us cut down flakes.

@openshift-merge-robot
openshift-merge-robot merged commit d0f7654 into openshift:master Jul 31, 2019
@openshift-ci-robot

Copy link
Copy Markdown
Contributor

@stbenjam: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
ci/prow/e2e-aws-scaleup-rhel7 fcdc2fb link /test e2e-aws-scaleup-rhel7

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Details

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. I understand the commands that are listed here.

echo "Rendering Cluster Version Operator Manifests..."

rm -rf cvo-bootstrap
rm --recursive --force cvo-bootstrap

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Nit: POSIX rm (and most other POSIX commands) only requires the short forms. Probably doesn't matter, since the particular rm implementation we use has non-POSIX long-forms that are unlikely to change, but it does make this script a bit less portable.

@stbenjam stbenjam Jul 31, 2019 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The script already wasn’t portable because there’s other examples in here of using long flags. For example, mkdir.

Having a sysadmin background I find the whole use of these long flags on Unix commands less readable and not quickly understood (I didn’t even know -p stood for “parents”), but this was some feedback on another PR and at least the script is consistent I guess.

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. 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.

6 participants