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

Version 2 of GithubMarkdownHandler using an actual yaml parser #74

Merged
merged 13 commits into from Aug 31, 2017

Conversation

SofiaMargariti
Copy link
Contributor

@SofiaMargariti SofiaMargariti commented Aug 30, 2017

Jira: https://transifex.atlassian.net/browse/TX-8511
Implement yaml parser based on https://github.com/transifex/txc/blob/devel/transifex/resources/formats/yml/yml.py
and use this parser for the frontmatter header of the GFM files.

screen shot 2017-08-31 at 14 11 56

@SofiaMargariti SofiaMargariti changed the title Yaml parser [to be used with GFM] Version 2 of GithubMarkdownHandler using an actual yaml parser Aug 30, 2017
@SofiaMargariti SofiaMargariti force-pushed the yaml_parser branch 2 times, most recently from a0361e5 to 3f0a112 Compare August 30, 2017 13:19
- aa8c6113a4236d576f96ba9b0bd4dfa4_tr
- 76d7c5ccc4301f10b39115b2c1a9ca47_tr

description: fdba4efe4ab9d38afee4054a7fa06e29_trcustom_vars:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@SofiaMargariti looks like we have a missing \n here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@diegobz yes, this is known behaviour. The solution I was thinking is to append a new line during compilation in this type of strings, but another way is to lower the end index of this node by one during parsing, so the new line is considered part of the template.

@coveralls
Copy link

Coverage Status

Coverage decreased (-1.0%) to 94.755% when pulling baece80 on yaml_parser into 4724c9f on devel.

@transifex transifex deleted a comment from coveralls Aug 31, 2017
@transifex transifex deleted a comment from coveralls Aug 31, 2017
@transifex transifex deleted a comment from coveralls Aug 31, 2017
@transifex transifex deleted a comment from coveralls Aug 31, 2017
@transifex transifex deleted a comment from coveralls Aug 31, 2017
@transifex transifex deleted a comment from coveralls Aug 31, 2017
@transifex transifex deleted a comment from coveralls Aug 31, 2017
@transifex transifex deleted a comment from coveralls Aug 31, 2017
@transifex transifex deleted a comment from coveralls Aug 31, 2017
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.7%) to 95.036% when pulling fe0dbb0 on yaml_parser into 4724c9f on devel.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.7%) to 95.043% when pulling bfe3d2c on yaml_parser into b0e4c07 on devel.

Copy link
Member

@kbairak kbairak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SofiaMargariti SofiaMargariti merged commit 6ce81a8 into devel Aug 31, 2017
@rigaspapas rigaspapas deleted the yaml_parser branch October 11, 2018 15:06
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.

None yet

4 participants