I think the page should preserve the line breaks, it makes for easier reading.

Comments

eliza411’s picture

Status: Active » Postponed (maintainer needs more info)

Please include a link to a specific commit page where the failure to preserve line breaks is causing readability problems. If the example is likely to change over time, a screen cap would be appropriate as well.

icc’s picture

Status: Postponed (maintainer needs more info) » Active
StatusFileSize
new31.16 KB

Attached a screenshot which illustrates the issue.

hass’s picture

Same issue in piwik commit messages.

eliza411’s picture

Assigned: Unassigned » sarah_p

@sarah_p: Is this something you can take a look at?

sdboyer’s picture

Project: Git on Drupal.org » Version Control API -- Git backend
Version: » 6.x-2.x-dev
Component: User interface » Git interaction
Assigned: sarah_p » marvil07

I think this is actually a problem with how we read the data in - we read line by line, and probably destroy intentional newlines in the process. Yuck. Time to give exec() the boot in favor of proc_open()...

If I'm wrong about this, I'll switch the queues back. For the moment, though, assigning to marvil07.

marvil07’s picture

Status: Active » Needs review
StatusFileSize
new1.37 KB

Thanks you very much for catching this!
Patch attached ;-)

@sdboyer: definitely we need to revisit this whole git history parser, but for now it do enough IMHO.

marvil07’s picture

Assigned: marvil07 » sdboyer

@sdboyer: This seems to be a trivial patch, so a quick review would be fine ;-)

sdboyer’s picture

Assigned: sdboyer » marvil07
Status: Needs review » Reviewed & tested by the community

wfm. push away

marvil07’s picture

Status: Reviewed & tested by the community » Fixed
eliza411’s picture

Issue tags: +needs drupal.org deployment

Tagging for deployment

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

eliza411’s picture

Status: Closed (fixed) » Active

Not deployed yet, reopening.

drumm’s picture

Status: Active » Fixed

It is fine to leave this fixed. It clutters up issue queues to have things that are fixed, but not deployed, hanging around. Is is okay to use -dev or do you want to roll a tagged release?

eliza411’s picture

Yeah, sorry about that ... I've figured it out a little better since April, but not all the way yet.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

marvil07’s picture

Issue tags: -needs drupal.org deployment

Deployed today

  • Commit 1cd83d2 on 6.x-2.x, fix-invalid-default-branches, fullsync-memory by marvil07:
    Issue #1075702: Fixed Commits page does not preserve line breaks in...