Re: [Koha-devel] RFC on sysprefs deprecation workflow
On Wed, Sep 5, 2012 at 1:04 PM, Jared Camins-Esakov jcam...@cpbibliography.com wrote: Colin, Do we need to add an explicit step to ensure that the removal is included in the release notes of the upstream release? Or will the commit message from [2] suffice The list of sysprefs in the release notes is automatically generated. I will add to the script so that it notes removed sysprefs, too. I have added this to the sysprefs wiki section. Any corrections will be welcomed. Quick link http://wiki.koha-community.org/wiki/System_Preferences#Removing_a_system_preference Regards To+ ___ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
[Koha-devel] RFC on sysprefs deprecation workflow
We have fully documented the process of adding a syspref to Koha[1]. It remains unclear which workflow syspref deprecation should follow. I've been told on IRC that, traditionally, deprecated sysprefs are set to a 'good default' value, and then hidden. If you take a look at bug 8724 [2] you'll notice that i followed that path. But as NoZebra is to be fully removed from Koha tree I ask: what do u think the workflow for syspref removal be? It should be added to the sysprefs wiki too. I can do it if needed. Regards To+ [1] http://wiki.koha-community.org/wiki/System_Preferences [2] http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8724 ___ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Re: [Koha-devel] RFC on sysprefs deprecation workflow
Hi, On 09/05/2012 10:50 AM, Tomas Cohen Arazi wrote: If you take a look at bug 8724 [2] you'll notice that i followed that path. But as NoZebra is to be fully removed from Koha tree I ask: what do u think the workflow for syspref removal be? It should be added to the sysprefs wiki too. I can do it if needed. I would think it should be something like this: [1] Remove all code that uses the syspref. [2] Remove all references to the syspref from preferences/*.pref. [3] Remove all references to the syspref from the installer SQL for all localizations. [4] Add an update to updatedatabase.pl deleting the preference from the systempreferences table. Regards, Galen -- Galen Charlton Director of Support and Implementation Equinox Software, Inc. / The Open Source Experts email: g...@esilibrary.com direct: +1 770-709-5581 cell: +1 404-984-4366 skype: gmcharlt web:http://www.esilibrary.com/ Supporting Koha and Evergreen: http://koha-community.org http://evergreen-ils.org ___ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Re: [Koha-devel] RFC on sysprefs deprecation workflow
Colin, Do we need to add an explicit step to ensure that the removal is included in the release notes of the upstream release? Or will the commit message from [2] suffice The list of sysprefs in the release notes is automatically generated. I will add to the script so that it notes removed sysprefs, too. Regards, Jared -- Jared Camins-Esakov Bibliographer, C P Bibliography Services, LLC (phone) +1 (917) 727-3445 (e-mail) jcam...@cpbibliography.com (web) http://www.cpbibliography.com/ ___ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Re: [Koha-devel] RFC on sysprefs deprecation workflow
At 11:41 AM 9/5/2012 -0400, Galen Charlton wrote: On 09/05/2012 10:50 AM, Tomas Cohen Arazi wrote: If you take a look at bug 8724 [2] you'll notice that i followed that path. But as NoZebra is to be fully removed from Koha tree I ask: what do u think the workflow for syspref removal be? It should be added to the sysprefs wiki too. I can do it if needed. I would think it should be something like this: [1] Remove all code that uses the syspref. [2] Remove all references to the syspref from preferences/*.pref. [3] Remove all references to the syspref from the installer SQL for all localizations. [4] Add an update to updatedatabase.pl deleting the preference from the systempreferences table. +1 but from an excess of caution, is there any possibility that this could complicate a MySQL {dump form earlier version} == {restore to a brand new install}? Best - Paul ___ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Re: [Koha-devel] RFC on sysprefs deprecation workflow
Apologies - please disregard, didn't put #4 below in context. P. At 11:41 AM 9/5/2012 -0400, Galen Charlton wrote: On 09/05/2012 10:50 AM, Tomas Cohen Arazi wrote: If you take a look at bug 8724 [2] you'll notice that i followed that path. But as NoZebra is to be fully removed from Koha tree I ask: what do u think the workflow for syspref removal be? It should be added to the sysprefs wiki too. I can do it if needed. I would think it should be something like this: [1] Remove all code that uses the syspref. [2] Remove all references to the syspref from preferences/*.pref. [3] Remove all references to the syspref from the installer SQL for all localizations. [4] Add an update to updatedatabase.pl deleting the preference from the systempreferences table. +1 but from an excess of caution, is there any possibility that this could complicate a MySQL {dump form earlier version} == {restore to a brand new install}? Best - Paul ___ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
Re: [Koha-devel] RFC on sysprefs deprecation workflow
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Op 05-09-12 19:08, Paul schreef: [4] Add an update to updatedatabase.pl deleting the preference from the systempreferences table. +1 but from an excess of caution, is there any possibility that this could complicate a MySQL {dump form earlier version} == {restore to a brand new install}? Step [4] should take care of that case. And if it doesn't, the result really is just that the syspref will be there and not do anything. - -- Robin Sheat Catalyst IT Ltd. ? +64 4 803 2204 GPG: 5957 6D23 8B16 EFAB FEF8 7175 14D3 6485 A99C EB6D -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlBHoRIACgkQFNNkhamc623w5ACfaZTnQ3i44YZLd8xEuEp0Kz13 y5EAn3zq0dnmPVpTX0Hla8ZAV3y68kgE =F5xJ -END PGP SIGNATURE- ___ Koha-devel mailing list Koha-devel@lists.koha-community.org http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/