[wp-meta] [Making WordPress.org] #5899: Allow theme updates via SVN
Making WordPress.org
noreply at wordpress.org
Mon Oct 18 03:18:24 UTC 2021
#5899: Allow theme updates via SVN
-----------------------------+-----------------------
Reporter: dd32 | Owner: dd32
Type: enhancement | Status: assigned
Priority: normal | Milestone:
Component: Theme Directory | Resolution:
Keywords: |
-----------------------------+-----------------------
Comment (by dd32):
Something I didn't consider; Since the pre-commit hook is using the themes
API, it's possible to make multiple commits to a theme prior to the theme
being processed, aka before it's the latest version of the theme.
This also means that if a theme is rolled back, say from 1.2 to 1.1
(through the themes admin) then commits to 1.2 would pass the pre-commit
checks.
Perhaps it needs an extra block, to prevent the commit if the versioned
folder exists at all, even if it's not the current public version of the
theme.
Eg: https://themes.trac.wordpress.org/log/testr-child/1.0.23/ (a quick
second commit a few seconds later)
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/5899#comment:11>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list