auth

Paddy 2014-12-17 Parent:d442523df640 Child:2e4b5722eed0

107:c03b5eb3179e Browse Files

Update import paths. Let's just use import paths that don't need aliasing, by specifying that they're mercurial repos.

authcode.go authcode_test.go authd/server.go client.go client_test.go context.go memstore.go oauth2.go oauth2_test.go profile.go profile_test.go session.go session_test.go token.go token_test.go

     1.1 --- a/authcode.go	Sun Dec 14 17:03:33 2014 -0500
     1.2 +++ b/authcode.go	Wed Dec 17 22:27:44 2014 -0500
     1.3 @@ -6,7 +6,7 @@
     1.4  	"net/http"
     1.5  	"time"
     1.6  
     1.7 -	"code.secondbit.org/uuid"
     1.8 +	"code.secondbit.org/uuid.hg"
     1.9  )
    1.10  
    1.11  func init() {
     2.1 --- a/authcode_test.go	Sun Dec 14 17:03:33 2014 -0500
     2.2 +++ b/authcode_test.go	Wed Dec 17 22:27:44 2014 -0500
     2.3 @@ -4,7 +4,7 @@
     2.4  	"testing"
     2.5  	"time"
     2.6  
     2.7 -	"code.secondbit.org/uuid"
     2.8 +	"code.secondbit.org/uuid.hg"
     2.9  )
    2.10  
    2.11  var authCodeStores = []authorizationCodeStore{NewMemstore()}
     3.1 --- a/authd/server.go	Sun Dec 14 17:03:33 2014 -0500
     3.2 +++ b/authd/server.go	Wed Dec 17 22:27:44 2014 -0500
     3.3 @@ -5,8 +5,7 @@
     3.4  	"log"
     3.5  	"net/http"
     3.6  
     3.7 -	"code.secondbit.org/auth"
     3.8 -
     3.9 +	"code.secondbit.org/auth.hg"
    3.10  	"github.com/gorilla/mux"
    3.11  )
    3.12  
     4.1 --- a/client.go	Sun Dec 14 17:03:33 2014 -0500
     4.2 +++ b/client.go	Wed Dec 17 22:27:44 2014 -0500
     4.3 @@ -7,7 +7,7 @@
     4.4  	"net/url"
     4.5  	"time"
     4.6  
     4.7 -	"code.secondbit.org/uuid"
     4.8 +	"code.secondbit.org/uuid.hg"
     4.9  )
    4.10  
    4.11  var (
     5.1 --- a/client_test.go	Sun Dec 14 17:03:33 2014 -0500
     5.2 +++ b/client_test.go	Wed Dec 17 22:27:44 2014 -0500
     5.3 @@ -7,7 +7,7 @@
     5.4  	"testing"
     5.5  	"time"
     5.6  
     5.7 -	"code.secondbit.org/uuid"
     5.8 +	"code.secondbit.org/uuid.hg"
     5.9  )
    5.10  
    5.11  const (
     6.1 --- a/context.go	Sun Dec 14 17:03:33 2014 -0500
     6.2 +++ b/context.go	Wed Dec 17 22:27:44 2014 -0500
     6.3 @@ -7,7 +7,7 @@
     6.4  	"net/url"
     6.5  	"time"
     6.6  
     6.7 -	"code.secondbit.org/uuid"
     6.8 +	"code.secondbit.org/uuid.hg"
     6.9  )
    6.10  
    6.11  // Context wraps the different storage interfaces and should
     7.1 --- a/memstore.go	Sun Dec 14 17:03:33 2014 -0500
     7.2 +++ b/memstore.go	Wed Dec 17 22:27:44 2014 -0500
     7.3 @@ -3,7 +3,7 @@
     7.4  import (
     7.5  	"sync"
     7.6  
     7.7 -	"code.secondbit.org/uuid"
     7.8 +	"code.secondbit.org/uuid.hg"
     7.9  )
    7.10  
    7.11  type memstore struct {
     8.1 --- a/oauth2.go	Sun Dec 14 17:03:33 2014 -0500
     8.2 +++ b/oauth2.go	Wed Dec 17 22:27:44 2014 -0500
     8.3 @@ -10,8 +10,7 @@
     8.4  	"sync"
     8.5  	"time"
     8.6  
     8.7 -	"code.secondbit.org/uuid"
     8.8 -
     8.9 +	"code.secondbit.org/uuid.hg"
    8.10  	"github.com/gorilla/mux"
    8.11  )
    8.12  
     9.1 --- a/oauth2_test.go	Sun Dec 14 17:03:33 2014 -0500
     9.2 +++ b/oauth2_test.go	Wed Dec 17 22:27:44 2014 -0500
     9.3 @@ -11,7 +11,7 @@
     9.4  	"testing"
     9.5  	"time"
     9.6  
     9.7 -	"code.secondbit.org/uuid"
     9.8 +	"code.secondbit.org/uuid.hg"
     9.9  )
    9.10  
    9.11  const (
    10.1 --- a/profile.go	Sun Dec 14 17:03:33 2014 -0500
    10.2 +++ b/profile.go	Wed Dec 17 22:27:44 2014 -0500
    10.3 @@ -8,8 +8,7 @@
    10.4  	"strings"
    10.5  	"time"
    10.6  
    10.7 -	"code.secondbit.org/uuid"
    10.8 -
    10.9 +	"code.secondbit.org/uuid.hg"
   10.10  	"github.com/extemporalgenome/slug"
   10.11  	"github.com/gorilla/mux"
   10.12  )
    11.1 --- a/profile_test.go	Sun Dec 14 17:03:33 2014 -0500
    11.2 +++ b/profile_test.go	Wed Dec 17 22:27:44 2014 -0500
    11.3 @@ -5,7 +5,7 @@
    11.4  	"testing"
    11.5  	"time"
    11.6  
    11.7 -	"code.secondbit.org/uuid"
    11.8 +	"code.secondbit.org/uuid.hg"
    11.9  )
   11.10  
   11.11  const (
    12.1 --- a/session.go	Sun Dec 14 17:03:33 2014 -0500
    12.2 +++ b/session.go	Wed Dec 17 22:27:44 2014 -0500
    12.3 @@ -9,9 +9,8 @@
    12.4  	"sort"
    12.5  	"time"
    12.6  
    12.7 -	"code.secondbit.org/pass"
    12.8 -	"code.secondbit.org/uuid"
    12.9 -
   12.10 +	"code.secondbit.org/pass.hg"
   12.11 +	"code.secondbit.org/uuid.hg"
   12.12  	"github.com/gorilla/mux"
   12.13  )
   12.14  
    13.1 --- a/session_test.go	Sun Dec 14 17:03:33 2014 -0500
    13.2 +++ b/session_test.go	Wed Dec 17 22:27:44 2014 -0500
    13.3 @@ -4,7 +4,7 @@
    13.4  	"testing"
    13.5  	"time"
    13.6  
    13.7 -	"code.secondbit.org/uuid"
    13.8 +	"code.secondbit.org/uuid.hg"
    13.9  )
   13.10  
   13.11  var sessionStores = []sessionStore{NewMemstore()}
    14.1 --- a/token.go	Sun Dec 14 17:03:33 2014 -0500
    14.2 +++ b/token.go	Wed Dec 17 22:27:44 2014 -0500
    14.3 @@ -4,7 +4,7 @@
    14.4  	"errors"
    14.5  	"time"
    14.6  
    14.7 -	"code.secondbit.org/uuid"
    14.8 +	"code.secondbit.org/uuid.hg"
    14.9  )
   14.10  
   14.11  const (
    15.1 --- a/token_test.go	Sun Dec 14 17:03:33 2014 -0500
    15.2 +++ b/token_test.go	Wed Dec 17 22:27:44 2014 -0500
    15.3 @@ -4,7 +4,7 @@
    15.4  	"testing"
    15.5  	"time"
    15.6  
    15.7 -	"code.secondbit.org/uuid"
    15.8 +	"code.secondbit.org/uuid.hg"
    15.9  )
   15.10  
   15.11  var tokenStores = []tokenStore{NewMemstore()}