All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Roskin <proski@gnu.org>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: [RFC] DISTLIST and gendistlist.sh
Date: Sat, 30 Aug 2008 22:11:21 -0400	[thread overview]
Message-ID: <1220148681.7450.14.camel@dv> (raw)
In-Reply-To: <1220088538.10913.9.camel@fz.local>

On Sat, 2008-08-30 at 11:28 +0200, Felix Zielcke wrote:
> Am Freitag, den 29.08.2008, 19:03 -0400 schrieb Pavel Roskin:
> 
> > Maybe we could take an approach based on the version control system?
> > The distributed files are those under version control plus generated
> > distributed files (if any) minus maintainer-only files.  The file lists
> > for inclusion and exclusion would be short and would rarely need to be
> > updated.
> 
> Oh good suggestion, I didn't see that `svn' even has an `ls' command
> which lists all files which are under it's control and not ignored.
> 
> $ ./gendistlist.sh | sort > DISTLIST
> $ svn ls -R | sort > DISTLIST2
> $ diff -u DISTLIST DISTLIST2|less
> 
> The only difference between these 2 files are, that `svn ls' adds the
> directorys too
> for example:
> 
> +boot/
> +boot/i386/
> +boot/i386/pc/
>  boot/i386/pc/boot.S
>  boot/i386/pc/cdboot.S
> 
> This shouldn't hurt, but with some sed playing probable we could get rid
> of it, I'm just not that sed expert :)

svn ls -R | sed '/\/$/d' | sort > DISTLIST2

> This seems to be the best then nobody needs to remember to
> update ./gendistlist.sh and current DISTLIST seems again already a bit
> out of date ;)

I checked the 1.96 release.  There were no additional files in DISTLIST
that are not in Subversion.  Some files are missing in DISTLIST, but it
seems to me that most are missing by accident, except .cvsignore
(shouldn't be an issue since we don't have it in Subversion) and
util/genmoddep.c, which should have been removed, according to ChangeLog
(I'm going to remove it now).

Thus, we don't need any lists for included or excluded files.  Things
will change if we stop keeping dependent files in Subversion.

-- 
Regards,
Pavel Roskin



  reply	other threads:[~2008-08-31  2:11 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-22 11:08 [RFC] DISTLIST and gendistlist.sh Felix Zielcke
2008-08-22 12:58 ` Robert Millan
2008-08-22 13:13   ` Felix Zielcke
2008-08-29 22:54     ` Felix Zielcke
2008-08-29 23:03       ` Pavel Roskin
2008-08-30  9:28         ` Felix Zielcke
2008-08-31  2:11           ` Pavel Roskin [this message]
2008-09-02 11:12             ` Felix Zielcke
2008-09-02 11:21               ` Felix Zielcke
2008-09-02 11:33                 ` Pavel Roskin
2008-09-02 11:30               ` Pavel Roskin
2008-09-04 18:21                 ` Felix Zielcke
2008-09-08 22:02                   ` Felix Zielcke
2008-09-08 22:32                     ` Robert Millan
2008-09-09  8:09                       ` Felix Zielcke
2008-09-10 21:06                         ` Pavel Roskin
2008-09-14 17:48                           ` Felix Zielcke
2008-09-21 16:40                             ` Felix Zielcke
2008-09-24 15:37                             ` Felix Zielcke
2008-09-24 16:35                               ` Robert Millan

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=1220148681.7450.14.camel@dv \
    --to=proski@gnu.org \
    --cc=grub-devel@gnu.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.