Commit 7c107d2f authored by ale's avatar ale

Add go.mod, switch to github url for ldap pkg

parent e3a67fd2
Pipeline #10405 failed with stages
in 52 seconds
......@@ -12,7 +12,7 @@ import (
ldaputil "git.autistici.org/ai3/go-common/ldap"
ct "git.autistici.org/ai3/go-common/ldap/compositetypes"
"gopkg.in/ldap.v3"
"github.com/go-ldap/ldap/v3"
as "git.autistici.org/ai3/accountserver"
)
......
......@@ -6,7 +6,7 @@ import (
"strconv"
"strings"
ldap "gopkg.in/ldap.v3"
"github.com/go-ldap/ldap/v3"
as "git.autistici.org/ai3/accountserver"
)
......
......@@ -3,8 +3,8 @@ package ldapbackend
import (
"testing"
"github.com/go-ldap/ldap/v3"
"github.com/go-test/deep"
"gopkg.in/ldap.v3"
as "git.autistici.org/ai3/accountserver"
)
......
......@@ -5,7 +5,7 @@ import (
"log"
"strings"
"gopkg.in/ldap.v3"
"github.com/go-ldap/ldap/v3"
)
// Generic interface to LDAP - allows us to stub out the LDAP client while
......
......@@ -6,7 +6,7 @@ import (
"strings"
"time"
"gopkg.in/ldap.v3"
"github.com/go-ldap/ldap/v3"
)
// queryTemplate is the template for a single parametrized LDAP query.
......
module git.autistici.org/ai3/accountserver
go 1.15
require (
git.autistici.org/ai3/go-common v0.0.0-20210109162342-daf4a31c8d05
git.autistici.org/ai3/tools/webappdb v0.0.0-20200630154205-9f45389dbd94
git.autistici.org/id/auth v0.0.0-20200212081728-3d44524ae2e5
git.autistici.org/id/go-sso v0.0.0-20190630084805-a218499d322a
git.autistici.org/id/usermetadb v0.0.0-20200209112823-95a30f3b610e
github.com/boombuler/barcode v0.0.0-20170618053812-56ef0af91246 // indirect
github.com/bradfitz/gomemcache v0.0.0-20180710155616-bc664df96737 // indirect
github.com/go-ldap/ldap/v3 v3.2.4
github.com/go-test/deep v0.0.0-20180509200213-57af0be209c5
github.com/lib/pq v0.0.0-20190326042056-d6156e141ac6 // indirect
github.com/mattn/go-sqlite3 v0.0.0-20190716071503-d6f416f91c46 // indirect
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
github.com/patrickmn/go-cache v0.0.0-20180815053127-5633e0862627
github.com/pierrec/lz4 v2.0.5+incompatible // indirect
github.com/pquerna/otp v1.0.0
github.com/prometheus/client_golang v1.9.0
github.com/sethvargo/go-password v0.1.1
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
golang.org/x/net v0.0.0-20200625001655-4c5254603344
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421 // indirect
golang.org/x/sync v0.0.0-20201207232520-09787c993a3a
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
gopkg.in/yaml.v2 v2.3.0
)
This diff is collapsed.
language: go
go_import_path: contrib.go.opencensus.io
go:
- 1.11.x
env:
global:
GO111MODULE=on
before_script:
- make install-tools
script:
- make travis-ci
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."