Skip to content

Commit

Permalink
OBS-391: Remove the LESS compiler and all associated code
Browse files Browse the repository at this point in the history
  • Loading branch information
toufali committed Dec 6, 2024
1 parent 98fa021 commit 4405fde
Show file tree
Hide file tree
Showing 78 changed files with 34 additions and 3,396 deletions.
1 change: 0 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ RUN pip install --no-cache-dir --no-deps -r requirements.txt && \
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONPATH=/app \
LESS_BINARY=/webapp-frontend-deps/node_modules/.bin/lessc \
UGLIFYJS_BINARY=/webapp-frontend-deps/node_modules/.bin/uglifyjs \
CSSMIN_BINARY=/webapp-frontend-deps/node_modules/.bin/cssmin \
NPM_ROOT_PATH=/webapp-frontend-deps/ \
Expand Down
4 changes: 4 additions & 0 deletions GRAVEYARD.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ This document records interesting code that we've deleted for the sake of discov
`bin/load_processed_crashes_into_es.py` which was used to backfill elasticsearch from crash storage
when migrating to Google Cloud Platform.

* [Removal PR](https://github.com/mozilla-services/socorro/pull/6814)

`webapp/less_to_css.sh` which converts LESS files to CSS, with associated NPM script `"convert:less": "sh less_to_css.sh"`

## S3 and SQS support

* [Removal PR](https://github.com/mozilla-services/socorro/pull/6669)
Expand Down
1 change: 0 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ RUN pip install --no-cache-dir --no-deps -r requirements.txt && \
ENV PYTHONUNBUFFERED=1 \
PYTHONDONTWRITEBYTECODE=1 \
PYTHONPATH=/app \
LESS_BINARY=/webapp-frontend-deps/node_modules/.bin/lessc \
UGLIFYJS_BINARY=/webapp-frontend-deps/node_modules/.bin/uglifyjs \
CSSMIN_BINARY=/webapp-frontend-deps/node_modules/.bin/cssmin \
NPM_ROOT_PATH=/webapp-frontend-deps/ \
Expand Down
1 change: 0 additions & 1 deletion webapp/crashstats/api/static/api/css/documentation.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Photon Colors Less Variables v3.0.1 */
p.url {
margin: 15px;
font-size: 1.6em;
Expand Down
60 changes: 0 additions & 60 deletions webapp/crashstats/api/static/api/css/documentation.less

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ legend {
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/* Photon Colors Less Variables v3.0.1 */
/* Django forms in general */
ul.errorlist li {
color: var(--red);
Expand Down
Loading

0 comments on commit 4405fde

Please sign in to comment.