• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

softprops / shiplift
9%

Build:
DEFAULT BRANCH: master
Repo Added 05 Jan 2016 12:52AM UTC
Files 8
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH master
branch: SELECT
CHANGE BRANCH
x
  • No branch selected
  • 0.3.0
  • 0.3.1
  • master
  • tarpaulin-codecov-test

pending completion
933

push

travis-ci

softprops
Async api (#128)

* Refactored Transport for better async use

Still a bit rough, but it now builds a big future using combinators. It
still does one `Runtime::block_on()` to keep the existing API, but this
is a first up before making the whole API async.

* Migrate most APIs to be Future-based

I still need to finish a few of the more tricky ones that I've commented
out for now, but most of it compiles and some examples work. In
particular, `Docker::stats()` now properly returns an async stream of
stats.

* Fix events and containerinspect examples

* Fix imageinspect, images, info and top examples

* Fix containercreate, imagedelete and imagepull examples

* Fix more examples

* Add back debug statement in Transport::request

* De-glob imports in examples

* Remove unused imports in examples

* Fix NetworkCreateOptions serialization

* Add back error message extraction in Transport

* Fix Container::create serialization of options

* Add containerdelete example

* Simplify result

* Fix some error handling to remove unwrap()

* Fix Image::export()

* Fix imagebuild example

* Add adapter from Stream of Chunks to AsyncRead

Having an `AsyncRead` is required to be able to use the `FramedRead` and
`Decoder` stuff from tokio_codec. This code is "borrowed" from
https:/github.com/ferristseng/rust-ipfs-api though should probably be
moved to its own crate or to tokio_codec.

* Fix Container::logs()

It now properly demuxes stdout/stderr, and returns a `Stream<Item =
TtyLine>`.

* Fix Container::export()

* Use LineCodec for streaming JSON

Although in my limited testing it seemed to work fine, there is no
guarantee that 1 chunk == 1 piece of valid JSON. However, each JSON
structure seems to be serialized on one line, so use LineCodec to turn
the body into a stream of lines, then deserialize over this.

* Fix serialization of ExecContainerOptions

* Fix Container::exec() (kind of...)

* Simpl... (continued)

214 of 214 new or added lines in 6 files covered. (100.0%)

82 of 922 relevant lines covered (8.89%)

0.1 hits per line

Relevant lines Covered
Build:
Build:
922 RELEVANT LINES 82 COVERED LINES
0.1 HITS PER LINE
Source Files on master
  • List 0
  • Changed 6
  • Source Changed 6
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
933 master Async api (#128) * Refactored Transport for better async use Still a bit rough, but it now builds a big future using combinators. It still does one `Runtime::block_on()` to keep the existing API, but this is a first up before making the whol... push 14 Nov 2018 09:59AM UTC softprops travis-ci pending completion  
931 master Disable Hyper's http protocol enforcement. (#129) There are some situations where the Docker daemon will expose a HTTP server and will expect connections through a TCP connection rather than via a unix socket. For example, this is the case with... push 14 Nov 2018 05:53AM UTC softprops travis-ci pending completion  
924 master serde can't read a Vec<Value> from a stream (#126) Fixes #123. push 17 Oct 2018 04:27PM UTC softprops travis-ci pending completion  
923 master update changelog push 17 Oct 2018 04:22PM UTC softprops travis-ci pending completion  
922 master [OK] Expose port (#127) * Added the 'expose' function to ContainerOptionBuilder impl. (Closes #73, Replaces #74) * Forgot the , nevermind :ok_hand: push 17 Oct 2018 04:17PM UTC softprops travis-ci pending completion  
915 master remove pub builder constructors (#125) push 14 Oct 2018 01:36AM UTC web-flow travis-ci pending completion  
913 master Merge branch 'master' of github.com:softprops/shiplift push 13 Oct 2018 11:46PM UTC softprops travis-ci pending completion  
912 master Fixed error causing bad json to be sent to Docker API. (#124) push 13 Oct 2018 09:30PM UTC softprops travis-ci pending completion  
909 master <a href="https://github.com/softprops/shiplift/commit/9aca748b0">update codecov tooling (#116) * update codecov tooling * remove link-dead-code flag * test coverage in pr * sudo true to address cov permissi... push 11 Oct 2018 04:30AM UTC web-flow travis-ci pending completion  
907 tarpaulin-codecov sudo true to address cov permission issue Pull #116 10 Oct 2018 07:33PM UTC web-flow travis-ci pending completion  
See All Builds (661)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc