GNOME Bugzilla – Bug 517561
[2.23] should migrate trash from the old location to the new one
Last modified: 2017-11-16 15:21:16 UTC
The trash location changed in gio, gnome-session should migrate datas which are still in the trash on upgrade
setting gnome target
Hey Sebastien, maybe this is more suitable for a gnome-settings-daemon plugin? Hardcoding this in gnome-session is a no-go.
Or maybe we should have a "gnome-migration" package, which would install a script that would run at startup and do various migrationy things if it's your first time logging in to a new GNOME version? (IIRC openSUSE does something like this.) I got annoyed that the setting of the old "don't blink the cursor in gnome-terminal" gconf key didn't automatically get migrated to the new "don't blink the cursor anywhere" gconf key...
I've no strong opinion on where a such migration code should go, vincent said that using gnome-session to open the bug was ok, you can reassign if you want though. Having migration code in the autostart directory might be easier
I've committed some migration code to gnome-2-22. Like Dan, I wanted to have a gnome-migration package. Maybe something we'll be able to do for 2.24... Keeping open for trunk since we'll need to fix it there too, and I don't want the hack there for now.
I'm guessing we don't really need to handle this upgrade path anymore. I can't find Vincent's upgrade code in gnome-session either.