Commit Graph

11 Commits

Author SHA1 Message Date
Brandon Maier
ea3c465304 gitignore: ignore multiple output directories
Developers may have multiple output directories when building multiple
boards in parallel. A previous commit attempted to gitignore new output
directories automatically but broke some things (commit a14c862c08
"Create a .gitignore file in the CANONICAL_O directory").

To provide some support, ignore anything in the Buildroot directory that
starts with "output". This is a bit more cumbersome, but doesn't break
packages based on Python maturin.

Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-07-26 09:31:56 +02:00
Brandon Maier
b65856fbb0 Revert "Create a .gitignore file in the CANONICAL_O directory"
The packages 'python-jsonschema-specifications', 'pydantic-core', and
likely other packages based on Python maturin silently stopped
installing files to the host and target directories after commit
a14c862c08.

A similar issue was reported by the Conda project[1]. It seems some
build tools scan for gitignore files to decide what files to build
and install.

I attempted various combinations of gitignore patterns including
mimicking the Conda project's gitignore[2], but the only thing that has
worked reliably is the original `/output` ignore in the root Buildroot
directory.

This reverts commit a14c862c08.

[1] https://github.com/PyO3/maturin/issues/1911
[2] https://github.com/conda-forge/conda-smithy/blob/main/conda_smithy/feedstock_content/.gitignore
Reported-by: Bryan Brattlof <bb@ti.com>
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-07-26 09:21:08 +02:00
Yegor Yefremov
a14c862c08 Create a .gitignore file in the CANONICAL_O directory
This .gitignore file ignores all files in an output directory and
hence doesn't change the git status.

Remove "/output" entry from the main .gitignore file as it is already
handled by this general approach.

Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com>
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
2024-07-15 10:26:06 +02:00
Samuel Martin
145508473c update gitignore
Do not track *.pyc files (from modules embedded in Buildroot source
tree).

Signed-off-by: Samuel Martin <s.martin49@gmail.com>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-04 12:41:55 +02:00
Mike Frysinger
a417003749 .gitignore: ignore more patch related files
Patches shouldn't be committed to the top level, and that is where
`git format-patch` typically operates, so ignore that stuff.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-11-18 12:07:23 +01:00
Mike Frysinger
9225c7ab96 gitignore: add ..config.tmp
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2010-10-16 16:46:44 -04:00
Michael Roth
c2946d1139 .gitignore: Update to the new directory hierachy
Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-23 09:16:07 +02:00
H Hartley Sweeten
b09d8a72d2 .gitignore: add backup files
Add *.orig and *~ backup files to gitignore.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-07-18 08:19:58 +02:00
Michael Roth
7204488170 .gitignore: Ease /binaries pattern
The current /binaries/* hid the directory, but completely removed
it by "git-clean -d", which should not be intended.

Reported-by: Markus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: Michael Roth <mroth@nessie.de>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-12 12:24:27 +02:00
Thiago A. Correa
d343d35972 Add dl folder to gitignore
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
2009-05-08 06:59:22 -03:00
angus salkeld
9cdff46ba0 Add .gitignore files
[peter: add /.config]

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-05-04 21:46:53 +02:00