zsh-workers
 help / color / mirror / code / Atom feed
From: Tanaka Akira <akr@jaist.ac.jp>
To: zsh-workers@sunsite.auc.dk
Subject: Re: PATCH: prompt theme system improvements
Date: 19 Nov 1999 19:55:45 +0900	[thread overview]
Message-ID: <rsq7ljeg37y.fsf@crane.jaist.ac.jp> (raw)
In-Reply-To: Sven Wischnowsky's message of "Fri, 19 Nov 1999 11:34:08 +0100 (MET)"

In article <199911191034.LAA02428@beta.informatik.hu-berlin.de>,
  Sven Wischnowsky <wischnow@informatik.hu-berlin.de> writes:

> while we're at it... does the automatic updating of .distfiles work?
> Or do you need patches like the one below which Sven constantly keeps
> forgetting to build?

.distfiles are handled as usual files.  So it is not updated
automatically.  I don't plan automatic update for .distfiles.  But if
patches for .distfiles are posted as well as for other files, it is
useful to check consistency of the repository.  Also, package makers
need up-to-date .distfiles, I think.

And this is my consistency checker between .distfiles and CVS/Entries.
Currently, this reports only one problem: _funcall is forgotten.

#!/bin/sh

tmp1=/tmp/z-cd-distfiles.$$
tmp2=/tmp/z-cd-cvs.$$
trap  'rm -f $tmp1 $tmp2' 0 1 2 3 15

find . -name .distfiles -print |sort |
while read f; do
d="`dirname $f`"
. $f

GENERATED_SRC=
case "$d" in
".") GENERATED_SRC='
  META-FAQ config.h.in configure stamp-h.in' ;;
"./Doc") GENERATED_SRC='
  version.yo zsh.1 zsh.texi zshall.1 zshbuiltins.1 zshcompctl.1
  zshcompsys.1 zshcompwid.1 zshexpn.1 zshmisc.1 zshmodules.1
  zshoptions.1 zshparam.1 zshzftpsys.1 zshzle.1';;
"./Etc") GENERATED_SRC='
  FAQ';;
*) GENERATED_SRC= ;;
esac

echo $DISTFILES_SRC|awk '{for(i=1;i<=NF;i++)print $i}'|sort>$tmp1
(
  echo $GENERATED_SRC|awk '{for(i=1;i<=NF;i++)print $i}'
  awk -F/ '/^\// {print $2}' $d/CVS/Entries
)|sort>$tmp2
diff -u -L "$f" -L "$d/CVS/Entries" $tmp1 $tmp2
done
-- 
Tanaka Akira


  reply	other threads:[~1999-11-19 10:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-19 10:34 Sven Wischnowsky
1999-11-19 10:55 ` Tanaka Akira [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-11-19 12:01 Sven Wischnowsky
1999-11-19 11:01 Sven Wischnowsky
1999-11-18 14:53 Adam Spiers
1999-11-18 15:43 ` Adam Spiers
1999-11-18 17:51 ` Bart Schaefer
1999-11-19  1:51   ` Adam Spiers
1999-11-19 10:29     ` Tanaka Akira
1999-11-19 11:42 ` Oliver Kiddle

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=rsq7ljeg37y.fsf@crane.jaist.ac.jp \
    --to=akr@jaist.ac.jp \
    --cc=zsh-workers@sunsite.auc.dk \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

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).