rules icon indicating copy to clipboard operation
rules copied to clipboard

Falco Rules Doc Comments

Open leogr opened this issue 2 years ago • 21 comments

Motivation

The issues I found with comments are due to practical reasons. In particular:

  • There should be no empty lines between the comments and the referred item
    • This will avoid ambiguities.
    • I guess I mostly fixed that with this PR.
  • There's no standard item's comment structure
    • I would love to define a simple Rule Doc convention (i.e., something similar to Go Doc Comments, but simpler)
  • There's no clear way to distinguish sections from item's comment

Feature

Implement a simple Rules Doc Comments guideline and add it to the rules style guide.

Alternatives

Just rely on an existing convention, if any, or do nothing. However they don't look like compelling alternatives.

Additional context

See https://github.com/falcosecurity/rules/pull/149#issuecomment-1704317483

leogr avatar Sep 04 '23 08:09 leogr

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

poiana avatar Dec 03 '23 09:12 poiana

/remove-lifecycle stale

leogr avatar Dec 05 '23 16:12 leogr

@incertum do you think this is still valuable? wdyt?

cc @LucaGuerra

leogr avatar Dec 05 '23 16:12 leogr

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

poiana avatar Mar 04 '24 21:03 poiana

still relevant

/remove-lifecycle stale

incertum avatar Mar 05 '24 00:03 incertum

cc @falcosecurity/falco-website-maintainers

leogr avatar Mar 05 '24 09:03 leogr

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

poiana avatar Jun 03 '24 09:06 poiana

This is still a thing, IMO.

cc @falcosecurity/rules-maintainers /help /lifecycle stale

leogr avatar Jun 04 '24 08:06 leogr

@leogr: This request has been marked as needing help from a contributor.

Please ensure the request meets the requirements listed here.

If this request no longer meets these requirements, the label can be removed by commenting with the /remove-help command.

In response to this:

This is still a thing, IMO.

cc @falcosecurity/rules-maintainers /help /lifecycle stale

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

poiana avatar Jun 04 '24 08:06 poiana

Stale issues rot after 30d of inactivity.

Mark the issue as fresh with /remove-lifecycle rotten.

Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle rotten

poiana avatar Jul 04 '24 09:07 poiana

/remove-lifecycle rotten /remove-lifecycle stale

@LucaGuerra @Issif May you help with this?

leogr avatar Jul 18 '24 14:07 leogr

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

poiana avatar Oct 16 '24 16:10 poiana

/remove-lifecycle stale

leogr avatar Oct 17 '24 12:10 leogr

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

poiana avatar Jan 15 '25 16:01 poiana

/remove-lifecycle stale /assign

leogr avatar Jan 16 '25 09:01 leogr

Issues go stale after 90d of inactivity.

Mark the issue as fresh with /remove-lifecycle stale.

Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Provide feedback via https://github.com/falcosecurity/community.

/lifecycle stale

poiana avatar Apr 16 '25 10:04 poiana

/remove-lifecycle stale

leogr avatar Apr 16 '25 12:04 leogr