git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: Axel Obermeier <axel.obermeier@gmx.com>
To: git@vger.kernel.org
Subject: Optionally include submodules in git archive - status?
Date: Fri, 11 Jun 2021 09:21:29 +0200	[thread overview]
Message-ID: <trinity-ccbae402-c6b8-4280-abe0-7fecf75af9f3-1623396089396@3c-app-gmx-bap17> (raw)

Dear git developers & community,

I'm trying to find out the status of including submodules in git archive
- I'm sure this has come up before, because it creates lots of pain,
especially in packaging [0].

Github in particular punts on including submodules in the automatically
generated tarballs (which are therefore often broken, i.e. not including
all necessary parts to build), and this is in part because the underlying
git archive command does not provide that option.

I could not find a bug tracker for git (though I noted with interest
from [1] that the git-scm website has one...), and could not easily find
something on the ML [2].

It's creating enough friction for me that I feel tempted to implement it
(e.g. with a switch to recurse one or all levels of submodules), even
though I don't know the git codebase at all. In any case, before rushing
ahead, I wanted to check first what the status of this topic is.

Best regards
H.

[0] https://github.com/dear-github/dear-github/issues/214
[1] https://git-scm.com/community
[2] https://public-inbox.org/git/?q=submodule+%22git+archive%22

             reply	other threads:[~2021-06-11  7:21 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-11  7:21 Axel Obermeier [this message]
2021-06-11 19:03 ` Optionally include submodules in git archive - status? brian m. carlson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-ccbae402-c6b8-4280-abe0-7fecf75af9f3-1623396089396@3c-app-gmx-bap17 \
    --to=axel.obermeier@gmx.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).