PR https://github.com/docker/docker/pull/17986
inadvertently included changes to some vendored files.
This reverts those changes.
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -1,6 +1,6 @@ |
| 1 |
-# GOTUF |
|
| 1 |
+# GOTUF |
|
| 2 | 2 |
|
| 3 |
-This is still a work in progress but will shortly be a fully compliant |
|
| 3 |
+This is still a work in progress but will shortly be a fully compliant |
|
| 4 | 4 |
Go implementation of [The Update Framework (TUF)](http://theupdateframework.com/). |
| 5 | 5 |
|
| 6 | 6 |
## Where's the CLI |
| ... | ... |
@@ -16,7 +16,7 @@ from Docker should be considered the official CLI to be used with this implement |
| 16 | 16 |
- [ ] Ensure consistent capitalization in naming (TUF\_\_\_ vs Tuf\_\_\_) |
| 17 | 17 |
- [X] Make caching of metadata files smarter - PR #5 |
| 18 | 18 |
- [ ] ~~Add configuration for CLI commands. Order of configuration priority from most to least: flags, config file, defaults~~ Notary should be the official CLI |
| 19 |
-- [X] Reassess organization of data types. Possibly consolidate a few things into the data package but break up package into a few more distinct files |
|
| 19 |
+- [X] Reasses organization of data types. Possibly consolidate a few things into the data package but break up package into a few more distinct files |
|
| 20 | 20 |
- [ ] Comprehensive test cases |
| 21 | 21 |
- [ ] Delete files no longer in use |
| 22 | 22 |
- [ ] Fix up errors. Some have to be instantiated, others don't, the inconsistency is annoying. |
| ... | ... |
@@ -32,5 +32,5 @@ without the code becoming overly convoluted. |
| 32 | 32 |
Some features such as pluggable verifiers have alreayd been merged upstream to flynn/go-tuf |
| 33 | 33 |
and we are in discussion with [titanous](https://github.com/titanous) about working to merge the 2 implementations. |
| 34 | 34 |
|
| 35 |
-This implementation retains the same 3 Clause BSD license present on |
|
| 35 |
+This implementation retains the same 3 Clause BSD license present on |
|
| 36 | 36 |
the original flynn implementation. |
| ... | ... |
@@ -127,8 +127,8 @@ The changes from SWIM are noted here: |
| 127 | 127 |
also will periodically send out dedicated gossip messages on their own. This |
| 128 | 128 |
feature lets you have a higher gossip rate (for example once per 200ms) |
| 129 | 129 |
and a slower failure detection rate (such as once per second), resulting |
| 130 |
- in overall faster convergence rates and data propagation speeds. This feature |
|
| 131 |
- can be totally disabled as well, if you wish. |
|
| 130 |
+ in overall faster convergence rates and data propogation speeds. This feature |
|
| 131 |
+ can be totally disabed as well, if you wish. |
|
| 132 | 132 |
|
| 133 | 133 |
* memberlist stores around the state of dead nodes for a set amount of time, |
| 134 | 134 |
so that when full syncs are requested, the requester also receives information |
| ... | ... |
@@ -18,7 +18,7 @@ which will give the process of the container that should be joined. Namespaces f |
| 18 | 18 |
be found from `/proc/[pid]/ns` and set by `setns` syscall. |
| 19 | 19 |
|
| 20 | 20 |
And then get the pipe number from `_LIBCONTAINER_INITPIPE`, error message could |
| 21 |
-be transferred through it. If tty is added, `_LIBCONTAINER_CONSOLE_PATH` will |
|
| 21 |
+be transfered through it. If tty is added, `_LIBCONTAINER_CONSOLE_PATH` will |
|
| 22 | 22 |
have value and start a console for output. |
| 23 | 23 |
|
| 24 | 24 |
Finally, `nsexec()` will clone a child process , exit the parent process and let |
| ... | ... |
@@ -26,7 +26,7 @@ in the stream, and uses the `io.Seeker` interface if the underlying |
| 26 | 26 |
stream implements it. `(*fwd.Reader).Next` returns a slice pointing |
| 27 | 27 |
to the next `n` bytes in the read buffer (like `Peek`), but also |
| 28 | 28 |
increments the read position. This allows users to process streams |
| 29 |
-in arbitrary block sizes without having to manage appropriately-sized |
|
| 29 |
+in aribtrary block sizes without having to manage appropriately-sized |
|
| 30 | 30 |
slices. Additionally, obviating the need to copy the data from the |
| 31 | 31 |
buffer to another location in memory can improve performance dramatically |
| 32 | 32 |
in CPU-bound applications. |
| ... | ... |
@@ -174,7 +174,7 @@ func (r *Reader) Skip(n int) (int, error) |
| 174 | 174 |
``` |
| 175 | 175 |
Skip moves the reader forward 'n' bytes. |
| 176 | 176 |
Returns the number of bytes skipped and any |
| 177 |
-errors encountered. It is analogous to Seek(n, 1). |
|
| 177 |
+errors encountered. It is analagous to Seek(n, 1). |
|
| 178 | 178 |
If the underlying reader implements io.Seeker, then |
| 179 | 179 |
that method will be used to skip forward. |
| 180 | 180 |
|
| ... | ... |
@@ -68,7 +68,7 @@ Rich Feature Set includes: |
| 68 | 68 |
- Encode/Decode from/to chan types (for iterative streaming support) |
| 69 | 69 |
- Drop-in replacement for encoding/json. `json:` key in struct tag supported. |
| 70 | 70 |
- Provides a RPC Server and Client Codec for net/rpc communication protocol. |
| 71 |
- - Handle unique idiosyncrasies of codecs e.g. |
|
| 71 |
+ - Handle unique idiosynchracies of codecs e.g. |
|
| 72 | 72 |
- For messagepack, configure how ambiguities in handling raw bytes are resolved |
| 73 | 73 |
- For messagepack, provide rpc server/client codec to support |
| 74 | 74 |
msgpack-rpc protocol defined at: |