Skip to content

Commit 259c97a

Browse files
committed
remove all libgit mentions
1 parent f11296b commit 259c97a

6 files changed

Lines changed: 3 additions & 108 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
with:
1616
path: gitly
1717
- name: Install Dependencies
18-
run: sudo apt install libsqlite3-dev libgit2-dev
18+
run: sudo apt install libsqlite3-dev
1919
- name: Install Markdown
2020
uses: actions/checkout@v3
2121
with:
@@ -83,8 +83,6 @@ jobs:
8383
with:
8484
repository: vlang/pcre
8585
path: vlib/pcre
86-
- name: Install libgit2
87-
run: brew install libgit2
8886
- name: Build V
8987
run: |
9088
make
@@ -162,22 +160,6 @@ jobs:
162160
uses: actions/checkout@v3
163161
with:
164162
path: gitly
165-
- name: Checkout libgit2
166-
uses: actions/checkout@v3
167-
with:
168-
repository: libgit2/libgit2
169-
path: thirdparty\libgit2
170-
- name: build libgit2
171-
run: |
172-
mkdir thirdparty\libgit2\build
173-
cd thirdparty\libgit2\build
174-
cmake ..
175-
cmake --build .
176-
cp .\Debug\git2.dll D:\a\gitly\gitly\
177-
cp .\Debug\git2.exe D:\a\gitly\gitly
178-
dir
179-
cd ..\..\..
180-
dir
181163
- name: Install SQLite
182164
run: |
183165
.github\workflows\windows-install-sqlite.bat
@@ -198,7 +180,7 @@ jobs:
198180
- name: Compile gitly
199181
run: |
200182
dir
201-
.\v.exe -cflags "-L." -cflags "-Igitly/libgit2/include" -cflags "-Igitly/libgit2" -cc gcc gitly
183+
.\v.exe -cc gcc gitly
202184
203185
ubuntu-tcc:
204186
runs-on: ubuntu-latest
@@ -214,7 +196,7 @@ jobs:
214196
with:
215197
path: gitly
216198
- name: Install Dependencies
217-
run: sudo apt install libsqlite3-dev libgit2-dev
199+
run: sudo apt install libsqlite3-dev
218200
- name: Install Markdown
219201
uses: actions/checkout@v3
220202
with:

.github/workflows/windows-libgit-types.bat

Lines changed: 0 additions & 3 deletions
This file was deleted.

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,12 +57,6 @@ Required dependencies:
5757
* PostgreSQL client library (Ubuntu/Debian: `libpq-dev`, macOS: `brew install libpq`)
5858
* Markdown (`v install markdown`)
5959
* sassc
60-
* libgit2
61-
62-
You can install libgit2 with:
63-
* Ubuntu/Debian: `apt install libgit2-dev`
64-
* FreeBSD: `pkg install libgit2`
65-
* macOS: `brew install libgit2`
6660

6761

6862
### Features

git2.h

Lines changed: 0 additions & 74 deletions
This file was deleted.

tests/first_run.v

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,6 @@ fn remove_repos_dir_if_exists() ! {
143143

144144
fn compile_gitly() {
145145
ilog('Compile gitly')
146-
// TODO: gitly segfaults with mbedtls (some interference with libgit2 initialisation) on Ubuntu 20.04. Investigate why exactly and fix it.
147146
// Note that using `-d use_openssl` prevents tcc from working, so the compilation will be much slower:
148147
os.execute('v -d use_libbacktrace -cg -keepc -d use_openssl -o gitly.exe .')
149148
ilog('Compiled gitly.exe, size: ${os.file_size('gitly.exe')}')

windows-libgit-types.bat

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)