Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18722 closed enhancement (fixed)

pure: add warning on version upgrade if old modules are installed

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: pure, pure-devel

Description

Pure has the feature that modules are installed into the directory ${prefix}/lib/pure-${branch} so if Pure is updated to a newer version then any existing modules you've installed aren't accessible anymore until you forcibly rebuild each module so that it gets installed into the new pure lib directory. This is intentional because Pure has not yet reached stability and is still changing often, such that a module compiled for a previous version of Pure probably won't work with a current version anyway.

It would be nice if pure (and pure-devel) would output a message if they are upgraded to a newer version and the user has installed modules so that they know they need to rebuild them.

Change History (3)

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Fixed in r47629.

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

This didn't work so well. Running the check at post-install or post-activate time just caused a hang. I had to change it to run at post-destroot time. Fixed in r47630.

comment:3 Changed 16 years ago by (none)

Milestone: Port Enhancements

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.