From: Jonathan Dieter Date: Mon, 11 Jun 2018 19:19:56 +0000 (+0300) Subject: Run ABI test and bump to 0.7.1 X-Git-Tag: archive/raspbian/1.1.9+ds1-1+rpi1~1^2~219 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=cf234a66ee41cb21450fe050a61a95c2dc1fff59;p=zchunk.git Run ABI test and bump to 0.7.1 Signed-off-by: Jonathan Dieter --- diff --git a/include/zck.h b/include/zck.h index e8a517b..1d52a7a 100644 --- a/include/zck.h +++ b/include/zck.h @@ -1,10 +1,10 @@ #ifndef ZCK_H #define ZCK_H -#define ZCK_VERSION "0.7.0" +#define ZCK_VERSION "0.7.1" #define ZCK_VER_MAJOR 0 #define ZCK_VER_MINOR 7 -#define ZCK_VER_REVISION 0 +#define ZCK_VER_REVISION 1 #define ZCK_VER_SUBREVISION 0 #define True 1 diff --git a/test/abi/stable/libzck.so.0.0.1 b/test/abi/stable/libzck.so.0.0.1 index c9766b9..12cd995 100755 Binary files a/test/abi/stable/libzck.so.0.0.1 and b/test/abi/stable/libzck.so.0.0.1 differ diff --git a/test/abi/stable/zck.h b/test/abi/stable/zck.h index 0de2c76..1d52a7a 100644 --- a/test/abi/stable/zck.h +++ b/test/abi/stable/zck.h @@ -1,10 +1,10 @@ #ifndef ZCK_H #define ZCK_H -#define ZCK_VERSION "0.7.0" +#define ZCK_VERSION "0.7.1" #define ZCK_VER_MAJOR 0 #define ZCK_VER_MINOR 7 -#define ZCK_VER_REVISION 0 +#define ZCK_VER_REVISION 1 #define ZCK_VER_SUBREVISION 0 #define True 1 @@ -133,6 +133,8 @@ char *zck_get_range_char(zckRange *range) /* Get file descriptor attached to zchunk context */ int zck_get_fd(zckCtx *zck) __attribute__ ((warn_unused_result)); +/* Set file descriptor attached to zchunk context */ +void zck_set_fd(zckCtx *zck, int fd); /* Return number of missing chunks (-1 if error) */ int zck_missing_chunks(zckCtx *zck) @@ -199,6 +201,8 @@ int zck_read_lead(zckCtx *zck) int zck_read_header(zckCtx *zck) __attribute__ ((warn_unused_result)); +int zck_validate_lead(zckCtx *zck) + __attribute__ ((warn_unused_result)); /******************************************************************* * Indexes @@ -288,6 +292,9 @@ void zck_dl_free(zckDL **dl); /* Get zchunk context from download context */ zckCtx *zck_dl_get_zck(zckDL *dl) __attribute__ ((warn_unused_result)); +/* Set zchunk context in download context */ +int zck_dl_set_zck(zckDL *dl, zckCtx *zck) + __attribute__ ((warn_unused_result)); /* Clear regex used for extracting download ranges from multipart download */ void zck_dl_clear_regex(zckDL *dl); /* Download and process the header from url */ @@ -303,7 +310,7 @@ size_t zck_dl_get_bytes_uploaded(zckDL *dl) int zck_dl_set_range(zckDL *dl, zckRange *range) __attribute__ ((warn_unused_result)); /* Get download ranges from zchunk download context */ -int zck_dl_set_range(zckDL *dl, zckRange *range) +zckRange *zck_dl_get_range(zckDL *dl) __attribute__ ((warn_unused_result)); /* Set header callback function */ diff --git a/test/compat_reports/zchunk/0.6.3_to_0.7.0/compat_report.html b/test/compat_reports/zchunk/0.6.3_to_0.7.0/compat_report.html deleted file mode 100644 index 101b0dc..0000000 --- a/test/compat_reports/zchunk/0.6.3_to_0.7.0/compat_report.html +++ /dev/null @@ -1,1278 +0,0 @@ - - - - - - - - - -zchunk: 0.6.3 to 0.7.0 compatibility report - - - -

API compatibility report for the libzck.so object between 0.6.3 and 0.7.0 versions on x86_64

- -
-
-

Test Info


- - - - - - - -
Module Namezchunk
Version #10.6.3
Version #20.7.0
Archx86_64
GCC Version8.1.1
SubjectBinary Compatibility
-

Test Results


- - - - - - - -
Total Header Files6
Total Source Files8
Total Objects1
Total Symbols / Types50 / 53
Compatibility85%
-

Problem Summary


- - - - - - - - - -
SeverityCount
Added Symbols-16
Removed SymbolsHigh2
Problems with
Data Types
High1
Medium17
Low7
Problems with
Symbols
High0
Medium1
Low0
Problems with
Constants
Low0
- -

Added Symbols  16 


-dl.c, libzck.so.0.0.1
-zck_dl_get_range ( zckDL* dl )
-zck_dl_get_zck ( zckDL* dl )
-zck_dl_set_header_cb ( zckDL* dl, zck_wcb func )
-zck_dl_set_header_data ( zckDL* dl, void* data )
-zck_dl_set_range ( zckDL* dl, zckRange* range )
-zck_dl_set_write_cb ( zckDL* dl, zck_wcb func )
-zck_dl_set_write_data ( zckDL* dl, void* data )
-
-index_read.c, libzck.so.0.0.1
-zck_compare_chunk_digest ( zckChunk* a, zckChunk* b )
-zck_get_chunk_comp_size ( zckChunk* idx )
-zck_get_chunk_count ( zckCtx* zck )
-zck_get_chunk_size ( zckChunk* idx )
-zck_get_chunk_start ( zckChunk* idx )
-zck_get_chunk_valid ( zckChunk* idx )
-zck_get_first_chunk ( zckCtx* zck )
-zck_get_next_chunk ( zckChunk* idx )
-
-range.c, libzck.so.0.0.1
-zck_get_range_count ( zckRange* range )
-
-to the top
-

Removed Symbols  2 


-index_read.c, libzck.so.0.0.1
-zck_get_index ( zckCtx* zck )
-zck_get_index_count ( zckCtx* zck )
-
-to the top
- -

Problems with Data Types, High Severity  1 


-zck.h
- -[+] struct zckDL  1  -
- - -
-to the top
- -

Problems with Data Types, Medium Severity  17 


-zck.h
- -[+] struct zckDL  17  -
- - -
-to the top
- -

Problems with Symbols, Medium Severity  1 


-hash.c, libzck.so.0.0.1
- -[+] zck_get_chunk_digest ( zckIndexItem* item )  1  -
- -
-to the top
- -

Problems with Data Types, Low Severity  7 


-zck.h
- -[+] struct zckDL  4  -
- - - -[+] struct zckIndex  1  -
- - -
-zck_private.h
- -[+] struct zckComp  1  -
- - - -[+] struct zckCtx  1  -
- - -
-to the top
-

Header Files  6 


-
-regex.h
-stddef.h
-stdint-uintn.h
-types.h
-zck.h
-zck_private.h
-
-
to the top
-

Source Files  8 


-
-comp.c
-dl.c
-hash.c
-header.c
-index_read.c
-log.c
-range.c
-zck.c
-
-
to the top
-

Objects  1 


-
-libzck.so.0.0.1
-
-
to the top
-


-

Test Info


- - - - - - -
Module Namezchunk
Version #10.6.3
Version #20.7.0
Archx86_64
SubjectSource Compatibility
-

Test Results


- - - - - - - -
Total Header Files6
Total Source Files8
Total Objects1
Total Symbols / Types50 / 53
Compatibility51%
-

Problem Summary


- - - - - - - - - - -
SeverityCount
Added Symbols-16
Removed SymbolsHigh2
Problems with
Data Types
High2
Medium3
Low12
Problems with
Symbols
High0
Medium1
Low0
Problems with
Constants
Low0
Other Changes
in Data Types
-6
- -

Added Symbols  16 


-dl.c
-zck_dl_get_range ( zckDL* dl )
-zck_dl_get_zck ( zckDL* dl )
-zck_dl_set_header_cb ( zckDL* dl, zck_wcb func )
-zck_dl_set_header_data ( zckDL* dl, void* data )
-zck_dl_set_range ( zckDL* dl, zckRange* range )
-zck_dl_set_write_cb ( zckDL* dl, zck_wcb func )
-zck_dl_set_write_data ( zckDL* dl, void* data )
-
-index_read.c
-zck_compare_chunk_digest ( zckChunk* a, zckChunk* b )
-zck_get_chunk_comp_size ( zckChunk* idx )
-zck_get_chunk_count ( zckCtx* zck )
-zck_get_chunk_size ( zckChunk* idx )
-zck_get_chunk_start ( zckChunk* idx )
-zck_get_chunk_valid ( zckChunk* idx )
-zck_get_first_chunk ( zckCtx* zck )
-zck_get_next_chunk ( zckChunk* idx )
-
-range.c
-zck_get_range_count ( zckRange* range )
-
-to the top
-

Removed Symbols  2 


-index_read.c
-zck_get_index ( zckCtx* zck )
-zck_get_index_count ( zckCtx* zck )
-
-to the top
- -

Problems with Data Types, High Severity  2 


-zck.h
- -[+] struct zckDL  2  -
- - -
-to the top
- -

Problems with Data Types, Medium Severity  3 


-zck.h
- -[+] struct zckIndex  1  -
- - -
-zck_private.h
- -[+] struct zckComp  1  -
- - - -[+] struct zckCtx  1  -
- - -
-to the top
- -

Problems with Symbols, Medium Severity  1 


-hash.c
- -[+] zck_get_chunk_digest ( zckIndexItem* item )  1  -
- -
-to the top
- -

Problems with Data Types, Low Severity  12 


-zck.h
- -[+] struct zckDL  12  -
- - -
-to the top
- -

Other Changes in Data Types  6 


-zck.h
- -[+] struct zckDL  6  -
- - -
-to the top
-

Header Files  6 


-
-regex.h
-stddef.h
-stdint-uintn.h
-types.h
-zck.h
-zck_private.h
-
-
to the top
-

Source Files  8 


-
-comp.c
-dl.c
-hash.c
-header.c
-index_read.c
-log.c
-range.c
-zck.c
-
-
to the top
-

Objects  1 


-
-libzck.so.0.0.1
-
-
to the top
-



- -
- - diff --git a/test/compat_reports/zchunk/0.7.0_to_0.7.1/compat_report.html b/test/compat_reports/zchunk/0.7.0_to_0.7.1/compat_report.html new file mode 100644 index 0000000..977922e --- /dev/null +++ b/test/compat_reports/zchunk/0.7.0_to_0.7.1/compat_report.html @@ -0,0 +1,517 @@ + + + + + + + + + +zchunk: 0.7.0 to 0.7.1 compatibility report + + + +

API compatibility report for the libzck.so object between 0.7.0 and 0.7.1 versions on x86_64

+ +
+
+

Test Info


+ + + + + + + +
Module Namezchunk
Version #10.7.0
Version #20.7.1
Archx86_64
GCC Version8.1.1
SubjectBinary Compatibility
+

Test Results


+ + + + + + + +
Total Header Files1
Total Source Files8
Total Objects1
Total Symbols / Types62 / 20
Compatibility100%
+

Problem Summary


+ + + + + + + + + +
SeverityCount
Added Symbols-4
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
+ +

Added Symbols  4 


+zck.h, libzck.so.0.0.1
+zck_dl_set_zck ( zckDL* dl, zckCtx* zck )
+zck_failed_chunks ( zckCtx* zck )
+zck_set_fd ( zckCtx* zck, int fd )
+zck_validate_lead ( zckCtx* zck )
+
+to the top
+

Header Files  1 


+
+zck.h
+
+
to the top
+

Source Files  8 


+
+comp.c
+dl.c
+hash.c
+header.c
+index_read.c
+log.c
+range.c
+zck.c
+
+
to the top
+

Objects  1 


+
+libzck.so.0.0.1
+
+
to the top
+


+

Test Info


+ + + + + + +
Module Namezchunk
Version #10.7.0
Version #20.7.1
Archx86_64
SubjectSource Compatibility
+

Test Results


+ + + + + + + +
Total Header Files1
Total Source Files8
Total Objects1
Total Symbols / Types62 / 20
Compatibility100%
+

Problem Summary


+ + + + + + + + + +
SeverityCount
Added Symbols-5
Removed SymbolsHigh0
Problems with
Data Types
High0
Medium0
Low0
Problems with
Symbols
High0
Medium0
Low0
Problems with
Constants
Low0
+ +

Added Symbols  5 


+zck.h
+zck_dl_get_range ( zckDL* dl )
+zck_dl_set_zck ( zckDL* dl, zckCtx* zck )
+zck_failed_chunks ( zckCtx* zck )
+zck_set_fd ( zckCtx* zck, int fd )
+zck_validate_lead ( zckCtx* zck )
+
+to the top
+

Header Files  1 


+
+zck.h
+
+
to the top
+

Source Files  8 


+
+comp.c
+dl.c
+hash.c
+header.c
+index_read.c
+log.c
+range.c
+zck.c
+
+
to the top
+

Objects  1 


+
+libzck.so.0.0.1
+
+
to the top
+



+ +
+ +