aboutsummaryrefslogtreecommitdiff
path: root/config_test.go (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-05-09Remove branch from PackageConfig struct (#93)Gravatar Sung Yoon Whang 1-21/+2
* 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-04-28config: Rename Package to PackageConfig, add docs (#84)Gravatar Abhinav Gupta 1-3/+3
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-01-23config: Don't require packages to be alphabetical (#66)Gravatar Abhinav Gupta 1-19/+0
The configuration parser requries that entries in the 'packages' section are in alphabetical order. It will fail parsing if that's not the case, even if the configuration is otherwise valid. This seems like an unnecessary artificial limitation. Enforcing such a convention should be the user's choice. This change deletes this limitation.
2022-01-03Support package-level overrides for URLs (#52)Gravatar Tyler Sullivan 1-0/+20
Sally accepts the base vanity URL (e.g. `go.uber.org`) in a top-level `url` key. This applies to all packages listed in the configuration. Add support for overriding the `url` on a per-package basis. This will provide for an easier transition period when migrating Go packages of an organization between hosts, for example from BitBucket to GitHub. With this, source code can be modified across the various repositories over time to use the new vanity URL. For example, some packages will use a URL of bitbucketurl.org and some will use mycoolgoimportvanity.org in their source code imports. Other than the use-case outlined above, this feature adds flexibility to the vanity server to support more than one vanity URL when used behind an ingress controller.
2021-05-18Allow setting branch (#46)Gravatar Jan-Philipp Benecke 1-2/+22
Support specifying the branch from which source will be served in the YAML configuration.
2020-02-12Update Godoc server to pkg.go.dev (#40)Gravatar SyrieBianco 1-1/+1
Update our default Godoc server from `` to the shiny, new `https://pkg.go.dev/` See https://github.com/uber-go/sally/issues/39, T4832833
2019-03-05Support changing godoc instance (#38)Gravatar Diego Bernardes 1-0/+39
This adds the ability to change the godoc.org instance used by Sally to link to documentation by providing a new `godoc` section in the configuration.
2016-10-27Enforce alphabetical ordering of packages in YAML config (#22)Gravatar Garrett Squire 1-0/+19
2016-10-12Rework as HTTP server (#15)Gravatar Grayson Koonce 1-0/+29