unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / Atom feed
* Sourcehut packaging
@ 2021-04-05 21:57 Ron Nazarov
  2021-04-06  3:26 ` Joshua Branson
  0 siblings, 1 reply; 7+ messages in thread
From: Ron Nazarov @ 2021-04-05 21:57 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 675 bytes --]

Hello,

All Python dependencies of core.sr.ht (which is required by all Python
components of Sourcehut) are now packaged, but it also has 2 npm
dependencies (clean-css and clean-css-cli), these are not yet packaged,
they have the following dependencies (flattened):
 * balanced-match
 * brace-expansion
 * clean-css
 * clean-css-cli
 * commander
 * concat-map
 * fs.realpath
 * glob
 * inflight
 * inherits
 * minimatch
 * once
 * path-is-absolute
 * source-map
 * wrappy (packaged as node-wrappy)

This is not very many dependencies compared to jQuery.

I have not looked at other sourcehut packages yet.

-- 
Ron Nazarov <noisytoot@disroot.org>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Sourcehut packaging
  2021-04-05 21:57 Sourcehut packaging Ron Nazarov
@ 2021-04-06  3:26 ` Joshua Branson
  0 siblings, 0 replies; 7+ messages in thread
From: Joshua Branson @ 2021-04-06  3:26 UTC (permalink / raw)
  To: Ron Nazarov; +Cc: guix-devel

Ron Nazarov <noisytoot@disroot.org> writes:

> All Python dependencies of core.sr.ht (which is required by all Python
> components of Sourcehut) are now packaged, but it also has 2 npm
> dependencies (clean-css and clean-css-cli), these are not yet packaged,
> they have the following dependencies (flattened):
>  * balanced-match
>  * brace-expansion
>  * clean-css
>  * clean-css-cli
>  * commander
>  * concat-map
>  * fs.realpath
>  * glob
>  * inflight
>  * inherits
>  * minimatch
>  * once
>  * path-is-absolute
>  * source-map
>  * wrappy (packaged as node-wrappy)

That's awesome!  How cool would it be to have a Sourcehut service in
guix system !?

>
> This is not very many dependencies compared to jQuery.
>
> I have not looked at other sourcehut packages yet.

--
Joshua Branson (joshuaBPMan in #guix)
Sent from Emacs and Gnus
  https://gnucode.me
  https://video.hardlimit.com/accounts/joshua_branson/video-channels
  https://propernaming.org
  "You can have whatever you want, as long as you help
enough other people get what they want." - Zig Ziglar


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Sourcehut packaging
  2021-04-09 21:45 ` Ron Nazarov
@ 2021-04-10  1:08   ` Brendan Tildesley
  0 siblings, 0 replies; 7+ messages in thread
From: Brendan Tildesley @ 2021-04-10  1:08 UTC (permalink / raw)
  To: guix-devel; +Cc: Ron Nazarov


> On 04/09/2021 11:45 PM Ron Nazarov <noisytoot@disroot.org> wrote:

> By sourcehut packages, do you mean node packages?
> Because I don't think there are any sourcehut packages in Guix yet.
> 
I mean packages with source url's on sr.ht, for example:

guix refresh scdoc 

doesnt have an updater


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Sourcehut packaging
  2021-04-08 11:35 Brendan Tildesley
@ 2021-04-09 21:45 ` Ron Nazarov
  2021-04-10  1:08   ` Brendan Tildesley
  0 siblings, 1 reply; 7+ messages in thread
From: Ron Nazarov @ 2021-04-09 21:45 UTC (permalink / raw)
  To: Brendan Tildesley; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 426 bytes --]

On Thu, 2021-04-08 at 13:35 +0200, Brendan Tildesley wrote:
>  Since your working on sourchut, would you also mind taking on adding
> an update for sourcehut packages, so that guix refresh works for
> them. There are many of them but no updater currently. 
By sourcehut packages, do you mean node packages?
Because I don't think there are any sourcehut packages in Guix yet.

-- 
Ron Nazarov <noisytoot@disroot.org>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Sourcehut packaging
  2021-04-08 21:11 jgart
@ 2021-04-08 22:10 ` jgart
  0 siblings, 0 replies; 7+ messages in thread
From: jgart @ 2021-04-08 22:10 UTC (permalink / raw)
  To: guix-devel; +Cc: rprior

It looks like the Makefile is the only place where csslint is called (atleast, from a quick glance at the source code) so it might work to substitute a different css minifier like one of the ones I mentioned previously and not use the npm deps at all.

What do you think?

We should test it.

--
jgart

April 8, 2021 5:11 PM, "jgart" <jgart@dismail.de> wrote:

> We have esbuild. Can esbuild replace clean-css? 
> 
> or maybe go-github-com-tdewolff-minify 🤔
> 
> https://github.com/tdewolff/minify
> 
> What are your thoughts? I'm just thinking out loud here.
> 
> all the best,
> 
> jgart


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Sourcehut packaging
@ 2021-04-08 21:11 jgart
  2021-04-08 22:10 ` jgart
  0 siblings, 1 reply; 7+ messages in thread
From: jgart @ 2021-04-08 21:11 UTC (permalink / raw)
  To: guix-devel; +Cc: rprior

We have esbuild. Can esbuild replace clean-css? 

or maybe go-github-com-tdewolff-minify 🤔

https://github.com/tdewolff/minify

What are your thoughts? I'm just thinking out loud here.

all the best,

jgart


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Sourcehut packaging
@ 2021-04-08 11:35 Brendan Tildesley
  2021-04-09 21:45 ` Ron Nazarov
  0 siblings, 1 reply; 7+ messages in thread
From: Brendan Tildesley @ 2021-04-08 11:35 UTC (permalink / raw)
  To: noisytoot; +Cc: guix-devel

[-- Attachment #1: Type: text/plain, Size: 189 bytes --]

Since your working on sourchut, would you also mind taking on adding an update for sourcehut packages, so that guix refresh works for them. There are many of them but no updater currently.

[-- Attachment #2: Type: text/html, Size: 339 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-04-10  2:34 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-05 21:57 Sourcehut packaging Ron Nazarov
2021-04-06  3:26 ` Joshua Branson
2021-04-08 11:35 Brendan Tildesley
2021-04-09 21:45 ` Ron Nazarov
2021-04-10  1:08   ` Brendan Tildesley
2021-04-08 21:11 jgart
2021-04-08 22:10 ` jgart

unofficial mirror of guix-devel@gnu.org 

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://yhetil.org/guix-devel/0 guix-devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 guix-devel guix-devel/ https://yhetil.org/guix-devel \
		guix-devel@gnu.org
	public-inbox-index guix-devel

Example config snippet for mirrors.
Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.gnu.guix.devel
	nntp://news.gmane.io/gmane.comp.gnu.guix.devel


AGPL code for this site: git clone http://ou63pmih66umazou.onion/public-inbox.git