Re: Implementing Go modules in F34

2020-12-22 Thread Nicolas Mailhot
and cities, that takes lots of time). People got used to indulging in black magic accusations while reviewing nothing and blocking everything, I hope they get something out of it because it wasted a year of dev for no good reason. Regards -- Nicolas Mailhot

Re: Packaging of Go modules

2020-11-03 Thread Nicolas Mailhot
/redhat-rpm-config/pull-request/109 because I don’t have the time right now to beg people to look at it again. Besides after months of the same unchanged code sitting in the review queue I’m franckly sick of it all Regards, -- Nicolas Mailhot ___ golang

[go-rpm-macros] Issue #27: Add macro for packages with `replace` in go.mod

2020-09-19 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` rpm dependencies are transitive. That means replace can not be supported in rpm. That means the only sane way to handle replace is to remove it by patching code imports (which is not long or hard) As to why non-transitive deps and 'to

[go-rpm-macros] Issue #27: Add macro for packages with `replace` in go.mod

2020-09-18 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` replace can not work in Fedora anyway because it is not transitive (it’s the kind of broken by design idea people invent when their primary target is to bundle piles of junk and avoid fixing their code). source code that uses replace

Re: Go rpm macroses in rhel8 and epel

2020-09-01 Thread Nicolas Mailhot
Le 2020-09-01 15:17, Nicolas Mailhot a écrit : Le 2020-08-20 22:05, Denis Fateyev a écrit : Could anybody provide some more info: are Go rpm macroses not fully backported to RHEL8 currently? Any kind of blockers, perhaps? Unfortunately, while the Go-specific logic of the macros is quite

Re: Go rpm macroses in rhel8 and epel

2020-09-01 Thread Nicolas Mailhot
implementation in stone and provide parallel updates (modularity & containers only work for leaf features not core shared low level code) Regards, -- Nicolas Mailhot ___ golang mailing list -- golang@lists.fedoraproject.org To unsubscribe send an e

Re: RPM error: following noarch package built differently on different architectures

2020-09-01 Thread Nicolas Mailhot
gopath devel packages, unfortunately Regards, -- Nicolas Mailhot ___ golang mailing list -- golang@lists.fedoraproject.org To unsubscribe send an email to golang-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US

[go-rpm-macros] PR #26: Remove tildes from goname

2020-09-01 Thread Nicolas Mailhot
nim commented on the pull-request: `Remove tildes from goname` that you are following: `` That will work but it’s better to add tilde to the generic forbidden separator cleanup rule: > -- replace various separators rpm does not like with - `` To reply, visit the link below or just reply to

[go-rpm-macros] PR #26: Remove tildes from goname

2020-08-18 Thread Nicolas Mailhot
nim commented on the pull-request: `Remove tildes from goname` that you are following: `` ~ should be replaced with "-" then. "-" is safe as intra-name separator. `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/pull-request/26

Re: [Fedocal] Reminder meeting : Go SIG Meeting

2020-03-17 Thread Nicolas Mailhot
) -- Nicolas Mailhot ___ golang mailing list -- golang@lists.fedoraproject.org To unsubscribe send an email to golang-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https

[go-rpm-macros] PR #23: macros: Accept options for %gotest

2020-03-09 Thread Nicolas Mailhot
nim commented on the pull-request: `macros: Accept options for %gotest` that you are following: `` @atodorov It seems there are all too many of us in your case:(. Let’s try to figure it a bit better before pushing changes that others will expect to be perfectly baked. Right now, our build

[go-rpm-macros] PR #23: macros: Accept options for %gotest

2020-03-09 Thread Nicolas Mailhot
nim commented on the pull-request: `macros: Accept options for %gotest` that you are following: `` So what you really want, is better automation of the build stage, except the testing module also requires you to use `go test` instead of `go build` as build command? I suppose I could revisit

[go-rpm-macros] PR #23: macros: Accept options for %gotest

2020-03-09 Thread Nicolas Mailhot
nim commented on the pull-request: `macros: Accept options for %gotest` that you are following: `` I’m a bit wary of adding flags to such a low level macro: it sets an API in stone, that will be quite hard to evolve later given how primitive and constraining the rpm options parser is. Generic

Google Go fonts

2020-02-22 Thread Nicolas Mailhot
Hi, The Go font families (Go, Go Mono and Go Smallcaps) are now available in Fedora 32 and 33 as normal system fonts. You’ve all encountered them on godoc.org when reading Go source code examples. Regards, -- Nicolas Mailhot ___ golang mailing list

Re: Include non-RPM content in buildroot

2020-02-21 Thread Nicolas Mailhot
ut tech does not work but because our processes can not handle the pile of atomic components generated by upstream practices. Since the problem is process, not technical side, please work on the process side, instead of trying to bypass the process with bad technical solutions. Regards,

Re: [dev] [changelog] [RPM] cauldron core/release go-rpm-macros-3.0.8-1.mga8

2019-12-17 Thread Nicolas Mailhot
Le 2019-12-17 09:02, Neal Gompa a écrit : On Tue, Dec 17, 2019 at 2:47 AM Nicolas Mailhot wrote: Le 2019-12-16 18:14, Neal Gompa a écrit : > On Mon, Dec 16, 2019 at 12:06 PM Guillaume Rousse > wrote: >> >> Le 14/12/2019 à 18:08, Neal Gompa (via dev Mailing List) a écrit

Re: [dev] [changelog] [RPM] cauldron core/release go-rpm-macros-3.0.8-1.mga8

2019-12-16 Thread Nicolas Mailhot
pm-config as a dependency is a bug. It *should* require system-rpm-config, which is a virtual dependency that allows us to swap among providers. Right now it depends on quite a lot of lua code in redhat-rpm-config. Unless this code has been imported mageia-side, things won’t work Regards, -- Nicola

[go-rpm-macros] PR #22: rpm/macros.d: Make disabling Go modules configurable for %gobuild and %gotest

2019-12-09 Thread Nicolas Mailhot
nim commented on the pull-request: `rpm/macros.d: Make disabling Go modules configurable for %gobuild and %gotest` that you are following: `` @ngompa: please stay coherent with the exising macros and do not use `__` prefixing Apart from that, why not, but enabling modules will break things

[golist] PR #27: Fix not listing packages with external tests only

2019-12-02 Thread Nicolas Mailhot
nim commented on the pull-request: `Fix not listing packages with external tests only` that you are following: `` @jcajka the macros do not add any policy over golist output. Any policy is manual use of override switches by packagers in their spec As for upstreams… you realise that telling

[golist] PR #27: Fix not listing packages with external tests only

2019-11-29 Thread Nicolas Mailhot
nim commented on the pull-request: `Fix not listing packages with external tests only` that you are following: `` @jcajka I agree from a theoretical POW. I was just pointing out that from a practical POW, asking all the Go parts we package to adhere strictly to the specs, means dealing with a

[golist] PR #27: Fix not listing packages with external tests only

2019-11-29 Thread Nicolas Mailhot
nim commented on the pull-request: `Fix not listing packages with external tests only` that you are following: `` @obudai a lot of Go projects use internal in the package path to mean the same thing as the internal keyword. Welcome to the wonderful land of underspecified Go behaviour.

[golist] PR #27: Fix not listing packages with external tests only

2019-11-29 Thread Nicolas Mailhot
nim commented on the pull-request: `Fix not listing packages with external tests only` that you are following: `` That would wreck havoc on all package BRs since internal is a magic keyword that forbids exposing the result to other Go packages. Returning anything internal in `golist` must be

[go-rpm-macros] PR #21: Expose Go build flags directly to spec files as a macro

2019-09-21 Thread Nicolas Mailhot
nim commented on the pull-request: `Expose Go build flags directly to spec files as a macro` that you are following: `` @berrange That’s awfully nice, both the runtime ifnarch removal and the generalization to pie/nopie macros If you think the PR is cooked and @jcajka agrees with it I see no

Re: [Fedocal] Reminder meeting : Go SIG Meeting

2019-07-09 Thread Nicolas Mailhot
You are kindly invited to the meeting: Go SIG Meeting on 2019-07-09 from 16:00:00 to 17:00:00 UTC At fedora-gol...@irc.freenode.net I will probably be late today, if I manage the meeting at all. -- Nicolas Mailhot ___ golang mailing list

Re: New Go Packaging Guidelines landed in rawhide (koji) today

2019-06-29 Thread Nicolas Mailhot
taking up from where he prepared, and checking the result builds in koji and works for you, will accelerate things. @eclipseo: please correct if I wrote something that does not make things easier your side Regards, -- Nicolas Mailhot ___ golang mai

Re: HEADS UP: DynamicBuildRequires are available

2019-06-18 Thread Nicolas Mailhot
because the Fedora infra was not ready yet. Regards -- Nicolas Mailhot ___ golang mailing list -- golang@lists.fedoraproject.org To unsubscribe send an email to golang-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org

[go-rpm-macros] Issue #18: Passing extra args to `go test`

2019-06-15 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` The whole logic is here: https://pagure.io/go-rpm-macros/blob/master/f/rpm/macros.d/macros.go-rpm#_352 `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/issue/18

[go-rpm-macros] Issue #18: Passing extra args to `go test`

2019-06-15 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` `gocheckflags` is here to pass exclusion information to `go-rpm-integration` in `gocheck`, the same way `goinstallflags` works in `goinstall`. To pass information explicitely to the `go test` layer, you need `gotestflags`. Be careful

[golist] PR #25: Always install SFiles whatever the arch

2019-06-14 Thread Nicolas Mailhot
nim commented on the pull-request: `Always install SFiles whatever the arch` that you are following: `` Ok, weird that @jchaloup gone to all this pain for something that does not work Reading the urfave/cli documentation (that I don’t know well, I used jawher/mow.cli in modist), it seems you

[golist] PR #25: Always install SFiles whatever the arch

2019-06-14 Thread Nicolas Mailhot
nim commented on the pull-request: `Always install SFiles whatever the arch` that you are following: `` That looks good to me (I assume you checked it builds and works). That's how I would have done it. @qulogic up to you now `` To reply, visit the link below or just reply to this email

[go-rpm-macros] Issue #17: Go does not install SFiles not required by the arch

2019-06-14 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` @qulogic reading `golist` code, it should just need the same kind of processing as for protobuf files https://pagure.io/golist/blob/master/f/pkg/util/util.go#_77 (assuming we want all .s files added inconditionally) `` To reply, visit

[go-rpm-macros] Issue #17: Go does not install SFiles not required by the arch

2019-06-14 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` That’s not hard to do (just add the flag to %goinstallflags ) but this variable is almost empty now, because all past file selection mistakes where fixed in `golist` @qulogic do you need the workaround added to `go-rpm-macros` or can

[go-rpm-macros] Issue #4: Issues building golang source package on EL7

2019-06-14 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` Closing, since the root cause is actually the same as issue #2 `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/issue/4 ___ golang mailing list --

[go-rpm-macros] Issue #4: Issues building golang source package on EL7

2019-06-14 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` Closing, since the root cause is actually the same as issue #2 `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/issue/4 ___ golang mailing list --

[go-rpm-macros] Issue #7: %goinstall should verify explicit paths exist

2019-06-14 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` And the fix is now in rawhide, with go-rpm-macros 3.0.8 `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/issue/7 ___ golang mailing list --

[go-rpm-macros] Issue #7: %goinstall should verify explicit paths exist

2019-06-14 Thread Nicolas Mailhot
The status of the issue: `%goinstall should verify explicit paths exist` of project: `go-rpm-macros` has been updated to: Closed by nim. https://pagure.io/go-rpm-macros/issue/7 ___ golang mailing list -- golang@lists.fedoraproject.org To unsubscribe

[go-rpm-macros] Issue #1: -devel subpackage is build tag specific

2019-06-14 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` This should be fixed with golist 0.10.0 `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/issue/1 ___ golang mailing list --

[go-rpm-macros] Issue #2: EPEL availability

2019-06-14 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` A POC implementation is here https://copr.fedorainfracloud.org/coprs/nim/macros-ng/builds/ `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/issue/2

[go-rpm-macros] Issue #2: EPEL availability

2019-06-14 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` A POC implementation is here https://copr.fedorainfracloud.org/coprs/nim/macros-ng/builds/ `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/issue/2

[go-rpm-macros] Issue #6: golist needs to be run outside the source tree to avoid panics

2019-06-14 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` Modules are now disabled by default, module mode will require a new tooling stack refresh anyway. Closing `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/issue/6

[go-rpm-macros] Issue #6: golist needs to be run outside the source tree to avoid panics

2019-06-14 Thread Nicolas Mailhot
The status of the issue: `golist needs to be run outside the source tree to avoid panics` of project: `go-rpm-macros` has been updated to: Closed by nim. https://pagure.io/go-rpm-macros/issue/6 ___ golang mailing list -- golang@lists.fedoraproject.org

[go-rpm-macros] Issue #4: Issues building golang source package on EL7

2019-06-14 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` So, the whole Go tooling update and cleanup is now finished in rawhide. The corresponding tooling port to EL7 is here: https://copr.fedorainfracloud.org/coprs/nim/macros-ng/builds/ (lightly tested, but it should handle all the

Re: New Go Packaging Guidelines landed in rawhide (koji) today

2019-06-12 Thread Nicolas Mailhot
or not. The change page is up to date, it’s the most recent rewrite) Sincerely, -- Nicolas Mailhot ___ golang mailing list -- golang@lists.fedoraproject.org To unsubscribe send an email to golang-le...@lists.fedoraproject.org Fedora Code of Conduct: https

New Go Packaging Guidelines landed in rawhide (koji) today

2019-06-08 Thread Nicolas Mailhot
is a technology preview for now. Best regards, -- Nicolas Mailhot ___ golang mailing list -- golang@lists.fedoraproject.org To unsubscribe send an email to golang-le...@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html

[go-rpm-macros] PR #16: make it use the actual code that was merged in redhat-rpm-config-130

2019-06-05 Thread Nicolas Mailhot
nim commented on the pull-request: `make it use the actual code that was merged in redhat-rpm-config-130` that you are following: `` @bex sadly there are not many (any?) good wills to do regular reviewing. The repo history shows long periods of one-man commits, be it now or when the

[go-rpm-macros] PR #16: make it use the actual code that was merged in redhat-rpm-config-130

2019-06-05 Thread Nicolas Mailhot
nim commented on the pull-request: `make it use the actual code that was merged in redhat-rpm-config-130` that you are following: `` Ah, that Just because it is trivial does not mean stupid typos can not happen, so the commits cook in a private feature branch (where I can rewrite git history

[go-rpm-macros] PR #16: make it use the actual code that was merged in redhat-rpm-config-130

2019-06-05 Thread Nicolas Mailhot
nim commented on the pull-request: `make it use the actual code that was merged in redhat-rpm-config-130` that you are following: `` @ignatenkobrain sorry, I didn't know there was much interest in reviewing such a trivial commit (or in go-rpm-macros PRs in general). If you have any comment on

[go-rpm-macros] PR #16: make it use the actual code that was merged in redhat-rpm-config-130

2019-06-04 Thread Nicolas Mailhot
nim opened a new pull-request against the project: `go-rpm-macros` that you are following: `` make it use the actual code that was merged in redhat-rpm-config-130 `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/pull-request/16

[go-rpm-macros] PR #16: make it use the actual code that was merged in redhat-rpm-config-130

2019-06-04 Thread Nicolas Mailhot
nim merged a pull-request against the project: `go-rpm-macros` that you are following. Merged pull-request: `` make it use the actual code that was merged in redhat-rpm-config-130 `` https://pagure.io/go-rpm-macros/pull-request/16 ___ golang mailing

[go-rpm-macros] PR #15: small fixes

2019-06-02 Thread Nicolas Mailhot
nim opened a new pull-request against the project: `go-rpm-macros` that you are following: `` small fixes `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/pull-request/15 ___ golang mailing list --

[go-rpm-macros] PR #15: small fixes

2019-06-02 Thread Nicolas Mailhot
nim merged a pull-request against the project: `go-rpm-macros` that you are following. Merged pull-request: `` small fixes `` https://pagure.io/go-rpm-macros/pull-request/15 ___ golang mailing list -- golang@lists.fedoraproject.org To unsubscribe

[go-rpm-macros] PR #14: make use of golist --with-tests in dynamic buildrequires

2019-05-28 Thread Nicolas Mailhot
nim opened a new pull-request against the project: `go-rpm-macros` that you are following: `` make use of golist --with-tests in dynamic buildrequires `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/pull-request/14

[go-rpm-macros] PR #14: make use of golist --with-tests in dynamic buildrequires

2019-05-28 Thread Nicolas Mailhot
nim merged a pull-request against the project: `go-rpm-macros` that you are following. Merged pull-request: `` make use of golist --with-tests in dynamic buildrequires `` https://pagure.io/go-rpm-macros/pull-request/14 ___ golang mailing list --

[golist] PR #24: Add option for querying main and test simultaneously.

2019-05-25 Thread Nicolas Mailhot
nim commented on the pull-request: `Add option for querying main and test simultaneously.` that you are following: `` `--with-tests` (as suggested in the original issue) is a fine API with me. I don’t have better ideas. Please merge `` To reply, visit the link below or just reply to this

[go-rpm-macros] PR #13: make use of golist 0.10.0 fixes

2019-05-21 Thread Nicolas Mailhot
nim merged a pull-request against the project: `go-rpm-macros` that you are following. Merged pull-request: `` make use of golist 0.10.0 fixes `` https://pagure.io/go-rpm-macros/pull-request/13 ___ golang mailing list --

[go-rpm-macros] PR #13: make use of golist 0.10.0 fixes

2019-05-21 Thread Nicolas Mailhot
nim opened a new pull-request against the project: `go-rpm-macros` that you are following: `` make use of golist 0.10.0 fixes `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/pull-request/13 ___ golang

Re: Review Request and Questions

2019-05-21 Thread Nicolas Mailhot
not be recorded and output always has to be written in the same order.” Regards, -- Nicolas Mailhot ___ golang mailing list -- golang@lists.fedoraproject.org To unsubscribe send an email to golang-le...@lists.fedoraproject.org Fedora Code of Co

Re: Review Request and Questions

2019-05-21 Thread Nicolas Mailhot
hat really begs for https://github.com/rpm-software-management/rpm/issues/607 It's sad that eveyone is reinventing its own hack to implement something taht should be done by default by rpm. If you have the time, please explain rpm upstream why tracking this kind of info is useful. > BUILDDATE=$(date +

[go-rpm-macros] PR #12: Force GO111MODULE=off till the macros grow Go module support

2019-05-03 Thread Nicolas Mailhot
nim merged a pull-request against the project: `go-rpm-macros` that you are following. Merged pull-request: `` Force GO111MODULE=off till the macros grow Go module support `` https://pagure.io/go-rpm-macros/pull-request/12 ___ golang mailing list --

[go-rpm-macros] PR #12: Force GO111MODULE=off till the macros grow Go module support

2019-05-03 Thread Nicolas Mailhot
nim opened a new pull-request against the project: `go-rpm-macros` that you are following: `` Force GO111MODULE=off till the macros grow Go module support `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/pull-request/12

[go-rpm-macros] PR #11: update licensing

2019-05-03 Thread Nicolas Mailhot
nim merged a pull-request against the project: `go-rpm-macros` that you are following. Merged pull-request: `` update licensing `` https://pagure.io/go-rpm-macros/pull-request/11 ___ golang mailing list -- golang@lists.fedoraproject.org To

[go-rpm-macros] PR #11: update licensing

2019-05-03 Thread Nicolas Mailhot
nim opened a new pull-request against the project: `go-rpm-macros` that you are following: `` update licensing `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/pull-request/11 ___ golang mailing list --

[go-rpm-macros] PR #10: Move a lot of code unrelated to srpm creation to srpm macros

2019-05-03 Thread Nicolas Mailhot
nim merged a pull-request against the project: `go-rpm-macros` that you are following. Merged pull-request: `` Move a lot of code unrelated to srpm creation to srpm macros `` https://pagure.io/go-rpm-macros/pull-request/10 ___ golang mailing list --

[go-rpm-macros] PR #10: Move a lot of code unrelated to srpm creation to srpm macros

2019-05-03 Thread Nicolas Mailhot
nim opened a new pull-request against the project: `go-rpm-macros` that you are following: `` Move a lot of code unrelated to srpm creation to srpm macros `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/pull-request/10

[golist] Issue #12: golist should be buildroot prefix aware

2019-04-25 Thread Nicolas Mailhot
The status of the issue: `golist should be buildroot prefix aware` of project: `golist` has been updated to: Closed by nim. https://pagure.io/golist/issue/12 ___ golang mailing list -- golang@lists.fedoraproject.org To unsubscribe send an email to

[go-rpm-macros] PR #9: Use relative symlinks for goalts; workarounds https://pagure.io/golist/issue/12 https://github.com/rpm-software-management/rpm/issues/671

2019-04-25 Thread Nicolas Mailhot
nim opened a new pull-request against the project: `go-rpm-macros` that you are following: `` Use relative symlinks for goalts; workarounds https://pagure.io/golist/issue/12 https://github.com/rpm-software-management/rpm/issues/671 `` To reply, visit the link below or just reply to this email

[go-rpm-macros] PR #9: Use relative symlinks for goalts; workarounds https://pagure.io/golist/issue/12 https://github.com/rpm-software-management/rpm/issues/671

2019-04-25 Thread Nicolas Mailhot
nim merged a pull-request against the project: `go-rpm-macros` that you are following. Merged pull-request: `` Use relative symlinks for goalts; workarounds https://pagure.io/golist/issue/12 https://github.com/rpm-software-management/rpm/issues/671 ``

[golist] Issue #12: golist should be buildroot prefix aware

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` Ok, I found a workaround. Let’s focus on still broken things for now `` To reply, visit the link below or just reply to this email https://pagure.io/golist/issue/12 ___ golang mailing list --

[golist] PR #23: WIP: Add output templating

2019-04-25 Thread Nicolas Mailhot
nim commented on the pull-request: `WIP: Add output templating` that you are following: `` @qulogic Looks good (not tested). Not sure the `\n` is necessary for `BuildRequires` but having the option to put everything on one line may be useful for `go test` `` To reply, visit the link below or

[golist] Issue #21: Overhaul CLI

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` @eclipseo Please play a little with `modist` and tell us if it is better. I tried to fix the CLI interface. `cobra` is difficult to use in a core utility like `golist`. It has lots of requirements, so bootsrapping a Go stack that

[golist] PR #20: Add ignored Go files install list

2019-04-25 Thread Nicolas Mailhot
nim commented on the pull-request: `Add ignored Go files install list` that you are following: `` Indeed, it is very nice to see `golist` being improved at last! `` To reply, visit the link below or just reply to this email https://pagure.io/golist/pull-request/20

[golist] Issue #18: Golist should work without $GOPATH from any directory

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` The download is a no-go since it will be blocked by CI/CD systems like `mock`. It should be possible to avoid setting a build-specific `GOPATH` in golist, by importing directly the directories golist operates on, and taking other code

[golist] Issue #13: golist should permit specifying its output format

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` > Do you need format string for file lists (or just the provided/installed)? There's no need to format file lists, as long as the installation is left to something else. If golist was to take over installation (as is done by modist

[golist] Issue #12: golist should be buildroot prefix aware

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` I don't remember where the files end up (under `BUILD` or `BUILDROOT`) and I may have mixed up the rpm variable representing rpm's last stage staging directory. The basic point is that for `Requires`/`Provides` we are not calling

[go-rpm-macros] PR #8: Fix missing variable in license detection

2019-04-25 Thread Nicolas Mailhot
nim merged a pull-request against the project: `go-rpm-macros` that you are following. Merged pull-request: `` Fix missing variable in license detection `` https://pagure.io/go-rpm-macros/pull-request/8 ___ golang mailing list --

[go-rpm-macros] PR #8: Fix missing variable in license detection

2019-04-25 Thread Nicolas Mailhot
nim commented on the pull-request: `Fix missing variable in license detection` that you are following: `` Good catch, thanks, the variable was dropped in a recent code cleanup. `` To reply, visit the link below or just reply to this email https://pagure.io/go-rpm-macros/pull-request/8

[go-rpm-macros] Issue #7: %goinstall should verify explicit paths exist

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` Ok I've checked the current code and the problem also exists here. I have a fix, will commit it once I'm somewhere that allows ssh access to pagure (since pagure does not allow https commits) `` To reply, visit the link below or just

[go-rpm-macros] Issue #7: %goinstall should verify explicit paths exist

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` (BTW did you check what happens with the current macro version? This part has been refactored for more robustness, even though this is definitely a case I didn't check so if it's fixed it's fixed as a side effect of something else ;)) ``

[golist] PR #17: Replace Go internals with go/build

2019-04-25 Thread Nicolas Mailhot
nim commented on the pull-request: `Replace Go internals with go/build` that you are following: `` The v2 is module versioning. That's something we need to support to have working Go packaging. It's good that your PR starts picking it up when the previous code does not. However you are right

[go-rpm-macros] Issue #7: %goinstall should verify explicit paths exist

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` Yes goinstall error checking should be improved (even though the target will be modules soonish that should hopefully remove the need for custom install hacks) `` To reply, visit the link below or just reply to this email

[golist] PR #17: Replace Go internals with go/build

2019-04-25 Thread Nicolas Mailhot
nim commented on the pull-request: `Replace Go internals with go/build` that you are following: `` Ok, after more work evolving to module support seems a bit simpler than I though, because go mod need requires people to clean up their mess and that's also the assumption of the current

[golist] Issue #6: didn't find "github.com/google/go-cmp/cmp"

2019-04-25 Thread Nicolas Mailhot
The issue: `didn't find "github.com/google/go-cmp/cmp"` of project: `golist` has been assigned to `nim` by nim. https://pagure.io/golist/issue/6 ___ golang mailing list -- golang@lists.fedoraproject.org To unsubscribe send an email to

[golist] Issue #6: didn't find "github.com/google/go-cmp/cmp"

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` I will recheck. cloud.google.com/go is a full bag of nastiness, that even other Google projects have problems with (most of them still import it under a legacy name, which means they are afraid of using the latest code. The current

[golist] Issue #9: incomplete import detection for tests

2019-04-25 Thread Nicolas Mailhot
The issue: `incomplete import detection for tests ` of project: `golist` has been assigned to `nim` by nim. https://pagure.io/golist/issue/9 ___ golang mailing list -- golang@lists.fedoraproject.org To unsubscribe send an email to

[golist] Issue #9: incomplete import detection for tests

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` golist does not uses this kind or regexes it plugs directly in the Go compiler inner code to match the Go compiler view of what's in a project. This was a deliberate choice by Fedora Go maintainers last year, my initial macro

[golist] Issue #7: runtime panic, nil dereference when running %gochecks

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` BTW: * thanks an *awful* lot for looking at golist code maintenance * if you can figure how to make golist process module info, and spit out the version constrains that only exists in those modules, that would be much nicer than

[golist] Issue #10: unexpected directory layout (whatever that means)

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` Yes, I suppose an alternative would be to track the things that depends on this bit of code and ask them to drop it. `` To reply, visit the link below or just reply to this email https://pagure.io/golist/issue/10

[golist] Issue #9: incomplete import detection for tests

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` Ah ok. I think that's because we only hit it when executing tests. Will look at it once more, maybe the logrus code was refactored since this was filed `` To reply, visit the link below or just reply to this email

[golist] Issue #8: Crash when processing github.com/kr/pretty 0.1.0

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` Sure it does, however till someone analyses both issues and concludes they are the same, it's dangerous to track only one of them. `` To reply, visit the link below or just reply to this email https://pagure.io/golist/issue/8

[go-rpm-macros] Issue #6: golist needs to be run outside the source tree to avoid panics

2019-04-25 Thread Nicolas Mailhot
The issue: `golist needs to be run outside the source tree to avoid panics` of project: `go-rpm-macros` has been assigned to `nim` by nim. https://pagure.io/go-rpm-macros/issue/6 ___ golang mailing list -- golang@lists.fedoraproject.org To unsubscribe

[golist] Issue #7: runtime panic, nil dereference when running %gochecks

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` For readers that don't understand the latest exchange, the participants wrote their piece here https://pagure.io/GoSIG/go-sig/issue/3 `` To reply, visit the link below or just reply to this email https://pagure.io/golist/issue/7

[golist] Issue #7: runtime panic, nil dereference when running %gochecks

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` @jcajka: how do you expect anyone to understand your position? Months over months of not accepting macro fixes, months over months of finding new reasons not to look at them, refusal to discuss it in SIG meetings, no activity in the

[golist] Issue #7: runtime panic, nil dereference when running %gochecks

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` That sucks since other projects *expect* to be in the source dir when run. So I guess the shell wrapper will need to be changed to run golist outside this dir and switch to it afterwards: ( I've filled it as

[golist] Issue #1: golist should be ported to a current release of gopkg.in/urfave/cli.v1

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` @qulogic this is all originally @jchaloup 's code. He asked to split it in a separate repository, but I don't know what's the level of involvement he wants (and can) provide here. Ask him politely how he wants to do things (of course if

[golist] Issue #14: golist should handle naming assertions cleanly

2019-04-25 Thread Nicolas Mailhot
nim reported a new issue against the project: `golist` that you are following: `` Because the naming of Go projects is a mess many of them (including core Google modules) have started asserting how they should be named. This results in golist panics. Because golist is often called by other

[go-rpm-macros] Issue #4: Issues building golang source package on EL7

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` Yes that's what I meant by a little tricky. The changes are not big or scary but they are spread over several packages that call one another, it's easier to publish a copr with all the small changes than try to walk you through it

[golist] Issue #7: runtime panic, nil dereference when running %gochecks

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` The original reporter may not see the question since this is a migrated issue. But even if tests were still being run (not sure about this), a panic is pretty bad behavior: packagers are supposed to care about how builds proceed, we

[go-rpm-macros] Issue #4: Issues building golang source package on EL7

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` It's kind of hard to diagnose without the spec file and build logs, but basically there have been a lot of fixing and rewriting in the months since the wiki page was written. Macro usage is still the same but the code itself has changed

[go-rpm-macros] Issue #3: %goprep should apply patches automatically

2019-04-25 Thread Nicolas Mailhot
nim added a new comment to an issue you are following: `` > How do we handle the case of when patches should be applied > manually/conditionally? That would actually be trivial to handle cleanly ```specfile %if %global source_patches3 6 87 456 # apply patches 6 87 456 after unpacking source 3

[golist] Issue #13: golist should permit specifying its output format

2019-04-25 Thread Nicolas Mailhot
nim reported a new issue against the project: `golist` that you are following: `` `golist` only implements a single output format, which means this output needs to be reprocessed in shell before being fed to other software, like rpm¹. This shell reprocessing is brittle and adds noise to Go

  1   2   3   >