Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Template merge functionality #505

Merged
merged 8 commits into from
Sep 23, 2021
Merged

feat: Template merge functionality #505

merged 8 commits into from
Sep 23, 2021

Conversation

rahulguptajss
Copy link
Contributor

No description provided.

@cla-bot cla-bot bot added the cla-signed label Sep 15, 2021
@rahulguptajss rahulguptajss linked an issue Sep 15, 2021 that may be closed by this pull request
@rahulguptajss
Copy link
Contributor Author

cmd/tools/doctor/doctor.go Outdated Show resolved Hide resolved
cmd/tools/doctor/doctor.go Outdated Show resolved Hide resolved
cmd/tools/doctor/doctor.go Outdated Show resolved Hide resolved
cmd/tools/doctor/doctor.go Outdated Show resolved Hide resolved
cmd/tools/doctor/doctor.go Outdated Show resolved Hide resolved
cmd/tools/doctor/doctor.go Outdated Show resolved Hide resolved
pkg/util/util.go Outdated Show resolved Hide resolved
pkg/tree/node/node.go Outdated Show resolved Hide resolved
pkg/tree/node/node.go Outdated Show resolved Hide resolved
pkg/test/node_test.go Show resolved Hide resolved
@rahulguptajss
Copy link
Contributor Author

addressed review comments

@rahulguptajss rahulguptajss force-pushed the rg2-merge-template-0809 branch from 9797905 to 0841711 Compare September 21, 2021 11:51
@rahulguptajss rahulguptajss force-pushed the rg2-merge-template-0809 branch from 0841711 to c58def5 Compare September 21, 2021 11:55
Copy link
Collaborator

@cgrinds cgrinds left a comment

Choose a reason for hiding this comment

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

love to see all the tests. Nice job!

pkg/test/node_test.go Outdated Show resolved Hide resolved
pkg/test/node_test.go Outdated Show resolved Hide resolved
pkg/test/node_test.go Outdated Show resolved Hide resolved
pkg/tree/node/node.go Show resolved Hide resolved
func fetchRoot(source *Node) *Node {
if source != nil && source.GetParent() != nil && source.GetParent().GetNameS() == "Root" {
return source
func (n *Node) fetchRoot() *Node {
Copy link
Collaborator

Choose a reason for hiding this comment

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

dead code now?

pkg/tree/node/node.go Show resolved Hide resolved
pkg/tree/node/node.go Outdated Show resolved Hide resolved
@rahulguptajss
Copy link
Contributor Author

addressed review comments.

Copy link
Collaborator

@cgrinds cgrinds left a comment

Choose a reason for hiding this comment

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

thanks @rahulguptajss 95% tests, 5% code \o/

@cgrinds
Copy link
Collaborator

cgrinds commented Sep 23, 2021

docs need to be consolidated and updated to reflect this change and how to use it:

  • how do i extend the default templates
  • how do i replace one of the default templates

@cgrinds cgrinds merged commit 28e1680 into main Sep 23, 2021
@cgrinds cgrinds deleted the rg2-merge-template-0809 branch September 23, 2021 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Template merge functionality
3 participants