0
0
mirror of https://dev.sigpipe.me/dashie/git.txt synced 2025-10-06 02:42:43 +02:00

Update libgit to 0.27

This commit is contained in:
Dashie
2019-02-05 11:06:12 +01:00
parent 48953674c3
commit 3d2a65bb55
6 changed files with 7 additions and 14 deletions

View File

@@ -16,9 +16,7 @@ pipeline:
TAGS: sqlite
GOPATH: /srv/app
commands:
- echo 'http://dl-cdn.alpinelinux.org/alpine/v3.7/main' >> /etc/apk/repositories
- apk update
- apk -U add libmagic file-dev libgit2=0.25.1-r4 libgit2-dev=0.25.1-r4
- apk -U add libmagic file-dev libgit2 libgit2-dev
- make test
when:
event: [ push, tag, pull_request ]
@@ -30,9 +28,7 @@ pipeline:
TAGS: sqlite
GOPATH: /srv/app
commands:
- echo 'http://dl-cdn.alpinelinux.org/alpine/v3.7/main' >> /etc/apk/repositories
- apk update
- apk -U add libmagic file-dev libgit2=0.25.1-r4 libgit2-dev=0.25.1-r4
- apk -U add libmagic file-dev libgit2 libgit2-dev
- make clean
- make vet
- make lint
@@ -48,9 +44,8 @@ pipeline:
TAGS: sqlite
GOPATH: /srv/app
commands:
- echo 'http://dl-cdn.alpinelinux.org/alpine/v3.7/main' >> /etc/apk/repositories
- apk update
- apk -U add libmagic file-dev libgit2=0.25.1-r4 libgit2-dev=0.25.1-r4
- apk -U add libmagic file-dev libgit2 libgit2-dev
- make clean
- make build
- make release-lx64

View File

@@ -6,8 +6,6 @@
** xorm update, breaking changes
*** migrate to gorm ?
** TODO Upgrade git2go to v26 (.3)
*** Blocked by https://github.com/libgit2/git2go/issues/407
** TODO Add edit time on view gist
** TODO Add line-break option
** TODO Cleanup gogs imports of unused bits

View File

@@ -14,7 +14,7 @@ import (
"fmt"
"github.com/Unknwon/paginater"
log "gopkg.in/clog.v1"
"gopkg.in/libgit2/git2go.v26"
"gopkg.in/libgit2/git2go.v27"
gotemplate "html/template"
"os"
"path/filepath"

View File

@@ -8,7 +8,7 @@ import (
"dev.sigpipe.me/dashie/git.txt/stuff/gite"
"dev.sigpipe.me/dashie/git.txt/stuff/tool"
"github.com/Unknwon/com"
"gopkg.in/libgit2/git2go.v26"
"gopkg.in/libgit2/git2go.v27"
"os"
"path"
"strings"

View File

@@ -5,7 +5,7 @@ import (
"archive/zip"
"dev.sigpipe.me/dashie/git.txt/setting"
"github.com/rakyll/magicmime"
"gopkg.in/libgit2/git2go.v26"
"gopkg.in/libgit2/git2go.v27"
gotemplate "html/template"
"os"
"path/filepath"

View File

@@ -2,7 +2,7 @@ package repository
import (
"dev.sigpipe.me/dashie/git.txt/setting"
git "gopkg.in/libgit2/git2go.v26"
git "gopkg.in/libgit2/git2go.v27"
"path"
)