comp.lang.ada
 help / color / mirror / Atom feed
From: Bojan Bozovic <bozovic.bojan@gmail.com>
Subject: Re: GNAT corrupted builds with below second changes
Date: Thu, 15 Mar 2018 12:59:19 -0700 (PDT)
Date: 2018-03-15T12:59:19-07:00	[thread overview]
Message-ID: <61dc87c3-30f1-4bbb-9125-89ec6e5dfc2e@googlegroups.com> (raw)
In-Reply-To: <2e250363-97a3-45bd-948e-081e24d70655@googlegroups.com>

On Thursday, March 15, 2018 at 7:52:20 PM UTC+1, Shark8 wrote:
> On Wednesday, March 14, 2018 at 4:36:34 AM UTC-6, Alejandro R. Mosteo wrote:
> > 
> > I will guess here that the timestamp being used has 
> > second precision. This leads to supposedly up-to-date builds that 
> > aren't, among other funny effects.
> 
> This is one reason I advocate a DB-based solution rather than an FS-based solution; after all, the FS solution *IS* simply using the FS as an ad-hoc and anemic database, and using the timestamp-field this way is essentially analogous to querying a 'time' column when what we *REALLY* want is a 'version' column (not "1.2.3" but more like "build # X").
> 
> A lot of problems with build-systems come from (a) using the FS as an ad-hoc DB, and (b) the differences in the FS like "/ vs \ vs :" directory separators, or case-insensitive vs case-sensitive.

Versioning file system is then what's needed, and that has been in VMS/VAX-VMS/OpenVMS since seventies (and since seventies, VAX had 128 bit integers as well). There's no good reason mainstream OS don't have it (like Windows, Linux and OS X), it's absent only due to inertia. In linux there's NILFS but it's not used in mainstream distributions. DB is partial solution, as files belong to the file system, not the database.

  reply	other threads:[~2018-03-15 19:59 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-14 10:36 GNAT corrupted builds with below second changes Alejandro R. Mosteo
2018-03-14 22:56 ` Randy Brukardt
2018-03-15 13:24   ` Alejandro R. Mosteo
2018-04-22  5:53   ` David Thompson
2018-03-15 18:52 ` Shark8
2018-03-15 19:59   ` Bojan Bozovic [this message]
2018-03-16  3:27     ` Shark8
2018-03-16  4:29       ` Bojan Bozovic
2018-03-16  5:37       ` J-P. Rosen
2018-03-18  6:09         ` Robert I. Eachus
2018-03-16  8:42       ` Dmitry A. Kazakov
2018-03-18  5:21     ` Robert I. Eachus
2018-03-15 21:03   ` Jeffrey R. Carter
2018-03-16  2:51     ` Shark8
2018-04-22  7:31 ` Simon Wright
2018-04-22 14:04   ` J-P. Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox