[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#1013992: ITP: session-migration -- tool to migrate in user session settings



On Tue, 2022-06-28 at 21:51:44 -0400, Jeremy Bicha wrote:
> On Tue, Jun 28, 2022 at 8:07 PM Guillem Jover <guillem@debian.org> wrote:
> > > Package: session-migration
> > > Description: Tool to migrate in user session settings
> > >  This tool is used to migrate in session user data when a program is evolving
> > >  its configuration, or needing to have files moved and so on.
> > >  .
> > >  This program is generally autostarted at the very beginning of the session
> > >  and integrates caching capability.
> >
> > This looks like an extremely generic name for such tool and package,
> > when it appears to be restricted to gsettings session data only?
> 
> It is not restricted to gsettings although gsettings is a good use case for it.
> 
> Here's an example where it's used for something else:
> https://salsa.debian.org/gnome-team/gnome-boxes/-/commit/b536a968eb192
> 
> It would be nice if the upstream developers would handle user session
> migrations tasks themselves, but they often don't.

Ah thanks, looking into it, it seems more generic indeed.

> > > Package: dh-migrations
> > > Provides: dh-sequence-migrations
> > > Description: debhelper extension for session-migration support
> > >  This package provides a debhelper extension to perform session migration
> > >  operations on the installed packages.
> >
> > This also seems extremely generic. Migrations could refer to anything,
> > from databases, to any other data source. Something like
> > dh-gsettings-migrations seems like would be way better?
> 
> Despite being around for a decade, it looks like it's only used by
> about 6 current Ubuntu source packages so a rename is doable if
> needed. I think I wouldn't even need a transitional package since we'd
> rebuild all those Ubuntu packages which would get them the properly
> named dependency.
> 
> Here's a suggestion:
> user-session-migration
> dh-migrate-user-session Providing dh-sequence-migrate-user-session

Personally I'd perhaps try to keep both names consistent, also
the name you propose for the dh helper looks as if it would be
performing the migration itself which can be misleading, so perhaps
something like dh-user-session-migration would be better? In any case
I'd take either (or similar variants) over dh-migrations. :)

Thanks,
Guillem


Reply to: