Return-Path: X-Original-To: apmail-subversion-dev-archive@minotaur.apache.org Delivered-To: apmail-subversion-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8F45419A54 for ; Tue, 26 Apr 2016 08:27:58 +0000 (UTC) Received: (qmail 13285 invoked by uid 500); 26 Apr 2016 08:27:53 -0000 Delivered-To: apmail-subversion-dev-archive@subversion.apache.org Received: (qmail 13224 invoked by uid 500); 26 Apr 2016 08:27:53 -0000 Mailing-List: contact dev-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@subversion.apache.org Received: (qmail 13198 invoked by uid 99); 26 Apr 2016 08:27:53 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 26 Apr 2016 08:27:52 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 8C8F5C1F45 for ; Tue, 26 Apr 2016 08:27:52 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.802 X-Spam-Level: X-Spam-Status: No, score=-0.802 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id PIHGL3l9mevk for ; Tue, 26 Apr 2016 08:27:49 +0000 (UTC) Received: from mail-qg0-f51.google.com (mail-qg0-f51.google.com [209.85.192.51]) by mx2-lw-us.apache.org (ASF Mail Server at mx2-lw-us.apache.org) with ESMTPS id 7448C5F56C for ; Tue, 26 Apr 2016 08:27:49 +0000 (UTC) Received: by mail-qg0-f51.google.com with SMTP id d90so2463276qgd.3 for ; Tue, 26 Apr 2016 01:27:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=fn/hDh8Qb8CXfiXEHDXI/wayajdB/ZFYVcQdWHqqT+A=; b=DhPdDdKOnUxccTzDw0QlAVljFu1qA7OIjMhZ2W2YQGroRADwUA/s3+Lllc1HW/8pFR Zpffgu2oiyqv/V58iqMFccMnYFJZcgu0oWTkedUvH4nYYM1dK17khO9WVoDJgIvsfeob FFFlbNCD56V3aBIAnpkc+bbmgl5eCy4NJktuZbYBxNZJCXBriqirc/ltLvbgadW0Em6l 1rqP0RLU5hQo4jPuZa0HUsvPIQpBCMtDotbRji2++L8/yftNLfre0m2dqxB3LZxAqcV/ sxUkNjLYM1KUbjupCDCU4/FoML2jecrVgie7DUKjw5lANtAc9G8baXYZnJQfPxDQSdB4 UQCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=fn/hDh8Qb8CXfiXEHDXI/wayajdB/ZFYVcQdWHqqT+A=; b=fUybnhHZ8tYcpfw4IANsJUsroBgaxKEF7P2CWy9Itwg+MhxuljYER0Z3nUaBPgPk6O p7Bfs2r1rJz2VfSpU1jGwtWELgdjItNtkPBAJ2Q3znI/71xt5NNL9PjpV5bm+cn9Anll GKyeOwEkhjuz0ItHJYg+af2a/OS0KQWAk13Zkv2a6MwgVWG3RUeRmf+89E+CcX6TC+VH Ca4ZGHPAt5N6stcTV/xn2/uuargF8IiYOtMRhODeO88sAwSmkY0Wpwa5NyafVGmIYLfo d5SU/WMNvq6oPfPhG5bYTrLePQWOfbdgrV1vAojkRtNkC5mLISaPZwYFZKc978vOkJI4 Ykhg== X-Gm-Message-State: AOPr4FXt73odTdOVrNVqYWnHW7DWfbw8N9t2QHRzUDlOOVAwU6WKTqL1WzzPjyS5lZytRqnC0OVj3toSUuJNbg== X-Received: by 10.140.199.8 with SMTP id u8mr994775qha.5.1461659268929; Tue, 26 Apr 2016 01:27:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.9.131 with HTTP; Tue, 26 Apr 2016 01:27:29 -0700 (PDT) In-Reply-To: <571F1497.4010707@apache.org> References: <284f6151-bebd-7aef-6109-3b4046907af4@gmx.de> <571F1497.4010707@apache.org> From: Johan Corveleyn Date: Tue, 26 Apr 2016 10:27:29 +0200 Message-ID: Subject: Re: inconsistent timestamps/headers in tarballs and repository To: =?UTF-8?Q?Branko_=C4=8Cibej?= Cc: Subversion Development Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, Apr 26, 2016 at 9:11 AM, Branko =C4=8Cibej wrote= : > On 26.04.2016 03:55, Stefan wrote: >> Hi, >> >> during the verification process of the tarballs I spotted that some >> files have a different HeadURL and/or different timestamp records in >> the files when comparing the archives with the content from the tagged >> revisions. >> >> Is that expected? >> >> For instance win-tests.py in 1.8.16: >> >> zip file: >> >> # $HeadURL: >> http://svn.apache.org/repos/asf/subversion/branches/1.8.x/win-tests.py $ >> >> tag: >> >> # $HeadURL: >> https://svn.apache.org/repos/asf/subversion/tags/1.8.16/win-tests.py $ >> >> >> Not that it worried me enough to not sign the zip-archives. Just a bit >> wondering whether something is odd here. > > Could be that the archive was built from the branch instead of from the > tag. Our release scripts allow for both, but releases really should be > cut from the tag. Could be an oversight ... I always verify the contents (of the Windows zip files) against an export of the tag and of the branch the tag was created from (branches/1.8.x@1740329 in this case). I recursively diff both directories against each other (gnu 'diff -r' inside cygwin actually), and manually / diagonally verify the differences [1]. Indeed, HeadURL and Date keywords can differ, but I ignore those. - HeadURL either pops up when diffing to the branch export or to the tag export, but not both (indeed, it might be that usually it's identical to the tag export, and not to the branch export -- maybe it's reversed this time). Note: I perform the "export for content verification" with the plain http URL, not https, since that's what apparently is always used when creating the tarballs / zips. - Date pops up as a difference because of timezone issues. If I change my own timezone (on Windows) to UTC, before executing the export, then the Date keywords are identical, so they don't appear in the diff. It has made me wonder if there was a way to influence the timezone used for "Date" expansion during export, on Windows. I haven't found a way to do that (only by changing the system timezone). So if you export from http, and change your timezone to UTC before exporting, then you get the least amount of unnecessary diff when comparing the zip with the exported directories. Other differences I ignore are: - expected differences in svn_version.h (different when comparing to the branch, should be identical when comparing with the tag). - some symlinks vs. actual contents (consequence of running this verification on Windows, I guess): for svnpubsub and svnwcsub (plus nominate.pl in 1.9.x). In the exports you get "link svnwcsub.freebsd" or something like that, in the zip you have the actual content of the file. - some generated files (only present in the zip, not in the tag / branch). - and some directories / files are not in the zip (but they are in the tag / branch), like the CONTRIB directory, which is expected too. [1] See my usual statement when submitting my signature to the mailing list= : [[[ Contents of subversion-1.8.16.zip are identical to tags/1.8.16, and to branches/1.8.x@1740329 (except for expected differences in svn_version.h and svnpubsub and svnwcsub (symlinks vs. file contents), and generated files). ]]] which I borrowed and modified from Paul Burba's signature statements back in the day ... --=20 Johan