Skip to content
This repository was archived by the owner on Apr 12, 2019. It is now read-only.

Fix parsing bug in GetTagInfos #58

Merged
merged 2 commits into from
Jun 6, 2017
Merged

Conversation

ethantkoenig
Copy link
Member

@ethantkoenig ethantkoenig commented Jun 2, 2017

The previous implementation of GetTagInfos() would break when commit messages contained closing parentheses (previous line 125), and would not account for when one commit could have several tags.

@appleboy
Copy link
Member

appleboy commented Jun 2, 2017

LGTM

@lunny
Copy link
Member

lunny commented Jun 3, 2017

If there are more than 100 tags? The performance is another thing need consider

@ethantkoenig
Copy link
Member Author

@lunny

  1. I think a correct, slow implementation is better than a fast, incorrect one
  2. Now that Display draft releases gitea#1854 has been merged, this function is never actually used

@lunny
Copy link
Member

lunny commented Jun 4, 2017

OK. Maybe add a comment that it's slow for a repo with many releases. LGTM

@ethantkoenig
Copy link
Member Author

@lunny Comment added

@lunny lunny merged commit 544c5b3 into go-gitea:master Jun 6, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants