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:
11
.drone.yml
11
.drone.yml
@@ -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
|
||||
|
2
TODO.org
2
TODO.org
@@ -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
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
|
@@ -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"
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user