Skip to content

Make convenience helpers in Log/LogRecord #560

Open

Description

@ormsbee

This would be for determining whether change are:

  • side-effects
  • pure side-effect
  • direct changes
  • indirect changes
  • direct publish
  • indirect publish
  • indirectly affected by publish
  • soft-delete

That way we can keep terminology more consistent, and not have calling code comparing version_nums to each other to try to figure out what each of those things means.

Activity

  1. self-assigned this
    on Apr 24, 2026
  2. bradenmacdonald commented on Apr 24, 2026

    @bradenmacdonald
    Contributor

    Based on my experience implementing events, it would also be helpful to differentiate "un-delete" (reverting a soft delete) from "create", since both just show up as (old_version=None, new_version=X) but are best handled differently.

  3. bradenmacdonald commented on Apr 24, 2026

    @bradenmacdonald
    Contributor

    Do you think this is something to prioritize for the event data before Verawood? Or are you thinking just the DraftChangeLog etc. but not the events?

  4. ormsbee commented on Apr 24, 2026

    @ormsbee
    ContributorAuthor

    I think it's useful to have at both layers, but can be added post-Verawood.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions