Bugzilla – Attachment 99412 Details for
Bug 24584
Rewrite optional installation files to YAML
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 24584: Rewrite optional/sample_news to YAML
Bug-24584-Rewrite-optionalsamplenews-to-YAML.patch (text/plain), 5.20 KB, created by
Martin Renvoize (ashimema)
on 2020-02-21 16:39:54 UTC
(
hide
)
Description:
Bug 24584: Rewrite optional/sample_news to YAML
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2020-02-21 16:39:54 UTC
Size:
5.20 KB
patch
obsolete
>From c675f9bfbb5e0254cf560dc5ef1fec8eff183a91 Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Wed, 5 Feb 2020 09:46:28 -0300 >Subject: [PATCH] Bug 24584: Rewrite optional/sample_news to YAML > >YAML version of optional sample_news > >To test: >1) Same test plan of first patch, only check table > opac_news > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../data/mysql/en/optional/sample_news.sql | 2 - > .../data/mysql/en/optional/sample_news.txt | 1 - > .../data/mysql/en/optional/sample_news.yml | 52 +++++++++++++++++++ > 3 files changed, 52 insertions(+), 3 deletions(-) > delete mode 100644 installer/data/mysql/en/optional/sample_news.sql > delete mode 100644 installer/data/mysql/en/optional/sample_news.txt > create mode 100644 installer/data/mysql/en/optional/sample_news.yml > >diff --git a/installer/data/mysql/en/optional/sample_news.sql b/installer/data/mysql/en/optional/sample_news.sql >deleted file mode 100644 >index a060b7185c..0000000000 >--- a/installer/data/mysql/en/optional/sample_news.sql >+++ /dev/null >@@ -1,2 +0,0 @@ >-INSERT INTO `opac_news` (`title`, `content`, `lang`, `timestamp`, `expirationdate`, `number`) VALUES ('Welcome to Koha','Welcome to Koha. Koha is a full-featured open-source ILS. Developed initially in New Zealand by Katipo Communications Ltd and first deployed in January of 2000 for Horowhenua Library Trust, Koha is currently maintained by a team of software providers and library technology staff from around the globe.','koha','2007-10-29 05:25:58','2099-01-10',1), >-('What\'s Next?','Now that you\'ve installed Koha, what\'s next? Here are some suggestions:\r\n<ul>\r\n<li><a href=\"http://koha-community.org/documentation/\">Read Koha Documentation</a></li>\r\n<li><a href=\"http://wiki.koha-community.org\">Read/Write to the Koha Wiki</a></li>\r\n<li><a href=\"http://koha-community.org/support/\">Read and Contribute to Discussions</a></li>\r\n<li><a href=\"http://bugs.koha-community.org\">Report Koha Bugs</a></li>\r\n<li><a href=\"http://wiki.koha-community.org/wiki/Version_Control_Using_Git\">Submit Patches to Koha using Git (Version Control System)</a></li>\r\n<li><a href=\"http://koha-community.org/support/\">Chat with Koha users and developers</a></li>\r\n</ul>\r\n','koha','2007-10-29 05:34:45','2099-01-10',2); >diff --git a/installer/data/mysql/en/optional/sample_news.txt b/installer/data/mysql/en/optional/sample_news.txt >deleted file mode 100644 >index 8848aa3f61..0000000000 >--- a/installer/data/mysql/en/optional/sample_news.txt >+++ /dev/null >@@ -1 +0,0 @@ >-Sample news items >diff --git a/installer/data/mysql/en/optional/sample_news.yml b/installer/data/mysql/en/optional/sample_news.yml >new file mode 100644 >index 0000000000..25998d6182 >--- /dev/null >+++ b/installer/data/mysql/en/optional/sample_news.yml >@@ -0,0 +1,52 @@ >+--- >+# >+# Copyright 2020 Koha Development Team >+# >+# This file is part of Koha. >+# >+# Koha is free software; you can redistribute it and/or modify it under the >+# terms of the GNU General Public License as published by the Free Software >+# Foundation; either version 2 of the License, or (at your option) any later >+# version. >+# >+# Koha is distributed in the hope that it will be useful, but WITHOUT ANY >+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR >+# A PARTICULAR PURPOSE. See the GNU General Public License for more details. >+# >+# You should have received a copy of the GNU General Public License along >+# with Koha; if not, write to the Free Software Foundation, Inc., >+# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. >+# >+ >+description: >+ - "Sample news items" >+ >+tables: >+ - opac_news: >+ translatable: [ title, content ] >+ multiline: [ content ] >+ rows: >+ - title: "Welcome to Koha" >+ content: >+ - "Welcome to Koha. Koha is a full-featured open-source ILS. Developed initially in New Zealand by Katipo Communications Ltd and first deployed in January of 2000 for Horowhenua Library Trust, Koha is currently maintained by a team of software providers and library technology staff from around the globe." >+ lang: "koha" >+ timestamp: "2007-10-29 05:25:58" >+ expirationdate: "2099-01-10" >+ number: 1 >+ >+ - title: "What's Next?" >+ content: >+ - "Now that you've installed Koha, what's next? Here are some suggestions:" >+ - "<ul>" >+ - "<li><a href=\"http://koha-community.org/documentation/\">Read Koha Documentation</a></li>" >+ - "<li><a href=\"http://wiki.koha-community.org\">Read/Write to the Koha Wiki</a></li>" >+ - "<li><a href=\"http://koha-community.org/support/\">Read and Contribute to Discussions</a></li>" >+ - "<li><a href=\"http://bugs.koha-community.org\">Report Koha Bugs</a></li>" >+ - "<li><a href=\"http://wiki.koha-community.org/wiki/Version_Control_Using_Git\">Submit Patches to Koha using Git (Version Control System)</a></li>" >+ - "<li><a href=\"http://koha-community.org/support/\">Chat with Koha users and developers</a></li>" >+ - "</ul>" >+ - "" >+ lang: "koha" >+ timestamp: "2007-10-29 05:34:45" >+ expirationdate: "2099-01-10" >+ number: 2 >-- >2.20.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 24584
:
98464
|
98465
|
98466
|
98467
|
98468
|
98469
|
98470
|
98471
|
98472
|
98473
|
98474
|
98475
|
98476
|
98477
|
99402
|
99403
|
99404
|
99405
|
99406
|
99407
|
99408
|
99409
|
99410
|
99411
|
99412
|
99413
|
99414
|
99415
|
100352
|
100353
|
100354
|
100355
|
100356
|
100357
|
100358
|
100359
|
100360
|
100361
|
100362
|
100363
|
100364
|
100365