-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Packaging for Debian-based Linux distribution #1164
Comments
This would be very cool, but we don't have the bandwidth to create it ourselves. If someone wanted to contribute it, it would be welcome. |
One note in the meantime: There are two other methods for installing Dart Sass on Linux, both of which will get you the faster Dart version and updates via a package manager:
|
@jathak none of these options give me a first-class handling of updates. I would still have to remember running a brew update regularly just for sass (as I'm not using brew as my package manager). And I thought about contributing it myself. But looking at the CI config, it looks like all the existing releasing logic is managed through https://github.com/google/dart_cli_pkg and so this would probably require implementing this in there as well rather than using few bash commands (as it depends on having the executable generated), which makes the tasks a lot more complex to me (I have no experience with dart besides reading the dart-sass source code as part of my work on scssphp) |
@nex3, is this issue still open to work? |
Sure! |
This is what I understood from the issue comments and a few searches on my own:
Would you please correct me if I understood anything wrong? QuestionsI have a few questions in my mind while searching for the solution:
|
A new repo will need to be created for that. |
Thanks for confirming. |
@nex3 I had a question - Shall I take the Control file data as a single config variable like the GitHub release notes are taken as A simple control file shall look as follows:
|
I think that should be separate variables, particularly because you can come up with sensible information for many of the fields (version, packager name) without needing the user to explicitly provide them. |
Sure. As per this article, the possible fields in the CONTROL file are:
Shall I make one variable for all of these or only for the mandatory ones? |
For npm packages, we handle optional fields by allowing the user to specify |
I think we can keep it |
A JSON file would be |
Sure that looks good. I was thinking of the case when the user adds a control file (say version 1) for the package and then we use the same by updating the version number (since that's the only thing being updated here). |
Currently, when running a Debian-based Linux distribution (Ubuntu in my case), I have 2 choices to install sass:
npm install -g sass
, which can then be updated easily withnpm update -g
whenever I want (still manual, but could be handled by a cron...)On macOS, there is a way to use homebrew which will then install update whenever you install updates for your homebrew packages, without requiring thinking about sass explicitly when dealing with updates.
It would be great if a similar auto-update experience could be provided for Linux users by providing an APT repository.
A quick search gave me these resources:
These could easily be automated in the CI (once it works again, see #1163).
Is there any interest in providing this ?
The text was updated successfully, but these errors were encountered: