From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EP2YO4r0sl/yAgAA0tVLHw (envelope-from ) for ; Mon, 16 Nov 2020 21:52:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id /4F3N4r0sl92EwAAB5/wlQ (envelope-from ) for ; Mon, 16 Nov 2020 21:52:10 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B511E9404DF for ; Mon, 16 Nov 2020 21:52:10 +0000 (UTC) Received: from localhost ([::1]:54340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kemPx-0003fC-MA for larch@yhetil.org; Mon, 16 Nov 2020 16:52:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kemOF-0002TG-2y for guix-devel@gnu.org; Mon, 16 Nov 2020 16:50:23 -0500 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]:57903) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kemOC-0002Hm-5T for guix-devel@gnu.org; Mon, 16 Nov 2020 16:50:22 -0500 Received: from localhost (188.30.135.14.threembb.co.uk [188.30.135.14]) by mira.cbaines.net (Postfix) with ESMTPSA id 8E87F27BBF5; Mon, 16 Nov 2020 21:50:16 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 384640e4; Mon, 16 Nov 2020 21:50:11 +0000 (UTC) References: <868scbvalo.fsf@gmail.com> <87d01m3475.fsf@ambrevar.xyz> <87a6wg7wto.fsf@gnu.org> <87k0ulm78x.fsf@cbaines.net> <86a6vhqcc3.fsf@gmail.com> <87blfxm39q.fsf@cbaines.net> <86v9e5ovjp.fsf@gmail.com> User-agent: mu4e 1.4.13; emacs 27.1 From: Christopher Baines To: zimoun Subject: Re: Data Services: use cases In-reply-to: <86v9e5ovjp.fsf@gmail.com> Date: Mon, 16 Nov 2020 21:50:08 +0000 Message-ID: <875z65m0of.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/16 12:54:49 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Guix Devel Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -3.11 X-TUID: khdcqs3wcZ1z --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable zimoun writes: > Cool! I have seen that you added the commit! Great. > > On Mon, 16 Nov 2020 at 20:54, Christopher Baines wrote: > >>>>> 2: > >>>> 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 bett= er >>>> than either the commit date or author date from the Git metadata. > >>> Maybe my investigations in [2] above are wrong but which date from the >>> email the Data Service is using? > > I do not know what is wrong, but some thing is. From > > https://lists.gnu.org/archive/html/guix-devel/2020-10/msg00096.html > > the commit ranges: > > https://data.guix.gnu.org/repository/1/branch/master/package/ghc-haddock/= output-history > > does not match with the Git history if I am not wrong. > > The first commit producing j5llsz=E2=80=A6-ghc-haddock is not > 3922208091 but 12dc9f58c4. And then compare: > > author date commit date > 3922208091|Thu Jul 23 14:03:19 2020|Fri Jul 24 14:21:31 2020 > 12dc9f58c4|Fri Jul 24 09:56:25 2020|Fri Jul 24 14:21:30 2020 > > I have not checked what guix-commits says. Maybe the mess is > overthere. The author date and commit date won't necessarily match the date whatever branch is updated (and it's when that branch was updated that the Guix Data Service tries to store). Generally, the author date will match or precede the commit date, which will match or precede the date the commit hit whatever branch. Taking 3922208091 as an example, I pulled the commit dates in UTC [1]: AuthorDate: Thu Jul 23 12:03:19 2020 CommitDate: Fri Jul 24 12:21:31 2020 Guix Data Service: 2020-07-24 12:22:11 [2] 1: TZ=3DUTC git show --pretty=3Dfuller 3922208091 2: https://data.guix.gnu.org/revision/39222080911eaf3d7f74effe4467c1a04464a= ef3 I think the author date says something about when the commit was originally created. Rebasing and adding the Signed-off-by by bit will update the commit date (but not the author date). Finally, the Guix Data Service will store when the branch was updated (it uses the date of the email as a proxy for this). Does that clear things up? Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl+y9BBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XfgEA/9HfaWOdWjzrQ7cJoP+74DMloUH7RRSDtG QxIQ/W0IbDapTbGfwQUJSBS0LA12XulMDpOQuYYHoIZ7fHCTMCFs9iAYAz2qI8gP BYP9x980Krb2nSdSiVxEJD45j2SFwULe8HTa04LHndaVDe/vMMB5rg6EIpv5S37Q HfrhzLECl2vmTRKpM+1+IDVYjqwuaiOhejRNAjAL7TqXCVzD/OVl+cUWeSIqnWuV X7Z7PqtTNeN9dBykxtQARAkBVaA67GbAQJ8ZXWj8AlAT1K/owH2UTVKd3ezBDhPr OcSHS8erg7k5dR5Az+SfKacHWyGcqoDQ1pX1gjraa3bI1Kk1MGHhLQdzq5i8iPoe vti0COJ9WlQ8VH2y4vjmu+o93hgWVMGOPtKLwDQRl2wfWBrK41HAtuFA+iKDgMCL KJOjpjwbx6tj6BjrbLV6hT9ylRDgcTrV7uKaqJVIfXiwj/ljyUSJn1EGlOc+hvAs siKJrHEAWY3sx2P6AdQ4a3VOwr480J6zy2FzHgxfrBFx2hb0J8y5rkNcuZaxReOT ssWyTEApwWP0lO673CpFh9IEDJyUAzDFS0HpJVrfR99tlKeYzsL+/MHvT9/Bausu Hq/rvuPvrEPom+6RkzYuOdqC7cMORQZaAgla8BvqXo3JYMetAM9s5Zwq8OFHxRVg +Yk2gSSMQAk= =aRJd -----END PGP SIGNATURE----- --=-=-=--