changing history

Friday, Oct 21. 2005  –  Category: OpenSolaris

While most of my time is spent doing the OpenSolaris source deliveries, my side project I’ve been working on the past couple of weeks has been trying to get comments and deltas into the source browser. Right now, you see something pretty bland. It’s marginally useful since it tells you what’s changed between source drops/builds - but not at the level of detail like the putback logs give you.

I want the source browser to show all that. How cool would that be?

Anyway, I’ve been working on it… and I think I’ve got something that works. The legal issues are what’s annoying… we can’t show comments older than 5 years (meaning anything before June 14th, 2000 @ 8am PST) has to be removed completely. And we can only show code deltas for post-launch revisions. This means a lot of combing and filtering. I had everything working this morning, and running (albeit, slowly) on a sub-tree of usr/src/uts/common. Everything looked good until it hit a file which had (and I kid you not), revision 1.34 newer than revision 1.35, but older than revision 1.36. URRRRGH.

4 Responses to “changing history”

  1. Mike Kupfer Says:

    Does SCCS understand time zones? If not, I think that could explain what you saw.

  2. Stephen Lau Says:

    Interesting… from what I’ve read in the SCCS manpages, SCCS itself isn’t time-zone/DST aware… it just takes the time from the Unix time/epoch. That being said, I thought the Unix time was kept in GMT, so shouldn’t all these timestamps be uniformly DST?

  3. Mike Kupfer Says:

    Open up an s. file. The timestamps are in ASCII, in yy/mm/dd hh:mm:ss format, and I believe they are in local time (unlike RCS, which uses UTC).

  4. Stephen Lau Says:

    hrm. yeah - makes sense. this also explains why our gates force everyone to putback from one machine… otherwise our putback timestamps would be all over the map, literally.

Leave a Reply

Comments will be sent to the moderation queue.


Recent posts