Give the project a proper root, dehub.dev/src/dehub.git

---
type: change
message: |-
  Give the project a proper root, dehub.dev/src/dehub.git

  "dehub" was being used as a placeholder up till this point, but now that the
  project has matured enough to have a home, and people will want to be installing
  the binary, it's time to give it a proper import root.
change_hash: ADTjLNnPARatUjx6HDo7m3O+0KUcWvcMJq1kNrj9++PU
credentials:
- type: pgp_signature
  pub_key_id: 95C46FA6A41148AC
  body: iQIzBAABAgAdFiEEJ6tQKp6olvZKJ0lwlcRvpqQRSKwFAl6BECkACgkQlcRvpqQRSKyeJBAAocdHTs8AB2u9kZmMcJNf136Cq8KWjglvhuH49Nj9ILkeGOBF7+fIHBRSYxBQm4IIDWsjaQaRRhESJxKrkHUd7BG/z5iVsCfjYTyY7LPgv0oYJKEGbPOF2LDK2fuLLpRlA5v1fwamTdFYxs5j7yxW7weWiiKEgjMGjOiWQCWuqhw8rwOG6vjvYttQ5pekI7GvkdqWe+qODKmIF9xFFuhz7BMsFUAAwLz97W1wZkHA+O1BXGTe9hGwH88RY9IGJZftA6wuGes/SqwWJk+hpb89KV1yR0woMrwz7ITZZeNBboXO7KyxUXrfiLtxeRD4t15tJkdRY0FbIZvNCktviTqjPXOtoVh7c3m3p/LR5vcbgYDxaZKk51DYruovfaRI96Q9CYCK2kVb2PIJ4BJhlsUPzw8AWNVxXFECYZNEZly10hqNh4Xophr/x7PWOmoPoKL2PvXLtOHzk0r4Tw6JqUaC+7/08U/+lhlSKFKLdCj7Xru57qB7gxgd+P3g4rfqjIHqiB4tlViqR5RV7V8Z/goBMJg2uOJXIJGvwEZF9nj+QDgaofImMiQmcLrE6IBCYEELYz274w/6ugSCcdwVIC/n3VHuNY4zJDKN7Q/FgI9/GBS7UoNhTaHF2JmSKR9ErMKpm3PYPZr/VnsaXjfCBO5bVquvWLzfJ9aQ4t+tsRkuAvQ=
  account: mediocregopher
main
mediocregopher 4 years ago
parent e91f7b060e
commit 4d56716fe8
  1. 2
      accessctl/access_control.go
  2. 2
      accessctl/access_control_test.go
  3. 2
      accessctl/filter.go
  4. 2
      accessctl/filter_sig_test.go
  5. 4
      cmd/dehub/cmd_commit.go
  6. 3
      cmd/dehub/cmd_hook.go
  7. 5
      cmd/dehub/cmd_verify.go
  8. 5
      cmd/dehub/main.go
  9. 8
      commit.go
  10. 6
      commit_change.go
  11. 2
      commit_change_test.go
  12. 2
      commit_comment.go
  13. 2
      commit_credential.go
  14. 2
      commit_credential_test.go
  15. 2
      commit_test.go
  16. 6
      config.go
  17. 2
      go.mod
  18. 2
      repo.go
  19. 2
      repo_test.go
  20. 2
      sigcred/credential.go
  21. 4
      sigcred/pgp.go
  22. 2
      sigcred/pgp_test.go
  23. 4
      sigcred/signifier.go

@ -3,7 +3,7 @@
package accessctl
import (
"dehub/sigcred"
"dehub.dev/src/dehub.git/sigcred"
"errors"
"fmt"

@ -1,7 +1,7 @@
package accessctl
import (
"dehub/sigcred"
"dehub.dev/src/dehub.git/sigcred"
"errors"
"testing"
)

@ -1,7 +1,7 @@
package accessctl
import (
"dehub/typeobj"
"dehub.dev/src/dehub.git/typeobj"
"errors"
"fmt"
)

@ -1,7 +1,7 @@
package accessctl
import (
"dehub/sigcred"
"dehub.dev/src/dehub.git/sigcred"
"testing"
)

@ -2,11 +2,11 @@ package main
import (
"context"
"dehub"
"errors"
"fmt"
"dehub/cmd/dehub/dcmd"
"dehub.dev/src/dehub.git"
"dehub.dev/src/dehub.git/cmd/dehub/dcmd"
"gopkg.in/src-d/go-git.v4/plumbing"
)

@ -3,13 +3,14 @@ package main
import (
"bufio"
"context"
"dehub/cmd/dehub/dcmd"
"errors"
"fmt"
"io"
"os"
"strings"
"dehub.dev/src/dehub.git/cmd/dehub/dcmd"
"gopkg.in/src-d/go-git.v4/plumbing"
)

@ -2,10 +2,11 @@ package main
import (
"context"
"dehub"
"dehub/cmd/dehub/dcmd"
"fmt"
"dehub.dev/src/dehub.git"
"dehub.dev/src/dehub.git/cmd/dehub/dcmd"
"gopkg.in/src-d/go-git.v4/plumbing"
)

@ -2,10 +2,11 @@ package main
import (
"context"
"dehub"
"dehub/cmd/dehub/dcmd"
"fmt"
"os"
"dehub.dev/src/dehub.git"
"dehub.dev/src/dehub.git/cmd/dehub/dcmd"
)
type cmdCtxKey int

@ -2,10 +2,10 @@ package dehub
import (
"bytes"
"dehub/accessctl"
"dehub/fs"
"dehub/sigcred"
"dehub/typeobj"
"dehub.dev/src/dehub.git/accessctl"
"dehub.dev/src/dehub.git/fs"
"dehub.dev/src/dehub.git/sigcred"
"dehub.dev/src/dehub.git/typeobj"
"encoding/base64"
"errors"
"fmt"

@ -2,9 +2,9 @@ package dehub
import (
"bytes"
"dehub/fs"
"dehub/sigcred"
"dehub/yamlutil"
"dehub.dev/src/dehub.git/fs"
"dehub.dev/src/dehub.git/sigcred"
"dehub.dev/src/dehub.git/yamlutil"
"errors"
"fmt"
"sort"

@ -1,7 +1,7 @@
package dehub
import (
"dehub/sigcred"
"dehub.dev/src/dehub.git/sigcred"
"reflect"
"strings"
"testing"

@ -1,7 +1,7 @@
package dehub
import (
"dehub/yamlutil"
"dehub.dev/src/dehub.git/yamlutil"
"fmt"
"strings"

@ -1,7 +1,7 @@
package dehub
import (
"dehub/yamlutil"
"dehub.dev/src/dehub.git/yamlutil"
"encoding/base64"
"fmt"
"strings"

@ -1,7 +1,7 @@
package dehub
import (
"dehub/sigcred"
"dehub.dev/src/dehub.git/sigcred"
"testing"
"gopkg.in/src-d/go-git.v4/plumbing"

@ -1,7 +1,7 @@
package dehub
import (
"dehub/sigcred"
"dehub.dev/src/dehub.git/sigcred"
"testing"
)

@ -1,9 +1,9 @@
package dehub
import (
"dehub/accessctl"
"dehub/fs"
"dehub/sigcred"
"dehub.dev/src/dehub.git/accessctl"
"dehub.dev/src/dehub.git/fs"
"dehub.dev/src/dehub.git/sigcred"
"errors"
"fmt"

@ -1,4 +1,4 @@
module dehub
module dehub.dev/src/dehub.git
go 1.13

@ -2,7 +2,7 @@
package dehub
import (
"dehub/fs"
"dehub.dev/src/dehub.git/fs"
"errors"
"fmt"
"path/filepath"

@ -2,7 +2,7 @@ package dehub
import (
"bytes"
"dehub/sigcred"
"dehub.dev/src/dehub.git/sigcred"
"errors"
"io"
"math/rand"

@ -1,6 +1,6 @@
package sigcred
import "dehub/typeobj"
import "dehub.dev/src/dehub.git/typeobj"
// Credential represents a credential which has been attached to a commit which
// hopefully will allow it to be included in the main. Exactly one field tagged

@ -6,8 +6,8 @@ import (
"crypto/ecdsa"
"crypto/elliptic"
"crypto/sha256"
"dehub/fs"
"dehub/yamlutil"
"dehub.dev/src/dehub.git/fs"
"dehub.dev/src/dehub.git/yamlutil"
"fmt"
"io"
"io/ioutil"

@ -1,7 +1,7 @@
package sigcred
import (
"dehub/fs"
"dehub.dev/src/dehub.git/fs"
"math/rand"
"testing"
"time"

@ -1,8 +1,8 @@
package sigcred
import (
"dehub/fs"
"dehub/typeobj"
"dehub.dev/src/dehub.git/fs"
"dehub.dev/src/dehub.git/typeobj"
)
// Signifier reprsents a single signing method being defined in the Config. Only

Loading…
Cancel
Save