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

tarantool / tarantool / 12319
83%
master: 88%

Build:
Build:
LAST BUILD BRANCH: release/3.2
DEFAULT BRANCH: master
Ran 31 May 2018 11:57AM UTC
Jobs 1
Files 301
Run time 42s
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

pending completion
12319

push

travis-ci

kostja
yaml: introduce yaml.decode tag_only option

Yaml.decode tag_only option allows to decode a single tag of a
YAML document. For #2677 it is needed to detect different push
types in text console: print pushes via console.print, and actual
pushes via box.session.push.

To distinguish them YAML tags will be used. A client console for
each message will try to find a tag. If a tag is absent, then the
message is a simple response to a request.

If a tag is !print!, then the document consists of a single
string, that must be printed. Such a document must be decoded to
get the printed string. So the calls sequence is
yaml.decode(tag_only) + yaml.decode. The reason why a print
message must be decoded is that a print() result on a server side
can be not well-formatted YAML, and must be encoded into it to be
correctly sent. For example, when I do on a server side something
like this:

console.print('very bad YAML string')

The result of a print() is not a YAML document, and to be sent it
must be encoded into YAML on a server side.

If a tag is !push!, then the document is sent via
box.session.push, and must not be decoded. It can be just printed
or ignored or something.

Needed for #2677

39016 of 47744 relevant lines covered (81.72%)

914697.27 hits per line

Jobs
ID Job ID Ran Files Coverage
3 12319.3 (TARGET=coverage) 31 May 2018 11:57AM UTC 0
81.72
Travis Job 12319.3
Source Files on build 12319
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #12319
  • 567769d0 on github
  • Prev Build on 1.10 (#12317)
  • Next Build on 1.10 (#12322)
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

© 2026 Coveralls, Inc