TVL depot development (mail to depot@tvl.su)
 help / color / mirror / code / Atom feed
* Improvements to buildGo
@ 2025-10-14  1:17 Ali Abrar
  2025-11-29 16:42 ` sterni
  0 siblings, 1 reply; 2+ messages in thread
From: Ali Abrar @ 2025-10-14  1:17 UTC (permalink / raw)
  To: depot

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

Hi there,

I'm using buildGo and I have some patches that I'd like to submit upstream. The first, and most important, is adding support for embed configuration.

-embedcfg file
      Read go:embed configuration from file.
      This is required if any //go:embed directives are used.
      The file is a JSON file mapping patterns to lists of filenames
      and filenames to full path names.

I have added support for this on my fork and would be happy to contribute it.

I also have added a good number of go packages under third_party/gopkgs, but I'm not sure if you actually want that to become a big library of packages or if they are better placed elsewhere.

Last, I'm wondering if you had any thoughts on spinning up development environments for go packages that are packaged with buildGo.  If you've already got something in this vein that works, I'd love to borrow your ideas. Otherwise, I'd be happy to share what I come up with.

Thanks,
Ali


Ali Abrar

Partner, Obsidian Systems



(888) 611-7759 x102



ali.abrar@obsidian•systems

https://obsidian.systems



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

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

* Re: Improvements to buildGo
  2025-10-14  1:17 Improvements to buildGo Ali Abrar
@ 2025-11-29 16:42 ` sterni
  0 siblings, 0 replies; 2+ messages in thread
From: sterni @ 2025-11-29 16:42 UTC (permalink / raw)
  To: Ali Abrar, depot

On 10/14/25 03:17, Ali Abrar wrote:
> I'm using buildGo and I have some patches that I'd like to submit 
> upstream. The first, and most important, is adding support for embed 
> configuration.

embed and cgo support are the obvious missing pieces for buildGo, so 
you're welcome to submit your changes for review. Either via Gerrit (see 
<https://code.tvl.fyi/about/docs/REVIEWS.md>) or via mail if that's more 
convenient for you.

> I also have added a good number of go packages under third_party/gopkgs, 
> but I'm not sure if you actually want that to become a big library of 
> packages or if they are better placed elsewhere.

Given that we have no good way to (semi-)automatically update third 
party go packages in depot at the moment, I'd vote against accumulating 
packages which are not depended on in depot itself.

> Last, I'm wondering if you had any thoughts on spinning up development 
> environments for go packages that are packaged with buildGo.  If you've 
> already got something in this vein that works, I'd love to borrow your 
> ideas. Otherwise, I'd be happy to share what I come up with.

Nothing I'm aware of. In general, buildGo has mostly been in maintenance 
mode as of late. Almost every Go release manages to break buildGo in 
some way via often undocumented changes in the behavior of the CLI, so 
further developing has been feeling like a risk given that anything we 
built is almost certain to randomly break at some point (usually it is 
fixable after some head scratching, but that's anything but guaranteed).

~sterni

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

end of thread, other threads:[~2025-11-29 16:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-14  1:17 Improvements to buildGo Ali Abrar
2025-11-29 16:42 ` sterni

Code repositories for project(s) associated with this public inbox

	https://code.tvl.fyi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).