Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spec: adhere to "one sentence per line" formatting #16

Merged
merged 1 commit into from
Jun 19, 2018

Conversation

jzelinskie
Copy link
Member

@jzelinskie jzelinskie commented May 25, 2018

Fixes #4.

Thank god for sed and vim macros.

spec.md Outdated
```
digest := algorithm ":" hex
algorithm := /[A-Fa-f0-9_+.-]+/
algorithm := /[A-Fa-f0-9_+.
-]+/
Copy link
Member

Choose a reason for hiding this comment

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

unintended new line

spec.md Outdated
All layer uploads use two steps to manage the upload process.
The first step starts the upload in the registry service, returning a url to carry out the second step.
The second step uses the upload url to transfer the actual data.
Uploads are started with a POST request which returns a url that can be usedto push data and check upload status.
Copy link
Member

Choose a reason for hiding this comment

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

usedto -> used to

spec.md Outdated
@@ -933,48 +807,40 @@ Link: <<url>?n=<n from the request>&last=<last repository in response>>; rel="ne
{
"repositories": [
<name>,
...
.
Copy link
Member

Choose a reason for hiding this comment

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

unintended new lines

spec.md Outdated

###### On Failure: Authentication Required

```
401 Unauthorized
WWW-Authenticate: <scheme> realm="<realm>", ..."
WWW-Authenticate: <scheme> realm="<realm>", ...
"
Copy link
Member

Choose a reason for hiding this comment

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

unintended new line

spec.md Outdated
@@ -3672,28 +3188,24 @@ Content-Type: application/json; charset=utf-8
"detail": ...
},
...
]
]
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this fomatting change is correct

spec.md Outdated
The upload is unknown to the registry. The upload must be restarted.


The upload is unknown to the registry.The upload must be restarted.
Copy link
Member

Choose a reason for hiding this comment

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

Should have a new line here

@dmcgowan
Copy link
Member

dmcgowan commented Jun 7, 2018

Thanks for doing this, just a couple formatting corrections! Make sure to sign commit

@jzelinskie
Copy link
Member Author

Thanks for the review and catching my mistakes!

@dmcgowan
Copy link
Member

Update looks good, can you please sign the commit

@jzelinskie
Copy link
Member Author

Oh! Did you mean git -s because I did git -S, haha! I figured a GPG Signature is better, but sure thing. I can do both.

Fixes opencontainers#4.

Signed-off-by: Jimmy Zelinskie <jimmy.zelinskie+git@gmail.com>
@dmcgowan
Copy link
Member

dmcgowan commented Jun 11, 2018

LGTM

Approved with PullApprove

1 similar comment
@vbatts
Copy link
Member

vbatts commented Jun 19, 2018

LGTM

Approved with PullApprove

@vbatts vbatts merged commit b65c07b into opencontainers:master Jun 19, 2018
@jzelinskie jzelinskie deleted the format branch June 19, 2018 21:44
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.

3 participants