[Lunar-bugs] [Lunar Linux 0000031]: sort_by_dependency doesnt sort at all

Lunar bug reports list lunar-bugs at lunar-linux.org
Thu Jan 5 00:47:07 UTC 2006


The following issue has been CLOSED
======================================================================
<http://bugs.lunar-linux.org/view.php?id=31> 
======================================================================
Reported By:                cmak
Assigned To:                sofar
======================================================================
Project:                    Lunar Linux
Issue ID:                   31
Category:                   lunar
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Moonbase Version:           20050101
Core Tools:                 Lunar
Core Tools Version:         20050821
Resolution:                 fixed
Fixed in Version:           
======================================================================
Date Submitted:             10-13-2005 19:23 UTC
Last Modified:              01-05-2006 00:47 UTC
======================================================================
Summary:                    sort_by_dependency doesnt sort at all
Description: 
sort_by_dependency <input> will do <output> with input == output for any
<input> = "some list of modules"

theedge or lunar doesnt matter...
here are two examples:

first (simple test): simple fact that XOrg directly depends on perl...

[lunar] root at grey ~ # time sort_by_dependency "XOrg perl"
XOrg
perl

real    1m16.538s
user    0m20.878s
sys     0m49.574s
[lunar] root at grey ~ #

correct output would have been:
perl XOrg

second (advanced test): a alphabetically sorted list of some e17 modules:

[lunar] root at grey ~ # cat e173
e17-cvs
eclair-cvs
ecore-cvs
edb-cvs
edje-cvs
eet-cvs
embryo-cvs
e_modules-cvs
emotion-cvs
engage-cvs
engrave-cvs
epeg-cvs
epsilon-cvs
etox-cvs
e_utils-cvs
evas-cvs
ewl-cvs
examine-cvs
imlib2-cvs
[lunar] root at grey ~ # time sort_by_dependency `cat e173`
e17-cvs
eclair-cvs
ecore-cvs
edb-cvs
edje-cvs
eet-cvs
embryo-cvs
e_modules-cvs
emotion-cvs
engage-cvs
engrave-cvs
epeg-cvs
epsilon-cvs
etox-cvs
e_utils-cvs
evas-cvs
ewl-cvs
examine-cvs
imlib2-cvs

real    1m17.754s
user    0m21.242s
sys     0m50.864s
[lunar] root at grey ~ # 

obviously not correct as e17 alone depends on many of the other modules
but still stands on top.

note the times! it takes equally long for both! may be a hint (i thought)
======================================================================

----------------------------------------------------------------------
 sofar - 01-05-06 00:47 
----------------------------------------------------------------------
Fixed a while back, closing bug.

Issue History
Date Modified  Username       Field                    Change              
======================================================================
10-13-05 19:23 cmak           New Issue                                    
10-13-05 19:23 cmak           Moonbase Version          => 20050101        
10-13-05 19:23 cmak           Core Tools                => Lunar           
10-13-05 19:23 cmak           Core Tools Version        => 20050821        
10-13-05 19:39 cmak           Description Updated                          
10-13-05 19:39 cmak           Additional Information Updated                    
10-13-05 19:46 cmak           Description Updated                          
10-13-05 22:21 cmak           Note Added: 0000020                          
10-14-05 14:29 Striker        Note Deleted: 0000020                        
10-15-05 11:03 cmak           Status                   assigned => resolved
10-15-05 11:03 cmak           Resolution               open => fixed       
01-05-06 00:47 sofar          Status                   resolved => closed  
01-05-06 00:47 sofar          Note Added: 0000082                          
======================================================================



More information about the Lunar-bugs mailing list