aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/admin.go2
-rw-r--r--cmd/backup.go2
-rw-r--r--cmd/hook.go4
-rw-r--r--cmd/import.go2
-rw-r--r--cmd/restore.go6
-rw-r--r--cmd/serv.go2
-rw-r--r--cmd/web.go12
7 files changed, 15 insertions, 15 deletions
diff --git a/cmd/admin.go b/cmd/admin.go
index 58e82f5f..02b192d5 100644
--- a/cmd/admin.go
+++ b/cmd/admin.go
@@ -10,7 +10,7 @@ import (
"github.com/urfave/cli"
"github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/gogits/gogs/pkg/setting"
)
var (
diff --git a/cmd/backup.go b/cmd/backup.go
index f5911455..5cd9142f 100644
--- a/cmd/backup.go
+++ b/cmd/backup.go
@@ -18,7 +18,7 @@ import (
"gopkg.in/ini.v1"
"github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/gogits/gogs/pkg/setting"
)
var Backup = cli.Command{
diff --git a/cmd/hook.go b/cmd/hook.go
index c8448d5f..602690c6 100644
--- a/cmd/hook.go
+++ b/cmd/hook.go
@@ -21,8 +21,8 @@ import (
"github.com/gogits/git-module"
"github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/httplib"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/gogits/gogs/pkg/httplib"
+ "github.com/gogits/gogs/pkg/setting"
http "github.com/gogits/gogs/routers/repo"
)
diff --git a/cmd/import.go b/cmd/import.go
index f71e4b18..726359ee 100644
--- a/cmd/import.go
+++ b/cmd/import.go
@@ -15,7 +15,7 @@ import (
"github.com/Unknwon/com"
"github.com/urfave/cli"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/gogits/gogs/pkg/setting"
)
var (
diff --git a/cmd/restore.go b/cmd/restore.go
index 4b9cbed2..36e49fa2 100644
--- a/cmd/restore.go
+++ b/cmd/restore.go
@@ -16,7 +16,7 @@ import (
"gopkg.in/ini.v1"
"github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/gogits/gogs/pkg/setting"
)
var Restore = cli.Command{
@@ -24,9 +24,9 @@ var Restore = cli.Command{
Usage: "Restore files and database from backup",
Description: `Restore imports all related files and database from a backup archive.
The backup version must lower or equal to current Gogs version. You can also import
-backup from other database engines, which is useful for database migrating.
+backup from other database engines, which is useful for database migrating.
-If corresponding files or database tables are not presented in the archive, they will
+If corresponding files or database tables are not presented in the archive, they will
be skipped and remian unchanged.`,
Action: runRestore,
Flags: []cli.Flag{
diff --git a/cmd/serv.go b/cmd/serv.go
index 763dc864..d89ad5bd 100644
--- a/cmd/serv.go
+++ b/cmd/serv.go
@@ -18,7 +18,7 @@ import (
"github.com/gogits/gogs/models"
"github.com/gogits/gogs/models/errors"
- "github.com/gogits/gogs/modules/setting"
+ "github.com/gogits/gogs/pkg/setting"
http "github.com/gogits/gogs/routers/repo"
)
diff --git a/cmd/web.go b/cmd/web.go
index a0463939..86cb7732 100644
--- a/cmd/web.go
+++ b/cmd/web.go
@@ -30,12 +30,12 @@ import (
"gopkg.in/macaron.v1"
"github.com/gogits/gogs/models"
- "github.com/gogits/gogs/modules/bindata"
- "github.com/gogits/gogs/modules/context"
- "github.com/gogits/gogs/modules/form"
- "github.com/gogits/gogs/modules/mailer"
- "github.com/gogits/gogs/modules/setting"
- "github.com/gogits/gogs/modules/template"
+ "github.com/gogits/gogs/pkg/bindata"
+ "github.com/gogits/gogs/pkg/context"
+ "github.com/gogits/gogs/pkg/form"
+ "github.com/gogits/gogs/pkg/mailer"
+ "github.com/gogits/gogs/pkg/setting"
+ "github.com/gogits/gogs/pkg/template"
"github.com/gogits/gogs/routers"
"github.com/gogits/gogs/routers/admin"
apiv1 "github.com/gogits/gogs/routers/api/v1"