https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25078

--- Comment #50 from Julian Maurice <[email protected]> ---
Comment on attachment 121909
  --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121909
Bug 25078: Put db revs into different files to handle them better

Review of attachment 121909:
 --> 
(https://bugs.koha-community.org/bugzilla3/page.cgi?id=splinter.html&bug=25078&attachment=121909)
-----------------------------------------------------------------

::: installer/data/mysql/db_revs/skeleton.pl
@@ +3,5 @@
> +{
> +    bug_number => "BUG_NUMBER",
> +    description => "A single line description",
> +    # description => ["Multi", "lines", "description"],
> +    # description => sub { return ["Your dynamic description"] },

I think there is something wrong about multi-lines/dynamic description. Why do
we need that ? I think that we are confusing the update's "description" (what
the update is supposed to do) with the update's "report" (what the update has
done).
A dynamic description also implies that it should be generated after the update
is done, because the 'description' sub might use some data from the 'up' sub,
but what if we want to display a list of pending updates before executing them
?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to