Re: Packaging a go application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Robin,

"Robin Opletal" <me@xxxxxxxxxxxxxxxx> writes:

> On Tue Dec 8, 2020 at 8:17 PM CET, Dan Čermák wrote:
>> Hi Robin,
>
> Hi Dan,
>
>> BuildRequires: golang($url/$owner/$pkg)
>> indicates a dependent package that must be available in Fedora. It is
>> actually not a macro, it's just a naming convention for golang packages
>> (more specifically, this is a capability that golang packages provide).
>> Thus we would be free to change the naming of github.com/creack/pty
>> to fancy-golang-github-creack-pty (just a ridiculous example) while not
>> having to touch our packages at all, as long as it would still provide
>> golang(github.com/creack/pty).
>
> That makes sense perfect sense to me now - thanks for the explanation. I
> will look into how this could then be done
>
> May I ask if bundling the dependencies in this case would be a good
> idea, as even the used libraries are often tagged on a commit for each
> aerc release?

Bundling is generally discouraged in Fedora, so unless there are really
compelling reasons (e.g. there's hundreds of dependencies or aerc does
not work with the unbundled go package), you should try to unbundle
everything as much as possible.


Cheers,

Dan

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux