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

openconfig / ygot
91%
master: 89%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/google.golang.org/grpc-1.78.0
DEFAULT BRANCH: master
Repo Added 19 Aug 2017 03:47AM UTC
Files 84
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 v0.7.3
branch: v0.7.3
CHANGE BRANCH
x
Reset
  • v0.7.3
  • 0.6.0
  • 0.7.0
  • MergeDupAnno
  • SetNodeOpt
  • ValueStr
  • annotation-fields-0
  • apb_bug
  • awly_dev
  • build-empty-skip-populated
  • build-fix
  • builderany
  • choice-case-panic
  • compressed_annotate
  • coverage_update
  • debug-185
  • del-old-proto
  • demo-import-names
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/github_actions/actions/upload-artifact-5
  • dependabot/github_actions/actions/upload-artifact-6
  • dependabot/github_actions/arduino/setup-protoc-3
  • dependabot/go_modules/github.com/golang/glog-1.2.4
  • dependabot/go_modules/github.com/google/go-cmp-0.7.0
  • dependabot/go_modules/github.com/openconfig/gnmi-0.13.0
  • dependabot/go_modules/github.com/openconfig/gnmi-0.14.0
  • dependabot/go_modules/github.com/openconfig/gnmi-0.14.1
  • dependabot/go_modules/github.com/openconfig/goyang-1.6.2
  • dependabot/go_modules/github.com/openconfig/gribi-1.9.0
  • dependabot/go_modules/github.com/spf13/cobra-1.10.2
  • dependabot/go_modules/github.com/spf13/cobra-1.9.1
  • dependabot/go_modules/golang.org/x/net-0.33.0
  • dependabot/go_modules/golang.org/x/net-0.36.0
  • dependabot/go_modules/golang.org/x/net-0.38.0
  • dependabot/go_modules/google.golang.org/grpc-1.68.1
  • dependabot/go_modules/google.golang.org/grpc-1.69.0
  • dependabot/go_modules/google.golang.org/grpc-1.69.2
  • dependabot/go_modules/google.golang.org/grpc-1.69.4
  • dependabot/go_modules/google.golang.org/grpc-1.70.0
  • dependabot/go_modules/google.golang.org/grpc-1.71.0
  • dependabot/go_modules/google.golang.org/grpc-1.71.1
  • dependabot/go_modules/google.golang.org/grpc-1.77.0
  • dependabot/go_modules/google.golang.org/grpc-1.78.0
  • dependabot/go_modules/google.golang.org/protobuf-1.36.0
  • dependabot/go_modules/google.golang.org/protobuf-1.36.1
  • dependabot/go_modules/google.golang.org/protobuf-1.36.10
  • dependabot/go_modules/google.golang.org/protobuf-1.36.11
  • dependabot/go_modules/google.golang.org/protobuf-1.36.2
  • dependabot/go_modules/google.golang.org/protobuf-1.36.3
  • dependabot/go_modules/google.golang.org/protobuf-1.36.4
  • dependabot/go_modules/google.golang.org/protobuf-1.36.5
  • dependabot/go_modules/google.golang.org/protobuf-1.36.6
  • dependabot/go_modules/google.golang.org/protobuf-1.36.7
  • dependabot/go_modules/google.golang.org/protobuf-1.36.8
  • diff-enum
  • diff-enum-2
  • diff-enum-3
  • diff-merges
  • diff-opt
  • diffll
  • dplore/updatemod
  • emitjson-novalidate
  • emitjson-threadsafe
  • enum-bug
  • enum-dedup
  • enum-dedup-flag
  • enum-moduledef
  • enum-name
  • enum-notstable
  • enum_debug
  • enumkey
  • enumpkgname
  • errorf-fix
  • etv-nil
  • exclude-state
  • exclude_state_compressed_list
  • experimental-yangproto
  • fake-api
  • field-getters
  • file-split
  • fix-go-master
  • fix-protopkg
  • fix_bug_of_losing_encap_header_details
  • fix_prunebranches
  • generated-notice
  • generic_protos
  • genutil-coverage
  • get-or-create
  • getnode
  • ghaci
  • go-1.8.x
  • go11
  • godep_update
  • goyang_prefix
  • goyangflg
  • identity-special-chars
  • keyvaluetypecheck
  • leafget
  • leafref_perf
  • leafref_validation
  • less-verbose-errors
  • lint-fix
  • lintfix
  • list-key-mismatch
  • listkey_137
  • listtest
  • log-optional
  • mapvalinsert
  • marshal-annotations
  • master
  • merge-fix
  • mergeoptions
  • modelver
  • node
  • nonptropt
  • npe-pathstrings
  • ostromart_cleanup
  • ostromart_coverage
  • ostromart_coverage_ytypes
  • ostromart_dedup
  • ostromart_dev
  • ostromart_govet
  • ostromart_leafref
  • ostromart_lint
  • ostromart_tests
  • ostromart_union_tests
  • ostromart_validate
  • patch-1
  • pathelem
  • pathschemavalidity
  • pathtranslator-wildcard
  • proto-enum
  • proto-sort-by-type
  • protoannotation
  • protobuf-fakeroot
  • protobuf-fix
  • protobuf_fixes
  • protobuf_getting_started
  • protobuf_single_package
  • protobuf_union_leafref_enum
  • protocplugin-1
  • protopkgname
  • protoyang
  • prune-empty
  • pull-request-demo
  • readme-badge
  • remove-deepequal
  • rename-overwrite
  • renderperf2
  • renovate/deps
  • renovate/major-deps
  • renovate/major-github-artifact-actions
  • retrieve-node-track
  • revert-218-protocplugin-1
  • robjs-353
  • robjs-annotations
  • robjs-build-empty-merge-issue
  • robjs-coverage-adjust
  • robjs-coveralls
  • robjs-devel
  • robjs-empty-type
  • robjs-empty-validate
  • robjs-enumtypemap
  • robjs-enumtypemap-access
  • robjs-experimental-tree
  • robjs-fixtests
  • robjs-gnmi-pathelem
  • robjs-json-merge
  • robjs-json-paths
  • robjs-jsonenum-serialisation
  • robjs-leafrefbug
  • robjs-map-merge
  • robjs-mergetwostructs
  • robjs-nil-key
  • robjs-path-restructure
  • robjs-proto-annotation
  • robjs-proto-enum-annotate-gen
  • robjs-proto-enum-naming
  • robjs-proto-namespace
  • robjs-proto-number
  • robjs-proto-unionfix
  • robjs-proto-yangspec
  • robjs-protogen-12
  • robjs-rename-list-entry
  • robjs-structmerge
  • robjs-structmerge-maps
  • robjs-telemetry-eg
  • robjs-testcoverage
  • robjs-unmarshal-protobuf
  • robjs_buildsystem
  • robjs_generated_proto_code
  • robjs_pathstrings
  • robjs_protogen_caller
  • safe-append
  • schema-type
  • schemapath
  • set_leafref
  • set_path_origin
  • stringtotype
  • struct-literal-fix
  • struct-util
  • structdiff
  • structdiff-1
  • structdiff-2
  • structmerge-union
  • testupdate
  • testutil
  • testutil-opt
  • testutil-sub
  • union-key-um
  • unmarshal-annotations
  • unmarshal-empty
  • unmarshal-gnmi
  • unmarshal-ignore-extra
  • unmarshalpanic
  • unzip-schema
  • v0.5.0
  • v0.6.0
  • v0.7.0
  • v0.7.1
  • v0.7.2
  • validate_err
  • validationopts
  • wenbli-PathElemDirectComp
  • wenbli-clean
  • wenbli-dev
  • wenbli-dev-add1.12
  • wenbli-dev-exportAllMappedTypeFields
  • wenbli-dev-fixOldTypo
  • wenbli-dev-remove1.9
  • wenbli-dev-ypathgen
  • wenbli-dev2
  • wenbli-dev3
  • wenbli-leafrefValTreeImpl
  • wenbli-refactor
  • wenbli-refactor2
  • wenbli-ypathgen-childctor
  • ypathgen-dev
  • ywrapper_proto

23 Apr 2020 07:14PM UTC coverage: 90.933%. First build
1900

push

travis-ci-com

web-flow
Fix enum key string bugs during ytypes.Validate and JSON unmarshalling. (#375)

* Fix enum key string bugs during ytypes.Validate and JSON unmarshalling.

- Changed json.Unmarshal to fmt.Sprint for consistent enum-key
presentation during schema validation (ytypes.Validate).
- Force an error during JSON marshalling if an unset or otherwise
out-of-range enum value is encountered as an enum key of a list.

The first bug was a latent issue exposed by the recent addition of a
String() method for GoEnum.

15 of 15 new or added lines in 2 files covered. (100.0%)

9658 of 10621 relevant lines covered (90.93%)

566.83 hits per line

Relevant lines Covered
Build:
Build:
10621 RELEVANT LINES 9658 COVERED LINES
566.83 HITS PER LINE
Source Files on v0.7.3
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
1900 v0.7.3 Fix enum key string bugs during ytypes.Validate and JSON unmarshalling. (#375) * Fix enum key string bugs during ytypes.Validate and JSON unmarshalling. - Changed json.Unmarshal to fmt.Sprint for consistent enum-key presentation during schema... push 23 Apr 2020 07:26PM UTC web-flow travis-ci-com
90.93
See All Builds (5054)
  • 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

© 2026 Coveralls, Inc