[kudu-CR] docs: update guidance for binding functions

2019-01-02 Thread Andrew Wong (Code Review)
Andrew Wong has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/12146 )

Change subject: docs: update guidance for binding functions
..

docs: update guidance for binding functions

Tweaked the docs to call out equivalent STL functions and their
relationship with std::shared_ptr.

A rendered version can be found here:
https://github.com/andrwng/kudu/blob/docs_cbs/docs/contributing.adoc#function-binding-and-callbacks

Change-Id: I326931a096b7184d403aea116248cffcde5c9775
Reviewed-on: http://gerrit.cloudera.org:8080/12146
Tested-by: Kudu Jenkins
Reviewed-by: Alexey Serbin 
---
M docs/contributing.adoc
1 file changed, 21 insertions(+), 9 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Alexey Serbin: Looks good to me, approved

--
To view, visit http://gerrit.cloudera.org:8080/12146
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I326931a096b7184d403aea116248cffcde5c9775
Gerrit-Change-Number: 12146
Gerrit-PatchSet: 3
Gerrit-Owner: Andrew Wong 
Gerrit-Reviewer: Adar Dembo 
Gerrit-Reviewer: Alexey Serbin 
Gerrit-Reviewer: Andrew Wong 
Gerrit-Reviewer: Kudu Jenkins (120)


[kudu-CR] docs: update guidance for binding functions

2019-01-02 Thread Alexey Serbin (Code Review)
Alexey Serbin has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12146 )

Change subject: docs: update guidance for binding functions
..


Patch Set 2: Code-Review+2


--
To view, visit http://gerrit.cloudera.org:8080/12146
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I326931a096b7184d403aea116248cffcde5c9775
Gerrit-Change-Number: 12146
Gerrit-PatchSet: 2
Gerrit-Owner: Andrew Wong 
Gerrit-Reviewer: Adar Dembo 
Gerrit-Reviewer: Alexey Serbin 
Gerrit-Reviewer: Andrew Wong 
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 03 Jan 2019 01:06:38 +
Gerrit-HasComments: No


[kudu-CR] docs: update guidance for binding functions

2019-01-02 Thread Andrew Wong (Code Review)
Andrew Wong has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12146 )

Change subject: docs: update guidance for binding functions
..


Patch Set 2:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/12146/1/docs/contributing.adoc
File docs/contributing.adoc:

http://gerrit.cloudera.org:8080/#/c/12146/1/docs/contributing.adoc@301
PS1, Line 301: `std::bind` and `std:
> nit: `std::bind` and `std::function`, otherwise it's a bit confusing becaus
Done


http://gerrit.cloudera.org:8080/#/c/12146/1/docs/contributing.adoc@306
PS1, Line 306: placeholders,
> placeholders ?
Done


http://gerrit.cloudera.org:8080/#/c/12146/1/docs/contributing.adoc@312
PS1, Line 312: he `Callback` goes out of
> nit: the counterpart about std::function has the name of the class with gra
Done



--
To view, visit http://gerrit.cloudera.org:8080/12146
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I326931a096b7184d403aea116248cffcde5c9775
Gerrit-Change-Number: 12146
Gerrit-PatchSet: 2
Gerrit-Owner: Andrew Wong 
Gerrit-Reviewer: Adar Dembo 
Gerrit-Reviewer: Alexey Serbin 
Gerrit-Reviewer: Andrew Wong 
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 03 Jan 2019 00:44:31 +
Gerrit-HasComments: Yes


[kudu-CR] docs: update guidance for binding functions

2019-01-02 Thread Andrew Wong (Code Review)
Hello Alexey Serbin, Kudu Jenkins, Adar Dembo,

I'd like you to reexamine a change. Please visit

http://gerrit.cloudera.org:8080/12146

to look at the new patch set (#2).

Change subject: docs: update guidance for binding functions
..

docs: update guidance for binding functions

Tweaked the docs to call out equivalent STL functions and their
relationship with std::shared_ptr.

A rendered version can be found here:
https://github.com/andrwng/kudu/blob/docs_cbs/docs/contributing.adoc#function-binding-and-callbacks

Change-Id: I326931a096b7184d403aea116248cffcde5c9775
---
M docs/contributing.adoc
1 file changed, 21 insertions(+), 9 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/46/12146/2
--
To view, visit http://gerrit.cloudera.org:8080/12146
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I326931a096b7184d403aea116248cffcde5c9775
Gerrit-Change-Number: 12146
Gerrit-PatchSet: 2
Gerrit-Owner: Andrew Wong 
Gerrit-Reviewer: Adar Dembo 
Gerrit-Reviewer: Alexey Serbin 
Gerrit-Reviewer: Andrew Wong 
Gerrit-Reviewer: Kudu Jenkins (120)


[kudu-CR] docs: update guidance for binding functions

2019-01-02 Thread Alexey Serbin (Code Review)
Alexey Serbin has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12146 )

Change subject: docs: update guidance for binding functions
..


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/12146/1/docs/contributing.adoc
File docs/contributing.adoc:

http://gerrit.cloudera.org:8080/#/c/12146/1/docs/contributing.adoc@312
PS1, Line 312: Callback goes out of scope
nit: the counterpart about std::function has the name of the class with grave 
accents, maybe add them here as well.



--
To view, visit http://gerrit.cloudera.org:8080/12146
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I326931a096b7184d403aea116248cffcde5c9775
Gerrit-Change-Number: 12146
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Wong 
Gerrit-Reviewer: Adar Dembo 
Gerrit-Reviewer: Alexey Serbin 
Gerrit-Reviewer: Andrew Wong 
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 03 Jan 2019 00:32:51 +
Gerrit-HasComments: Yes


[kudu-CR] docs: update guidance for binding functions

2019-01-02 Thread Alexey Serbin (Code Review)
Alexey Serbin has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12146 )

Change subject: docs: update guidance for binding functions
..


Patch Set 1:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/12146/1/docs/contributing.adoc
File docs/contributing.adoc:

http://gerrit.cloudera.org:8080/#/c/12146/1/docs/contributing.adoc@301
PS1, Line 301: `bind` and `function`
nit: `std::bind` and `std::function`, otherwise it's a bit confusing because of 
the prior discussion of boost::bind and boost::function in the paragraph above.


http://gerrit.cloudera.org:8080/#/c/12146/1/docs/contributing.adoc@306
PS1, Line 306: place holders
placeholders ?



--
To view, visit http://gerrit.cloudera.org:8080/12146
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I326931a096b7184d403aea116248cffcde5c9775
Gerrit-Change-Number: 12146
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Wong 
Gerrit-Reviewer: Adar Dembo 
Gerrit-Reviewer: Alexey Serbin 
Gerrit-Reviewer: Andrew Wong 
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 03 Jan 2019 00:27:37 +
Gerrit-HasComments: Yes


[kudu-CR] docs: update guidance for binding functions

2019-01-02 Thread Adar Dembo (Code Review)
Adar Dembo has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/12146 )

Change subject: docs: update guidance for binding functions
..


Patch Set 1: Code-Review+2


--
To view, visit http://gerrit.cloudera.org:8080/12146
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I326931a096b7184d403aea116248cffcde5c9775
Gerrit-Change-Number: 12146
Gerrit-PatchSet: 1
Gerrit-Owner: Andrew Wong 
Gerrit-Reviewer: Adar Dembo 
Gerrit-Reviewer: Alexey Serbin 
Gerrit-Reviewer: Andrew Wong 
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Thu, 03 Jan 2019 00:23:07 +
Gerrit-HasComments: No