mintupdate mangles changelogs

Bug #845099 reported by nemoinis
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Linux Mint
Fix Released
Undecided
Unassigned

Bug Description

mintupdate truncates lines of packages changelogs (actually it seems to ignore any line that does not start with a '*'). As you can see in the attached example, this often drops crucial information such as ids of fixed bugs, explanation of changes, etc...

Revision history for this message
nemoinis (nemoinis) wrote :
Revision history for this message
Bill O'Donnell (willsha360) wrote :

Here is a patch to mintUpdate.py that copies the changelog directly to the window, if found. Also checks return value of call to aptitude for getting changelogs.

Revision history for this message
nemoinis (nemoinis) wrote :

Thanks for the patch, the changelogs look good now!

Note: the patch did not apply cleanly, due to whitespacing issues: in my mintUpdate.py v4.3.3 (and on github's too) there are spaces at the end of line 106, which are not in your patch. The patch did not apply cleanly with --ignore-whitespace either. But it did apply cleanly once I added the whitespaces into your patch.

Revision history for this message
steffmeister (steffed) wrote :

So I recreated a patch from the patch from Bill O'Donnell, this one applys cleanly to current git. I'll also attach two screenshots one before and one after the patch which should clarify what this does.

Revision history for this message
steffmeister (steffed) wrote :
Revision history for this message
steffmeister (steffed) wrote :
Revision history for this message
steffmeister (steffed) wrote :

I also created a pull request on github: https://github.com/linuxmint/mintupdate/pull/10

Revision history for this message
steffmeister (steffed) wrote :

Looks like this was fixed in 4.4.7. I guess we can close this.

Changed in linuxmint:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.