go-sig-meeting
LOGS
<@alexsaezm:fedora.im>
18:00:22
!startmeeting Go SIG meeting
<@meetbot:fedora.im>
18:00:22
Meeting started at 2026-07-27 18:00:22 UTC
<@meetbot:fedora.im>
18:00:23
The Meeting name is 'Go SIG meeting'
<@alexsaezm:fedora.im>
18:00:26
!topic Roll Call
<@alexsaezm:fedora.im>
18:00:30
Hi everyone! As always we'll wait ~5 minutes for everyone to join.
<@smoliicek:fedora.im>
18:00:47
!hi
<@zodbot:fedora.im>
18:00:48
Vít Smolík: Vít Smolík (smoliicek) - he / him / his
<@gotmax23:fedora.im>
18:02:18
!hi
<@zodbot:fedora.im>
18:02:19
gotmax23: Maxwell G (gotmax23) - he / him / his or they / them / theirs
<@alexsaezm:fedora.im>
18:04:38
o/
<@alexsaezm:fedora.im>
18:06:12
We have two issues tagged (labels?) for the meeting
<@alexsaezm:fedora.im>
18:06:41
!topic Evaluate setting CGO_CFLAGS (and related) to Fedora standards #67
<@alexsaezm:fedora.im>
18:06:46
<@smoliicek:fedora.im>
18:06:59
!forge issue go sig 67
<@zodbot:fedora.im>
18:07:01
● **Assignee:** Not Assigned
<@zodbot:fedora.im>
18:07:01
**go/sig #67** (https://forge.fedoraproject.org/go/sig/issues/67):**Evaluate setting CGO_CFLAGS (and related) to Fedora standards**
<@zodbot:fedora.im>
18:07:01
<@zodbot:fedora.im>
18:07:01
● **Opened:** 3 months ago by buckaroogeek
<@zodbot:fedora.im>
18:07:01
● **Last Updated:** 3 months ago
<@alexsaezm:fedora.im>
18:07:07
uuuuuuh
<@gotmax23:fedora.im>
18:07:07
I have not had a chance to work on this
<@alexsaezm:fedora.im>
18:07:11
didn't know that!
<@alexsaezm:fedora.im>
18:07:17
I was working on it few minutes ago
<@alexsaezm:fedora.im>
18:07:27
(the didn't know that was for the forge command)
<@gotmax23:fedora.im>
18:07:29
But we could set these flags in either %gobuild or globally in redhat-rpm-config
<@gotmax23:fedora.im>
18:07:39
Or maybe in go.env that we ship by default?
<@smoliicek:fedora.im>
18:07:42
need to flex my zodbot command knowledge
<@gotmax23:fedora.im>
18:07:55
And we'd probably want to test to make sure this doesn't break a bunch of things
<@gotmax23:fedora.im>
18:08:07
meant
<@gotmax23:fedora.im>
18:08:07
That was what
<@gotmax23:fedora.im>
18:08:07
<@gotmax23:fedora.im>
18:08:07
> Impact analysis needed per comment from @gotmax.
<@gotmax23:fedora.im>
18:08:07
<@alexsaezm:fedora.im>
18:08:28
<@alexsaezm:fedora.im>
18:08:28
I've been thinking about this and I have something but I want you to yell at me first 😄 what about something like:
<@alexsaezm:fedora.im>
18:08:28
<@alexsaezm:fedora.im>
18:08:28
```
<@alexsaezm:fedora.im>
18:08:28
+%go_set_cgo_flags\
<@alexsaezm:fedora.im>
18:08:28
+ CGO_CFLAGS="${CGO_CFLAGS:-%{build_cflags}}" ; export CGO_CFLAGS ;\
<@alexsaezm:fedora.im>
18:08:28
+ CGO_CXXFLAGS="${CGO_CXXFLAGS:-%{build_cxxflags}}" ; export CGO_CXXFLAGS ;\
<@alexsaezm:fedora.im>
18:08:28
+ CGO_FFLAGS="${CGO_FFLAGS:-%{build_fflags}}" ; export CGO_FFLAGS ;\
<@alexsaezm:fedora.im>
18:08:28
+ CGO_FCFLAGS="${CGO_FCFLAGS:-%{build_fflags}}" ; export CGO_FCFLAGS ;\
<@alexsaezm:fedora.im>
18:08:28
+ CGO_LDFLAGS="${CGO_LDFLAGS:-%{build_ldflags}}" ; export CGO_LDFLAGS ;
<@alexsaezm:fedora.im>
18:08:28
```
<@alexsaezm:fedora.im>
18:08:45
and then add that to the gobuild and gotest macros?
<@gotmax23:fedora.im>
18:09:30
Yeah, I think something like that makes sense. We'd probably need a way to allow individual packages to disable this
<@alexsaezm:fedora.im>
18:09:39
already thought about it 😄
<@alexsaezm:fedora.im>
18:09:47
(I mean I have a patch that I didn't submit)
<@gotmax23:fedora.im>
18:10:06
okay, so I think we're in agreement here, just need someone to work on all this?
<@alexsaezm:fedora.im>
18:10:44
I can do it myself (the patch is already locally, I just need to figure out how to properly test this locally first, because I don't trust myself writing this without testing on a real package)
<@alexsaezm:fedora.im>
18:11:11
if you prefer the go.env approach for any reason...
<@gotmax23:fedora.im>
18:12:17
Testing would be patching go-rpm-macros and doing a mass prebuild, I think
<@gotmax23:fedora.im>
18:12:27
If you file a PR against go-rpm-macros, I can review it first
<@mikelolasagasti:matrix.org>
18:12:45
!hi
<@alexsaezm:fedora.im>
18:12:54
Sure, I will also mass prebuild it against a small subset of packages
<@zodbot:fedora.im>
18:13:10
mikel: Mikel Olasagasti Uranga (mikelo2)
<@gotmax23:fedora.im>
18:13:20
Thanks for taking care of that package review I mailed you about :)
<@alexsaezm:fedora.im>
18:13:43
We can move to the next item in the list (which I think has nothing new on it) and then to the open floor.
<@gotmax23:fedora.im>
18:13:48
ack
<@alexsaezm:fedora.im>
18:14:00
!topic go-sig new membership policy #60
<@alexsaezm:fedora.im>
18:14:05
!forge https://forge.fedoraproject.org/go/sig/issues/60
<@zodbot:fedora.im>
18:14:05
● issue <namespace> <project> <issue_id> - return a forge issue
<@zodbot:fedora.im>
18:14:05
**Usage:** !forge <subcommand> [...]
<@zodbot:fedora.im>
18:14:05
<@zodbot:fedora.im>
18:14:05
● pr <namespace> <project> <issue_id> - return a forge pull request
<@alexsaezm:fedora.im>
18:14:15
oh is just the id
<@alexsaezm:fedora.im>
18:14:17
silly me
<@gotmax23:fedora.im>
18:14:25
I think we were mostly in agreement on, although not sure how necessary membership is in the first place now that everything is getting vendored
<@gotmax23:fedora.im>
18:14:34
I think we were mostly in agreement on the new policy, although not sure how necessary membership is in the first place now that everything is getting vendored
<@alexsaezm:fedora.im>
18:14:51
!forge issue go sig 60
<@zodbot:fedora.im>
18:14:53
● **Assignee:** Not Assigned
<@zodbot:fedora.im>
18:14:53
<@zodbot:fedora.im>
18:14:53
● **Opened:** a year ago by mikelo2
<@zodbot:fedora.im>
18:14:53
● **Last Updated:** a year ago
<@zodbot:fedora.im>
18:14:53
**go/sig #60** (https://forge.fedoraproject.org/go/sig/issues/60):**go-sig new membership policy**
<@smoliicek:fedora.im>
18:15:30
not a member of the sig, but i fo think it looks reasonable
<@smoliicek:fedora.im>
18:15:39
not a member of the sig, but i do think it looks reasonable
<@mikelolasagasti:matrix.org>
18:15:42
np, I had it on my list already, but summer is a challenge for my agenda
<@alexsaezm:fedora.im>
18:16:48
+1 to the membership policy
<@mikelolasagasti:matrix.org>
18:16:57
+1
<@alexsaezm:fedora.im>
18:17:12
now the question would be... how to "apply it"? manually?
<@gotmax23:fedora.im>
18:17:57
I think I'm +1 to the policy and just adding it to the end of our README as a separate heading. But maybe can we add a section about having some concrete version for needing these elevated privs?
<@mikelolasagasti:matrix.org>
18:18:03
iirc you contacted all current members to see if they’re still active in order to keep them or not
<@gotmax23:fedora.im>
18:18:12
That's something that FESCo usually asks for when evaluating provenpackager applications
<@mikelolasagasti:matrix.org>
18:18:17
Or maybe it was another ticket other than 60 for that?
<@gotmax23:fedora.im>
18:18:20
and this is effectively provenpackager access for all go packages
<@gotmax23:fedora.im>
18:18:33
(because we have the SIG Policy that auto-adds go-sig to everything)
<@alexsaezm:fedora.im>
18:18:48
I did (a year ago?)
<@mikelolasagasti:matrix.org>
18:19:11
Maybe try again and is final?
<@alexsaezm:fedora.im>
18:19:51
I recall I got a bunch of answers... but I don't recall what I exactly did. I thought I removed some people but I am not sure right now.
<@alexsaezm:fedora.im>
18:20:31
(for the record, If I did it, it was because they were not participating at all. But I don't know of the top of my head)
<@mikelolasagasti:matrix.org>
18:21:01
Stuff like this worries me https://src.fedoraproject.org/rpms/gif2png/pull-request/2
<@mikelolasagasti:matrix.org>
18:22:05
A PP touching Go packages to fix something the wrong way (IMO) for the second time
<@alexsaezm:fedora.im>
18:22:51
why the need of moving it to a subpackage?
<@alexsaezm:fedora.im>
18:23:00
wait... is this a topic for the open floor ? 😛
<@mikelolasagasti:matrix.org>
18:23:11
No, sorry
<@alexsaezm:fedora.im>
18:23:34
I mean, because if so, we should move to it already 🙂
<@gotmax23:fedora.im>
18:23:44
!topic Open floor
<@gotmax23:fedora.im>
18:24:00
Or wait were we not done with the previous topic?
<@gotmax23:fedora.im>
18:24:38
Can we !action someone to file a PR with the proposed policy. And maybe add thing I mentioned about having a justification for requesting elevated privs?
<@gotmax23:fedora.im>
18:24:45
And then move on to open floor (actually)?
<@alexsaezm:fedora.im>
18:25:24
the PR is against FESCo?
<@alexsaezm:fedora.im>
18:25:31
the PR is against FESCo's?
<@gotmax23:fedora.im>
18:25:47
no, this is about the proposal to create a new policy for Go SIG membership
<@gotmax23:fedora.im>
18:26:06
I was suggesting we add something *inspired* by a different FESCo policy
<@gotmax23:fedora.im>
18:26:20
sorry, that was confusing
<@alexsaezm:fedora.im>
18:26:48
yeah I mean, the file PR with aproposed policy... the PR... where?
<@gotmax23:fedora.im>
18:27:05
oh, probably against https://forge.fedoraproject.org/go/sig?
<@alexsaezm:fedora.im>
18:27:53
got it, so, if I understood the whole thing, as we seem to be in favor of the change in the policy the best way to move the conversation to a final state is to redact it as a part of the go/sig by a PR... did I get it right?
<@gotmax23:fedora.im>
18:28:30
yes, I think so, since we'd want to document the policy somewhere permanent
<@alexsaezm:fedora.im>
18:28:46
!action @alexsaezm to fill a PR with the go sig membership policy
<@alexsaezm:fedora.im>
18:29:48
now, real open floor 😄
<@mikelolasagasti:matrix.org>
18:30:22
Go ahead
<@gotmax23:fedora.im>
18:30:30
mikel: also had something for after?
<@yselkowitz:fedora.im>
18:30:30
<@yselkowitz:fedora.im>
18:30:45
wondering if we could find a way forward here?
<@yselkowitz:fedora.im>
18:31:56
we need to know if we can get a minimal GVT in RHEL 11 for building vendored go packages or not, and preferably this year
<@mikelolasagasti:matrix.org>
18:32:44
I guess is doable, but [gotmax23](https://matrix.to/#/@gotmax23:fedora.im) might know if there is any challenge with that
<@gotmax23:fedora.im>
18:32:51
I left some feedback on your PR
<@gotmax23:fedora.im>
18:33:11
I think some of the problem is that I'm not 100% sure what RHEL's requirements actually are here
<@decathorpe:fedora.im>
18:33:19
(isn't g-v-t only needed at update preparation time, and not at build-time?)
<@yselkowitz:fedora.im>
18:33:34
parts are needed at build time
<@gotmax23:fedora.im>
18:33:46
no, there are also macros to verify licensing and install all the license files for dependencies automatically at buildtime
<@alexsaezm:fedora.im>
18:34:30
my two cents: The tooling for helping packaging should be imo in EPEL and just the macros in RHEL
<@yselkowitz:fedora.im>
18:34:48
the macros call one of the tools though
<@alexsaezm:fedora.im>
18:35:01
and licesing also out of RHEL because of the workflow
<@gotmax23:fedora.im>
18:35:13
if RHEL doesn't want any of this at buildtime, you could ship no-ops for all the macros
<@gotmax23:fedora.im>
18:35:26
But I think you do have to include licenses for dependencies as part of the RPM
<@gotmax23:fedora.im>
18:35:33
Since they're bundled into the package
<@yselkowitz:fedora.im>
18:35:40
yes this part we need
<@alexsaezm:fedora.im>
18:36:06
but we don't need the tooling for the license checkers, right?
<@yselkowitz:fedora.im>
18:36:12
correct
<@alexsaezm:fedora.im>
18:38:17
So basically, anything to create a vendored package can be considered a tool and that shouldn't be part of RHEL. But an already prepared package should be able to be built in RHEL without EPEL. This is what I understood from the whole thing when we previously talk about it
<@yselkowitz:fedora.im>
18:38:34
correct
<@gotmax23:fedora.im>
18:39:08
What current dependencies of go-vendor-tools (the ELN version) are unwanted in RHEL? There is already functionality to automatically remove the license scanner dependencies that are generated during buildtime.
<@gotmax23:fedora.im>
18:40:19
My other requests was that we have some proper tests to make sure the slimmed down version works. And that we can keep go-vendor-tools up-to-date in CentOS Stream since EPEL packages would use it too.
<@gotmax23:fedora.im>
18:41:06
The go_vendor_archive portion shouldn't need any other external deps, so maybe it would be possible to ship in CRB without a lot of additional headache
<@mikelolasagasti:matrix.org>
18:41:16
didn’t I sent a PR for that?
<@mikelolasagasti:matrix.org>
18:41:29
(On my phone, can’t check much)
<@gotmax23:fedora.im>
18:41:56
the only PR I'm aware of for RHEL is https://gitlab.com/fedora/sigs/go/go-vendor-tools/-/merge_requests/81 from yselkowitz
<@gotmax23:fedora.im>
18:42:25
That PR currently breaks CI for the entire project. It makes an invalid change to the gitlab-ci config
<@mikelolasagasti:matrix.org>
18:43:16
https://gitlab.com/fedora/sigs/go/go-vendor-tools/-/merge_requests/79
<@gotmax23:fedora.im>
18:43:57
But the other parts of the PR (not shipping additional optional deps) on RHEL is fine, I think
<@gotmax23:fedora.im>
18:44:43
oh, yeah, that's already been merged
<@gotmax23:fedora.im>
18:45:04
it disables any (build) dependencies on askalono, trivy, or scancode in ELN and RHEL
<@gotmax23:fedora.im>
18:45:13
which was the main blocker here afaiu
<@alexsaezm:fedora.im>
18:47:49
So first we we need to rebase the PR. After that, fix the ci?
<@alexsaezm:fedora.im>
18:47:53
for starters at least
<@alexsaezm:fedora.im>
18:50:43
yselkowitz: I know I always say this , can I continue your work on this PR?
<@gotmax23:fedora.im>
18:50:48
yselkowitz: can I push to your fork? I don't mind fixing the part of this that's breaking CI
<@yselkowitz:fedora.im>
18:50:56
sure
<@gotmax23:fedora.im>
18:51:20
does it have the project contributors can push to fork thing enabled (or whatever the setting is called on Gitlab)?
<@yselkowitz:fedora.im>
18:52:05
idk
<@gotmax23:fedora.im>
18:52:07
once that's fixed, I think we can merge this, but I'd really like to get some minimal integration tests written here so I don't have to test it myself (or unknowingly push things that break RHEL)
<@alexsaezm:fedora.im>
18:52:51
I can write them
<@alexsaezm:fedora.im>
18:53:03
I will be the first using this feature in RHEL with delve
<@alexsaezm:fedora.im>
18:53:08
RHEL/CentOS
<@gotmax23:fedora.im>
18:53:24
maybe we can move this to a branch within the main repo so it's easier to collaborate?
<@gotmax23:fedora.im>
18:53:36
and I can add yselkowitz as a commiter if he wants
<@alexsaezm:fedora.im>
18:54:03
+1
<@gotmax23:fedora.im>
18:54:03
also, I'd really like to move this off of Gitlab, but there's no Packit support on Fedora Forge :(
<@alexsaezm:fedora.im>
18:54:34
that would be ❤️
<@alexsaezm:fedora.im>
18:54:41
forgejo is way nicer
<@alexsaezm:fedora.im>
18:54:46
nicer/simplier
<@gotmax23:fedora.im>
18:55:06
definitely
<@gotmax23:fedora.im>
18:55:30
I think the Packit team is currently working on some "agentic" RHEL packaging automation ;)
<@gotmax23:fedora.im>
18:55:38
anyways, I think we have a plan here
<@yselkowitz:fedora.im>
18:55:49
thank you
<@gotmax23:fedora.im>
18:56:10
!action gotmax23 to create separate branch on g-v-t Gitlab repository to work on changes necessary for RHEL
<@gotmax23:fedora.im>
18:56:25
!action alexsaezm to work on (tmt-based?) integration tests for RHEL
<@gotmax23:fedora.im>
18:56:27
Sound good?
<@alexsaezm:fedora.im>
18:56:37
sounds perfect to me
<@alexsaezm:fedora.im>
18:57:30
any other topics? mikel ?
<@alexsaezm:fedora.im>
18:57:40
I mean, any other open floor topics 😛
<@mikelolasagasti:matrix.org>
18:57:54
yeah, one important
<@mikelolasagasti:matrix.org>
18:58:16
go-1.27 broke a few packages. I sent patches upstream for 3 packages, but did not have time to update them downstream
<@alexsaezm:fedora.im>
18:58:42
there was a bunch of problems with json v2 as far as know, anything weird?
<@mikelolasagasti:matrix.org>
18:58:54
packages like opentofu are broken until some dependencies support 1.27, I don't recall which big module (grpc?) doesn't support 1.27 yet
<@mikelolasagasti:matrix.org>
18:59:52
for now the problems I saw are rleated to private fields change (xq) or `compress/flate` changes (rclone, some other)
<@alexsaezm:fedora.im>
19:00:53
Checked: `vendor/google.golang.org/grpc/internal/transport/handler_server.go:271:18: undefined: http2.TrailerPrefix`
<@alexsaezm:fedora.im>
19:00:57
grpc as you said
<@alexsaezm:fedora.im>
19:02:02
I am fixing mines, if you are afk I can check yours too
<@decathorpe:fedora.im>
19:02:16
I wanted to mention something if there's a minute in open floor
<@mikelolasagasti:matrix.org>
19:02:28
not afk, just busy with kids with summer holidays :D
<@mikelolasagasti:matrix.org>
19:02:45
go ahead Fabio Valentini 🌈
<@alexsaezm:fedora.im>
19:03:06
way more important then 😄
<@decathorpe:fedora.im>
19:03:34
with askalono being the default backend in g-v-t and it being a useful tool, I forked the project since it was unmaintained and now archived on GitHub
<@decathorpe:fedora.im>
19:04:14
I'm planning on tagging a first release soon and packaging it for Fedora then. it would be great if you could send any issues you had with askalono my way so I can fix them :)
<@gotmax23:fedora.im>
19:04:39
ack, thanks for working on that!
<@gotmax23:fedora.im>
19:04:53
I meant to ask if there was any chance to just take over the askalono namespace
<@decathorpe:fedora.im>
19:05:26
taking ownership of Rust crates is annoying so I didn't bother
<@decathorpe:fedora.im>
19:06:04
it requires either cooperation of the original owner *or* the package being obviously name squatting
<@alexsaezm:fedora.im>
19:06:13
So, if you do cargo install it is not your fork right?
<@decathorpe:fedora.im>
19:06:22
yes. it has a different name
<@gotmax23:fedora.im>
19:07:06
okay, makes sense. I'll have to think about how to handle the name change in g-v-t
<@mikelolasagasti:matrix.org>
19:07:10
so you have to rename it? askalono-ng? askalono-3000? super-askalono?
<@gotmax23:fedora.im>
19:07:34
I assume you eventually intend to retire the original in Fedora?
<@alexsaezm:fedora.im>
19:07:51
askfabio?
<@alexsaezm:fedora.im>
19:07:53
😄
<@decathorpe:fedora.im>
19:07:56
<@decathorpe:fedora.im>
19:07:56
and the fact that it starts with SCA only occured to me after it was done
<@decathorpe:fedora.im>
19:07:56
also onion-themed
<@decathorpe:fedora.im>
19:07:56
<@decathorpe:fedora.im>
19:07:56
I named it scallion
<@decathorpe:fedora.im>
19:08:07
yes, eventually, though that's not urgent
<@gotmax23:fedora.im>
19:08:14
<@gotmax23:fedora.im>
19:08:14
> and the fact that it starts with SCA only occured to me after it was done
<@gotmax23:fedora.im>
19:08:14
ooh that's nice
<@mikelolasagasti:matrix.org>
19:08:44
askfabio was good, but I can live with scallion 😅
<@gotmax23:fedora.im>
19:08:48
!action gotmax23 to create g-v-t issue about switching from askalono -> scallion
<@gotmax23:fedora.im>
19:09:48
I don't know if we eventually want to do mass packaging changes to update the name in all go-vendor-tools.toml files, but we can keep `detector = "askalono"` working for now and maybe eventually point it to the new binary and package name
<@gotmax23:fedora.im>
19:10:19
!action gotmax23 update go2rpm internal usage of askalono as well
<@gotmax23:fedora.im>
19:10:40
!action gotmax23 release go2rpm v2 with default to vendor profile (finally!)
<@decathorpe:fedora.im>
19:11:23
we can add a compat symlink. the CLI is (mostly) compatible.
<@alexsaezm:fedora.im>
19:12:50
need help with some tasks?
<@alexsaezm:fedora.im>
19:13:34
btw, we are over the hour, not sure if there is anything to discuss, if so and it's not critical we can move it to the go sig issue tracker for the next meeting.
<@gotmax23:fedora.im>
19:14:07
compat symlink would be good for now, but I'll probably eventually get annoyed by the naming and mass change the go-vendor-tools.toml files that specify askalono :D
<@gotmax23:fedora.im>
19:14:11
ack
<@mikelolasagasti:matrix.org>
19:14:39
I've https://forge.fedoraproject.org/go/sig/issues/63 & https://gitlab.com/fedora/sigs/go/go2rpm/-/work_items/60 in my TODO list, but don't know when I'll revisit them
<@alexsaezm:fedora.im>
19:17:15
well, if there's nothing else... we can call it for today
<@mikelolasagasti:matrix.org>
19:17:24
fine for me
<@alexsaezm:fedora.im>
19:18:27
Today was a very productive chat! Thanks a lot everyone for joining! See you next time!
<@alexsaezm:fedora.im>
19:18:51
!endmeeting