Re: [NEW] textproc/go-chroma

Igor Zornik <[email protected]>
Newsgroups gmane.os.openbsd.ports
Message-ID <[email protected]>
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
> <[email protected]>
> 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
>
chroma-syntax-highlighter.tgz (application/x-compressed-tar, 1.4 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.