mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-24 11:46:30 +00:00
testing/tests/download: test git submodules
Add two submodules as static repos, add a branch to the main static repo and check on the git refs test case the download of a git package: - repo with submodule but without support in the package; - repo with recursive submodules with support in the package. Signed-off-by: Ricardo Martincoski <ricardo.martincoski@datacom.ind.br> Cc: Arnout Vandecappelle <arnout@mind.be> [Arnout: remove handling of inconsistent tarball hashes - that's an actual bug that should be fixed] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
parent
a9219660d3
commit
9cc7a12bde
@ -0,0 +1,2 @@
|
||||
sha256 f9d46ff8a1a344c6c31fa4211220f3085c446abd31626232540703158276f22c git-submodule-disabled-a9dbc1e23c45e8e1b88c0448763f54d714eb6f8f.tar.gz
|
||||
sha256 ba8b6ddc4726bfb6a05045ebfd8c43263c968ad1bc601bd46a25bc055008eddc file
|
@ -0,0 +1,11 @@
|
||||
################################################################################
|
||||
#
|
||||
# git-submodule-disabled
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GIT_SUBMODULE_DISABLED_VERSION = a9dbc1e23c45e8e1b88c0448763f54d714eb6f8f
|
||||
GIT_SUBMODULE_DISABLED_SITE = git://localhost:$(GITREMOTE_PORT_NUMBER)/repo.git
|
||||
GIT_SUBMODULE_DISABLED_LICENSE_FILES = file
|
||||
|
||||
$(eval $(generic-package))
|
@ -0,0 +1 @@
|
||||
sha256 139a34c3c844c844dee74b6746418cfa75fbcc4205794ac8c0b3cd7d55a76792 git-submodule-enabled-a9dbc1e23c45e8e1b88c0448763f54d714eb6f8f.tar.gz
|
@ -0,0 +1,11 @@
|
||||
################################################################################
|
||||
#
|
||||
# git-submodule-enabled
|
||||
#
|
||||
################################################################################
|
||||
|
||||
GIT_SUBMODULE_ENABLED_VERSION = a9dbc1e23c45e8e1b88c0448763f54d714eb6f8f
|
||||
GIT_SUBMODULE_ENABLED_SITE = git://localhost:$(GITREMOTE_PORT_NUMBER)/repo.git
|
||||
GIT_SUBMODULE_ENABLED_GIT_SUBMODULES = YES
|
||||
|
||||
$(eval $(generic-package))
|
1
support/testing/tests/download/git-remote/refs-sub1.git/.gitattributes
vendored
Normal file
1
support/testing/tests/download/git-remote/refs-sub1.git/.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
objects/*/* binary
|
@ -0,0 +1 @@
|
||||
cb545facf77bbc5f24f95b6d503c338d10b7b717
|
@ -0,0 +1,4 @@
|
||||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = true
|
||||
bare = true
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
xν
Â0@ajOq$:;˛#„X€&8˙…q,S°=‘(číW<=_rćjśvĆÖ&‡(˝“:Y§U"e“1a<31>0B#<23>•#9AĎv+.쩆gŞŤW_w†Cý`źżxš3ńŇű’Ź 5N¨Ť4*D±é6Ńâźr‚WnL‹Wž×ş’Rç^ű_fĹW`
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
1df823cb8a6d1866148ae50a8009762a9c4c777f
|
1
support/testing/tests/download/git-remote/refs-sub2.git/.gitattributes
vendored
Normal file
1
support/testing/tests/download/git-remote/refs-sub2.git/.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
objects/*/* binary
|
@ -0,0 +1 @@
|
||||
32d61bae693af7879da63b89a60d3ae67f851e56
|
@ -0,0 +1,4 @@
|
||||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = true
|
||||
bare = true
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
xν
Â0@ajOq$:;²#„X€&8ÿ…q,S°=‘(èíW<=_ræjœvÆÖ&‡(½“:Y§U"e“1a˜0B#ƒ•#9AÏv+.쩆gª<67>W_w†Cý`Ÿ¿xš3ñÒû’<C3BB> 5N¨<4E>-t¨Å¦ÛD‹Ê ^¹1-B\y^cèJJ<4A>{í™o`Ì`+
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,2 @@
|
||||
xÎ=n!†aל‚¬5,?‘eùi’Ã`#‡Åbq‘Ûg£é£´<C2A3>ô}z©ÕZ†Ô³=ŒÎ,5‡hUðä1È~£µQŠu4É)ì¼~“SÙ<05>yñKHètô$½ó’½Ul<55>À縵.ß
|
||||
aOM¾be¥¶Ý‹<õ<Ö_¼\+–<>#µz–Ê‚ëLXä3€Øu<C398>üOwb{ÆyRB¼—ëÊij9Oñóå/âãxl)
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
e83f6f805bd016b90acafc8702c52d778eb57310
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
2fa37f6885d7eb746df75eccaddbacf3ac82799d
|
@ -70,3 +70,5 @@ class TestGitRefs(GitTestBase):
|
||||
self.check_download("git-partial-sha1-reachable-by-branch")
|
||||
self.check_download("git-sha1-branch-head")
|
||||
self.check_download("git-sha1-reachable-by-branch")
|
||||
self.check_download("git-submodule-disabled")
|
||||
self.check_download("git-submodule-enabled")
|
||||
|
Loading…
x
Reference in New Issue
Block a user