Vanity overhaul #3
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "refs/pull/3/head"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Resolves #2
This is a breaking change from
v0.1.x
However, this version may bring us to a real
v1.0.0
once any potential bugs are fixed, as it should be far easier to keep up-to-date.This is almost a complete re-work that will use APIs to automatically scan a user (or org) namespace, pick out the Go projects, and reflect a vanity URL if applicable.
In order for a project to be reflected, it must fulfill the following requirements.
go.mod
file in the root directory (unless manually added to and subsequently loaded from a config file)go.mod
file must declare the module as using the same domain vanity runs withIt might seem like a lot of hoops, but vanity is designed so that by default only applicable projects are reflected. Any guesswork is left out and must have manual intervention.
It should be noted that users who don't want to reach outside their network can set
service
tooff
and instead add packages manually to their config.