* [PATCH] xfsdump: add .gitignore
@ 2009-04-29 13:50 Christoph Hellwig
2009-04-29 14:20 ` Eric Sandeen
2009-05-03 23:35 ` Timothy Shimmin
0 siblings, 2 replies; 6+ messages in thread
From: Christoph Hellwig @ 2009-04-29 13:50 UTC (permalink / raw)
To: xfs
This one is pretty ugly due to all the symlinked files, any better
suggestions?
Signed-off-by: Christoph Hellwig <hch@lst.de>
Index: xfsdump-dev/.gitignore
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ xfsdump-dev/.gitignore 2009-04-29 15:48:26.996484383 +0200
@@ -0,0 +1,134 @@
+# object files
+*.o
+
+# build system
+.census
+Logs/
+include/config.h
+include/builddefs
+install-sh
+
+# magic diretory symlinks
+#include/disk
+#include/xfs
+
+# Makepgs
+build/src-manifest
+build/xfsdump-*.tar.gz
+doc/CHANGES.gz
+xfsdump-*
+
+# autoconf generated files
+aclocal.m4
+autom4te.cache/
+config.guess
+config.log
+config.status
+config.sub
+configure
+
+# libtool
+libtool
+ltmain.sh
+*.lo
+*.la
+.libs
+
+# gettext
+po/xfsdump.pot
+po/*.mo
+
+# quilt stuff
+.pc/
+patches/
+
+# binaries
+dump/xfsdump
+invutil/xfsinvutil
+restore/xfsrestore
+
+# @%#% symlinked sourced files
+dump/arch_xlate.[ch]
+dump/cldmgr.[ch]
+dump/content.h
+dump/content_common.[ch]
+dump/content_inode.h
+dump/dlog.[ch]
+dump/drive.[ch]
+dump/drive_minrmt.c
+dump/drive_scsitape.c
+dump/drive_simple.c
+dump/exit.h
+dump/fs.[ch]
+dump/getdents.[ch]
+dump/global.[ch]
+dump/hsmapi.[ch]
+dump/inv_api.c
+dump/inv_core.c
+dump/inv_files.c
+dump/inv_fstab.c
+dump/inv_idx.c
+dump/inv_mgr.c
+dump/inv_priv.h
+dump/inv_stobj.c
+dump/inventory.h
+dump/lock.[ch]
+dump/main.c
+dump/media.h
+dump/mlog.[ch]
+dump/openutil.[ch]
+dump/path.[ch]
+dump/qlock.[ch]
+dump/rec_hdr.h
+dump/ring.[ch]
+dump/sproc.[ch]
+dump/stream.[ch]
+dump/ts_mtio.h
+dump/types.h
+dump/util.[ch]
+
+invutil/global.h
+invutil/inv_files.c
+invutil/inv_priv.h
+invutil/inventory.h
+invutil/mlog.h
+invutil/types.h
+invutil/util.h
+
+restore/arch_xlate.[ch]
+restore/cldmgr.[ch]
+restore/content.h
+restore/content_inode.h
+restore/dlog.[ch]
+restore/drive.[ch]
+restore/drive_minrmt.c
+restore/drive_scsitape.c
+restore/drive_simple.c
+restore/exit.h
+restore/fs.[ch]
+restore/getdents.[ch]
+restore/global.[ch]
+restore/hsmapi.[ch]
+restore/inv_api.c
+restore/inv_core.c
+restore/inv_files.c
+restore/inv_fstab.c
+restore/inv_idx.c
+restore/inv_mgr.c
+restore/inv_priv.h
+restore/inv_stobj.c
+restore/inventory.h
+restore/lock.[ch]
+restore/main.c
+restore/media.h
+restore/mlog.[ch]
+restore/openutil.[ch]
+restore/path.[ch]
+restore/qlock.[ch]
+restore/rec_hdr.h
+restore/ring.[ch]
+restore/sproc.[ch]
+restore/stream.[ch]
+restore/ts_mtio.h
+restore/types.h
+restore/util.[ch]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] xfsdump: add .gitignore
2009-04-29 13:50 [PATCH] xfsdump: add .gitignore Christoph Hellwig
@ 2009-04-29 14:20 ` Eric Sandeen
2009-05-02 6:51 ` Christoph Hellwig
2009-05-03 23:35 ` Timothy Shimmin
1 sibling, 1 reply; 6+ messages in thread
From: Eric Sandeen @ 2009-04-29 14:20 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: xfs
Christoph Hellwig wrote:
> This one is pretty ugly due to all the symlinked files, any better
> suggestions?
>
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
>
> Index: xfsdump-dev/.gitignore
> ===================================================================
> --- /dev/null 1970-01-01 00:00:00.000000000 +0000
> +++ xfsdump-dev/.gitignore 2009-04-29 15:48:26.996484383 +0200
> @@ -0,0 +1,134 @@
> +# object files
> +*.o
> +
> +# build system
> +.census
> +Logs/
> +include/config.h
> +include/builddefs
> +install-sh
> +
> +# magic diretory symlinks
> +#include/disk
> +#include/xfs
> +
> +# Makepgs
> +build/src-manifest
> +build/xfsdump-*.tar.gz
> +doc/CHANGES.gz
> +xfsdump-*
> +
> +# autoconf generated files
> +aclocal.m4
> +autom4te.cache/
> +config.guess
> +config.log
> +config.status
> +config.sub
> +configure
> +
> +# libtool
> +libtool
> +ltmain.sh
> +*.lo
> +*.la
> +.libs
> +
> +# gettext
> +po/xfsdump.pot
> +po/*.mo
> +
> +# quilt stuff
> +.pc/
> +patches/
> +
> +# binaries
> +dump/xfsdump
> +invutil/xfsinvutil
> +restore/xfsrestore
> +
> +# @%#% symlinked sourced files
> +dump/arch_xlate.[ch]
> +dump/cldmgr.[ch]
> +dump/content.h
> +dump/content_common.[ch]
> +dump/content_inode.h
> +dump/dlog.[ch]
> +dump/drive.[ch]
> +dump/drive_minrmt.c
> +dump/drive_scsitape.c
> +dump/drive_simple.c
> +dump/exit.h
> +dump/fs.[ch]
> +dump/getdents.[ch]
> +dump/global.[ch]
> +dump/hsmapi.[ch]
> +dump/inv_api.c
> +dump/inv_core.c
> +dump/inv_files.c
> +dump/inv_fstab.c
> +dump/inv_idx.c
> +dump/inv_mgr.c
> +dump/inv_priv.h
> +dump/inv_stobj.c
> +dump/inventory.h
> +dump/lock.[ch]
> +dump/main.c
> +dump/media.h
> +dump/mlog.[ch]
> +dump/openutil.[ch]
> +dump/path.[ch]
> +dump/qlock.[ch]
> +dump/rec_hdr.h
> +dump/ring.[ch]
> +dump/sproc.[ch]
> +dump/stream.[ch]
> +dump/ts_mtio.h
> +dump/types.h
> +dump/util.[ch]
> +
> +invutil/global.h
> +invutil/inv_files.c
> +invutil/inv_priv.h
> +invutil/inventory.h
> +invutil/mlog.h
> +invutil/types.h
> +invutil/util.h
> +
> +restore/arch_xlate.[ch]
> +restore/cldmgr.[ch]
> +restore/content.h
> +restore/content_inode.h
> +restore/dlog.[ch]
> +restore/drive.[ch]
> +restore/drive_minrmt.c
> +restore/drive_scsitape.c
> +restore/drive_simple.c
> +restore/exit.h
> +restore/fs.[ch]
> +restore/getdents.[ch]
> +restore/global.[ch]
> +restore/hsmapi.[ch]
> +restore/inv_api.c
> +restore/inv_core.c
> +restore/inv_files.c
> +restore/inv_fstab.c
> +restore/inv_idx.c
> +restore/inv_mgr.c
> +restore/inv_priv.h
> +restore/inv_stobj.c
> +restore/inventory.h
> +restore/lock.[ch]
> +restore/main.c
> +restore/media.h
> +restore/mlog.[ch]
> +restore/openutil.[ch]
> +restore/path.[ch]
> +restore/qlock.[ch]
> +restore/rec_hdr.h
> +restore/ring.[ch]
> +restore/sproc.[ch]
> +restore/stream.[ch]
> +restore/ts_mtio.h
> +restore/types.h
> +restore/util.[ch]
>
could add cscope/ here too, but, *shrug*
Reviewed-by: Eric Sandeen <sandeen@sandeen.net>
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] xfsdump: add .gitignore
2009-04-29 14:20 ` Eric Sandeen
@ 2009-05-02 6:51 ` Christoph Hellwig
0 siblings, 0 replies; 6+ messages in thread
From: Christoph Hellwig @ 2009-05-02 6:51 UTC (permalink / raw)
To: Eric Sandeen; +Cc: Christoph Hellwig, xfs
On Wed, Apr 29, 2009 at 09:20:11AM -0500, Eric Sandeen wrote:
> could add cscope/ here too, but, *shrug*
We don't have it in the other gitignore files either. I don't mind
adding it, but we should add it to all at the same time.
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] xfsdump: add .gitignore
2009-04-29 13:50 [PATCH] xfsdump: add .gitignore Christoph Hellwig
2009-04-29 14:20 ` Eric Sandeen
@ 2009-05-03 23:35 ` Timothy Shimmin
2009-05-04 7:40 ` Christoph Hellwig
1 sibling, 1 reply; 6+ messages in thread
From: Timothy Shimmin @ 2009-05-03 23:35 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: xfs
[-- Attachment #1.1: Type: text/plain, Size: 3307 bytes --]
Get rid of the symlinked files by creating a local library for the
commonality? ;-)Probably easier said than done - I haven't looked at the
code in a while - but I
I think the traditional library model is better than a heap of symlinks :)
(I realise you just want a .gitignore file but .... ;-)
--Tim
On Wed, Apr 29, 2009 at 11:50 PM, Christoph Hellwig <hch@infradead.org>wrote:
> This one is pretty ugly due to all the symlinked files, any better
> suggestions?
>
>
> Signed-off-by: Christoph Hellwig <hch@lst.de>
>
> Index: xfsdump-dev/.gitignore
> ===================================================================
> --- /dev/null 1970-01-01 00:00:00.000000000 +0000
> +++ xfsdump-dev/.gitignore 2009-04-29 15:48:26.996484383 +0200
> @@ -0,0 +1,134 @@
> +# object files
> +*.o
> +
> +# build system
> +.census
> +Logs/
> +include/config.h
> +include/builddefs
> +install-sh
> +
> +# magic diretory symlinks
> +#include/disk
> +#include/xfs
> +
> +# Makepgs
> +build/src-manifest
> +build/xfsdump-*.tar.gz
> +doc/CHANGES.gz
> +xfsdump-*
> +
> +# autoconf generated files
> +aclocal.m4
> +autom4te.cache/
> +config.guess
> +config.log
> +config.status
> +config.sub
> +configure
> +
> +# libtool
> +libtool
> +ltmain.sh
> +*.lo
> +*.la
> +.libs
> +
> +# gettext
> +po/xfsdump.pot
> +po/*.mo
> +
> +# quilt stuff
> +.pc/
> +patches/
> +
> +# binaries
> +dump/xfsdump
> +invutil/xfsinvutil
> +restore/xfsrestore
> +
> +# @%#% symlinked sourced files
> +dump/arch_xlate.[ch]
> +dump/cldmgr.[ch]
> +dump/content.h
> +dump/content_common.[ch]
> +dump/content_inode.h
> +dump/dlog.[ch]
> +dump/drive.[ch]
> +dump/drive_minrmt.c
> +dump/drive_scsitape.c
> +dump/drive_simple.c
> +dump/exit.h
> +dump/fs.[ch]
> +dump/getdents.[ch]
> +dump/global.[ch]
> +dump/hsmapi.[ch]
> +dump/inv_api.c
> +dump/inv_core.c
> +dump/inv_files.c
> +dump/inv_fstab.c
> +dump/inv_idx.c
> +dump/inv_mgr.c
> +dump/inv_priv.h
> +dump/inv_stobj.c
> +dump/inventory.h
> +dump/lock.[ch]
> +dump/main.c
> +dump/media.h
> +dump/mlog.[ch]
> +dump/openutil.[ch]
> +dump/path.[ch]
> +dump/qlock.[ch]
> +dump/rec_hdr.h
> +dump/ring.[ch]
> +dump/sproc.[ch]
> +dump/stream.[ch]
> +dump/ts_mtio.h
> +dump/types.h
> +dump/util.[ch]
> +
> +invutil/global.h
> +invutil/inv_files.c
> +invutil/inv_priv.h
> +invutil/inventory.h
> +invutil/mlog.h
> +invutil/types.h
> +invutil/util.h
> +
> +restore/arch_xlate.[ch]
> +restore/cldmgr.[ch]
> +restore/content.h
> +restore/content_inode.h
> +restore/dlog.[ch]
> +restore/drive.[ch]
> +restore/drive_minrmt.c
> +restore/drive_scsitape.c
> +restore/drive_simple.c
> +restore/exit.h
> +restore/fs.[ch]
> +restore/getdents.[ch]
> +restore/global.[ch]
> +restore/hsmapi.[ch]
> +restore/inv_api.c
> +restore/inv_core.c
> +restore/inv_files.c
> +restore/inv_fstab.c
> +restore/inv_idx.c
> +restore/inv_mgr.c
> +restore/inv_priv.h
> +restore/inv_stobj.c
> +restore/inventory.h
> +restore/lock.[ch]
> +restore/main.c
> +restore/media.h
> +restore/mlog.[ch]
> +restore/openutil.[ch]
> +restore/path.[ch]
> +restore/qlock.[ch]
> +restore/rec_hdr.h
> +restore/ring.[ch]
> +restore/sproc.[ch]
> +restore/stream.[ch]
> +restore/ts_mtio.h
> +restore/types.h
> +restore/util.[ch]
>
> _______________________________________________
> xfs mailing list
> xfs@oss.sgi.com
> http://oss.sgi.com/mailman/listinfo/xfs
>
[-- Attachment #1.2: Type: text/html, Size: 4201 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] xfsdump: add .gitignore
2009-05-03 23:35 ` Timothy Shimmin
@ 2009-05-04 7:40 ` Christoph Hellwig
2009-05-04 14:54 ` Bill Kendall
0 siblings, 1 reply; 6+ messages in thread
From: Christoph Hellwig @ 2009-05-04 7:40 UTC (permalink / raw)
To: Timothy Shimmin; +Cc: Christoph Hellwig, xfs
On Mon, May 04, 2009 at 09:35:39AM +1000, Timothy Shimmin wrote:
> Get rid of the symlinked files by creating a local library for the
> commonality? ;-)Probably easier said than done - I haven't looked at the
> code in a while - but I
> I think the traditional library model is better than a heap of symlinks :)
It probably is. I'll put it on my todo list..
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [PATCH] xfsdump: add .gitignore
2009-05-04 7:40 ` Christoph Hellwig
@ 2009-05-04 14:54 ` Bill Kendall
0 siblings, 0 replies; 6+ messages in thread
From: Bill Kendall @ 2009-05-04 14:54 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: xfs, Timothy Shimmin
Christoph Hellwig wrote:
> On Mon, May 04, 2009 at 09:35:39AM +1000, Timothy Shimmin wrote:
>> Get rid of the symlinked files by creating a local library for the
>> commonality? ;-)Probably easier said than done - I haven't looked at the
>> code in a while - but I
>> I think the traditional library model is better than a heap of symlinks :)
>
> It probably is. I'll put it on my todo list..
Not sure how well if fits the library model, unfortunately. The
symlinked files need to be compiled for dump and then recompiled
for restore as there's a bunch of #ifdef DUMP and #ifdef RESTORE
sections. I guess two libraries could be created, if separate
build dirs were used under common.
Bill
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2009-05-04 14:54 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-29 13:50 [PATCH] xfsdump: add .gitignore Christoph Hellwig
2009-04-29 14:20 ` Eric Sandeen
2009-05-02 6:51 ` Christoph Hellwig
2009-05-03 23:35 ` Timothy Shimmin
2009-05-04 7:40 ` Christoph Hellwig
2009-05-04 14:54 ` Bill Kendall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox