GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — #64 : Remove -l flag, move all configuration to yaml, a lot of refact… by bmonkman · Pull Request #65 · commitdev/zero

Conversation

@bmonkman

@bmonkman bmonkman commented Nov 1, 2019

Copy link
Copy Markdown
Contributor

…oring
Mostly done, but I feel like the proto stuff might still need some love.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bmonkman
#64 : Remove -l flag, move all configuration to yaml, a lot of refact…
92b5b74
…oring
@bmonkman
bmonkman requested review from Direside, Pritesh-Patel, jb55 and kb-commit November 1, 2019 22:26
Direside
Direside reviewed Nov 1, 2019
View reviewed changes
Comment thread internal/generate/ci/generate_test.go
"github.com/commitdev/commit0/internal/templator"
)

func TestGenerateJenkins(t *testing.T) {

@Direside Direside Nov 1, 2019

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess these cases are covered by the integration tests now anyway, plus the logic inside of the CI generator is much simpler now.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

bmonkman reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
Direside
Direside approved these changes Nov 1, 2019
View reviewed changes

@Direside Direside left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI stuff looks good. I'm glad I wrote those tests to make sure.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Pritesh-Patel
Pritesh-Patel reviewed Nov 5, 2019
View reviewed changes
Comment thread internal/generate/proto/generate.go Outdated

func GenerateProtoServiceLibs(config *config.Commit0Config) {
idlRoot := fmt.Sprintf("%s-idl", config.Name)
func GenerateProtoServiceLibs(service config.Service) {

@Pritesh-Patel Pritesh-Patel Nov 5, 2019

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Before the idl repo produced would be a single repo that contained all the service idls & generated code split by folders, mainly for sharing protos (such as health) and for ease of use - is the intention to change this to multiple repos?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Pritesh-Patel
Pritesh-Patel reviewed Nov 5, 2019
View reviewed changes
Comment thread templates/proto/makefile.tmpl
generate-grpc:
mkdir -p gen/{{ $language }}
protoc ${PROTO_SOURCES} --{{ $language }}_out=plugins=grpc,paths=source_relative:proto ./proto/health/*.proto
{{- range .Services}}

@Pritesh-Patel Pritesh-Patel Nov 5, 2019

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Related to the comment above, if this is removed how are the the service proto generation commands produced?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Pritesh-Patel
Pritesh-Patel reviewed Nov 5, 2019
View reviewed changes
Comment thread templates/proto/makefile.tmpl
generate-http:
mkdir -p gen/go
protoc ${PROTO_SOURCES} --grpc-gateway_out=logtostderr=true,paths=source_relative:proto --swagger_out=logtostderr=true:proto ./proto/health/*.proto
{{- range .Services}}

@Pritesh-Patel Pritesh-Patel Nov 5, 2019

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question for above

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Pritesh-Patel
Pritesh-Patel reviewed Nov 5, 2019
View reviewed changes

@Pritesh-Patel Pritesh-Patel left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few questions about proto servuce generation

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bmonkman
#64 : Some fixes to idl stuff, added colors and some emoji
89918ad
@bmonkman
bmonkman marked this pull request as ready for review November 5, 2019 22:34
@bmonkman
bmonkman merged commit 367da9b into master Nov 5, 2019
@bmonkman
bmonkman deleted the move-all-config-to-yaml branch November 5, 2019 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jb55 jb55 Awaiting requested review from jb55
@kb-commit kb-commit Awaiting requested review from kb-commit
2 more reviewers
@Pritesh-Patel Pritesh-Patel Pritesh-Patel left review comments
@Direside Direside Direside approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@bmonkman @Direside @Pritesh-Patel
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.