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

2020-09-19 Thread Simpson
proletarius101 added a new comment to an issue you are following: `` Yeah. Not trying to really support `replace` but was asking how to deal with such case is acceptable and right for Fedora. Now I know that just to replace the goipath to its real one by patches. Thanks for answering! `` To

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

2020-09-19 Thread Simpson
The status of the issue: `Add macro for packages with `replace` in go.mod` of project: `go-rpm-macros` has been updated to: Closed by proletarius101. https://pagure.io/go-rpm-macros/issue/27 ___ golang mailing list -- golang@lists.fedoraproject.org To

[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-19 Thread Simpson
proletarius101 added a new comment to an issue you are following: `` Agreed that it looks messy. But in this case `replace` just means redirection and some name overlapping. Or maybe there should be some notes in Fedora's packaging guidelines to instruct the best practice to handle this? `` 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

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

2020-09-16 Thread Simpson
proletarius101 reported a new issue against the project: `go-rpm-macros` that you are following: `` Although go-rpm-macros haven't support Go modules, which bascially means no lockfile & always use the latest deps available in Fedora's repo, it might be good to provide some macro to