unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Christopher Baines <mail@cbaines.net>
To: zimoun <zimon.toutoune@gmail.com>
Cc: Guix Devel <guix-devel@gnu.org>
Subject: Re: Data Services: use cases
Date: Mon, 16 Nov 2020 19:28:14 +0000	[thread overview]
Message-ID: <87k0ulm78x.fsf@cbaines.net> (raw)
In-Reply-To: <CAJ3okZ3sMqGmpsTZ0hEpYU4GvwPgHPUJEkudH2fib5ykbSi8wg@mail.gmail.com>

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


zimoun <zimon.toutoune@gmail.com> writes:

>> BTW, when looking at /output-history, the commits in “From” and “To” can
>> be a bit confusing.  Take:
>>
>>   https://data.guix.gnu.org/repository/1/branch/master/package/openmpi/output-history
>>
>> I see “To” pointing to
>> <https://git.savannah.gnu.org/cgit/guix.git/commit/?id=ec2a8f602ee0fd2fac2210eeae6d1da091bb47e4>,
>> a commit that changes ‘mpd’, which ‘openmpi’ doesn’t depend on; this is
>> completely bogus.  However, the next “From” points to the right commit:
>> <https://git.savannah.gnu.org/cgit/guix.git/commit/?id=d623ece56624fd7d611cdaf42f728b21d89fec5c>.
>>
>> It’s surprising that “To” and the immediately following “From” are not
>> the same.
>
> I recently have a very similar issue [1].  And based on my
> investigations [2], the issue seems "commit date vs author date";
> especially when merges are floating around.  Because of that, from
> "From" to "To" is not always accurate.  Chris, could you confirm?
>
> 1: <https://lists.gnu.org/archive/html/guix-devel/2020-10/msg00084.html>
> 2: <https://lists.gnu.org/archive/html/guix-devel/2020-10/msg00096.html>

The Guix Data Service stores the date in the email from the Git hook
that runs when one pushes to Savannah. That's the date you see for a
revision, and it should be pretty close to when it actually showed up in
the Git repository. It's not perfectly accurate, but it should be better
than either the commit date or author date from the Git metadata.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 987 bytes --]

  reply	other threads:[~2020-11-16 19:40 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-12 13:26 Data Services: use cases zimoun
2020-10-13  8:44 ` Pierre Neidhardt
2020-10-21  9:27   ` Ludovic Courtès
2020-10-21  9:39     ` Pierre Neidhardt
2020-10-21 10:19     ` zimoun
2020-11-16 19:28       ` Christopher Baines [this message]
2020-11-16 20:24         ` zimoun
2020-11-16 20:54           ` Christopher Baines
2020-11-16 21:12             ` zimoun
2020-11-16 21:50               ` Christopher Baines
2020-11-16 22:38                 ` zimoun
2020-11-17 21:43                   ` zimoun
2020-11-17 21:57                     ` Fix incorrect date and commit in Data Service zimoun
2020-11-17 22:44                       ` zimoun
2020-11-16 19:26     ` Data Services: use cases Christopher Baines
2020-11-16 19:20   ` Christopher Baines
2020-11-17  7:48     ` Pierre Neidhardt
2020-11-17  8:04       ` Christopher Baines
2020-11-17  8:49         ` Pierre Neidhardt
2020-11-17 19:34           ` Christopher Baines
2020-11-17 19:42             ` Pierre Neidhardt
2020-11-16 19:17 ` Christopher Baines
2020-11-16 20:34   ` zimoun
2020-11-16 21:08     ` Christopher Baines
2020-11-17 13:19       ` Linking to the data service Ludovic Courtès
2020-11-17 16:26         ` zimoun
2020-11-17 16:18       ` Data Services: use cases zimoun

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: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=87k0ulm78x.fsf@cbaines.net \
    --to=mail@cbaines.net \
    --cc=guix-devel@gnu.org \
    --cc=zimon.toutoune@gmail.com \
    /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://git.savannah.gnu.org/cgit/guix.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).