aboutsummaryrefslogtreecommitdiff
path: root/utils_test.go
diff options
context:
space:
mode:
authorGravatar Manjari Akella <manjari@uber.com> 2021-05-25 11:55:42 -0700
committerGravatar GitHub <noreply@github.com> 2021-05-25 11:55:42 -0700
commit534a46db746fd42af3b62ec1a039c04c6f7bee65 (patch)
treef0a3db4831fcaf0fdc62f953066122d1bb2afd55 /utils_test.go
parent4f8f13fd76f065e49efdb3aa1a7504ffcafbf9a8 (diff)
downloadsally-534a46db746fd42af3b62ec1a039c04c6f7bee65.tar.gz
sally-534a46db746fd42af3b62ec1a039c04c6f7bee65.tar.zst
sally-534a46db746fd42af3b62ec1a039c04c6f7bee65.zip
Integrate FOSSA (#47)
Add a FOSSA check to the build steps. Resolves: GO-468
Diffstat (limited to 'utils_test.go')
0 files changed, 0 insertions, 0 deletions
'2023-06-01 10:54:45 -0700'>2023-06-01all(deps): Update Go dependencies (#98)Gravatar Abhinav Gupta 4-29/+28 Updates all Go dependencies in root and tools/. Supersedes #96, #94, #91 2023-06-01CHANGELOG: Report #82, #92, and #93 (#97)Gravatar Abhinav Gupta 1-1/+9 Adds changelog entries for recent user-facing changes. 2023-05-16Bump github.com/mgechev/revive from 1.3.1 to 1.3.2 in /tools (#95)Gravatar dependabot[bot] 2-13/+13 Bumps [github.com/mgechev/revive](https://github.com/mgechev/revive) from 1.3.1 to 1.3.2. - [Release notes](https://github.com/mgechev/revive/releases) - [Changelog](https://github.com/mgechev/revive/blob/master/.goreleaser.yml) - [Commits](https://github.com/mgechev/revive/compare/v1.3.1...v1.3.2) --- updated-dependencies: - dependency-name: github.com/mgechev/revive dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2023-05-09Remove branch from PackageConfig struct (#93)Gravatar Sung Yoon Whang 4-51/+6 * Remove branch from PackageConfig struct With #92, branch is no longer necessary from PackageConfig struct since go-source tag was removed. This removes Branch field from PackageConfig. * update README 2023-05-07Removing redundant go-source tag (#92)Gravatar Anurag Bandyopadhyay 4-9/+2 * update: removing redundant go-source tag * fix: removing /.idea and adding dir to gitignore * fix: removing /.idea and removing branch field from from templateData * fix: pkgHndler defaultBranch rem revert * fix: minor typo * fix: removing assertion of template responses * fix: tabs * Update handler_test.go * Update handler_test.go * Update handler_test.go --------- Co-authored-by: Anuragkillswitch <70265851+Anuragkillswitch@users.noreply.github.com> 2023-04-29ci: gofmt, golint => revive, update tools and actions (#87)Gravatar Abhinav Gupta 7-31/+95 Fixes up the `make lint` target to also check that all files are properly gofmt-ed, replaces the deprecated `golint` check with `revive`, and sets up dependabot to also update tools and actions regularly. 2023-04-29refactor(indexHandler): Don't retain configuration (#86)Gravatar Abhinav Gupta 2-12/+30 Similar to the previous patch, this patch removes knowledge of the configuration from the index handler. Instead, the index handler is now passed a list of packageInfo structs each containing just the information needed to render the index page. This also obviates the need to duplicate the logic to compute the package import path in the index.html template. 2023-04-28refactor(packageHandler): Don't retain configuration (#85)Gravatar Abhinav Gupta 1-20/+40 This patch removes the need to retain the configuration in the packageHandler struct. Instead, it retains only the fields that are required for the handler to function. This also allows us to pre-compute the canonical import path rather than calculating it on the request path. 2023-04-28config: Rename Package to PackageConfig, add docs (#84)Gravatar Abhinav Gupta 4-16/+45 Renames the Package struct to PackageConfig to make it clear that it is a configuration struct. This differentiation will help disconnect the configuration-level representation from the runtime representation of this information. This patch also adds documentation to the config package that was previously missing. 2023-04-27Bump golang.org/x/net from 0.8.0 to 0.9.0 (#81)Gravatar dependabot[bot] 2-3/+3 Bumps [golang.org/x/net](https://github.com/golang/net) from 0.8.0 to 0.9.0. - [Release notes](https://github.com/golang/net/releases) - [Commits](https://github.com/golang/net/compare/v0.8.0...v0.9.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2023-04-21ci: Publish Docker image to ghcr.io on release (#82)Gravatar Abhinav Gupta 3-0/+70 Adds a workflow that builds and publishes a Docker image to ghcr.io based on the Dockerfile in the root of the repository. This will become available at https://github.com/uber-go/sally/pkgs/container/sally. Users will be able to import it by using `ghcr.io/uber-go/sally:$tag` with `docker pull` or in the `FROM` clause of their own Docker file. As a test for this, I published it manually to my own fork. The image is at https://github.com/abhinav/sally/pkgs/container/sally. With that, I ran the following Dockerfile: FROM ghcr.io/abhinav/sally:master COPY sally.yaml / And it worked as expected. 2023-03-05Bump golang.org/x/net from 0.7.0 to 0.8.0 (#80)Gravatar dependabot[bot] 2-3/+3 2023-02-26Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 (#79)Gravatar dependabot[bot] 2-3/+3 2023-02-14Bump golang.org/x/net from 0.6.0 to 0.7.0 (#78)Gravatar dependabot[bot] 2-3/+3 Bumps [golang.org/x/net](https://github.com/golang/net) from 0.6.0 to 0.7.0. - [Release notes](https://github.com/golang/net/releases) - [Commits](https://github.com/golang/net/compare/v0.6.0...v0.7.0) --- updated-dependencies: - dependency-name: golang.org/x/net dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> 2023-02-08Bump golang.org/x/net from 0.5.0 to 0.6.0 (#77)Gravatar dependabot[bot] 2-3/+3 2023-02-04ci: Build against Go 1.20 (#76)Gravatar Abhinav Gupta 3-19/+20 Upgrades to latest release of Go for CI. This requires switching staticcheck to the latest release as well. 2023-01-30Back to development (#75)Gravatar Sung Yoon Whang 1-0/+5 2023-01-23Fix typo on release notes (#74)Gravatar Sung Yoon Whang 1-1/+1 Release notes for v1.3.0 had an incorrect link for changes included in v1.3.0; fixing this before we actually tag a release with this. 2023-01-23v1.3.0 release (#73)Gravatar Sung Yoon Whang 1-2/+4