8 Commits

Author SHA1 Message Date
LaunchDarklyCI
89583a609c Releasing version 1.0.1 2020-06-11 19:09:53 +00:00
Eli Bishop
a40a668aab update go-ntlmssp dependency 2020-06-11 12:08:56 -07:00
Eli Bishop
218e186f7e add changelog and release metadata 2020-06-11 12:01:31 -07:00
Eli Bishop
fdce795536 Merge pull request #2 from launchdarkly/eb/ch78731/module
make this repo a module + add CI build
2020-06-11 11:45:36 -07:00
Eli Bishop
8ae043fc12 add CI badge 2020-06-09 11:43:07 -07:00
Eli Bishop
ee119e10d6 make this repo a module 2020-06-09 11:38:44 -07:00
Eli Bishop
2c0eef4970 CI fix 2020-06-09 11:37:17 -07:00
Eli Bishop
865adb9f3d add CI build 2020-06-09 11:34:38 -07:00
6 changed files with 115 additions and 0 deletions

82
.circleci/config.yml Normal file
View File

@@ -0,0 +1,82 @@
version: 2.1
orbs:
win: circleci/windows@1.0.0
workflows:
workflow:
jobs:
- go-build:
name: Go 1.14
docker-image: circleci/golang:1.14
build-as-module: true
- go-build:
name: Go 1.13
docker-image: circleci/golang:1.13
build-as-module: true
- go-build:
name: Go 1.12
docker-image: circleci/golang:1.12
- go-build:
name: Go 1.11
docker-image: circleci/golang:1.11
- go-build:
name: Go 1.10
docker-image: circleci/golang:1.10
- go-build:
name: Go 1.9
docker-image: circleci/golang:1.9
- go-build:
name: Go 1.8
docker-image: circleci/golang:1.8
- go-build-windows:
name: Windows
jobs:
go-build:
parameters:
docker-image:
type: string
build-as-module:
type: boolean
default: false
docker:
- image: <<parameters.docker-image>>
working_directory: /go/src/github.com/launchdarkly/go-ntlm-proxy-auth
steps:
- checkout
- unless:
condition: <<parameters.build-as-module>>
steps:
- run: go get -t .
- run: go build
go-build-windows:
executor:
name: win/vs2019
shell: powershell.exe
environment:
GOPATH: C:\Users\VssAdministrator\go
PACKAGE_PATH: github.com/launchdarkly/go-ntlm-proxy-auth
steps:
- checkout
- run: go version
- run:
name: move source
command: |
go env GOPATH
mkdir ${env:GOPATH}\src\${env:PACKAGE_PATH}
mv * ${env:GOPATH}\src\${env:PACKAGE_PATH}
- run:
name: build and test
command: |
cd ${env:GOPATH}\src\${env:PACKAGE_PATH}
go get -t .
go test -v -race ./...

8
.ldrelease/config.yml Normal file
View File

@@ -0,0 +1,8 @@
template:
name: go
env:
LD_RELEASE_GO_IMPORT_PATH: github.com/launchdarkly/go-ntlm-proxy-auth
publications:
- url: https://godoc.org/github.com/launchdarkly/go-ntlm-proxy-auth
description: documentation

10
CHANGELOG.md Normal file
View File

@@ -0,0 +1,10 @@
# Change log
All notable changes to the project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).
## [1.0.1] - 2020-06-11
### Added:
- Added `go.mod` file so this package can now be consumed as a module. Since the major version is still `1` and it does not have any module-only dependencies, it can still be used by non-module projects as well.
## [1.0.0] - 2019-07-16
Initial release of this fork. The only change from the upstream code is that its dependency on `github.com/Azure/go-ntlmssp` has been replaced with `github.com/launchdarkly/go-ntlmssp`(https://github.com/launchdarkly/go-ntlmssp).

View File

@@ -2,6 +2,7 @@
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![GoDoc](https://godoc.org/github.com/launchdarkly/go-ntlm-proxy-auth?status.svg)](https://godoc.org/github.com/launchdarkly/go-ntlm-proxy-auth)
[![Circle CI](https://circleci.com/gh/launchdarkly/go-ntlm-proxy-auth.svg?style=svg)](https://circleci.com/gh/launchdarkly/go-ntlm-proxy-auth)
With this package, you can connect to http/https servers protected by an NTLM proxy in Golang.

5
go.mod Normal file
View File

@@ -0,0 +1,5 @@
module github.com/launchdarkly/go-ntlm-proxy-auth
go 1.13
require github.com/launchdarkly/go-ntlmssp v1.0.1

9
go.sum Normal file
View File

@@ -0,0 +1,9 @@
github.com/launchdarkly/go-ntlmssp v1.0.1 h1:snB77118TQvf9tfHrkSyrIop/UX5e5VD2D2mv7Kh3wE=
github.com/launchdarkly/go-ntlmssp v1.0.1/go.mod h1:/cq3t2JyALD7GdVF5BEWcEuGlIGa44FZ4v4CVk7vuCY=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20200604202706-70a84ac30bf9 h1:vEg9joUBmeBcK9iSJftGNf3coIG4HqZElCPehJsfAYM=
golang.org/x/crypto v0.0.0-20200604202706-70a84ac30bf9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto=
golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=