Fix or remove broken gitlab/issues and gitlab/epics shortcodes
The gitlab/issues and gitlab/epics shortcodes are broken due to Hugo deprecation. We need to decide whether to fix them or remove them from the codebase.
Problem
The gitlab/issues and gitlab/epics shortcodes rely on data.GetJSON, which was deprecated in Hugo v0.123.0 and subsequently removed. When attempting to use these shortcodes, the following error occurs:
ERROR deprecated: data.GetJSON was deprecated in Hugo v0.123.0 and subsequently removed. use resources.Get or resources.GetRemote with transform.Unmarshal
Current Status
- These shortcodes appear to be unused across the codebase
- No usage found in
gitlab/issuesorgitlab/epicsshortcodes in downstream projects
Decision Needed
We need to determine whether to:
-
Fix the implementation by migrating from
data.GetJSONtoresources.GetRemotewithtransform.Unmarshal - Remove the shortcodes if they are confirmed to be unused and no longer needed
Related
- Merge request: !292 (merged)
- Discussion: !292 (comment 2877954800)