Bug 1763768 - [RFE] EPEL8 branch of rubygem-sass
Summary: [RFE] EPEL8 branch of rubygem-sass
Keywords:
Status: NEW
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: rubygem-sass
Version: epel8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lubomir Rintel
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1845285
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-10-21 14:51 UTC by Pat Riehecky
Modified: 2020-06-08 20:03 UTC (History)
7 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pat Riehecky 2019-10-21 14:51:16 UTC
Description of problem:

Can rubygem-sass be branched for EPEL8?

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Vít Ondruch 2019-10-22 07:28:50 UTC
Generally, I am not interested in EPEL8, but I don't mind anybody else maintaining the package there.

However, this is special case and I strongly suggest against importing this into EPEL, because this package is deprecated upstream [1] and it has been replaced by rubygem-sassc.


[1] https://sass-lang.com/ruby-sass

Comment 2 Jun Aruga 2019-10-22 09:26:00 UTC
Hi Pat,
As you may know, the sass upstream project stopped maintaining it.

https://github.com/sass/ruby-sass
> Ruby Sass should no longer be used, and will no longer be receiving any updates. See the Sass blog, and consider switching to the sassc gem.

You can see the alternatives in the blog.
http://sass.logdown.com/posts/7828841

Comment 3 Jun Aruga 2019-10-22 09:29:09 UTC
"Dart Sass" can be also the alternative.

Comment 4 leigh scott 2019-10-22 13:40:20 UTC
(In reply to Jun Aruga from comment #3)
> "Dart Sass" can be also the alternative.

If someone can be bothered to package it.

Comment 5 Jun Aruga 2019-10-22 19:17:04 UTC
Vit, what is the problem if we create "epel8" branch?

What if Pat becomes co-maintainer of rubygem-sass even when you are not interested in it?

If we do not have the alternative RPM on Fedora right now, and people want to use rubygem-sass RPM, it's worth to create it, isn't it? Though it's hard to fix an issue.


Pat, how about installing sass directly from gem command?

```
$ gem install sass --user-instal -v X.Y.Z
```

Comment 6 Vít Ondruch 2019-10-23 07:59:08 UTC
(In reply to Jun Aruga from comment #5)
> Vit, what is the problem if we create "epel8" branch?

If there was some reasoning behind the initial request, we could discuss what is the proper way forward.

Comment 7 Pat Riehecky 2019-10-23 13:07:51 UTC
The 'mint-themes' package uses rubygem-sass for its build process.  I'm looking into to other options for achieving the build.

Comment 8 Vít Ondruch 2019-10-23 15:27:22 UTC
Hm, there is no `sass` executable in rubygem-sassc. But something like [1] could be possibility.


[1] https://github.com/sass/sassc-ruby#usage

Comment 9 Adam Williamson 2020-06-02 21:49:52 UTC
FWIW, I happened to notice that the latest upstream version of python-webassets is also blocked on the dart sass implementation:

https://bugzilla.redhat.com/show_bug.cgi?id=1785697#c2

the python-webassets code upstream has been adjusted to assume the dart implementation of /usr/bin/sass , but we still have the old rubygem implementation of it, so python-webassets is stuck on an old version.

Comment 10 Jun Aruga 2020-06-03 08:31:30 UTC
I just requested the epel8 branch now. It does not mean I will maintain the branch regularly. I just will build it at once at least if someone needs it.

```
$ fedpkg request-branch --repo rubygem-sass epel8
https://pagure.io/releng/fedora-scm-requests/issue/25445
https://pagure.io/releng/fedora-scm-requests/issue/25446
```

Comment 11 Jun Aruga 2020-06-08 19:53:25 UTC
WIP: Initial package
https://src.fedoraproject.org/rpms/rubygem-sass/pull-request/3

I share how to merge with squash for epel8 branch, as it's useful for other packages epel8 cases.

```
$ git pull
$ git checkout epel8
$ git checkout -b wip/epel8
$ git merge --squash --no-commit master
$ rpmdev-bumpspec rubygem-sass.spec
```

Rebase modifying the changelog part and release number.

```
$ fedpkg --release epel8 srpm
$ mock -r epel-8-x86_64 *.rpm
...
No matching package to install: 'rubygem(listen)'
...
```

rubygem-listen epel8 is necessary to build rubygem-sass on epel8.


Note You need to log in before you can comment on or make changes to this bug.