git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [GUILT] add FreeBSD support

From
JSJosef 'Jeff' Sipek <jeffpc@josefsipek.net>
Date
Aug 9, 2013, 15:20 UTC
Message-ID
<20130809152046.GL22686@poseidon.cudanet.local>
In-Reply-To
<68E9B1AC-A3A3-47DD-B0A7-07752428D16D@gmail.com>
On Fri, Aug 09, 2013 at 11:04:45PM +0800, gnehzuil.liu wrote:
Show 15 quoted lines
> �� 2013-8-9������10:46��Josef 'Jeff' Sipek <jeffpc@josefsipek.net> ���
> 
> > On Fri, Aug 09, 2013 at 08:32:28PM +0800, Zheng Liu wrote:
> >> From: Zheng Liu <gnehzuil.liu@gmail.com>
> >> 
> >> Currently guilt doesn't support FreeBSD platform.  This commit tries to
> >> add this support.  The file called 'os.FreeBSD' is copied from os.Darwin
> >> due to these two platforms have almost the same command tools.
> > 
> > Out of curiosity, is it identical?  I eyeballed it, and they do look
> > identical.  There's probably a better way to do this whole os-specific
> > thing, but this will work well enough for now.
> 
> Yes, it is identical.  Sorry, I am a newbie for guilt, but I am happy to
> improve this os-specific thing.    Any idea?

So, I'm a bit torn between some "build-time" checking that generates something like an "os" file based on what it detects and something that happens at runtime. I like that currently there's nothing to do - you just clone the repo and you're set. At the same time, the more code can be avoided executing the faster (in theory) guilt gets.

Feel free to experiment.
Jeff.
-- 
The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all progress
depends on the unreasonable man.
		- George Bernard Shaw
Previous: gnehzuil.liuNext: Zheng Liu
Message 4 of 7 in “[GUILT] add FreeBSD support”
  1. Zheng LiuAug 9, 2013
  2. Josef 'Jeff' SipekAug 9, 2013
  3. gnehzuil.liuAug 9, 2013
  4. Josef 'Jeff' SipekAug 9, 2013
  5. Zheng LiuAug 20, 2013
  6. Josef 'Jeff' SipekAug 20, 2013
  7. Zheng LiuAug 21, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.