Skip to content
Snippets Groups Projects
Commit 7a310270 authored by Spencer Brown's avatar Spencer Brown
Browse files

Update package import paths

parent 010437b6
No related branches found
No related tags found
No related merge requests found
# privategrity/user-discovery-bot # privategrity/user-discovery-bot
[![pipeline status](https://gitlab.com/privategrity/user-discovery-bot/badges/master/pipeline.svg)](https://gitlab.com/privategrity/user-discovery-bot/commits/master) [![pipeline status](https://gitlab.com/elixxir/user-discovery-bot/badges/master/pipeline.svg)](https://gitlab.com/elixxir/user-discovery-bot/commits/master)
[![coverage report](https://gitlab.com/privategrity/user-discovery-bot/badges/master/coverage.svg)](https://gitlab.com/privategrity/user-discovery-bot/commits/master) [![coverage report](https://gitlab.com/elixxir/user-discovery-bot/badges/master/coverage.svg)](https://gitlab.com/elixxir/user-discovery-bot/commits/master)
The user discovery bot helps users make first contact with other users. Users can search for other users using a string key (i.e. email address or phone number) and, if the user discovery bot finds a match for that user with the hash of the string, it will return a key ID. The user and the bot can then do a key exchange with the public key that the bot returns after the user queries that key ID to facilitate transfer of information that they need to talk to the user. The user discovery bot helps users make first contact with other users. Users can search for other users using a string key (i.e. email address or phone number) and, if the user discovery bot finds a match for that user with the hash of the string, it will return a key ID. The user and the bot can then do a key exchange with the public key that the bot returns after the user queries that key ID to facilitate transfer of information that they need to talk to the user.
......
...@@ -12,12 +12,12 @@ package cmd ...@@ -12,12 +12,12 @@ package cmd
import ( import (
jww "github.com/spf13/jwalterweatherman" jww "github.com/spf13/jwalterweatherman"
client "gitlab.com/privategrity/client/api" client "gitlab.com/elixxir/client/api"
clientGlobals "gitlab.com/privategrity/client/globals" clientGlobals "gitlab.com/elixxir/client/globals"
"gitlab.com/privategrity/user-discovery-bot/storage" "gitlab.com/elixxir/user-discovery-bot/storage"
"gitlab.com/privategrity/user-discovery-bot/udb" "gitlab.com/elixxir/user-discovery-bot/udb"
"os" "os"
"gitlab.com/privategrity/crypto/id" "gitlab.com/elixxir/crypto/id"
) )
// FIXME: Remove // FIXME: Remove
......
...@@ -8,7 +8,7 @@ package fingerprint ...@@ -8,7 +8,7 @@ package fingerprint
import ( import (
"encoding/base64" "encoding/base64"
"gitlab.com/privategrity/crypto/hash" "gitlab.com/elixxir/crypto/hash"
) )
// Creates a fingerprint of a public key // Creates a fingerprint of a public key
......
package: gitlab.com/privategrity/user-discovery-bot package: gitlab.com/elixxir/user-discovery-bot
import: import:
- package: gitlab.com/privategrity/client - package: gitlab.com/elixxir/client
version: master version: master
repo: git@gitlab.com:privategrity/client repo: git@gitlab.com:privategrity/client
vcs: git vcs: git
- package: gitlab.com/privategrity/crypto - package: gitlab.com/elixxir/crypto
version: master version: master
repo: git@gitlab.com:privategrity/crypto repo: git@gitlab.com:privategrity/crypto
vcs: git vcs: git
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
package main package main
import "gitlab.com/privategrity/user-discovery-bot/cmd" import "gitlab.com/elixxir/user-discovery-bot/cmd"
func main() { func main() {
cmd.Execute() cmd.Execute()
......
...@@ -10,7 +10,7 @@ import ( ...@@ -10,7 +10,7 @@ import (
"os/exec" "os/exec"
"testing" "testing"
"gitlab.com/privategrity/user-discovery-bot/cmd" "gitlab.com/elixxir/user-discovery-bot/cmd"
) )
// Smoke test for main // Smoke test for main
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
package storage package storage
import ( import (
"gitlab.com/privategrity/crypto/id" "gitlab.com/elixxir/crypto/id"
) )
// The ValueType constant stores the allowable types we search on // The ValueType constant stores the allowable types we search on
......
...@@ -9,8 +9,8 @@ package storage ...@@ -9,8 +9,8 @@ package storage
import ( import (
"fmt" "fmt"
"gitlab.com/privategrity/user-discovery-bot/fingerprint" "gitlab.com/elixxir/user-discovery-bot/fingerprint"
"gitlab.com/privategrity/crypto/id" "gitlab.com/elixxir/crypto/id"
) )
type RamStorage struct { type RamStorage struct {
......
...@@ -8,7 +8,7 @@ package storage ...@@ -8,7 +8,7 @@ package storage
import ( import (
"testing" "testing"
"gitlab.com/privategrity/crypto/id" "gitlab.com/elixxir/crypto/id"
) )
func TestRamAddAndGetKey(t *testing.T) { func TestRamAddAndGetKey(t *testing.T) {
......
...@@ -7,8 +7,8 @@ ...@@ -7,8 +7,8 @@
package udb package udb
import ( import (
"gitlab.com/privategrity/user-discovery-bot/storage" "gitlab.com/elixxir/user-discovery-bot/storage"
"gitlab.com/privategrity/crypto/id" "gitlab.com/elixxir/crypto/id"
) )
// The User Discovery Bot's userid & registrationn code // The User Discovery Bot's userid & registrationn code
......
...@@ -11,10 +11,10 @@ package udb ...@@ -11,10 +11,10 @@ package udb
import ( import (
"github.com/mattn/go-shellwords" "github.com/mattn/go-shellwords"
jww "github.com/spf13/jwalterweatherman" jww "github.com/spf13/jwalterweatherman"
"gitlab.com/privategrity/client/parse" "gitlab.com/elixxir/client/parse"
"gitlab.com/privategrity/client/switchboard" "gitlab.com/elixxir/client/switchboard"
"gitlab.com/privategrity/crypto/id" "gitlab.com/elixxir/crypto/id"
"gitlab.com/privategrity/client/cmixproto" "gitlab.com/elixxir/client/cmixproto"
) )
type SearchListener struct{} type SearchListener struct{}
......
...@@ -11,9 +11,9 @@ import ( ...@@ -11,9 +11,9 @@ import (
"encoding/base64" "encoding/base64"
"fmt" "fmt"
jww "github.com/spf13/jwalterweatherman" jww "github.com/spf13/jwalterweatherman"
"gitlab.com/privategrity/user-discovery-bot/storage" "gitlab.com/elixxir/user-discovery-bot/storage"
"gitlab.com/privategrity/crypto/id" "gitlab.com/elixxir/crypto/id"
"gitlab.com/privategrity/client/cmixproto" "gitlab.com/elixxir/client/cmixproto"
) )
const REGISTER_USAGE = "Usage: 'REGISTER [EMAIL] [email-address] " + const REGISTER_USAGE = "Usage: 'REGISTER [EMAIL] [email-address] " +
......
...@@ -9,12 +9,12 @@ package udb ...@@ -9,12 +9,12 @@ package udb
import ( import (
"encoding/base64" "encoding/base64"
jww "github.com/spf13/jwalterweatherman" jww "github.com/spf13/jwalterweatherman"
"gitlab.com/privategrity/client/parse" "gitlab.com/elixxir/client/parse"
"gitlab.com/privategrity/user-discovery-bot/storage" "gitlab.com/elixxir/user-discovery-bot/storage"
"os" "os"
"testing" "testing"
"gitlab.com/privategrity/crypto/id" "gitlab.com/elixxir/crypto/id"
"gitlab.com/privategrity/client/cmixproto" "gitlab.com/elixxir/client/cmixproto"
) )
type DummySender struct{} type DummySender struct{}
......
...@@ -10,9 +10,9 @@ package udb ...@@ -10,9 +10,9 @@ package udb
import ( import (
"fmt" "fmt"
jww "github.com/spf13/jwalterweatherman" jww "github.com/spf13/jwalterweatherman"
"gitlab.com/privategrity/user-discovery-bot/storage" "gitlab.com/elixxir/user-discovery-bot/storage"
"gitlab.com/privategrity/crypto/id" "gitlab.com/elixxir/crypto/id"
"gitlab.com/privategrity/client/cmixproto" "gitlab.com/elixxir/client/cmixproto"
) )
const SEARCH_USAGE = "Usage: 'SEARCH [EMAIL] [email-address]'" const SEARCH_USAGE = "Usage: 'SEARCH [EMAIL] [email-address]'"
......
...@@ -7,9 +7,9 @@ ...@@ -7,9 +7,9 @@
package udb package udb
import ( import (
"gitlab.com/privategrity/user-discovery-bot/storage" "gitlab.com/elixxir/user-discovery-bot/storage"
"testing" "testing"
"gitlab.com/privategrity/client/cmixproto" "gitlab.com/elixxir/client/cmixproto"
) )
func TestSearchHappyPath(t *testing.T) { func TestSearchHappyPath(t *testing.T) {
......
...@@ -9,10 +9,10 @@ package udb ...@@ -9,10 +9,10 @@ package udb
import ( import (
jww "github.com/spf13/jwalterweatherman" jww "github.com/spf13/jwalterweatherman"
"gitlab.com/privategrity/client/api" "gitlab.com/elixxir/client/api"
"gitlab.com/privategrity/client/parse" "gitlab.com/elixxir/client/parse"
"gitlab.com/privategrity/crypto/id" "gitlab.com/elixxir/crypto/id"
"gitlab.com/privategrity/client/cmixproto" "gitlab.com/elixxir/client/cmixproto"
) )
// Sender interface -- the api is broken here (does not return the error), so // Sender interface -- the api is broken here (does not return the error), so
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment