This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: to-do: formalize/automate tracking of files maintained elsewhere
- From: OndÅej BÃlka <neleai at seznam dot cz>
- To: Roland McGrath <roland at hack dot frob dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Thu, 26 Sep 2013 08:27:29 +0200
- Subject: Re: to-do: formalize/automate tracking of files maintained elsewhere
- Authentication-results: sourceware.org; auth=none
- References: <20130925202541 dot 3AD6F2C07C at topped-with-meat dot com>
On Wed, Sep 25, 2013 at 01:25:41PM -0700, Roland McGrath wrote:
> I recently updated manual/freemanuals.texi to match the canonical GNU file.
> This reminded me that we have various files of that nature, i.e. copied
> into our repository from some other canonical GNU place, and no scheme for
> making sure they stay up to date. The starting place of course is to list
> them all somewhere, and say something about the subject on the wiki.
>
> We should endeavor to keep all these files up to date on the trunk. We
> could automate some reminder email. We could make it part of the release
> manager's procedure to check and update all these files on the trunk
> shortly before calling the release freeze. etc.
>
> Karl Berry pointed me to gnulib's script:
> http://git.savannah.gnu.org/cgit/gnulib.git/tree/config/
> But that doesn't look like it would really be useful for us.
>
> Incomplete list of such files off the top of my head:
>
> COPYING
> COPYING.LIB
> manual/fdl-1.3.texi
> manual/freemanuals.texi
> manual/lgpl-2.1.texi
> manual/texinfo.tex
> scripts/config.guess
> scripts/config.sub
> scripts/mkinstalldirs
> scripts/move-if-change
>
>
> Thanks,
> Roland
When we automate we should do it fully. To automatically keep these
updated we need use a script that downloads new versions.
This could be ran before release or as cron job every week or so.
diff --git a/scripts/update-copied b/scripts/update-copied
new file mode 100755
index 0000000..3abc276
--- /dev/null
+++ b/scripts/update-copied
@@ -0,0 +1,6 @@
+#!/bin/bash
+wget http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt -O COPYING
+wget http://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt -O COPYING.LIB
+wget http://www.gnu.org/licenses/fdl-1.3.texi -O manual/fdl-1.3.texi
+wget http://www.gnu.org/licenses/lgpl-2.1.texi -O manual/lgpl-2.1.texi
+
--
1.8.4.rc3