From owner-svn-ports-head@freebsd.org Sat Nov 30 01:55:42 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 9EDB61C48AA; Sat, 30 Nov 2019 01:55:42 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Pvbf3grrz4Y0Y; Sat, 30 Nov 2019 01:55:42 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6193E1F2CA; Sat, 30 Nov 2019 01:55:42 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xAU1tghj007146; Sat, 30 Nov 2019 01:55:42 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xAU1tfHG007143; Sat, 30 Nov 2019 01:55:41 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201911300155.xAU1tfHG007143@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 30 Nov 2019 01:55:41 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r518689 - in head/net: . grpcui X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/net: . grpcui X-SVN-Commit-Revision: 518689 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 30 Nov 2019 01:55:42 -0000 Author: yuri Date: Sat Nov 30 01:55:41 2019 New Revision: 518689 URL: https://svnweb.freebsd.org/changeset/ports/518689 Log: New port: net/grpcui: Interactive web UI for gRPC, along the lines of postman Added: head/net/grpcui/ head/net/grpcui/Makefile (contents, props changed) head/net/grpcui/distinfo (contents, props changed) head/net/grpcui/pkg-descr (contents, props changed) Modified: head/net/Makefile Modified: head/net/Makefile ============================================================================== --- head/net/Makefile Sat Nov 30 01:42:01 2019 (r518688) +++ head/net/Makefile Sat Nov 30 01:55:41 2019 (r518689) @@ -211,6 +211,7 @@ SUBDIR += grilo SUBDIR += grilo-plugins SUBDIR += grive2 + SUBDIR += grpcui SUBDIR += grpcurl SUBDIR += grsync SUBDIR += gsk Added: head/net/grpcui/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/grpcui/Makefile Sat Nov 30 01:55:41 2019 (r518689) @@ -0,0 +1,33 @@ +# $FreeBSD$ + +PORTNAME= grpcui +DISTVERSIONPREFIX= v +DISTVERSION= 0.2.1-1 +DISTVERSIONSUFFIX= -g7e72ced +CATEGORIES= net www + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Interactive web UI for gRPC, along the lines of postman + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= go:modules +USE_GITHUB= yes +GH_ACCOUNT= fullstorydev +GH_SUBDIR= src/github.com/fullstorydev/grpcui +GH_TUPLE= \ + fullstorydev:grpcurl:v1.3.2:fullstorydev_grpcurl/vendor/github.com/fullstorydev/grpcurl \ + golang:net:f3200d17e092:golang_net/vendor/golang.org/x/net \ + golang:protobuf:v1.3.1:golang_protobuf/vendor/github.com/golang/protobuf \ + golang:sys:d0b11bdaac8a:golang_sys/vendor/golang.org/x/sys \ + golang:text:v0.3.0:golang_text/vendor/golang.org/x/text \ + google:go-genproto:c66870c02cf8:google_go_genproto/vendor/google.golang.org/genproto \ + grpc:grpc-go:v1.21.0:grpc_grpc_go/vendor/google.golang.org/grpc \ + jhump:protoreflect:v1.5.0:jhump_protoreflect/vendor/github.com/jhump/protoreflect + +GO_TARGET= ./cmd/${PORTNAME} + +PLIST_FILES= bin/${PORTNAME} + +.include Added: head/net/grpcui/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/grpcui/distinfo Sat Nov 30 01:55:41 2019 (r518689) @@ -0,0 +1,19 @@ +TIMESTAMP = 1575078520 +SHA256 (fullstorydev-grpcui-v0.2.1-1-g7e72ced_GH0.tar.gz) = 0c74f8ee13f6d256d9d496020f53823edf00d80805e9c2cd3cb797a9baeadfdc +SIZE (fullstorydev-grpcui-v0.2.1-1-g7e72ced_GH0.tar.gz) = 3259612 +SHA256 (fullstorydev-grpcurl-v1.3.2_GH0.tar.gz) = 3b0b9efc187d86658d241642325fa0dbc3e408ec33ff375d6bd4adf373fa1a9a +SIZE (fullstorydev-grpcurl-v1.3.2_GH0.tar.gz) = 93326 +SHA256 (golang-net-f3200d17e092_GH0.tar.gz) = 5b7f3441206d18e92393ccfda8f9033d6c4500aeb31d45de1bbe2f0bccad0aed +SIZE (golang-net-f3200d17e092_GH0.tar.gz) = 1096621 +SHA256 (golang-protobuf-v1.3.1_GH0.tar.gz) = 3f3a6123054a9847093c119895f1660612f301fe95358f3a6a1a33fd0933e6cf +SIZE (golang-protobuf-v1.3.1_GH0.tar.gz) = 310884 +SHA256 (golang-sys-d0b11bdaac8a_GH0.tar.gz) = e7e3f36dd307e908e59dbda3864ff74f9a5d7f0fdd4d88af630e092beb7d270c +SIZE (golang-sys-d0b11bdaac8a_GH0.tar.gz) = 1243049 +SHA256 (golang-text-v0.3.0_GH0.tar.gz) = 8f4c9a048345befc7beccd09267737ee1f55c7b35e5ff80f344ec9e0aa90febb +SIZE (golang-text-v0.3.0_GH0.tar.gz) = 6102619 +SHA256 (google-go-genproto-c66870c02cf8_GH0.tar.gz) = 156e7cd1f95947c3f3293e18baa7af04e0da58eeeb3475f15bcc308ff491f31a +SIZE (google-go-genproto-c66870c02cf8_GH0.tar.gz) = 2191164 +SHA256 (grpc-grpc-go-v1.21.0_GH0.tar.gz) = 2c695d1cd4690c80c006116934ba98f2b41dd1d34dbee35c4f094e38db6d5e82 +SIZE (grpc-grpc-go-v1.21.0_GH0.tar.gz) = 731305 +SHA256 (jhump-protoreflect-v1.5.0_GH0.tar.gz) = 7d434465ca33bf0750f2516867c6d3960136d7b999dde1d3af6a24d50cf821af +SIZE (jhump-protoreflect-v1.5.0_GH0.tar.gz) = 498102 Added: head/net/grpcui/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/net/grpcui/pkg-descr Sat Nov 30 01:55:41 2019 (r518689) @@ -0,0 +1,17 @@ +grpcui is a command-line tool that lets you interact with gRPC servers via a +browser. It's like Postman, but for gRPC APIs instead of REST. + +In some ways, this is like an extension to grpcurl. Whereas grpcurl is a +command-line interface, grpcui provides a web/browser-based GUI. This lets you +interactively construct requests to send to a gRPC server. + +With this tool you can also browse the schema for gRPC services, which is +presented as a list of available endpoints. This is enabled either by querying a +server that supports server reflection, by reading proto source files, or by +loading in compiled "protoset" files (files that contain encoded file descriptor +protos). In fact, the way the tool transforms JSON request data into a binary +encoded protobuf is using that very same schema. So, if the server you interact +with does not support reflection, you will either need the proto source files +that define the service or need protoset files that grpcui can use. + +WWW: https://github.com/fullstorydev/grpcui