Skip to contentSkip to conversation

.gitignore in BR archives

Buildroot Julien Boibessot 3 participants 4 messages Feb 6, 2010 – Feb 7, 2010

lore
Share & tools
lore
#0 lore raw

Hello,

in the BR tarballs (recent releases or daily snapshots), got from here:
http://www.buildroot.org/download.html , there is a .gitignore file at the top of the directory hierarchy.
Is this something you need or can it be removed for the next tarball releases ? (It can be problematic when de-archiving BR in already git versioned dirs.)

Regards,
Julien

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Julien" == Julien Boibessot <[email protected]> writes:

Julien> Hello,
Julien> in the BR tarballs (recent releases or daily snapshots), got from here:
Julien> http://www.buildroot.org/download.html , there is a .gitignore file at Julien> the top of the directory hierarchy.
Julien> Is this something you need or can it be removed for the next tarball Julien> releases ? (It can be problematic when de-archiving BR in already git Julien> versioned dirs.)

It's not that you *REALLY* need it, but it's nice if you're using git as the git status output isn't cluttered.

I don't think it bothers people, so I would prefer to keep it in the tarball (we would need to do special handling to remove it). Other git-using projects like the Linux kernel also ships their .gitignore.

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw
Quoted 10 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Julien" == Julien Boibessot <[email protected]> writes:

Julien> Hello,
Julien> in the BR tarballs (recent releases or daily snapshots), got from here:
Julien> http://www.buildroot.org/download.html , there is a .gitignore file at Julien> the top of the directory hierarchy.
Julien> Is this something you need or can it be removed for the next tarball Julien> releases ? (It can be problematic when de-archiving BR in already git Julien> versioned dirs.)

Perhaps just tell your archive tool to exclude it when un-archiving? As in: tar --extract --exclude=PATTERN
Ref: man tar

Mike

Quoted 7 lines

It's not that you *REALLY* need it, but it's nice if you're using git as the git status output isn't cluttered.

I don't think it bothers people, so I would prefer to keep it in the tarball (we would need to do special handling to remove it). Other git-using projects like the Linux kernel also ships their .gitignore.

#3 lore raw
In reply to Peter Korsgaard

Peter Korsgaard a ?crit :

Quoted 5 lines

I don't think it bothers people, so I would prefer to keep it in the tarball (we would need to do special handling to remove it). Other git-using projects like the Linux kernel also ships their .gitignore.

ok, so I will use --exclude option of tar to handle my special case (as suggested by Michael).

Thanks !

Regards,
Julien