Derive slugs from extension_id, not name #83

Closed
opened 2024-04-19 12:14:45 +02:00 by Anna Sirota · 1 comment
Owner

Currently, slugs, which are part of each extension URL, are derived from extensions names, which is a problem because names aren't necessarily unique (afair at the time slugs were implemented the concept of extension_id didn't exist).
It makes more sense to derive slugs from extension_id instead. This will, however, change existing URLs for quite a few extensions:

Theme "DarkPurpleGreen" changes from /themes/darkpurplegreen/ to /themes/dark-purple-green/
Theme "Midnight Blue" changes from /themes/midnight-blue/ to /themes/midnight-blue-theme/
Add-on "Light Painter" changes from /add-ons/light-painter/ to /add-ons/lightpainter/
Theme "Gold Pro" changes from /themes/gold-pro/ to /themes/gold-pro-theme/
Add-on "Camera Plane" changes from /add-ons/camera-plane/ to /add-ons/lfs-camera-plane/
Add-on "Browser Scroll Resizer" changes from /add-ons/browser-scroll-resizer/ to /add-ons/bsr-browser-scroll-resizer/
Theme "Black Cat" changes from /themes/black-cat/ to /themes/theme-black-cat/
Theme "Blender Hacker Feel" changes from /themes/blender-hacker-feel/ to /themes/hacker-feel/
Add-on "ProjectionNode from Camera" changes from /add-ons/projectionnode-from-camera/ to /add-ons/y-projectionnode-form-camera-f1/
Theme "Nocturno" changes from /themes/nocturno/ to /themes/nocturno-theme/
Add-on "NJ Repair Shader" changes from /add-ons/nj-repair-shader/ to /add-ons/nj-fix-shader/
Add-on "Forts Map Importer" changes from /add-ons/forts-map-importer/ to /add-ons/forts-map/
Add-on "Co" changes from /add-ons/co/ to /add-ons/colorspaceconverter/
Theme "Midnight Round" changes from /themes/midnight-round/ to /themes/midnight-round-theme/
Theme "PhoenixArt Fusion Theme" changes from /themes/phoenixart-fusion-theme/ to /themes/phoenixar-fusion-theme/
Add-on "VRM format" changes from /add-ons/vrm-format/ to /add-ons/vrm-extension/
Add-on "Blender Notebook" changes from /add-ons/blender-notebook/ to /add-ons/marimo-blender/
Add-on "Drag[en]gine Import/Export" changes from /add-ons/dragengine-importexport/ to /add-ons/dragengine-tools/
Add-on "Chinese Text Input" changes from /add-ons/chinese-text-input/ to /add-ons/chinese-text-input-redhalostudio/
Add-on "AniMatePro Rig UI" changes from /add-ons/animatepro-rig-ui/ to /add-ons/amp-rig-ui/
Add-on "Path Maker" changes from /add-ons/path-maker/ to /add-ons/blender-path-maker/
Add-on "Selects all islands on one UDIM" changes from /add-ons/selects-all-islands-on-one-udim/ to /add-ons/selectsallislandsudim/
Add-on "RigFlex Simple Soft Body Simulation for Armatures" changes from /add-ons/rigflex-simple-soft-body-simulation-for-armatures/ to /add-ons/rigflex/
Theme "Gold White" changes from /themes/gold-white/ to /themes/gold-white-theme/
Add-on "oneDOtMagic" changes from /add-ons/onedotmagic/ to /add-ons/onedotmagicextension/
Add-on "Context Pie" changes from /add-ons/context-pie/ to /add-ons/contextpie/
Add-on "Test Extension" changes from /add-ons/test-extension/ to /add-ons/my-example-extension/

At the moment of writing, the URLs change for 27 extensions, and remain the same for 39.

Currently, slugs, which are part of each extension URL, are derived from extensions names, which is a problem because names aren't necessarily unique (afair at the time slugs were implemented the concept of `extension_id` didn't exist). It makes more sense to derive slugs from extension_id instead. This will, however, change existing URLs for quite a few extensions: ``` Theme "DarkPurpleGreen" changes from /themes/darkpurplegreen/ to /themes/dark-purple-green/ Theme "Midnight Blue" changes from /themes/midnight-blue/ to /themes/midnight-blue-theme/ Add-on "Light Painter" changes from /add-ons/light-painter/ to /add-ons/lightpainter/ Theme "Gold Pro" changes from /themes/gold-pro/ to /themes/gold-pro-theme/ Add-on "Camera Plane" changes from /add-ons/camera-plane/ to /add-ons/lfs-camera-plane/ Add-on "Browser Scroll Resizer" changes from /add-ons/browser-scroll-resizer/ to /add-ons/bsr-browser-scroll-resizer/ Theme "Black Cat" changes from /themes/black-cat/ to /themes/theme-black-cat/ Theme "Blender Hacker Feel" changes from /themes/blender-hacker-feel/ to /themes/hacker-feel/ Add-on "ProjectionNode from Camera" changes from /add-ons/projectionnode-from-camera/ to /add-ons/y-projectionnode-form-camera-f1/ Theme "Nocturno" changes from /themes/nocturno/ to /themes/nocturno-theme/ Add-on "NJ Repair Shader" changes from /add-ons/nj-repair-shader/ to /add-ons/nj-fix-shader/ Add-on "Forts Map Importer" changes from /add-ons/forts-map-importer/ to /add-ons/forts-map/ Add-on "Co" changes from /add-ons/co/ to /add-ons/colorspaceconverter/ Theme "Midnight Round" changes from /themes/midnight-round/ to /themes/midnight-round-theme/ Theme "PhoenixArt Fusion Theme" changes from /themes/phoenixart-fusion-theme/ to /themes/phoenixar-fusion-theme/ Add-on "VRM format" changes from /add-ons/vrm-format/ to /add-ons/vrm-extension/ Add-on "Blender Notebook" changes from /add-ons/blender-notebook/ to /add-ons/marimo-blender/ Add-on "Drag[en]gine Import/Export" changes from /add-ons/dragengine-importexport/ to /add-ons/dragengine-tools/ Add-on "Chinese Text Input" changes from /add-ons/chinese-text-input/ to /add-ons/chinese-text-input-redhalostudio/ Add-on "AniMatePro Rig UI" changes from /add-ons/animatepro-rig-ui/ to /add-ons/amp-rig-ui/ Add-on "Path Maker" changes from /add-ons/path-maker/ to /add-ons/blender-path-maker/ Add-on "Selects all islands on one UDIM" changes from /add-ons/selects-all-islands-on-one-udim/ to /add-ons/selectsallislandsudim/ Add-on "RigFlex Simple Soft Body Simulation for Armatures" changes from /add-ons/rigflex-simple-soft-body-simulation-for-armatures/ to /add-ons/rigflex/ Theme "Gold White" changes from /themes/gold-white/ to /themes/gold-white-theme/ Add-on "oneDOtMagic" changes from /add-ons/onedotmagic/ to /add-ons/onedotmagicextension/ Add-on "Context Pie" changes from /add-ons/context-pie/ to /add-ons/contextpie/ Add-on "Test Extension" changes from /add-ons/test-extension/ to /add-ons/my-example-extension/ ``` At the moment of writing, the URLs change for 27 extensions, and remain the same for 39.
Anna Sirota added reference refs/tags/20240419-101459 2024-04-19 12:15:11 +02:00
Author
Owner

Resolved with 1610434a1c

Resolved with https://projects.blender.org/infrastructure/extensions-website/commit/1610434a1c8c758415702c91bdf9fd8cc7fbec94
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: infrastructure/extensions-website#83
No description provided.