Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 151364

Summary: missing newline at end of the world file
Product: Portage Development Reporter: Toralf Förster <toralf>
Component: Core - ConfigurationAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: trivial Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 181949    

Description Toralf Förster gentoo-dev 2006-10-14 10:31:25 UTC
Hopefully it's nt to trivial, but I often observed this:

n22 / # diff /var/lib/portage/world*
10d9
< dev-libs/openssl
19d17
< dev-util/ccache
23d20
< net-fs/nfs-utils
24a22
> net-fs/nfs-utils
28,29c26,27
< mail-mta/courier
< net-analyzer/tcpdump
\ No newline at end of file
---
> net-analyzer/tcpdump
> mail-mta/courier
\ No newline at end of file

Is it wanted to have no newline at the end of the world file ?
Comment 1 SpanKY gentoo-dev 2006-10-14 11:52:12 UTC
*** Bug 151366 has been marked as a duplicate of this bug. ***
Comment 2 Zac Medico gentoo-dev 2006-10-18 22:05:55 UTC
It would also be nicer if the file was sorted.  At the moment, the code that handles world is spread through various parts of emerge and emaint.  Eventually, we should encapsulate all of the world file handling in a single place.  Until then, we have to update code in several places, and it's annoying.
Comment 3 Toralf Förster gentoo-dev 2006-10-19 01:23:53 UTC
(In reply to comment #2)
> It would also be nicer if the file was sorted. 
Right, strong ACK form me.