Skip to content

coding-style.md: add various rules on spaces, lines, and comments#47

Closed
DDvO wants to merge 4 commits intoopenssl:masterfrom
DDvO:coding-style-whitespace
Closed

coding-style.md: add various rules on spaces, lines, and comments#47
DDvO wants to merge 4 commits intoopenssl:masterfrom
DDvO:coding-style-whitespace

Conversation

@DDvO
Copy link
Contributor

@DDvO DDvO commented May 4, 2022

Add a 2nd chunk of rules, taken from the list of proposed ones collected at openssl/openssl#10725,
focusing on whitespace.

@t8m t8m added the policy change A change to a policy is being proposed label May 5, 2022
@t8m t8m added the discussed The issue/pr was discussed by the OTC label May 10, 2022
@slontis
Copy link
Member

slontis commented May 17, 2022

Looks ok to me.

@t8m t8m added the ready to vote The policy change proposal is ready to be voted on by the OTC label May 18, 2022
@t8m
Copy link
Member

t8m commented May 18, 2022

Starting the vote for coding-style.md: add various rules on spaces, lines, and comments at commit fcecd20

@t8m
Copy link
Member

t8m commented May 18, 2022

Vote: [+1]

@t-j-h
Copy link
Member

t-j-h commented May 18, 2022

Vote [+1]

1 similar comment
@beldmit
Copy link
Member

beldmit commented May 18, 2022

Vote [+1]

@mattcaswell
Copy link
Member

Vote: [+1]

2 similar comments
@paulidale
Copy link
Contributor

Vote: [+1]

@slontis
Copy link
Member

slontis commented May 20, 2022

Vote: [+1]

@romen
Copy link
Member

romen commented May 24, 2022

Vote: [+0]

@t8m
Copy link
Member

t8m commented May 25, 2022

@levitte @paulidale @kroeckx last call for votes 😁

@t8m
Copy link
Member

t8m commented May 25, 2022

Ah, not @paulidale but @mspncp

@mspncp
Copy link
Contributor

mspncp commented May 26, 2022

Vote: [+0]


Place comments above or to the right of the code they refer to.
Comments referring to the code line after
should be indented equally to that code line.
Copy link
Member

Choose a reason for hiding this comment

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

Do we need to clarify this more of where you expect to find the comment in case of an if / else? Do you write the comment before the if, or inside the if?

Copy link
Member

Choose a reason for hiding this comment

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

I would say that it depends on the comment itself. Does it explain the body, or does it explain why there's a condition?

Copy link
Member

Choose a reason for hiding this comment

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

The vote already started.

@kroeckx
Copy link
Member

kroeckx commented May 30, 2022

Voting +1

@levitte
Copy link
Member

levitte commented May 31, 2022

Vote: [+1]

@t8m
Copy link
Member

t8m commented May 31, 2022

Vote is now closed as accepted.

Topic: coding-style.md: add various rules on spaces, lines, and
comments at commit fcecd20
       This will become an official OTC policy.
Proposed by: Tomas
Issue link: https://github.com/openssl/technical-policies/pull/47
Public: yes
Opened: 2022-05-18
Closed: 2022-05-31
Accepted: yes   (for: 8, against: 0, abstained: 2, not voted: 0)

   Dmitry     [+1]
   Matt       [+1]
   Pauli      [+1]
   Tim        [+1]
   Richard    [+1]
   Shane      [+1]
   Tomas      [+1]
   Kurt       [+1]
   Matthias   [+0]
   Nicola     [+0]

@t8m t8m closed this May 31, 2022
@t8m t8m added accepted The policy change proposal was accepted by an OTC vote and removed ready to vote The policy change proposal is ready to be voted on by the OTC labels May 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

accepted The policy change proposal was accepted by an OTC vote discussed The issue/pr was discussed by the OTC policy change A change to a policy is being proposed

Projects

None yet

Development

Successfully merging this pull request may close these issues.