Opened 6 years ago

Closed 6 years ago

#1113 closed Feature Request (fixed)

in case of duplicates, prefer plugin with newer version

Reported by: Robin Gareus Owned by: David Robillard
Priority: major Component: Lilv
Keywords: Cc:


subject says it all. Two commits:

  • add lilv-internal API to lookup plugin minor & micro version
  • check duplicates, unload existing version in case it is older.

combined diff:

PS. add https before the URLs. trac thinks I'm spamming..

Change History (1)

comment:1 Changed 6 years ago by David Robillard

Resolution: fixed
Status: newclosed

Alternative implementation in 4a1e47e/lilv. Thanks.

This avoids re-parsing the data for the old plugin, which is already loaded in the world, and the creation of a new LilvWorld? for loading this data.

I have a few reservations about this still, but it's good enough, I suppose. Seems a stronger spec is needed to do significantly better.

Note: See TracTickets for help on using tickets.