Switch to own fork of commander/flag.

This commit is contained in:
Andrey Smirnov
2014-03-28 23:05:54 +04:00
parent 006d173d4f
commit d84226a054
41 changed files with 80 additions and 80 deletions
+2 -2
View File
@@ -3,10 +3,10 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/aptly"
"github.com/smira/aptly/debian"
"github.com/smira/commander"
"github.com/smira/flag"
"os"
"time"
)
+1 -1
View File
@@ -2,7 +2,6 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/smira/aptly/aptly"
"github.com/smira/aptly/console"
"github.com/smira/aptly/database"
@@ -10,6 +9,7 @@ import (
"github.com/smira/aptly/files"
"github.com/smira/aptly/http"
"github.com/smira/aptly/utils"
"github.com/smira/commander"
"os"
"path/filepath"
"runtime"
+2 -2
View File
@@ -1,8 +1,8 @@
package cmd
import (
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/commander"
"github.com/smira/flag"
)
func makeCmdDb() *commander.Command {
+2 -2
View File
@@ -2,10 +2,10 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/aptly/utils"
"github.com/smira/commander"
"github.com/smira/flag"
"sort"
)
+2 -2
View File
@@ -4,9 +4,9 @@ import (
"bytes"
"code.google.com/p/gographviz"
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/commander"
"github.com/smira/flag"
"io"
"io/ioutil"
"os"
+2 -2
View File
@@ -1,9 +1,9 @@
package cmd
import (
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/utils"
"github.com/smira/commander"
"github.com/smira/flag"
"strings"
)
+2 -2
View File
@@ -2,10 +2,10 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/aptly/utils"
"github.com/smira/commander"
"github.com/smira/flag"
"strings"
)
+2 -2
View File
@@ -2,8 +2,8 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/commander"
"github.com/smira/flag"
)
func aptlyMirrorDrop(cmd *commander.Command, args []string) error {
+2 -2
View File
@@ -2,9 +2,9 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/commander"
"github.com/smira/flag"
"sort"
)
+2 -2
View File
@@ -2,9 +2,9 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/utils"
"github.com/smira/commander"
"github.com/smira/flag"
"strings"
)
+2 -2
View File
@@ -2,8 +2,8 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/commander"
"github.com/smira/flag"
)
func aptlyMirrorUpdate(cmd *commander.Command, args []string) error {
+2 -2
View File
@@ -1,9 +1,9 @@
package cmd
import (
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/utils"
"github.com/smira/commander"
"github.com/smira/flag"
)
func getSigner(cmd *commander.Command) (utils.Signer, error) {
+2 -2
View File
@@ -2,8 +2,8 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/commander"
"github.com/smira/flag"
)
func aptlyPublishDrop(cmd *commander.Command, args []string) error {
+2 -2
View File
@@ -2,9 +2,9 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/commander"
"github.com/smira/flag"
"sort"
)
+2 -2
View File
@@ -1,8 +1,8 @@
package cmd
import (
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/commander"
"github.com/smira/flag"
)
func makeCmdPublishRepo() *commander.Command {
+2 -2
View File
@@ -2,10 +2,10 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/aptly/utils"
"github.com/smira/commander"
"github.com/smira/flag"
"strings"
)
+2 -2
View File
@@ -1,8 +1,8 @@
package cmd
import (
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/commander"
"github.com/smira/flag"
)
func makeCmdRepo() *commander.Command {
+2 -2
View File
@@ -2,10 +2,10 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/aptly/utils"
"github.com/smira/commander"
"github.com/smira/flag"
"os"
"path/filepath"
"sort"
+2 -2
View File
@@ -1,8 +1,8 @@
package cmd
import (
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/commander"
"github.com/smira/flag"
)
func makeCmdRepoCopy() *commander.Command {
+2 -2
View File
@@ -2,9 +2,9 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/commander"
"github.com/smira/flag"
)
func aptlyRepoCreate(cmd *commander.Command, args []string) error {
+2 -2
View File
@@ -2,8 +2,8 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/commander"
"github.com/smira/flag"
)
func aptlyRepoDrop(cmd *commander.Command, args []string) error {
+2 -2
View File
@@ -2,8 +2,8 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/commander"
"github.com/smira/flag"
)
func aptlyRepoEdit(cmd *commander.Command, args []string) error {
+2 -2
View File
@@ -1,8 +1,8 @@
package cmd
import (
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/commander"
"github.com/smira/flag"
)
func makeCmdRepoImport() *commander.Command {
+2 -2
View File
@@ -2,9 +2,9 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/commander"
"github.com/smira/flag"
"sort"
)
+2 -2
View File
@@ -2,9 +2,9 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/commander"
"github.com/smira/flag"
"sort"
)
+2 -2
View File
@@ -2,9 +2,9 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/commander"
"github.com/smira/flag"
)
func aptlyRepoRemove(cmd *commander.Command, args []string) error {
+2 -2
View File
@@ -2,8 +2,8 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/commander"
"github.com/smira/flag"
)
func aptlyRepoShow(cmd *commander.Command, args []string) error {
+2 -2
View File
@@ -2,10 +2,10 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/aptly/utils"
"github.com/smira/commander"
"github.com/smira/flag"
"net"
"net/http"
"os"
+2 -2
View File
@@ -1,8 +1,8 @@
package cmd
import (
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/commander"
"github.com/smira/flag"
)
func makeCmdSnapshot() *commander.Command {
+2 -2
View File
@@ -2,9 +2,9 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/commander"
"github.com/smira/flag"
)
func aptlySnapshotCreate(cmd *commander.Command, args []string) error {
+2 -2
View File
@@ -2,8 +2,8 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/commander"
"github.com/smira/flag"
)
func aptlySnapshotDiff(cmd *commander.Command, args []string) error {
+2 -2
View File
@@ -2,8 +2,8 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/commander"
"github.com/smira/flag"
)
func aptlySnapshotDrop(cmd *commander.Command, args []string) error {
+2 -2
View File
@@ -2,9 +2,9 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/commander"
"github.com/smira/flag"
"sort"
)
+2 -2
View File
@@ -2,9 +2,9 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/commander"
"github.com/smira/flag"
"strings"
)
+2 -2
View File
@@ -2,9 +2,9 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/commander"
"github.com/smira/flag"
"sort"
"strings"
)
+2 -2
View File
@@ -2,8 +2,8 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/commander"
"github.com/smira/flag"
)
func aptlySnapshotShow(cmd *commander.Command, args []string) error {
+2 -2
View File
@@ -2,9 +2,9 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/debian"
"github.com/smira/commander"
"github.com/smira/flag"
"sort"
)
+2 -2
View File
@@ -2,9 +2,9 @@ package cmd
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/aptly"
"github.com/smira/commander"
"github.com/smira/flag"
)
func aptlyVersion(cmd *commander.Command, args []string) error {