aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-12-02 18:06:17 +0900
committerOphestra <cat@gensokyo.uk>2026-12-02 18:40:51 +0900
commita306d4fb80ab7e237cc890bf7dbb9b6abaa9c1af (patch)
treed3227d836d7e5810b9109ec585f232b3f5737c02 /cmd
parent0c60176034152a5f7d03badeb6f1d5abcb4e4b9c (diff)
internal/rosa: record package externalitystaging
This allows the packaging infrastructure to distinguish between externally registered azalea packages and built-in packages, allowing for more assumptions to be made, and more sanity checks. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/mbf/info.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmd/mbf/info.go b/cmd/mbf/info.go
index 5e3450f3..dc153e3a 100644
--- a/cmd/mbf/info.go
+++ b/cmd/mbf/info.go
@@ -40,6 +40,7 @@ func commandInfo(
statPrefix = "status : "
sizePrefix = "size :"
loadPrefix = "depends on :"
+ userPrefix = "external :"
)
// recovered by HandleAccess
@@ -71,6 +72,9 @@ func commandInfo(
mustPrintln(sitePrefix +
strings.TrimSuffix(meta.Website, "/"))
}
+ if !meta.Builtin {
+ mustPrintln(userPrefix + " azalea")
+ }
if len(meta.Runtimes) > 0 {
mustPrint(loadPrefix)
for _, d := range meta.Runtimes {