-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Syncing beta with latest stage (#94)
* Init git while cloning (#67) * Init git while cloning * fixed tests * Fixed logging * synapse ws reconnect (#42) * added retry websocket connection logic * added connection abort functionality if duplicate connection requested * added entry in go.mod and go.sum , change restart policy in docker-compose * fix logout when graceful shutdown * refactor code and resolve review comments * change gracefultimeout for synapse from ms to s * update json keys for test suite payload (#70) * update json keys for test suite payload * fixed unit test cases * added refresh token api (#69) * added refresh token api * added unit tests * added unit test for secret parser expired function * disable golangci for false positive case * added comments * Update README.md (#58) (#76) Co-authored-by: Saurabh Prakash <saurabhp@lambdatest.com> * updated readme for ambiguity (#77) updated readme for ambiguity * Update main.yml (#79) * Feature/synapse bitbucket (#80) * added refresh token api * added unit tests * added unit test for secret parser expired function * disable golangci for false positive case * added comments * added token type * added gitprovider condition in refresh oauth * added basic auth supprt in git init * fixed spelling * fixed unit tests * fixed unit test * Changes get oauth secret test * Bugfix/bitbucket fork pr (#84) * added refresh token api * added unit tests * added unit test for secret parser expired function * disable golangci for false positive case * added comments * added token type * added gitprovider condition in refresh oauth * added basic auth supprt in git init * fixed spelling * fixed unit tests * fixed unit test * Changes get oauth secret test * updated readme for ambiguity (#77) updated readme for ambiguity * Update main.yml (#79) * added bitbucket forked pr support Co-authored-by: Nevil Macwan <93511721+nevilm-lt@users.noreply.github.com> Co-authored-by: Saurabh Prakash <saurabhp@lambdatest.com> * Removed parsing pod (#52) * Removed parsing pod * stable * updated tests * Added golangci lint file * Disabled lint checks for unblocking this change * Addressed PR comments Co-authored-by: VikrantKS <96419531+VikrantKS@users.noreply.github.com> Co-authored-by: palashmarantas <91466368+palashmarantas@users.noreply.github.com> Co-authored-by: utkarsh-lambdatest <98745310+utkarsh-lambdatest@users.noreply.github.com> Co-authored-by: Nevil Macwan <93511721+nevilm-lt@users.noreply.github.com>
- Loading branch information
1 parent
d4bf3cd
commit 4725803
Showing
54 changed files
with
1,026 additions
and
672 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,136 @@ | ||
# # Uncomment following lines after fixing linting issues in test files | ||
# | ||
# linters-settings: | ||
# depguard: | ||
# list-type: blacklist | ||
# funlen: | ||
# lines: 100 | ||
# statements: 50 | ||
# gci: | ||
# local-prefixes: github.com/golangci/golangci-lint | ||
# goconst: | ||
# min-len: 2 | ||
# min-occurrences: 2 | ||
# gocritic: | ||
# enabled-tags: | ||
# - diagnostic | ||
# - experimental | ||
# - opinionated | ||
# - performance | ||
# - style | ||
# disabled-checks: | ||
# - dupImport # https://github.com/go-critic/go-critic/issues/845 | ||
# - ifElseChain | ||
# - octalLiteral | ||
# - whyNoLint | ||
# - wrapperFunc | ||
# gocyclo: | ||
# min-complexity: 15 | ||
# goimports: | ||
# local-prefixes: github.com/golangci/golangci-lint | ||
# gomnd: | ||
# settings: | ||
# mnd: | ||
# # don't include the "operation" and "assign" | ||
# checks: | ||
# - argument | ||
# - case | ||
# - condition | ||
# - return | ||
# govet: | ||
# check-shadowing: true | ||
# settings: | ||
# printf: | ||
# funcs: | ||
# - (github.com/golangci/golangci-lint/pkg/logutils.Log).Infof | ||
# - (github.com/golangci/golangci-lint/pkg/logutils.Log).Warnf | ||
# - (github.com/golangci/golangci-lint/pkg/logutils.Log).Errorf | ||
# - (github.com/golangci/golangci-lint/pkg/logutils.Log).Fatalf | ||
# lll: | ||
# line-length: 140 | ||
# maligned: | ||
# suggest-new: true | ||
# misspell: | ||
# locale: US | ||
# nolintlint: | ||
# allow-leading-space: true # don't require machine-readable nolint directives (i.e. with no leading space) | ||
# allow-unused: false # report any unused nolint directives | ||
# require-explanation: false # don't require an explanation for nolint directives | ||
# require-specific: false # don't require nolint directives to be specific about which linter is being skipped | ||
|
||
# linters: | ||
# disable-all: true | ||
# enable: | ||
# - bodyclose | ||
# - deadcode | ||
# - depguard | ||
# - dogsled | ||
# - dupl | ||
# - errcheck | ||
# - exportloopref | ||
# - exhaustive | ||
# - funlen | ||
# - gochecknoinits | ||
# - goconst | ||
# - gocritic | ||
# - gocyclo | ||
# - gofmt | ||
# - goimports | ||
# - gomnd | ||
# - goprintffuncname | ||
# - gosec | ||
# - gosimple | ||
# - govet | ||
# - ineffassign | ||
# - lll | ||
# - misspell | ||
# - nakedret | ||
# - noctx | ||
# - nolintlint | ||
# - rowserrcheck | ||
# - staticcheck | ||
# - structcheck | ||
# - stylecheck | ||
# - typecheck | ||
# - unconvert | ||
# - unparam | ||
# - unused | ||
# - varcheck | ||
# - whitespace | ||
|
||
# # don't enable: | ||
# # - asciicheck | ||
# # - scopelint | ||
# # - gochecknoglobals | ||
# # - gocognit | ||
# # - godot | ||
# # - godox | ||
# # - goerr113 | ||
# # - interfacer | ||
# # - maligned | ||
# # - nestif | ||
# # - prealloc | ||
# # - testpackage | ||
# # - revive | ||
# # - wsl | ||
|
||
# issues: | ||
# # Excluding configuration per-path, per-linter, per-text and per-source | ||
# exclude-rules: | ||
# - path: _test\.go | ||
# linters: | ||
# - gomnd | ||
|
||
# - path: pkg/golinters/errcheck.go | ||
# text: "SA1019: errCfg.Exclude is deprecated: use ExcludeFunctions instead" | ||
# - path: pkg/commands/run.go | ||
# text: "SA1019: lsc.Errcheck.Exclude is deprecated: use ExcludeFunctions instead" | ||
|
||
# run: | ||
# timeout: 2m | ||
# skip-dirs: | ||
# - test/testdata_etc | ||
# - internal/cache | ||
# - internal/renameio | ||
# - internal/robustio | ||
# - pkg/docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.