aboutsummaryrefslogtreecommitdiff
path: root/config_test.go (unfollow)
Commit message (Collapse)AuthorFiles
2023-11-07feat: add support for other vcs systems (#128)Henrique Dias1
Adds support to other VCS systems as per the specification. Defaults to `git` for backwards compatibility. Renames the internally used `.GitURL` to `.RepoURL` for clarity.
2023-05-09Remove branch from PackageConfig struct (#93)Sung Yoon Whang1
* 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)Abhinav Gupta1
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)Abhinav Gupta1
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)Tyler Sullivan1
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)Jan-Philipp Benecke1
Support specifying the branch from which source will be served in the YAML configuration.
2020-02-12Update Godoc server to pkg.go.dev (#40)SyrieBianco1
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)Diego Bernardes1
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)Garrett Squire1
2016-10-12Rework as HTTP server (#15)Grayson Koonce1