From 6e5e3972542baa1c715e13a36c1144f148c6320b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 19 Jun 2019 20:28:38 +0300 Subject: Consider only latest revisions for git repository location default set --- tests/common/git/init | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) (limited to 'tests/common/git/init') diff --git a/tests/common/git/init b/tests/common/git/init index 8cac2da..81479a8 100755 --- a/tests/common/git/init +++ b/tests/common/git/init @@ -113,11 +113,38 @@ git -C style-basic.git checkout master # Create master branch for libbar.git. # git -C libbar.git init + +cat <libbar.git/libbar/manifest +: 1 +name: libbar +version: 1.0.0 +summary: libbar +license: MIT +description-file: README +url: http://example.org/libbar +email: pkg@example.org +depends: style-basic >= $ +EOF + git -C libbar.git add '*' git -C libbar.git commit -am 'Create' git -C libbar.git tag -a 'v1.0.0' -m 'Tag version 1.0.0' + git -C libbar.git submodule add -b stable ../style-basic.git extras +cat <libbar.git/libbar/manifest +: 1 +name: libbar +version: 1.0.0+1 +summary: libbar +license: MIT +description-file: README +url: http://example.org/libbar +email: pkg@example.org +depends: style-basic >= $ +EOF + git -C libbar.git commit -am 'Add extras' +git -C libbar.git tag -a 'v1.0.0+1' -m 'Tag version 1.0.0+1' # Create master branch for libfoo.git, adding style.git and libbar.git as # submodules. -- cgit v1.1