History log of /freebsd/share/man/man9/style.lua.9 (Results 1 – 11 of 11)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# f1bd7311 12-Feb-2024 Ed Maste <emaste@FreeBSD.org>

style.lua.9: remove mention of $FreeBSD$

Also restore a comment line in an example which previously started with
-- $FreeBSD$ but was removed in 6ef644f5889a. The example shows the of
a module requ

style.lua.9: remove mention of $FreeBSD$

Also restore a comment line in an example which previously started with
-- $FreeBSD$ but was removed in 6ef644f5889a. The example shows the of
a module require statement block following the license header.

show more ...


Revision tags: release/14.0.0
# 6ef644f5 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line lua tag

Remove /^--\s*\$FreeBSD\$.*$\n/


# fa9896e0 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line nroff pattern

Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/


# 4d846d26 10-May-2023 Warner Losh <imp@FreeBSD.org>

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of

spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD

The SPDX folks have obsoleted the BSD-2-Clause-FreeBSD identifier. Catch
up to that fact and revert to their recommended match of BSD-2-Clause.

Discussed with: pfg
MFC After: 3 days
Sponsored by: Netflix

show more ...


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0
# f0fb94ab 09-May-2018 Kyle Evans <kevans@FreeBSD.org>

Standardize SPDX tag on files I've added


# 4b3c64f7 09-May-2018 Kyle Evans <kevans@FreeBSD.org>

Remove "All Rights Reserved" on files that I hold sole copyright on

See r333391 for more detail; in summary: it holds no weight and may be
removed.


# 11d5ba38 26-Feb-2018 Kyle Evans <kevans@FreeBSD.org>

style.lua(9): Add some additional notes about naming and commas

camelCase tends to be preferred for function identifiers, while
internal_underscores are preferred for variable identifiers. This conv

style.lua(9): Add some additional notes about naming and commas

camelCase tends to be preferred for function identifiers, while
internal_underscores are preferred for variable identifiers. This convention
makes it a little bit easier to eyeball whether variable/function usage is
correct.

The optional commas for final table values are preferred to reduce chances
for error.

show more ...


# b67fcf0b 21-Feb-2018 Kyle Evans <kevans@FreeBSD.org>

style.lua(9): Drop notes about semicolons

It is generally agreed upon that they are ugly and should not be used except
where needed.


# bb4b11cf 20-Feb-2018 Kyle Evans <kevans@FreeBSD.org>

style.lua(9): Clarify local variable guideline

The intent of this guideline is to avoid creating global variables in module
scope. Its main purpose is to serve as a reminder that variables at module

style.lua(9): Clarify local variable guideline

The intent of this guideline is to avoid creating global variables in module
scope. Its main purpose is to serve as a reminder that variables at module
scope also need to be declared.

We want to avoid global variables in general, but this is easier to mess up
when designing things in the module scope.

show more ...


# e84e7ed5 19-Feb-2018 Kyle Evans <kevans@FreeBSD.org>

style.lua(9): Note that wrapping at 80-columns is not rigid


# 037f68a9 19-Feb-2018 Kyle Evans <kevans@FreeBSD.org>

Create style.lua(9)

This covers the lua style guidelines we've generally agreed on so far. It
will be revised as work continues and we run into more scenarios that need
specified.

Discussed with: c

Create style.lua(9)

This covers the lua style guidelines we've generally agreed on so far. It
will be revised as work continues and we run into more scenarios that need
specified.

Discussed with: cem, jilles
Differential Revision: https://reviews.freebsd.org/D14423

show more ...