Skip to content

Foundation: Replaces libsass with dart sass binary#2511

Merged
cyrillkuettel merged 14 commits into
masterfrom
ogc-3071-libsass
Jun 18, 2026
Merged

Foundation: Replaces libsass with dart sass binary#2511
cyrillkuettel merged 14 commits into
masterfrom
ogc-3071-libsass

Conversation

@cyrillkuettel

@cyrillkuettel cyrillkuettel commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Please fill in the commit message below and work through the checklist. You can delete parts that are not needed, e.g. the optional description, the link to a ticket or irrelevant options of the checklist.

Commit message

Foundation: Replaces libsass with dart sass binary

Dart Sass is the primary implementation of Sass,

TYPE: Feature
LINK: OGC-3071

Checklist

  • I have performed a self-review of my code
  • I have tested my code thoroughly by hand

@linear

linear Bot commented Jun 3, 2026

Copy link
Copy Markdown

OGC-3071

@codecov

codecov Bot commented Jun 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.82%. Comparing base (65f4149) to head (337195c).
⚠️ Report is 6 commits behind head on master.
✅ All tests successful. No failed tests found.

Additional details and impacted files
Files with missing lines Coverage Δ
src/onegov/core/theme.py 95.23% <100.00%> (+0.64%) ⬆️
src/onegov/foundation/theme.py 100.00% <100.00%> (ø)
src/onegov/foundation6/theme.py 92.94% <100.00%> (ø)

... and 114 files with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 65f4149...337195c. Read the comment docs.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@cyrillkuettel cyrillkuettel requested a review from Daverball June 16, 2026 11:29

@Daverball Daverball left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall, I'm not sure about the src portion of the install though and I think we can simplify the install for local development and install it directly inside the virtual environment.

Comment thread .github/workflows/tests.yml Outdated
Comment thread src/onegov/foundation6/theme.py Outdated
Comment thread src/onegov/gever/gever_client.py
Comment thread Dockerfile Outdated
Comment thread README.md Outdated
Comment thread Dockerfile Outdated
Comment thread .github/workflows/tests.yml
Relocates the dart-sass install so it runs after the venv/build stage
and drops the redundant mkdir -p /app/bin.
The container doesn't activate the venv, so /app/bin isn't on PATH;
  sass was unreachable at runtime.
@cyrillkuettel cyrillkuettel merged commit d125e1c into master Jun 18, 2026
15 of 16 checks passed
@cyrillkuettel cyrillkuettel deleted the ogc-3071-libsass branch June 18, 2026 11:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants