Personally, I wouldn't move them into the snippets system. Right now those examples might be static, but in future they will be templated and adaptive to the user's preferences.
Adam K On 18 August 2011 14:44, Gabor Szabo <szab...@gmail.com> wrote: > Hi, > > I am trying to move the default file example of "File => New => Perl 5 Script" > and brothers in the snippets system. > They will stay to be accessible from "File => New ... " but this will > make it easier > to extend it and to allow the end user to customize the files. > > So I looked at the snippets and found an issue and I wonder how to resolve it > > There are multiple entries for "if" due to the update1 script in > Padre::DB::Timeline. > This could happen as "name" is not defined as unique and even the > "category, name" pair is not required to be unique. > > So I wonder how to fix this? > Shall I add another upgrade sub that will change the database table so the > name column will required to be unique? > How shall I clean up the duplicates? > Shall I just automatically delete the duplicates before changing the database > maybe removing some user changed entries? > Shall I rename those entries instead of removing them? > > What would be the "best practice" in such migration move? > > regards > Gabor > > -- > Gabor Szabo > http://szabgab.com/ > _______________________________________________ > Padre-dev mailing list > Padre-dev@perlide.org > http://mail.perlide.org/mailman/listinfo/padre-dev > _______________________________________________ Padre-dev mailing list Padre-dev@perlide.org http://mail.perlide.org/mailman/listinfo/padre-dev