feat: support named Slug API sites #209
No reviewers
Labels
No labels
activitypub
admin
api
architecture
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
content
database
deployment
design
dev-env
diagnostics
docs
documentation
email
enhancement
feature
federation
feed
health
homepage
implementation
integration
logging
mastodon
media
navigation
npm-packages
openapi
opengraph
packages
passkeys
preview
priority:high
priority:low
priority:medium
production
proof
proxy
public-routes
public-ui
release
safety
slug-api
slug-auth
slug-core
slug-federation
slug-media
slug-template
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
webauthn
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit!209
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/task-2f3031fb-multiple-slug-sites"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task: #task-2f3031fb
Summary
Verification
PR review: approved
Summary
This PR implements explicit named-site support for the Slug CLI. The config now stores
sites.<name>entries, API-backed commands require--site <name>,doctorandloginresolve the selected named site, and config commands support adding/listing/showing/updating/removing sites. Documentation, Makefile dev config, and tests were updated.Acceptance criteria
sitesmap and includesslug config site add/list/show/set-api-base-url/set-api-key/remove.--site <name>is parsed and API-backed commands fail clearly when it is missing or unknown.baseApiusage is migrated, replaced, or made compatible with the new design — met as an intentional replacement: the approved design explicitly removed legacy top-level single-site behavior and replaces it with named sites only.slug doctorcan validate the selected configured website — met:doctorresolves the selected site and tests cover selected-site targeting; branch CLI was also tested againsthttps://slugkit.com/api/v1successfully.Blocking issues
None.
Warnings
None.
Final verdict
Approved. CI is green,
./scripts/pre-pr.shpassed locally, and manual named-site testing againstslugkit.compassed.