Skip to content

Commit 860581e

Browse files
committed
Migrate patches.description column to mediumtext
1 parent 109f120 commit 860581e

File tree

6 files changed

+16
-12
lines changed

6 files changed

+16
-12
lines changed

Makefile

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
NAME = smt
2-
VERSION = 3.0.44
2+
VERSION = 3.0.45
33
DESTDIR = /
44
PERL ?= perl
55
PERLMODDIR = $(shell $(PERL) -MConfig -e 'print $$Config{installvendorlib};')
@@ -214,4 +214,3 @@ pot:
214214

215215
package: dist
216216
mv $(NAME)-$(VERSION).tar.bz2 package/
217-
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ALTER TABLE Patches
2+
MODIFY COLUMN DESCRIPTION MEDIUMTEXT;

db/schemas/mysql/latest/100-smt-tables.sql

+1-2
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ create table Patches( ID INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
290290
VERSION VARCHAR(32) NOT NULL,
291291
CATEGORY INTEGER UNSIGNED NOT NULL DEFAULT 1,
292292
SUMMARY VARCHAR(512) NOT NULL,
293-
DESCRIPTION TEXT NOT NULL,
293+
DESCRIPTION MEDIUMTEXT NOT NULL,
294294
RELDATE TIMESTAMP NOT NULL,
295295
CONSTRAINT Patches_id_pk PRIMARY KEY (ID)
296296
) ENGINE=InnoDB CHARSET=utf8 COLLATE=utf8_unicode_ci;
@@ -343,4 +343,3 @@ END;
343343
//
344344

345345
DELIMITER ;
346-

package/smt.changes

+10-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
1+
-------------------------------------------------------------------
2+
Wed Sep 9 16:31:34 UTC 2020 - Serhii Kotov <[email protected]>
3+
- Version 3.0.45
4+
- Fix patches.description field (bsc#1175871)
5+
16
-------------------------------------------------------------------
27
Fri Jul 30 15:27:01 UTC 2020 - Ali Abdallah <[email protected]>
38

49
- Version 3.0.44
5-
- Add two options LowSpeedLimit and LowSpeedTime to configure
10+
- Add two options LowSpeedLimit and LowSpeedTime to configure
611
CURLOPT_LOW_SPEED_LIMIT and CURLOPT_LOW_SPEED_TIME (bsc#1174348)
712
- Fix handling dash based version formats in 'systems/products' endpoint (bsc#1165012)
813

@@ -72,7 +77,7 @@ Wed Jun 27 13:52:16 UTC 2018 - [email protected]
7277
-------------------------------------------------------------------
7378
Tue May 29 10:42:02 UTC 2018 - [email protected]
7479

75-
- Fixes for the offline migration (bsc#1094865)
80+
- Fixes for the offline migration (bsc#1094865)
7681

7782
-------------------------------------------------------------------
7883
Fri May 25 11:13:51 UTC 2018 - [email protected]
@@ -420,7 +425,7 @@ Thu Sep 17 11:41:56 UTC 2015 - [email protected]
420425
- add smt.service for extra maintenance tasks (bsc#945081)
421426
- remove smt-mirror-sle9 (fate#319415)
422427
- limit timestamp to 32bit value (bnc#945382)
423-
- version 3.0.4
428+
- version 3.0.4
424429

425430
-------------------------------------------------------------------
426431
Tue Sep 8 09:06:11 UTC 2015 - [email protected]
@@ -455,7 +460,7 @@ Fri Aug 21 10:35:47 CEST 2015 - [email protected]
455460
-------------------------------------------------------------------
456461
Thu Aug 20 13:25:37 UTC 2015 - [email protected]
457462

458-
- add support for migrating DB engine to InnoDB
463+
- add support for migrating DB engine to InnoDB
459464
- move tmpfile configuration to git
460465
remove tmpfile-smt.conf (source2)
461466

@@ -475,7 +480,7 @@ Fri Jul 31 07:15:37 UTC 2015 - [email protected]
475480
Thu Jul 9 13:25:27 UTC 2015 - [email protected]
476481

477482
- delete testdata after build so clamav is happy
478-
- run through spec-cleaner
483+
- run through spec-cleaner
479484

480485
-------------------------------------------------------------------
481486
Wed Jul 8 15:52:07 UTC 2015 - [email protected]
@@ -2061,4 +2066,3 @@ Thu Jan 17 17:44:32 CET 2008 - [email protected]
20612066
Fri Jan 11 17:44:00 CET 2008 - [email protected]
20622067

20632068
- version 0.0.1 - initial version
2064-

package/smt.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
Name: smt
20-
Version: 3.0.44
20+
Version: 3.0.45
2121
Release: 0
2222
Summary: Subscription Management Tool
2323
License: GPL-2.0+

www/perl-lib/SMT.pm

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ use warnings;
55

66
use vars qw($SCHEMA_VERSION);
77

8-
$SCHEMA_VERSION = 3.08;
8+
$SCHEMA_VERSION = 3.09;
99

1010
1;

0 commit comments

Comments
 (0)