Allow force_overwrite when all official plugins are selected #356
Labels
No labels
abandoned
active
audit
blocked
data-safety
difficulty:easy
difficulty:hard
difficulty:high
difficulty:medium
docs
done
duplicate
notebook-v0
open
priority:high
ready
release-critical
safe-mode
spec
spec-backlog
subsystem:api
subsystem:backlog
subsystem:bases
subsystem:ci
subsystem:command
subsystem:configuration
subsystem:consolidate
subsystem:dependencies
subsystem:desktop-electron
subsystem:diffmerge
subsystem:docker
subsystem:docs
subsystem:fuzzy
subsystem:graph
subsystem:hotkeys
subsystem:lapis
subsystem:maint
subsystem:maintenance
subsystem:markdown
subsystem:markdown-lint
subsystem:md018
subsystem:notebook
subsystem:notifications
subsystem:opfs
subsystem:package
subsystem:plugin-markdown
subsystem:plugin-tasks
subsystem:plugins
subsystem:registry
subsystem:release
subsystem:renovate
subsystem:restore
subsystem:scripts
subsystem:search
subsystem:settings
subsystem:spec
subsystem:tasks
subsystem:testing
subsystem:ui
subsystem:web
subsystem:workspace
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
lapis-notes/lapis#356
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
The manual
publish-official-plugin-assets.ymlworkflow currently rejectsforce_overwrite: truewhenever every official plugin checkbox remains enabled.That blocks legitimate repair publishes where a maintainer explicitly selects all
official plugins in the dispatch UI and still expects the workflow to pass an
explicit plugin list through to
registry-assets:publish.Problem
The publisher script only requires an explicit
--pluginsselection for--force-overwrite. The workflow adds--pluginsonly when fewer than allplugins are selected, so the workflow turns an explicit UI selection of every
plugin into the same path as the default publish-all behavior and fails early.
Goal
Allow
force_overwriteto work when the workflow dispatch supplies an explicitplugin selection, including the case where every official plugin remains
selected, by passing
--pluginswhenever overwrite mode is requested.Scope
.forgejo/workflows/publish-official-plugin-assets.ymlselection logicso overwrite mode passes an explicit plugin list even when all official
plugins are selected.
accurately.
Non-goals
registry-assets:publishso--force-overwriteworks without anexplicit plugin list.
tooling.
Acceptance Criteria
force_overwrite: trueand all official plugin togglesenabled passes an explicit
--pluginslist toregistry-assets:publishinstead of failing early.
--pluginssodefault publish-all behavior keeps skipping already-published versions.
Implementation Notes
explicit overwrite mode.
test or spec also needs adjustment.
Suggested Files or Specs To Inspect
.forgejo/workflows/publish-official-plugin-assets.ymlscripts/publish-official-plugin-assets.mjsspec/src/80-maintenance/release-management.mdValidation Commands
pnpm test:scriptspnpm spec:lintRelated Issues
Follow-up Tasks
Implementation Summary
Allow force_overwrite runs to pass an explicit --plugins list from the publish workflow even when every official plugin toggle remains enabled, while preserving default publish-all behavior for non-overwrite runs and updating release-management.md to match.