Private Issues: Establish Guidelines for public/private transparency #242

Closed
opened 2025-10-21 08:00:11 +00:00 by nilsph · 1 comment
nilsph commented 2025-10-21 08:00:11 +00:00 (Migrated from codeberg.org)

Story

As a developer implementing the “Private Issues” feature,
I need guidance on how transparent a function or method I work on needs to be,
so I can work with greater confidence.

Background

While refactoring code to cope with public vs. private issues “bottom up” (i.e. starting at the DB model and see how it ripples out), I found that I had no real idea whether a piece of code needs to transparently deal with both types, or whether the caller can be expected to specify the type, or if if should deal with only one of them (haven’t seen that in the wild yet, didn’t get far enough up in the stack I guess).

# Story As a developer implementing the “Private Issues” feature, I need guidance on how transparent a function or method I work on needs to be, so I can work with greater confidence. # Background While refactoring code to cope with public vs. private issues “bottom up” (i.e. starting at the DB model and see how it ripples out), I found that I had no real idea whether a piece of code needs to transparently deal with both types, or whether the caller can be expected to specify the type, or if if should deal with only one of them (haven’t seen that in the wild yet, didn’t get far enough up in the stack I guess).
nilsph commented 2025-10-23 10:47:21 +00:00 (Migrated from codeberg.org)

Hmm, revisiting forgejo/design#2 makes me unsure if this is the question to ask right now, looks like other more fundamental questions need clarification first.

Hmm, revisiting forgejo/design#2 makes me unsure if this is the question to ask right now, looks like other more fundamental questions need clarification first.
ryanlerch added this to the Sprint 12 project 2025-11-03 04:07:04 +00:00
ryanlerch modified the project from Sprint 12 to Backlog 2025-11-03 04:09:42 +00:00
ryanlerch removed this from the Backlog project 2025-11-03 10:55:13 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
Reference
forge/forge#242
No description provided.