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

View File

@@ -3,8 +3,8 @@ gom 'code.google.com/p/go.crypto/ssh/terminal', :commit => '7aa593ce8cea'
gom 'code.google.com/p/gographviz', :commit => '212766062629'
gom 'code.google.com/p/snappy-go/snappy', :commit => '12e4b4183793'
gom 'github.com/cheggaaa/pb', :commit => '74be7a1388046f374ac36e93d46f5d56e856f827'
gom 'github.com/gonuts/commander', :commit => 'f8ba4e959ca914268227c3ebbd7f6bf0bb35541a'
gom 'github.com/gonuts/flag', :commit => '741a6cbd37a30dedc93f817e7de6aaf0ca38a493'
gom 'github.com/smira/commander'
gom 'github.com/smira/flag'
gom 'github.com/mkrautz/goar', :commit => '36eb5f3452b1283a211fa35bc00c646fd0db5c4b'
gom 'github.com/syndtr/goleveldb/leveldb', :commit => '527a7b286bd095794af6c519627b7ed3d8fd067a'
gom 'github.com/ugorji/go/codec', :commit => '71c2886f5a673a35f909803f38ece5810165097b'

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"
)

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"

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 {

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"
)

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"

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"
)

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"
)

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 {

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"
)

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"
)

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 {

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) {

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 {

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"
)

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 {

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"
)

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 {

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"

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 {

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 {

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 {

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 {

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 {

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"
)

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"
)

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 {

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 {

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"

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 {

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 {

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 {

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 {

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"
)

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"
)

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"
)

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 {

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"
)

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 {

View File

@@ -2,9 +2,9 @@ package main
import (
"fmt"
"github.com/gonuts/commander"
"github.com/smira/aptly/cmd"
"github.com/smira/aptly/utils"
"github.com/smira/commander"
"os"
"path/filepath"
)

View File

@@ -2,9 +2,9 @@ package main
import (
"fmt"
"github.com/gonuts/commander"
"github.com/gonuts/flag"
"github.com/smira/aptly/cmd"
"github.com/smira/commander"
"github.com/smira/flag"
"log"
"os"
"os/exec"