You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@mesos.apache.org by Alexander Rojas <al...@mesosphere.io> on 2015/06/16 14:43:30 UTC

Review Request 35508: Improve readability in post-review

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35508/
-----------------------------------------------------------

Review request for mesos, Ben Mahler and Vinod Kone.


Repository: mesos


Description
-------

Section titles now append to the section they lead instead of the one above, i.e.:

```
Running 'rbt post' across all of ...
711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review (46 seconds ago)

Creating diff of:
711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review

... with parent diff created from:
b5eea1750953671fcd25963e5c5660ff40ca27f1 - Added stream manipulators for the Time object. (2 minutes ago)
Press enter to continue or 'Ctrl-C' to skip.
```

instead of:

```
Running 'rbt post' across all of ...
711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review (46 seconds ago)
Creating diff of:

711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review
... with parent diff created from:

b5eea1750953671fcd25963e5c5660ff40ca27f1 - Added stream manipulators for the Time object. (2 minutes ago)
Press enter to continue or 'Ctrl-C' to skip.
```


Diffs
-----

  support/post-reviews.py ba016f5a12f438e4748ded48d5c0b96facf173cf 

Diff: https://reviews.apache.org/r/35508/diff/


Testing
-------


Thanks,

Alexander Rojas


Re: Review Request 35508: Improve readability in post-review

Posted by Ben Mahler <be...@gmail.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35508/#review88101
-----------------------------------------------------------

Ship it!


It looks like this was probably the original intent (doesn't look like the author realized that 'print' already adds a newline). Looks clearer to me having tried this out locally.

Unless more folks object I'll get this committed for you.

- Ben Mahler


On June 16, 2015, 4:58 p.m., Alexander Rojas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35508/
> -----------------------------------------------------------
> 
> (Updated June 16, 2015, 4:58 p.m.)
> 
> 
> Review request for mesos, Ben Mahler and Vinod Kone.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Section titles now append to the section they lead instead of the one above, i.e. currently it prints the output like this:
> 
> ```
> Running 'rbt post' across all of ...
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review (46 seconds ago)
> Creating diff of:
> 
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review
> ... with parent diff created from:
> 
> b5eea1750953671fcd25963e5c5660ff40ca27f1 - Added stream manipulators for the Time object. (2 minutes ago)
> Press enter to continue or 'Ctrl-C' to skip.
> ```
> 
> Note how the string *Creating diff of:* is the next line after the previous section, but it has one line separation to the following; the same holds for the string *... with parent diff created from*. The proposed change will produce the output:
> 
> ```
> Running 'rbt post' across all of ...
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review (46 seconds ago)
> 
> Creating diff of:
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review
> 
> ... with parent diff created from:
> b5eea1750953671fcd25963e5c5660ff40ca27f1 - Added stream manipulators for the Time object. (2 minutes ago)
> Press enter to continue or 'Ctrl-C' to skip.
> ```
> 
> Where sections are consistent with their contents.
> 
> 
> Diffs
> -----
> 
>   support/post-reviews.py ba016f5a12f438e4748ded48d5c0b96facf173cf 
> 
> Diff: https://reviews.apache.org/r/35508/diff/
> 
> 
> Testing
> -------
> 
> manual testing.
> 
> 
> Thanks,
> 
> Alexander Rojas
> 
>


Re: Review Request 35508: Improve readability in post-review

Posted by Alexander Rojas <al...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35508/
-----------------------------------------------------------

(Updated June 16, 2015, 6:58 p.m.)


Review request for mesos, Ben Mahler and Vinod Kone.


Changes
-------

Update description.


Repository: mesos


Description (updated)
-------

Section titles now append to the section they lead instead of the one above, i.e. currently it prints the output like this:

```
Running 'rbt post' across all of ...
711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review (46 seconds ago)
Creating diff of:

711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review
... with parent diff created from:

b5eea1750953671fcd25963e5c5660ff40ca27f1 - Added stream manipulators for the Time object. (2 minutes ago)
Press enter to continue or 'Ctrl-C' to skip.
```

Note how the string *Creating diff of:* is the next line after the previous section, but it has one line separation to the following; the same holds for the string *... with parent diff created from*. The proposed change will produce the output:

```
Running 'rbt post' across all of ...
711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review (46 seconds ago)

Creating diff of:
711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review

... with parent diff created from:
b5eea1750953671fcd25963e5c5660ff40ca27f1 - Added stream manipulators for the Time object. (2 minutes ago)
Press enter to continue or 'Ctrl-C' to skip.
```

Where sections are consistent with their contents.


Diffs
-----

  support/post-reviews.py ba016f5a12f438e4748ded48d5c0b96facf173cf 

Diff: https://reviews.apache.org/r/35508/diff/


Testing (updated)
-------

manual testing.


Thanks,

Alexander Rojas


Re: Review Request 35508: Improve readability in post-review

Posted by Marco Massenzio <ma...@mesosphere.io>.

> On June 16, 2015, 4:40 p.m., Marco Massenzio wrote:
> > Beauty being in the eye of the beholder, I'm not entirely sure that I like the new version better (that is: assuming that the "new and improved" version is the bottom one?).
> > 
> > Can you please make the description clearer by stating: `will be` v. `is now`?
> > Thanks!
> 
> Alexander Rojas wrote:
>     So you never get confused? Why would the title `Creating diff of:` should be in the line right after the previous git log and have a space to the commit you are actually creating the diff for?

Thanks!
I got confused by the comment :)
Hadn't realized the new version was the one I DID want!

great stuff!


- Marco


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35508/#review88082
-----------------------------------------------------------


On June 16, 2015, 4:58 p.m., Alexander Rojas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35508/
> -----------------------------------------------------------
> 
> (Updated June 16, 2015, 4:58 p.m.)
> 
> 
> Review request for mesos, Ben Mahler and Vinod Kone.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Section titles now append to the section they lead instead of the one above, i.e. currently it prints the output like this:
> 
> ```
> Running 'rbt post' across all of ...
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review (46 seconds ago)
> Creating diff of:
> 
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review
> ... with parent diff created from:
> 
> b5eea1750953671fcd25963e5c5660ff40ca27f1 - Added stream manipulators for the Time object. (2 minutes ago)
> Press enter to continue or 'Ctrl-C' to skip.
> ```
> 
> Note how the string *Creating diff of:* is the next line after the previous section, but it has one line separation to the following; the same holds for the string *... with parent diff created from*. The proposed change will produce the output:
> 
> ```
> Running 'rbt post' across all of ...
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review (46 seconds ago)
> 
> Creating diff of:
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review
> 
> ... with parent diff created from:
> b5eea1750953671fcd25963e5c5660ff40ca27f1 - Added stream manipulators for the Time object. (2 minutes ago)
> Press enter to continue or 'Ctrl-C' to skip.
> ```
> 
> Where sections are consistent with their contents.
> 
> 
> Diffs
> -----
> 
>   support/post-reviews.py ba016f5a12f438e4748ded48d5c0b96facf173cf 
> 
> Diff: https://reviews.apache.org/r/35508/diff/
> 
> 
> Testing
> -------
> 
> manual testing.
> 
> 
> Thanks,
> 
> Alexander Rojas
> 
>


Re: Review Request 35508: Improve readability in post-review

Posted by Alexander Rojas <al...@mesosphere.io>.

> On June 16, 2015, 6:40 p.m., Marco Massenzio wrote:
> > Beauty being in the eye of the beholder, I'm not entirely sure that I like the new version better (that is: assuming that the "new and improved" version is the bottom one?).
> > 
> > Can you please make the description clearer by stating: `will be` v. `is now`?
> > Thanks!

So you never get confused? Why would the title `Creating diff of:` should be in the line right after the previous git log and have a space to the commit you are actually creating the diff for?


- Alexander


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35508/#review88082
-----------------------------------------------------------


On June 16, 2015, 2:43 p.m., Alexander Rojas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35508/
> -----------------------------------------------------------
> 
> (Updated June 16, 2015, 2:43 p.m.)
> 
> 
> Review request for mesos, Ben Mahler and Vinod Kone.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Section titles now append to the section they lead instead of the one above, i.e.:
> 
> ```
> Running 'rbt post' across all of ...
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review (46 seconds ago)
> 
> Creating diff of:
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review
> 
> ... with parent diff created from:
> b5eea1750953671fcd25963e5c5660ff40ca27f1 - Added stream manipulators for the Time object. (2 minutes ago)
> Press enter to continue or 'Ctrl-C' to skip.
> ```
> 
> instead of:
> 
> ```
> Running 'rbt post' across all of ...
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review (46 seconds ago)
> Creating diff of:
> 
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review
> ... with parent diff created from:
> 
> b5eea1750953671fcd25963e5c5660ff40ca27f1 - Added stream manipulators for the Time object. (2 minutes ago)
> Press enter to continue or 'Ctrl-C' to skip.
> ```
> 
> 
> Diffs
> -----
> 
>   support/post-reviews.py ba016f5a12f438e4748ded48d5c0b96facf173cf 
> 
> Diff: https://reviews.apache.org/r/35508/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Alexander Rojas
> 
>


Re: Review Request 35508: Improve readability in post-review

Posted by Marco Massenzio <ma...@mesosphere.io>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35508/#review88082
-----------------------------------------------------------


Beauty being in the eye of the beholder, I'm not entirely sure that I like the new version better (that is: assuming that the "new and improved" version is the bottom one?).

Can you please make the description clearer by stating: `will be` v. `is now`?
Thanks!

- Marco Massenzio


On June 16, 2015, 12:43 p.m., Alexander Rojas wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/35508/
> -----------------------------------------------------------
> 
> (Updated June 16, 2015, 12:43 p.m.)
> 
> 
> Review request for mesos, Ben Mahler and Vinod Kone.
> 
> 
> Repository: mesos
> 
> 
> Description
> -------
> 
> Section titles now append to the section they lead instead of the one above, i.e.:
> 
> ```
> Running 'rbt post' across all of ...
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review (46 seconds ago)
> 
> Creating diff of:
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review
> 
> ... with parent diff created from:
> b5eea1750953671fcd25963e5c5660ff40ca27f1 - Added stream manipulators for the Time object. (2 minutes ago)
> Press enter to continue or 'Ctrl-C' to skip.
> ```
> 
> instead of:
> 
> ```
> Running 'rbt post' across all of ...
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review (46 seconds ago)
> Creating diff of:
> 
> 711ffc86cd6485fe44218cefd92b036b5a850c19 - (HEAD -> alexander/quickfix/post-review-spacing) Improve readability in post-review
> ... with parent diff created from:
> 
> b5eea1750953671fcd25963e5c5660ff40ca27f1 - Added stream manipulators for the Time object. (2 minutes ago)
> Press enter to continue or 'Ctrl-C' to skip.
> ```
> 
> 
> Diffs
> -----
> 
>   support/post-reviews.py ba016f5a12f438e4748ded48d5c0b96facf173cf 
> 
> Diff: https://reviews.apache.org/r/35508/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Alexander Rojas
> 
>