#5899 closed enhancement (fixed)
Allow theme updates via SVN
Reported by: | dd32 | Owned by: | dd32 |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Theme Directory | Keywords: | |
Cc: |
Description
As mentioned in the recent results of the Theme Upload survey we're going to open up SVN commit for theme authors to update themes.
This will (at least initially) have certain restrictions on the format of the commits by Theme Authors, so as to keep the changes required to the Theme Directory to a minimum and avoid disruption for authors.
This is a tracking ticket for the changes needed on WordPress.org for this.
For general discussion and feedback related to this project, please kindly keep the discussion on https://make.wordpress.org/themes/2021/09/13/theme-upload-survey-results-next-steps/ so as to keep all feedback in a single centralised location. Issues that arise due to changes in this ticket can be logged here comment, or if this ticket is closed, as a new meta ticket.
Attachments (1)
Change History (18)
#8
@
3 years ago
- Keywords pending-systems added
Just noting that further implementation is awaiting systems implementation.
https://make.wordpress.org/systems/2021/09/17/theme-directory-changes/
#9
@
3 years ago
- Keywords pending-systems removed
Run a few commits through it, things of note:
- If a theme is suspended, or doesn't exist, the pre-commit rules throw a
jq
warning. - Examples of imports from SVN: https://themes.trac.wordpress.org/ticket/107038 https://themes.trac.wordpress.org/changeset/156307 https://themes.trac.wordpress.org/ticket/107040 https://themes.trac.wordpress.org/changeset/156309
#11
@
3 years ago
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)
#17
@
3 years ago
- Resolution set to fixed
- Status changed from assigned to closed
Announced, see https://make.wordpress.org/themes/?p=21994
In 11228: