Sokomine reports: just saw it now in another bug ... #4368
Labels
No Label
1. kind/balancing
1. kind/breaking
1. kind/bug
1. kind/construction
1. kind/documentation
1. kind/enhancement
1. kind/griefing
1. kind/invalid
1. kind/meme
1. kind/node limit
1. kind/other
1. kind/protocol
2. prio/controversial
2. prio/critical
2. prio/elevated
2. prio/good first issue
2. prio/interesting
2. prio/low
3. source/art
3. source/client
3. source/engine
3. source/ingame
3. source/integration
3. source/lag
3. source/license
3. source/mod upstream
3. source/unknown
3. source/website
4. step/approved
4. step/at work
4. step/blocked
4. step/discussion
4. step/help wanted
4. step/needs confirmation
4. step/partially fixed
4. step/question
4. step/ready to deploy
4. step/ready to QA test
4. step/want approval
5. result/cannot reproduce
5. result/duplicate
5. result/fixed
5. result/maybe
5. result/wontfix
ugh/petz
ugh/QA main
ugh/QA NOK
ugh/QA OK
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: your-land/bugtracker#4368
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Sokomine reports a bug:
Player position:
Player look:
Player information:
Player meta:
Log identifier
Profiler save:
Status:
Teleport command:
Compass command:
Having those values available, but not in public would require us to have two bugtrackers - an internal one and an external one.
But I agree the trashcan content shouldn't go to the bugtracker.
So how should we fix this?
Disable bugtracker showing trashcan content completely or have two bugtrackers?
honestly, the player metadata is rarely if ever useful for debugging issues. maybe it's been useful, but i honestly don't remember when. i'd vote to record the data to disk in a way where alias could look it up by bug ID, and share the contents as necessary, but generally keep it private.
In this case I'd rather have it in a second bugtracker that is private, but uses the same issue ID as the public one. We attempted such a thing a while back, but found its use very limited. But with yl_settings or worse, yl_quests, we need a way to take a nonpublic snapshot of a player anyways.
the idea of having multiple partially mirrored bug trackers "bugs" me - needing to keep track of 2 or more conversations about a single issue is troublesome.
but i could imagine a way to create an API to view current and historical player metadata (and yl_settings), and give staff a way of viewing it, and tying data @ specific points in time to issues in a way that only staff could see.
it'd be useful for staff to have a way to restrict people's access to view an issue or certain comments on an issue, but that's tricky and well outside gitea's featureset
That second bugtracker would hold conversation only in very few cases, when we want to have a nonpublic discussion. Most often, it would be used for reference.
Let's discuss elsewhere and keep this bug ontopic: Until a nonpublic bugtracker is ratified and available, let's disable trash from appearing here. In case questions arise, there's always the log.
Here to discuss public VS nonpublic bugtracker: #4407
Fixed in
3c59ee9573
QA
Trashcan doesn't go to reports nor bugtracker anymore.
Since I implemented it, could anyone look at the code or test and greenlight by 👍 ?
i can't test it cuz i don't have a private gitea set up, but it looks correct.
style-wise, too many
nil
checks for my taste, but it'll work.player:get_meta()
can returnnil
if the player has logged out, but we're gettingplayer
fromminetest.get_player_by_name
, so it will be fine.meta:to_table()
will always return a table if the player object is valid, and will always contain afields
key.this is live