From 4ebe65d7dda10909995c7460050811f05205e0ee Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 30 Apr 2018 22:55:13 +0300 Subject: Add support for default and excluding git ref filters --- tests/common/git/init | 29 +++++++++++++++++++++++++++-- tests/common/git/state0/libbar.tar | Bin 71680 -> 71680 bytes tests/common/git/state0/libfoo.tar | Bin 296960 -> 307200 bytes tests/common/git/state0/libfox.tar | Bin 133120 -> 133120 bytes tests/common/git/state0/style-basic.tar | Bin 71680 -> 71680 bytes tests/common/git/state0/style.tar | Bin 133120 -> 133120 bytes tests/common/git/state1/libbaz.tar | Bin 61440 -> 61440 bytes tests/common/git/state1/libfoo.tar | Bin 378880 -> 389120 bytes tests/common/git/state1/libfox.tar | Bin 133120 -> 133120 bytes tests/common/git/state1/style-basic.tar | Bin 71680 -> 71680 bytes tests/common/git/state1/style.tar | Bin 133120 -> 133120 bytes 11 files changed, 27 insertions(+), 2 deletions(-) (limited to 'tests/common') diff --git a/tests/common/git/init b/tests/common/git/init index 1c15bd6..4fac21e 100755 --- a/tests/common/git/init +++ b/tests/common/git/init @@ -106,16 +106,41 @@ git -C libbar.git commit -am 'Create' # submodules. # git -C libfoo.git init + +cat <libfoo.git/manifest +: 1 +name: libfoo +version: 0.0.1 +summary: libfoo +license: MIT +url: http://example.org +email: pkg@example.org +EOF + git -C libfoo.git add '*' git -C libfoo.git submodule add ../style.git doc/style git -C libfoo.git submodule add ../libbar.git libbar git -C libfoo.git submodule update --init --recursive # Updates doc/style/basic. git -C libfoo.git commit -am 'Create' +git -C libfoo.git tag -a 'v0.0.1' -m 'Tag version 0.0.1' -# Add tags for libfoo.git. +# Increase libfoo version and add tags. # +cat <libfoo.git/manifest +: 1 +name: libfoo +version: 1.0.0 +summary: libfoo +license: MIT +url: http://example.org +email: pkg@example.org +EOF + +git -C libfoo.git commit -am 'Increase version to 1.0.0' + git -C libfoo.git tag 'ltag' -git -C libfoo.git tag -a 'atag' -m 'Create annotated tag' +git -C libfoo.git tag -a 'atag' -m 'Create annotated tag' +git -C libfoo.git tag -a 'v1.0.0' -m 'Tag version 1.0.0' # Advance the master branch to make tags not to mark a branch tip. # diff --git a/tests/common/git/state0/libbar.tar b/tests/common/git/state0/libbar.tar index 58b58bd..1db19e5 100644 Binary files a/tests/common/git/state0/libbar.tar and b/tests/common/git/state0/libbar.tar differ diff --git a/tests/common/git/state0/libfoo.tar b/tests/common/git/state0/libfoo.tar index 7aa0a9d..b2fa494 100644 Binary files a/tests/common/git/state0/libfoo.tar and b/tests/common/git/state0/libfoo.tar differ diff --git a/tests/common/git/state0/libfox.tar b/tests/common/git/state0/libfox.tar index 81d6c85..fe226a3 100644 Binary files a/tests/common/git/state0/libfox.tar and b/tests/common/git/state0/libfox.tar differ diff --git a/tests/common/git/state0/style-basic.tar b/tests/common/git/state0/style-basic.tar index 481705c..63904e2 100644 Binary files a/tests/common/git/state0/style-basic.tar and b/tests/common/git/state0/style-basic.tar differ diff --git a/tests/common/git/state0/style.tar b/tests/common/git/state0/style.tar index 127f82f..8c6c6ea 100644 Binary files a/tests/common/git/state0/style.tar and b/tests/common/git/state0/style.tar differ diff --git a/tests/common/git/state1/libbaz.tar b/tests/common/git/state1/libbaz.tar index 572c56b..7ca795c 100644 Binary files a/tests/common/git/state1/libbaz.tar and b/tests/common/git/state1/libbaz.tar differ diff --git a/tests/common/git/state1/libfoo.tar b/tests/common/git/state1/libfoo.tar index 4512930..af5212b 100644 Binary files a/tests/common/git/state1/libfoo.tar and b/tests/common/git/state1/libfoo.tar differ diff --git a/tests/common/git/state1/libfox.tar b/tests/common/git/state1/libfox.tar index 4046ded..6e108ba 100644 Binary files a/tests/common/git/state1/libfox.tar and b/tests/common/git/state1/libfox.tar differ diff --git a/tests/common/git/state1/style-basic.tar b/tests/common/git/state1/style-basic.tar index 604e8c8..cd6416e 100644 Binary files a/tests/common/git/state1/style-basic.tar and b/tests/common/git/state1/style-basic.tar differ diff --git a/tests/common/git/state1/style.tar b/tests/common/git/state1/style.tar index dab3fd7..d2c2a70 100644 Binary files a/tests/common/git/state1/style.tar and b/tests/common/git/state1/style.tar differ -- cgit v1.1