@@ -1699,9 +1699,19 @@ def __eq__(self, other: object) -> bool:
1699
1699
def __lt__ (self , other : Any ) -> bool :
1700
1700
if isinstance (other , Component ):
1701
1701
return _ComparableTuple ((
1702
- self .type , self .group , self .name , self .version
1702
+ self .type , self .mime_type , self .supplier , self .author , self .publisher , self .group , self .name ,
1703
+ self .version , self .description , self .scope , _ComparableTuple (self .hashes ),
1704
+ _ComparableTuple (self .licenses ), self .copyright , self .cpe , self .purl , self .swid , self .pedigree ,
1705
+ _ComparableTuple (self .external_references ), _ComparableTuple (self .properties ),
1706
+ _ComparableTuple (self .components ), self .evidence , self .release_notes , self .modified ,
1707
+ _ComparableTuple (self .authors ), _ComparableTuple (self .omnibor_ids ),
1703
1708
)) < _ComparableTuple ((
1704
- other .type , other .group , other .name , other .version
1709
+ other .type , other .mime_type , other .supplier , other .author , other .publisher , other .group , other .name ,
1710
+ other .version , other .description , other .scope , _ComparableTuple (other .hashes ),
1711
+ _ComparableTuple (other .licenses ), other .copyright , other .cpe , other .purl , other .swid , other .pedigree ,
1712
+ _ComparableTuple (other .external_references ), _ComparableTuple (other .properties ),
1713
+ _ComparableTuple (other .components ), other .evidence , other .release_notes , other .modified ,
1714
+ _ComparableTuple (other .authors ), _ComparableTuple (other .omnibor_ids ),
1705
1715
))
1706
1716
return NotImplemented
1707
1717
0 commit comments