[Fedora-packaging] Packaging Guidelines for Applications using Git Submodules

Vít Ondruch vondruch at redhat.com
Mon Jun 15 07:58:18 UTC 2015


I'd say that submodules usually mean bundling and since bundling is
prohibited, there is little reason to document how to work with submodules.


Vít


Dne 13.6.2015 v 04:33 Gerald B. Cox napsal(a):
> I'm trying to figure out the best way to handle the situation where a
> project decides to use submodules in Git.  The archive generated
> doesn't incorporate the submodule files.  
>
> I've done some searching on this, and haven't really come up with much.
> I've reviewed:  Packaging:Github
> <https://fedoraproject.org/wiki/Packaging:SourceURL?rd=Packaging/SourceURL#Github>
>
>  
> ; but that really doesn't address the submodule issue.
>
> I looked through some packages that are currently in the Fedora
> repository and found where a few folks have rebuilt the tarball and
> referenced that version as the Source in the spec file; then they put
> in a comment stating:
>
> The source of this package was pulled from upstreams' vcs.  Use the
> following
> commands to generate the tarball:
> ...
> - git clone
> ... 
> - git submodule init
> - git submodule update 
> ...
>
> This approach is the best that I've found.  Any other suggestions?
>
> Thanks much!
>
>
> --
> packaging mailing list
> packaging at lists.fedoraproject.org
> https://admin.fedoraproject.org/mailman/listinfo/packaging

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/packaging/attachments/20150615/82ef1198/attachment.html>


More information about the packaging mailing list