WordPress / openverse

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Home Page:https://openverse.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace single usage of perl with Python

sarayourfriend opened this issue · comments

Current Situation

We use perl in a single place, and it could easily be replaced with a small Python script instead.

entry: perl -i -pe 's/```console/```bash/g'

Suggested Improvement

Replace it with Python script.

Benefit

Remove the only use of perl from our app, obviating it as a dependency (it isn't technically universally available, and Python is a basic requirement for Openverse so is more dependable).

Additional context

#4343 reveals this as a bad dependency, if we can avoid it.