Gitea: issue tags eg "#1" vs "someprefix#1"

Created on 12 Jul 2019  路  6Comments  路  Source: go-gitea/gitea

Description

in this issue2 should not be marked within the commit which belongs to issue1
I think for a work around could be writing KB\#2 but feels uncomfortable and dont work. How to?

Kind regards

kinbug

Most helpful comment

Hmm yea it shouldn't be doing that, will look and send a fix

All 6 comments

(Note: This does happen here on github too
e.g.: https://github.com/go-gitea/gitea/issues/6371 references to #(1-10))

may it is possible to link commits only when there is a space or linestart before #

Hmm yea it shouldn't be doing that, will look and send a fix

Is there an update script to update records from the past :-1: :+1: ? It seems the content get static after a push was made :~/

@flobee Unfortunately not as it wouldn't necessarily know what was added there for what reason.

You could manually remove them from the DB and you can find those type of mention comments like this:

SELECT * from comment WHERE type = 4;

Or you could search for the specific string in the example in this issue:

SELECT * from comment WHERE type = 4 AND content LIKE '%KB#%';

type 4 is a commit reference which is where this bug was

thx!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jakimfett picture jakimfett  路  3Comments

jonasfranz picture jonasfranz  路  3Comments

kolargol picture kolargol  路  3Comments

BNolet picture BNolet  路  3Comments

haytona picture haytona  路  3Comments