Index | Thread | Search

From:
Igor Zornik <mocheryl@mocheryl.org>
Subject:
Re: [NEW] textproc/go-chroma
To:
OpenBSD ports <ports@openbsd.org>
Cc:
Stuart Henderson <stu@spacehopper.org>, Daniel Jakots <danj@chown.me>
Date:
Sat, 11 Jul 2026 19:53:22 +0200

Download raw body.

Thread
Hi!

> There's at least another go port that does it: sysutils/kopia I
> wouldn't hardcode the values.

Thanks for the tip. Attached is the port with the amended date. The one
before used the official publish time.

> Is the commit id really helpful since there's the version?

Well, I'm just trying to be correct. It doesn't hurt and it makes
the "chroma-hl --version" command display the information in full. I
appreciate such details.

> This version builds here :)

Yay!

On Sat, 2026-07-11 at 09:00 -0400, Daniel Jakots wrote:
> On Sat, 11 Jul 2026 11:36:48 +0200, Igor Zornik
> <mocheryl@mocheryl.org>
> wrote:
> 
> > Attached is the version without the playground. Unfortunately it
> > still
> > needs a custom distributable due to the project using Go submodules,
> > but at least now it's "make dist"-able because it doesn't require
> > any
> > non-OpenBSD utilities.
> > 
> > The port now also additionally sets "commit" and "date" variables.
> > I'm
> > not sure if this is frowned upon, because I haven't seen any other
> > (Go) port do this, but you can just remove it if it's too much.
> 
> There's at least another go port that does it: sysutils/kopia
> I wouldn't hardcode the values. Is the commit id really helpful since
> there's the version?
> I think the real build date is better, like kopia does.
>  
> > Happy testing the new version!
> 
> This version builds here :)
> 
> Cheers,
> Daniel
>