Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

commentapi: provide truncate() and apply during add_comment() (and use in repo_checker). #1089

Merged
merged 2 commits into from
Aug 25, 2017

Conversation

jberry-suse
Copy link
Contributor

  • c8ee7dc:
    repo_checker: package_comments(): drop truncation in favor of commentapi.

  • b8dc98a:
    commentapi: provide truncate() and apply during add_comment().

Current limit from openSUSE/open-build-service#3584, but should likely be lower due to serialization in openSUSE/open-build-service#3638.

Fixes #1061. All comments will now automatically be truncated while handling preformatted text and not breaking tags or leaving unbalanced tags.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.3%) to 48.481% when pulling 8dfc27d on jberry-suse:commentapi-truncate into 7502d6a on openSUSE:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants