Can't update metadata of repository with name containing dots #1312
Labels
No Label
bug
Codeberg
contribution welcome
docs
duplicate
enhancement
infrastructure
legal
licence / ToS
public relations
question
s/Gitea/Forgejo
s/Pages
s/Weblate
s/Woodpecker
security
service
spam
upstream
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Codeberg/Community#1312
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Comment
...und dann kann man in den Meta-Daten (Beschreibung etc.) nichts mehr ändern.
Blöd bei https://codeberg.org/jugendhacktlab.qdrei.info.
Der '.' würde mir schon reichen. Rausnehmen mag ich den nicht.
Viele Grüße,
@mro
Strengere Org-Name-Regeln machen existierende ungültigto Bug: Strengere Org-Name-Regeln machen existierende ungültigAllowing dots in the username causes all kinds of problems. For example, users get repeatedly confused about the fact that their Codeberg Pages don't work with dots in the username. So the best option is to prevent users from signing up using letters that prevent them from using certain services we provide.
To me, it sounds like a bug or at least unwanted behaviour that you obviously cannot change any settings while keeping the name. It might be good to extend the code that only prevents name changes with a dot, but ignores the name when it remains unchanged.
Hi @fnetX,
I understand that dots in names may conflict with names as sudomains for pages (argh, why actually? But that's a different story)
But rendering existing usernames invalid when introducing a new feature is a bit rude IMO.
What about being explicit and saying "No pages for dotname users"?
Not every user may be interested in a page.
Here's the best part: This shouldn't happen if you did not change your username in any way and just left it as-is.
HandleUsernameChange
should not be called - so I am not sure how we are even reaching the part where it errors out to begin with. This requires some further investigation - can I confirm the error again, just to be 100% sure?Subdomain logic, as well as the fact that i.e.
firstpart.secondpart.codeberg.page
for the userfirstpart.secondpart
causes trouble with wildcard certificates IIRC.One detail that @fnetX left out is that this would break features like RSS feeds or the one that shows your SSH keys to people (e.g.
https://codeberg.org/mro.rss
orhttps://codeberg.org/mro.keys
), as well as the feature being intended as an additional clunky anti-spam measure. Dots in namespaces is a feature that other forges like GitLab or GitHub don't have, and that causes unintended breakage with third-party applications (like pages) It's such a little tiny detail, but it's essentially making itself out to be a nightmare to the point where it wasn't very worth it - we had to regularly answer to inquiries about this too.However, I agree that it's definitely rude and that forcing users to change their repository's names is an unintentional behavior - I checked all cases involving whether the user is allowed to change their username as I was changing the environment variable, but I did not assume that the other fields would be a problem because of the aforementioned excerpt.
Bug: Strengere Org-Name-Regeln machen existierende ungültigto Can't update metadata of repository with name containing dots@n0toose e voila, you're welcome. (Intended to change the 'Beschreibung')
P.S.: my life doesn't depend on the dots - it's just consistent brand naming and thus was my first choice back then. I avoid to invent arbitrary things.
Thank you.