Skip to content

first iteration of the wrapper script#2

Merged
samwar merged 1 commit intomasterfrom
wrapper-script
Feb 26, 2021
Merged

first iteration of the wrapper script#2
samwar merged 1 commit intomasterfrom
wrapper-script

Conversation

@zzantozz
Copy link
Copy Markdown
Contributor

The wrapper script is described in the readme. It's how users and
Jenkins will interact with the toolkit. It has to handle every command
that this project will support. This shows rudimentary install
behavior as well as how the get command works. Other commands are
passed through to the internal script. Most of the install logic will
also live in the internal script. That script is more complex and left
for another PR.

@zzantozz zzantozz force-pushed the wrapper-script branch 3 times, most recently from 90cf176 to 6730811 Compare February 25, 2021 22:18
samwar
samwar previously approved these changes Feb 26, 2021
Copy link
Copy Markdown
Member

@samwar samwar left a comment

Choose a reason for hiding this comment

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

A few minor things in the documentation, but overall it LGTM.

Comment thread rax-docs Outdated
#!/bin/bash -e

## This is a script to build docs projects started from the Docs Starter Kit.
## This is just a brief shim that relies on the full repository's being installed in a project
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.

I'm thinking this is supposed to be plural (or maybe even singular), not possessive.

Suggested change
## This is just a brief shim that relies on the full repository's being installed in a project
## This is just a brief shim that relies on the full repository(ises?) being installed in a project

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.

Not sure what you're getting at here... Are you suggesting it should be plural? I don't think so. This is the possessive gerund thing. "Being" is a gerund noun, so "repository's" is a possessive adjective.

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.

Lol. All I caught was the suggestion. I totally missed the line before it. Still, see gerund noun.

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.

That just can't be right. What about

Suggested change
## This is just a brief shim that relies on the full repository's being installed in a project
## This is just a brief shim that relies on the full repository installation in a project

Comment thread rax-docs Outdated
## - This wrapper script should be as foolproof as possible because it's intended to be
## distributed into all the docs projects, and finding and updating all the copies of it
## will be difficult. This is exactly the problem that this independent toolkit is trying to
## solve for all the docs projects out there.
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.

Suggested change
## solve for all the docs projects out there.
## solve for all of the docs projects out there.

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.

Do you find that in the style guide somewhere? I think this is correct either way.

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.

It probably is just a style difference.

The wrapper script is described in the readme. It's how users and
Jenkins will interact with the toolkit. It has to handle every command
that this project will support. This shows rudimentary install
behavior as well as how the get command works. Other commands are
passed through to the internal script. Most of the install logic will
also live in the internal script. That script is more complex and left
for another PR.
@samwar samwar merged commit 9bb1d3a into master Feb 26, 2021
@zzantozz zzantozz deleted the wrapper-script branch February 26, 2021 22:20
@zzantozz zzantozz added the feature New feature or request label Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants