Commit Graph

48 Commits

Author SHA1 Message Date
Adrian Freihofer
a510d455d3 vscode: drop .vscode folder
There is a new official bitbake plugin:
https://marketplace.visualstudio.com/items?itemName=yocto-project.yocto-bitbake

This plugin automatically updates the .vscode/settings.json file.
Having the settings.json file in git and a plugin which modifies this
file is not ideal. It can lead to anoying situations especially when
working with git. For example a git stash reverts the settings which are
automatically applied by the plugin. While git stashed the settings.json
file the plugin immediately changes the file again and tries to run
bitbake based on the newly generated settings. When git does a stash pop
the restored settings.json file conflicts with the new settigns.json
file which has been generated while the git stash took place.

Therefore this patch removes the .vscode folder from git.

Removing the settings.json leads to other issues as already described
in the commit message of 5ff688fe29. But we still need another solution
where the settings.json file is not in Git.

Discussion is here:
https://github.com/yoctoproject/vscode-bitbake/issues/95

(From OE-Core rev: f36771e155b9e0cf24a885bf3340d59036aa42c5)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2024-02-19 11:34:33 +00:00
Adrian Freihofer
5ff688fe29 vscode: add minimal configuration
It is essential to configure VSCode indexer plugins to ignore the build
folder of bitbake. Otherwise, the indexer plugins run with 100% CPU load
until an OOM exception occurs. In practice, this makes VSCode more or
less unusable for working with Yocto until a file like the one added by
this commit is deployed before VSCode starts. From the user's point of
view, it is not obvious why the system runs at 100% CPU load and
eventually crashes.

It is even more misleading that VSCode starts the indexers immediately,
but does not stop or reconfigure them when the ignore list is updated.
In practice, this means that every time the ignore list is changed,
VSCode immediately starts indexing the build folder until the OOM
exception stops it. Depending on the system's OOM handler, the entire
build machine may crash.
Particularly annoying is the Python plugin that ignores the general
ignore list and requires an extra ignore section.

The settings are suitable for workflows like bitbake, devtool modify,
devtool reset. The settings are not intended to work on the source code
of a recipe. It is assumed that a separate instance of VSCode is used
per workspace folder. These per workspace instances can have different
settings depending on the details of the sources that come with the
recipe.

VSCode can change the contents of the .vscode folder, which often leads
to a dirty git status. Normally, these changes are not added to git.
Otherwise, -f can be used to add them explicitly. It is not perfect if
the folder is listed in .gitignore. But it is also not better if it is
not.

(From OE-Core rev: 52cff14a73c9f286da4f627dc1aabf5c80aee63d)

Signed-off-by: Adrian Freihofer <adrian.freihofer@siemens.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2023-11-21 21:34:04 +00:00
Michael Opdenacker
0ce159991d .gitignore: ignore files generated by Toaster
When Toaster is run as documented on
https://docs.yoctoproject.org/toaster-manual/setup-and-use.html

Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2023-01-12 23:09:52 +00:00
Paul Gortmaker
ffc36f351f bitbake: gitignore: ignore runqueue-tests/bitbake-cookerdaemon.log
(Bitbake rev: 2787c3dadbc94925aa1cba6c2e765ffa9f7a7c4a)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-12 16:47:12 +00:00
Tim Orling
420c926f8a scripts/install-buildtools: improvements
* Install directory defaults to scripts/../buildtools
  e.g. --directory is set by default
  This avoids the user having to type in their sudo password
  to install in /opt/poky/<installer-version>

* Use "." rather than "source" for sourcing the environment script
  as not all distros (e.g. Debian) have "source" by default.

* Add buildtools/ to .gitignore

* Fix typos in example usage (--install-version -> --installer-version)

[YOCTO #13832]

(From OE-Core rev: c6c3a58dbf0ca6c4a41df7ff50fa56d39d7ee23f)

Signed-off-by: Tim Orling <timothy.t.orling@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-04-01 11:44:23 +01:00
Christian Meusel
061dfb7926 gitignore: Ignore repo tool directory
This reduces the noise produced by 'git status' and 'repo status' when
orchestrating the layers with Google's repo tool
(https://gerrit.googlesource.com/git-repo/).

(From OE-Core rev: 0c2c8d9edcba148c5beb22a9fb8ff06e1ada30cd)

Signed-off-by: Christian Meusel <christian.meusel@posteo.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-10-29 17:26:47 +00:00
Sascha Silbe
e694d3773a gitignore: ignore bitbake documentation build products
Missed the bitbake manual the last time around because it's in a
different directory.

Signed-off-by: Sascha Silbe <x-yo17@se-silbe.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-03-28 12:50:25 +01:00
Sascha Silbe
f594e8ced4 gitignore: ignore documentation build products
There are several different manuals by now, all of which produce
output. The "eclipse" directory might even have been present the last
time .gitignore was updated.

Ignore the files and directories that can be generated during "make
DOC=<directory>" as well as "make DOC=<directory> pdf". While at it,
make sure the patterns only match for the top-level documentation
directory.

Signed-off-by: Sascha Silbe <x-yo17@se-silbe.de>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2018-01-06 22:40:03 +00:00
Bill Randle
5005cab723 add !meta-poky to .gitignore file
Another meta-yocto -> meta-poky transition item. Git complained
on commit that files in meta-poky could not be committed.

Signed-off-by: Bill Randle <william.c.randle@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2016-03-26 08:06:58 +00:00
Paul Eggleton
37cfd8080a gitignore: fix overzealous exclusion
This was excluding any subdirectory anywhere in the tree named build*,
rather than just at the root - thus anything in
meta/recipes-devtools/build-compare had to be forcibly added. Change the
line so that it only operates at the root of the repo.

(From OE-Core rev: 3a60e5dba0ea914b1bd7a2073c1977e1d8529541)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-11-16 11:39:38 +00:00
Alexandru DAMIAN
f169733738 bitbake: toaster tests: gitignore and use absolute path for log file
gitignore the cache directory created by the http client

the log file for tests is already set up as an absolute path,
so no need to recompute the path

(Bitbake rev: 80f525e5cbe83e0407ecddf84401d68213c6d5cf)

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-08-01 11:27:52 +01:00
Paul Eggleton
3c4c63d0ff gitignore: exclude meta-selftest, drop meta-hob
* We don't want to ignore changes in the meta-selftest directory
* While I'm at it, meta-hob has been gone for a while now, so drop the
  reference to it here.

(From OE-Core rev: 6bcc652f5168d87e76b059f9e9825b8bcf049b90)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-03-20 11:27:47 +00:00
Bill Traynor
a43f1b278f bitbake: gitignore: Update for recent docs changes
Added a few more files to gitignore file to allow document
generation testing.

(Bitbake rev: f6310ca9ccb402a7569a79a4e92751c6d5733697)

Signed-off-by: Bill Traynor <wmat@alphatroop.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-01-27 21:03:13 +00:00
Richard Purdie
80a9a79c4c .gitignore: Add meta-yocto-imported
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-12-09 15:57:27 +00:00
Eric Bénard
d638fee94b gitignore: only ignore meta- directories
else for example meta-toolchain-qte.bb is also ignored.

(From OE-Core rev: d15d42562dff08696015f4d15e3e15c70ee2357a)

Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2013-01-15 08:12:01 +00:00
Alexandru DAMIAN
ebe201c636 .gitignore: Git ignore pull requests and built manuals
We ignore the in-tree built manuals, and
the in-tree pull requests.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-09 15:04:46 +00:00
Richard Purdie
aa272386ba gitignore: Add hob-image-*.bb
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-12-14 13:08:39 +00:00
Richard Purdie
0260bb5c69 gitignore: Fix for poky repository
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-11 13:52:14 +01:00
Ross Burton
1d86b2c363 gitignore: ignore build*/ entirely
Previously parts of build*/ were ignored, but unless you committed the top-level
build/ in a branch this didn't achieve anything.  Change that to ignore all
top-level build* directories.

(From OE-Core rev: 6e3353872d377dfe2689832b3f04f18c2366bc8c)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21 13:03:04 +01:00
Paul Gortmaker
d411e7738d gitignore: add wildcard to match toplevel patch files
To support the basic workflow of trivial patches:

 git format-patch HEAD~.. ; git send-email --to foo@bar.com 0001-foo.patch

We don't want git status reporting on patches lying in the top
level dir in this case.

Cc: Richard Purdie <richard.purdie@linuxfoundation.org>
(From OE-Core rev: f9c2d97d549e848127b741b967d90288c60f4d43)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-11 13:49:52 +01:00
Jason Wessel
a50af4d540 .gitignore: add /bitbake to the ignore list for external distributions
External distributions based on the oe-core will typically include
bitbake in the top level directory.  The idea is to make it easy
for external distributions to easily assemble a distribution
with a pristine version of oe-core, add avoid the git untracked messages:

 # Untracked files:
 #   (use "git add <file>..." to include in what will be committed)
 #
 #       bitbake/

[RP: remove leading slash]
(From OE-Core rev: 9cd30beba77497288eeb2545920bc23f2a77cf16)

Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-05-11 18:00:28 +01:00
Lauri Hintsala
ad811056d1 .gitignore: expand pyshtables.py ignoring
Bitbake generates pyshtables.py to bitbake/lib/bb/pysh/ folder if the user
has write permissions there. Let's ignore generated file also on that location.

(From OE-Core rev: 975e93fadfc90b7dbdf42fa6ceaef5c38166f2d9)

Signed-off-by: Lauri Hintsala <lauri.hintsala@bluegiga.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-03-15 13:13:17 +00:00
Matthew McClintock
9493ccf065 Update gitignore to ignore all meta-* directories
meta-XYZ directories have been manually added in the past, instead
always ignore them unless they are explicitly added

(From OE-Core rev: 3c6e85c653ce176fd2cb5a570e63c8e5da5a4e48)

Signed-off-by: Matthew McClintock <msm@freescale.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-04 13:46:24 +01:00
Kumar Gala
6904f75831 .gitignore: Update build ignores to have wildcard
ignore not just build/* but any build*/* cases.

(From OE-Core rev: 36d0edd2f4c27b4c1040ba9d9ae52eee634cc95c)

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-22 11:51:04 +01:00
Richard Purdie
2c2e61743c Rename the remaining poky-* scripts to oe-* or runqemu-*
(From OE-Core rev: 877b3d84597fcfc3abf5aa332019d412f2717896)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-21 00:29:31 +01:00
Richard Purdie
b8a07171eb .gitignore: Drop stale entries
(From OE-Core rev: 832240f2c5b4f4af8a8e5b652c7e234560104cc4)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-04-21 00:29:31 +01:00
Scott Rifenbark
ce3f71ac0a poky/.gitignore: updated the lines for the kernel manual
Ended up renaming these so they are all named 'kernel-manual"

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2010-12-10 22:01:15 -08:00
Scott Rifenbark
fe994deb41 poky/.git/.gitignore: added the yocto-project-kernel-manual.pdf file
Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2010-12-10 22:01:14 -08:00
Scott Rifenbark
db8214415b .git/.gitignore: Added files for the new kernel document.
added the HTML and TAR files to this ignore file.

Signed-off-by: Scott Rifenbark <scott.m.rifenbark@intel.com>
2010-12-10 22:01:10 -08:00
Saul Wold
252a42486f .gitignore: update for new bsp-guide location
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-11-18 13:30:25 -08:00
Joshua Lock
9f0e14619f gitignore: ignore the default downloads directory
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-11-14 21:08:27 -08:00
Richard Purdie
87c2b700be .gitignore: Update after documentation layout changes 2010-11-06 12:19:51 +00:00
Richard Purdie
95cf36fbd1 documentation: Complete poky-handbook -> poky-ref-manual rename
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-15 12:45:09 +01:00
Joshua Lock
35f36bac42 Update gitignore
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-10-12 13:32:18 +01:00
Richard Purdie
31bd1412e5 gitignore: Add meta-extras and meta-m2
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-10-02 22:34:08 +01:00
Joshua Lock
49df0b84fa .gitignore: Ignore the built bsp-guide
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-06-08 17:29:56 +01:00
Joshua Lock
ad07d796fe .gitignore: Add packaged staging directory to ignore list
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-26 10:29:18 +00:00
Joshua Lock
1a1361040f .gitignore: ignore bblayers.conf
Signed-off-by: Joshua Lock <josh@linux.intel.com>
2010-03-23 14:51:09 +00:00
Richard Purdie
8d5f122cbb .gitignore: Add handbook generated files to the ignore list
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-03-19 17:50:36 +00:00
Richard Purdie
89bee8abf2 Add *~ to .gitignore
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-02-01 11:03:45 +00:00
Richard Purdie
2498dd2f7d Add poky-autobuilder to .gitignore
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2009-08-26 18:14:58 +01:00
Richard Purdie
f9dbbf4f83 gitignore: Update entries to match various meta repositories 2008-12-17 12:05:32 +00:00
Richard Purdie
4a04f29527 .gitignore: Add extra entries 2008-11-06 14:40:30 +00:00
Richard Purdie
2bd4344e9a .gitignore: Add build/conf/local.conf 2008-11-04 19:10:58 +00:00
Richard Purdie
9ebe8de923 .gitignore: Fix directory reference issue 2008-11-03 15:17:17 +00:00
Samuel Ortiz
d4f444a667 Add meta-moblin-internal to gitignore 2008-10-22 15:19:36 +02:00
Robert Bradford
39ad2b3120 Update the ignore file so that it also includes VIM swap files
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5528 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-17 09:46:49 +00:00
Robert Bradford
603ae240ff Add .gitignore
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5525 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-10-17 09:46:13 +00:00