9front - general discussion about 9front
 help / color / mirror / Atom feed
From: "Lyndon Nerenberg (VE7TFX/VE6BBM)" <lyndon@orthanc.ca>
To: 9front@9front.org, Jacob Moody <moody@mail.posixcafe.org>
Subject: Re: [9front] [PATCH] embed git head hash as /dev/head
Date: Tue, 14 Jun 2022 10:32:04 -0700	[thread overview]
Message-ID: <b5156cb7bf5d0d73@orthanc.ca> (raw)
In-Reply-To: <d7c7389b-5e94-68d3-183e-ac368ea29544@posixcafe.org>

> Wasn't aware we shipped with other version control software :P.

It was hg until just a few months ago.  Don't assume it will be git
this time next year.

Also, I am not a fan of /dev/head. I'd prefer to see this as an attribute
of /dev/config, perhaps added to the start of its output:

  term% cat /dev/config
  # kernel version xyzzy
  #
  # pc64 - amd64 pc terminal with local disk
  [...]
  term%

'xyzzy' can be whatever version string is appropriate.

To be clear, I'm talking about having the /dev/config driver synthesize
those first two lines whenever someone does a read on the file.

--lyndon

  reply	other threads:[~2022-06-14 17:33 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10  7:32 Jacob Moody
2022-06-10 14:07 ` ori
2022-06-10 16:03   ` Jacob Moody
2022-06-14 17:32     ` Lyndon Nerenberg (VE7TFX/VE6BBM) [this message]
2022-06-14 19:37       ` Jacob Moody
2022-06-10 19:01 ` mkf9
2022-06-10 19:13   ` Jacob Moody

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

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

  git send-email \
    --in-reply-to=b5156cb7bf5d0d73@orthanc.ca \
    --to=lyndon@orthanc.ca \
    --cc=9front@9front.org \
    --cc=moody@mail.posixcafe.org \
    /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.
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 NNTP newsgroup(s).