Github messages for voidlinux
 help / color / mirror / Atom feed
From: sgn <sgn@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: xbps-src: does not recognize a git-worktree as a git-repo
Date: Thu, 09 Apr 2020 10:21:49 +0200	[thread overview]
Message-ID: <20200409082149.o4-20qdYoo2uvf6b32_tKoYQ-fEjOE-jNHPtFTQQing@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-20393@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 859 bytes --]

New comment by sgn on void-packages repository

https://github.com/void-linux/void-packages/issues/20393#issuecomment-611399337

Comment:
On 2020-04-09 01:13:10-0700, Piraty <notifications@github.com> wrote:
> is the chroot really required to know if there's a git directory? @xtraeme ?

There're 2 information xbps-src needs to get from git:

- `SOURCE_DATE_EPOCH` (`common/environment/setup/git.sh`),
  this can be work-around by calculate it from outside,
  then export into chroot
- `gitrev` metadata for the package
  (`common/hooks/post-install/05-generate-gitrevs.sh`),
  this will be run in `pkg` step,
  we can work-around by calculate it from outside of chroot, export
  into chroot.

After done all this steps, we no longer need git inside chroot,
thus, `chroot-git` packages is no longer required, and, can be removed
from base-chroot.

-- 
Danh


  parent reply	other threads:[~2020-04-09  8:21 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-26 17:38 [ISSUE] " Piraty
2020-04-09  4:03 ` sgn
2020-04-09  8:12 ` Piraty
2020-04-09  8:21 ` sgn [this message]
2020-08-19 16:29 ` sgn
2020-08-19 16:29 ` [ISSUE] [CLOSED] " sgn

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

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

  git send-email \
    --in-reply-to=20200409082149.o4-20qdYoo2uvf6b32_tKoYQ-fEjOE-jNHPtFTQQing@z \
    --to=sgn@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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.
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 NNTP newsgroup(s).