first-commit
This commit is contained in:
@@ -0,0 +1,3 @@
|
||||
Add some test files for GetLanguageStats
|
||||
|
||||
Signed-off-by: Andrew Thornton <art27@cantab.net>
|
1
modules/git/tests/repos/language_stats_repo/HEAD
Normal file
1
modules/git/tests/repos/language_stats_repo/HEAD
Normal file
@@ -0,0 +1 @@
|
||||
ref: refs/heads/master
|
5
modules/git/tests/repos/language_stats_repo/config
Normal file
5
modules/git/tests/repos/language_stats_repo/config
Normal file
@@ -0,0 +1,5 @@
|
||||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = true
|
||||
bare = true
|
||||
logallrefupdates = true
|
BIN
modules/git/tests/repos/language_stats_repo/index
Normal file
BIN
modules/git/tests/repos/language_stats_repo/index
Normal file
Binary file not shown.
1
modules/git/tests/repos/language_stats_repo/logs/HEAD
Normal file
1
modules/git/tests/repos/language_stats_repo/logs/HEAD
Normal file
@@ -0,0 +1 @@
|
||||
0000000000000000000000000000000000000000 8fee858da5796dfb37704761701bb8e800ad9ef3 Andrew Thornton <art27@cantab.net> 1632140318 +0100 commit (initial): Add some test files for GetLanguageStats
|
@@ -0,0 +1 @@
|
||||
0000000000000000000000000000000000000000 8fee858da5796dfb37704761701bb8e800ad9ef3 Andrew Thornton <art27@cantab.net> 1632140318 +0100 commit (initial): Add some test files for GetLanguageStats
|
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.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
8fee858da5796dfb37704761701bb8e800ad9ef3
|
1
modules/git/tests/repos/repo1_bare/HEAD
Normal file
1
modules/git/tests/repos/repo1_bare/HEAD
Normal file
@@ -0,0 +1 @@
|
||||
ref: refs/heads/master
|
4
modules/git/tests/repos/repo1_bare/config
Normal file
4
modules/git/tests/repos/repo1_bare/config
Normal file
@@ -0,0 +1,4 @@
|
||||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = true
|
||||
bare = true
|
BIN
modules/git/tests/repos/repo1_bare/index
Normal file
BIN
modules/git/tests/repos/repo1_bare/index
Normal file
Binary file not shown.
2
modules/git/tests/repos/repo1_bare/logs/HEAD
Normal file
2
modules/git/tests/repos/repo1_bare/logs/HEAD
Normal file
@@ -0,0 +1,2 @@
|
||||
37991dec2c8e592043f47155ce4808d4580f9123 feaf4ba6bc635fec442f46ddd4512416ec43c2c2 silverwind <me@silverwind.io> 1563741799 +0200 push
|
||||
feaf4ba6bc635fec442f46ddd4512416ec43c2c2 ce064814f4a0d337b333e646ece456cd39fab612 silverwind <me@silverwind.io> 1668354026 +0100 push
|
@@ -0,0 +1,2 @@
|
||||
37991dec2c8e592043f47155ce4808d4580f9123 feaf4ba6bc635fec442f46ddd4512416ec43c2c2 silverwind <me@silverwind.io> 1563741799 +0200 push
|
||||
feaf4ba6bc635fec442f46ddd4512416ec43c2c2 ce064814f4a0d337b333e646ece456cd39fab612 silverwind <me@silverwind.io> 1668354026 +0100 push
|
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 @@
|
||||
x<01><><EFBFBD>
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
x<01><>KN1Y<><14>#<23><1C>3 !<21>p.<2E><><EFBFBD>L<EFBFBD><4C>J<><05><><EFBFBD>,k<><6B><15><>}5<>Pl<>B<EFBFBD>5sK<73>H|><3E>d<>K<15>Kl k<>%<25><><EFBFBD>S7<53>ܛ<EFBFBD><DC9B>e<EFBFBD>Ӣ<>c<EFBFBD>Ή<EFBFBD><CE89><EFBFBD>H<EFBFBD><48>Se<53><65>~<7E>uLx<4C><78>oc<6F><63><13><><EFBFBD><EFBFBD>e<EFBFBD><65><EFBFBD>:D<>7<EFBFBD>Ә<EFBFBD>g<EFBFBD><67><EFBFBD>_B<5F>=":<3A><><EFBFBD><EFBFBD><EFBFBD>S<EFBFBD>^ET<45><54><EFBFBD><06>u<EFBFBD>p?<3F>6M^
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
x<01><>;
|
||||
1@<40>s<EFBFBD><73><EFBFBD>:<3A>f7<10><>#x<><78>L<EFBFBD><4C><EFBFBD>!F<>㻈<EFBFBD><E3BB88>+<2B>+<2B><><EFBFBD><EFBFBD>h<EFBFBD><68><EFBFBD>Z<EFBFBD>b<>H<EFBFBD><48><1F><><EFBFBD><19>J<J<08><>B
|
||||
VK6<0B><5<>J<EFBFBD><08><><EFBFBD>)J1I<17><>)<29>d#1<> T<><54>w<EFBFBD><77><15>+<2B><>3<EFBFBD><33><EFBFBD>+<2B><>`{<7B><>;<3B>=FD#ߡ<>ٿ<EFBFBD><D9BF><EFBFBD>B<EFBFBD><<3C><><<3C><><EFBFBD>3<>>=
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1 @@
|
||||
x<01><>1n<31>0E3<45><14><04>-<2D>&<04><><13><02>H&F+<2B>ա<EFBFBD>o<EFBFBD>#d<><64><1B><>/<2F><>X:<0C><>zS<7A>i<1A><>Z<EFBFBD>b1<62>ؔSa<53><61>g<EFBFBD>@<40>F<1F>35];̈<>'Ɇ%s<>D<EFBFBD><44>5<EFBFBD><35><EFBFBD><EFBFBD><EFBFBD><EFBFBD>R,<2C><>w<EFBFBD><77>_m<5F><EFBFBD>k<EFBFBD>C<43><7F><EFBFBD><EFBFBD><EFBFBD>v<EFBFBD>"?<3F><>}m<>#<23>8"<22>#|xDt<44><74><EFBFBD><EFBFBD><EFBFBD>f<EFBFBD><66>ET <20>z<EFBFBD><15><>z<EFBFBD><7A>/<2F><>N<EFBFBD>
|
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.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
x<01><>M
|
||||
1@a<>=E.<2E><><EFBFBD><EFBFBD>ӂ.<<3C>H۔<11>j<>9<EFBFBD><39>\<5C>o<EFBFBD><6F>:Ϗ6<>Co<43>@<40>2<EFBFBD>DI+QA<51><41>[V
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,4 @@
|
||||
x<01><>M
|
||||
<EFBFBD>0F]<5D><14><>B<EFBFBD>&&m"<22>@\<5C>Of<4F>6<EFBFBD>HG<48><47><EFBFBD><EFBFBD>
|
||||
~˷x<CBB7><78>y<1C><><EFBFBD><EFBFBD> <20><19>?[<5B><><EFBFBD><EFBFBD>B<EFBFBD>&
|
||||
H<b<>yߙNGt<47><74>ڨ<EFBFBD><DAA8>~.<2E>"<22>1x<>Ix`<60><><EFBFBD><EFBFBD><EFBFBD>&=㚸,}<7D><>{<7B>X<EFBFBD><58><EFBFBD><EFBFBD><EFBFBD> <09>p<><70>)<29><><EFBFBD>j<7F>}^ 1AZ<41><5A><0E><>3<EFBFBD>,<2C><><01><>I0
|
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
modules/git/tests/repos/repo1_bare/pulls/1.patch
Normal file
0
modules/git/tests/repos/repo1_bare/pulls/1.patch
Normal file
39
modules/git/tests/repos/repo1_bare/pulls/2.patch
Normal file
39
modules/git/tests/repos/repo1_bare/pulls/2.patch
Normal file
@@ -0,0 +1,39 @@
|
||||
From 6e8e2a6f9efd71dbe6917816343ed8415ad696c3 Mon Sep 17 00:00:00 2001
|
||||
From: 99rgosse <renaud@mycompany.com>
|
||||
Date: Fri, 26 Mar 2021 12:44:22 +0000
|
||||
Subject: [PATCH] Update gitea_import_actions.py
|
||||
|
||||
---
|
||||
gitea_import_actions.py | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/gitea_import_actions.py b/gitea_import_actions.py
|
||||
index f0d72cd..7b31963 100644
|
||||
--- a/gitea_import_actions.py
|
||||
+++ b/gitea_import_actions.py
|
||||
@@ -3,14 +3,14 @@
|
||||
# git log --pretty=format:'%H,%at,%s' --date=default > /tmp/commit.log
|
||||
# to get the commits logfile for a repository
|
||||
|
||||
-import mysql.connector as mariadb
|
||||
+import psycopg2
|
||||
|
||||
# set the following variables to fit your need...
|
||||
USERID = 1
|
||||
REPOID = 1
|
||||
BRANCH = "master"
|
||||
|
||||
-mydb = mariadb.connect(
|
||||
+mydb = psycopg2.connect(
|
||||
host="localhost",
|
||||
user="user",
|
||||
passwd="password",
|
||||
@@ -31,4 +31,4 @@ with open("/tmp/commit.log") as f:
|
||||
|
||||
mydb.commit()
|
||||
|
||||
-print("actions inserted.")
|
||||
\ No newline at end of file
|
||||
+print("actions inserted.")
|
||||
--
|
||||
GitLab
|
1
modules/git/tests/repos/repo1_bare/refs/heads/branch1
Normal file
1
modules/git/tests/repos/repo1_bare/refs/heads/branch1
Normal file
@@ -0,0 +1 @@
|
||||
2839944139e0de9737a044f78b0e4b40d989a9e3
|
1
modules/git/tests/repos/repo1_bare/refs/heads/branch2
Normal file
1
modules/git/tests/repos/repo1_bare/refs/heads/branch2
Normal file
@@ -0,0 +1 @@
|
||||
5c80b0245c1c6f8343fa418ec374b13b5d4ee658
|
1
modules/git/tests/repos/repo1_bare/refs/heads/master
Normal file
1
modules/git/tests/repos/repo1_bare/refs/heads/master
Normal file
@@ -0,0 +1 @@
|
||||
ce064814f4a0d337b333e646ece456cd39fab612
|
1
modules/git/tests/repos/repo1_bare/refs/notes/commits
Normal file
1
modules/git/tests/repos/repo1_bare/refs/notes/commits
Normal file
@@ -0,0 +1 @@
|
||||
ca6b5ddf303169a72d2a2971acde4f6eea194e5c
|
1
modules/git/tests/repos/repo1_bare/refs/tags/signed-tag
Normal file
1
modules/git/tests/repos/repo1_bare/refs/tags/signed-tag
Normal file
@@ -0,0 +1 @@
|
||||
36f97d9a96457e2bab511db30fe2db03893ebc64
|
1
modules/git/tests/repos/repo1_bare/refs/tags/test
Normal file
1
modules/git/tests/repos/repo1_bare/refs/tags/test
Normal file
@@ -0,0 +1 @@
|
||||
3ad28a9149a2864384548f3d17ed7f38014c9e8a
|
1
modules/git/tests/repos/repo1_bare_sha256/HEAD
Normal file
1
modules/git/tests/repos/repo1_bare_sha256/HEAD
Normal file
@@ -0,0 +1 @@
|
||||
ref: refs/heads/main
|
6
modules/git/tests/repos/repo1_bare_sha256/config
Normal file
6
modules/git/tests/repos/repo1_bare_sha256/config
Normal file
@@ -0,0 +1,6 @@
|
||||
[core]
|
||||
repositoryformatversion = 1
|
||||
filemode = true
|
||||
bare = true
|
||||
[extensions]
|
||||
objectformat = sha256
|
7
modules/git/tests/repos/repo1_bare_sha256/info/refs
Normal file
7
modules/git/tests/repos/repo1_bare_sha256/info/refs
Normal file
@@ -0,0 +1,7 @@
|
||||
42e334efd04cd36eea6da0599913333c26116e1a537ca76e5b6e4af4dda00236 refs/heads/branch1
|
||||
5bc2249e32e0ba40a08879fba2bd4e97a13cb345831549f4bc5649525da8f6cc refs/heads/branch2
|
||||
9433b2a62b964c17a4485ae180f45f595d3e69d31b786087775e28c6b6399df0 refs/heads/main
|
||||
29a82d4fc02e19190fb489cc90d5730ed91970b49f4e39acda2798b3dd4f814e refs/tags/signed-tag
|
||||
9433b2a62b964c17a4485ae180f45f595d3e69d31b786087775e28c6b6399df0 refs/tags/signed-tag^{}
|
||||
171822a62559f3aa28a00aa3785dbe915d6a8eb02712682740db44fc8bd2187a refs/tags/test
|
||||
6aae864a3d1d0d6a5be0cc64028c1e7021e2632b031fd8eb82afc5a283d1c3d1 refs/tags/test^{}
|
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
P pack-c01aa121b9c5e345fe0da2f9be78665970b0c38c6b495d5fc034bc7a7b95334b.pack
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
8
modules/git/tests/repos/repo1_bare_sha256/packed-refs
Normal file
8
modules/git/tests/repos/repo1_bare_sha256/packed-refs
Normal file
@@ -0,0 +1,8 @@
|
||||
# pack-refs with: peeled fully-peeled sorted
|
||||
42e334efd04cd36eea6da0599913333c26116e1a537ca76e5b6e4af4dda00236 refs/heads/branch1
|
||||
5bc2249e32e0ba40a08879fba2bd4e97a13cb345831549f4bc5649525da8f6cc refs/heads/branch2
|
||||
9433b2a62b964c17a4485ae180f45f595d3e69d31b786087775e28c6b6399df0 refs/heads/main
|
||||
29a82d4fc02e19190fb489cc90d5730ed91970b49f4e39acda2798b3dd4f814e refs/tags/signed-tag
|
||||
^9433b2a62b964c17a4485ae180f45f595d3e69d31b786087775e28c6b6399df0
|
||||
171822a62559f3aa28a00aa3785dbe915d6a8eb02712682740db44fc8bd2187a refs/tags/test
|
||||
^6aae864a3d1d0d6a5be0cc64028c1e7021e2632b031fd8eb82afc5a283d1c3d1
|
@@ -0,0 +1 @@
|
||||
9433b2a62b964c17a4485ae180f45f595d3e69d31b786087775e28c6b6399df0
|
1
modules/git/tests/repos/repo2_empty/HEAD
Normal file
1
modules/git/tests/repos/repo2_empty/HEAD
Normal file
@@ -0,0 +1 @@
|
||||
ref: refs/heads/master
|
6
modules/git/tests/repos/repo2_empty/config
Normal file
6
modules/git/tests/repos/repo2_empty/config
Normal file
@@ -0,0 +1,6 @@
|
||||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = true
|
||||
bare = true
|
||||
ignorecase = true
|
||||
precomposeunicode = true
|
1
modules/git/tests/repos/repo3_notes/COMMIT_EDITMSG
Normal file
1
modules/git/tests/repos/repo3_notes/COMMIT_EDITMSG
Normal file
@@ -0,0 +1 @@
|
||||
2
|
1
modules/git/tests/repos/repo3_notes/HEAD
Normal file
1
modules/git/tests/repos/repo3_notes/HEAD
Normal file
@@ -0,0 +1 @@
|
||||
ref: refs/heads/master
|
7
modules/git/tests/repos/repo3_notes/config
Normal file
7
modules/git/tests/repos/repo3_notes/config
Normal file
@@ -0,0 +1,7 @@
|
||||
[core]
|
||||
repositoryformatversion = 0
|
||||
filemode = false
|
||||
bare = true
|
||||
logallrefupdates = true
|
||||
symlinks = false
|
||||
ignorecase = true
|
BIN
modules/git/tests/repos/repo3_notes/index
Normal file
BIN
modules/git/tests/repos/repo3_notes/index
Normal file
Binary file not shown.
2
modules/git/tests/repos/repo3_notes/logs/HEAD
Normal file
2
modules/git/tests/repos/repo3_notes/logs/HEAD
Normal file
@@ -0,0 +1,2 @@
|
||||
0000000000000000000000000000000000000000 ba0a96fa63532d6c5087ecef070b0250ed72fa47 Filip Navara <filip.navara@gmail.com> 1567767895 +0200 commit (initial): 1
|
||||
ba0a96fa63532d6c5087ecef070b0250ed72fa47 3e668dbfac39cbc80a9ff9c61eb565d944453ba4 Filip Navara <filip.navara@gmail.com> 1567767909 +0200 commit: 2
|
@@ -0,0 +1,2 @@
|
||||
0000000000000000000000000000000000000000 ba0a96fa63532d6c5087ecef070b0250ed72fa47 Filip Navara <filip.navara@gmail.com> 1567767895 +0200 commit (initial): 1
|
||||
ba0a96fa63532d6c5087ecef070b0250ed72fa47 3e668dbfac39cbc80a9ff9c61eb565d944453ba4 Filip Navara <filip.navara@gmail.com> 1567767909 +0200 commit: 2
|
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,3 @@
|
||||
x<01><>;<0E>0@<40>s
|
||||
<EFBFBD>H<EFBFBD><EFBFBD>&v*!<21><><EFBFBD><1D>4<EFBFBD>J<EFBFBD><4A>(p~
|
||||
G`|oxzi<7A><69><EFBFBD><01>;<3B><>3<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>6<EFBFBD><0B>$`<60>"NR<4E>ѺXla<6C>i<EFBFBD>K<EFBFBD><4B><EFBFBD><17><><EFBFBD>4r<34>$<24>\P0"ỵPQ'F_<46><5F>V<EFBFBD>N<EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD>*<2A>ʗ<EFBFBD><CA97>G<EFBFBD><47><EFBFBD>ӳK<D3B3>|<06>Y<EFBFBD>e<EFBFBD><01>H<EFBFBD>f<EFBFBD><66>f<EFBFBD><0C><0F><>Em
|
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user