<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/.gitignore, branch yocto-5.0.6</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-5.0.6</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=yocto-5.0.6'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2024-02-19T11:34:33+00:00</updated>
<entry>
<title>vscode: drop .vscode folder</title>
<updated>2024-02-19T11:34:33+00:00</updated>
<author>
<name>Adrian Freihofer</name>
<email>adrian.freihofer@gmail.com</email>
</author>
<published>2024-02-15T22:53:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=a510d455d3b93e2d7c5e1aef7b2dbe7d77d6a03d'/>
<id>urn:sha1:a510d455d3b93e2d7c5e1aef7b2dbe7d77d6a03d</id>
<content type='text'>
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 &lt;adrian.freihofer@siemens.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>vscode: add minimal configuration</title>
<updated>2023-11-21T21:34:04+00:00</updated>
<author>
<name>Adrian Freihofer</name>
<email>adrian.freihofer@gmail.com</email>
</author>
<published>2023-11-20T14:57:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5ff688fe29bd644e28a226b655b3fdcce8a8ebb8'/>
<id>urn:sha1:5ff688fe29bd644e28a226b655b3fdcce8a8ebb8</id>
<content type='text'>
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 &lt;adrian.freihofer@siemens.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>.gitignore: ignore files generated by Toaster</title>
<updated>2023-01-12T23:09:52+00:00</updated>
<author>
<name>Michael Opdenacker</name>
<email>michael.opdenacker@bootlin.com</email>
</author>
<published>2023-01-06T17:31:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=0ce159991d8e49f8fa97bdf5f088fdfd753a32dc'/>
<id>urn:sha1:0ce159991d8e49f8fa97bdf5f088fdfd753a32dc</id>
<content type='text'>
When Toaster is run as documented on
https://docs.yoctoproject.org/toaster-manual/setup-and-use.html

Signed-off-by: Michael Opdenacker &lt;michael.opdenacker@bootlin.com&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
</content>
</entry>
<entry>
<title>bitbake: gitignore: ignore runqueue-tests/bitbake-cookerdaemon.log</title>
<updated>2021-03-12T16:47:12+00:00</updated>
<author>
<name>Paul Gortmaker</name>
<email>paul.gortmaker@windriver.com</email>
</author>
<published>2021-03-12T16:13:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=ffc36f351f47e59beff8240e56cdc8648188ef19'/>
<id>urn:sha1:ffc36f351f47e59beff8240e56cdc8648188ef19</id>
<content type='text'>
(Bitbake rev: 2787c3dadbc94925aa1cba6c2e765ffa9f7a7c4a)

Signed-off-by: Paul Gortmaker &lt;paul.gortmaker@windriver.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>scripts/install-buildtools: improvements</title>
<updated>2020-04-01T10:44:23+00:00</updated>
<author>
<name>Tim Orling</name>
<email>timothy.t.orling@linux.intel.com</email>
</author>
<published>2020-03-31T20:03:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=420c926f8a425d0fc52d58373ca447a2ce7b3b54'/>
<id>urn:sha1:420c926f8a425d0fc52d58373ca447a2ce7b3b54</id>
<content type='text'>
* 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/&lt;installer-version&gt;

* 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 -&gt; --installer-version)

[YOCTO #13832]

(From OE-Core rev: c6c3a58dbf0ca6c4a41df7ff50fa56d39d7ee23f)

Signed-off-by: Tim Orling &lt;timothy.t.orling@linux.intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gitignore: Ignore repo tool directory</title>
<updated>2018-10-29T17:26:47+00:00</updated>
<author>
<name>Christian Meusel</name>
<email>christian.meusel@posteo.de</email>
</author>
<published>2018-10-25T16:48:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=061dfb792692cdd4b693b338c47b43cf77b72b88'/>
<id>urn:sha1:061dfb792692cdd4b693b338c47b43cf77b72b88</id>
<content type='text'>
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 &lt;christian.meusel@posteo.de&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gitignore: ignore bitbake documentation build products</title>
<updated>2018-03-28T11:50:25+00:00</updated>
<author>
<name>Sascha Silbe</name>
<email>x-yo17@se-silbe.de</email>
</author>
<published>2018-03-21T16:14:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e694d3773a6bceccc8cfbb1806660353650e694a'/>
<id>urn:sha1:e694d3773a6bceccc8cfbb1806660353650e694a</id>
<content type='text'>
Missed the bitbake manual the last time around because it's in a
different directory.

Signed-off-by: Sascha Silbe &lt;x-yo17@se-silbe.de&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gitignore: ignore documentation build products</title>
<updated>2018-01-06T22:40:03+00:00</updated>
<author>
<name>Sascha Silbe</name>
<email>x-yo17@se-silbe.de</email>
</author>
<published>2017-12-15T19:16:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f594e8ced45c9e670924f76e696202a56df02e26'/>
<id>urn:sha1:f594e8ced45c9e670924f76e696202a56df02e26</id>
<content type='text'>
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=&lt;directory&gt;" as well as "make DOC=&lt;directory&gt; pdf". While at it,
make sure the patterns only match for the top-level documentation
directory.

Signed-off-by: Sascha Silbe &lt;x-yo17@se-silbe.de&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>add !meta-poky to .gitignore file</title>
<updated>2016-03-26T08:06:58+00:00</updated>
<author>
<name>Bill Randle</name>
<email>william.c.randle@intel.com</email>
</author>
<published>2016-03-21T20:42:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=5005cab723bc488bcf3f982a6401ecf49bdb9ca3'/>
<id>urn:sha1:5005cab723bc488bcf3f982a6401ecf49bdb9ca3</id>
<content type='text'>
Another meta-yocto -&gt; meta-poky transition item. Git complained
on commit that files in meta-poky could not be committed.

Signed-off-by: Bill Randle &lt;william.c.randle@intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>gitignore: fix overzealous exclusion</title>
<updated>2015-11-16T11:39:38+00:00</updated>
<author>
<name>Paul Eggleton</name>
<email>paul.eggleton@linux.intel.com</email>
</author>
<published>2015-09-03T11:03:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=37cfd8080ac4c49e9ea3f646f29b047b479753d6'/>
<id>urn:sha1:37cfd8080ac4c49e9ea3f646f29b047b479753d6</id>
<content type='text'>
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 &lt;paul.eggleton@linux.intel.com&gt;
Signed-off-by: Ross Burton &lt;ross.burton@intel.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
