These files all carry SPDX GPL2+ indicators. Based on the information
available to me, I have a good-faith belief that they can be combined
into this AGPLv3 project and licensed AGPLv3.
This commit only touches t/tree. Therefore, if the test suite later
needs to be changed, it will be sufficient to revert this commit.
The files used are those involved in the x64 compilation of
drivers/i2c/i2c-core-base.c, filtered to remove any that aren't
tagged GPL2+.
Note that t/tree itself is not a Git repo or submodule. It is a
collection of files that test scripts can use to populate a Git repo.
- Those were important structures in Linux
They deserve to be indexed.
- This will require re-indexing, so this will take a bit
of time to be fixed in the database
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
The GitHub repo doesn't have tags for sublevel (X.Y.Z) releases,
unlike the master Bootlin Elixir site. Add the master repo that does
have the sublevel tags to the README.
- Fix issue introduced by the previous commit
The 'project' variable could be tested even in the case
it wasn't defined (case of an invalid URL)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
- Return "400" status when the project doesn't have a database or repo
- In case the DB is not found, properly print the corresponding
file name in the logs
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
- Support "subdir-y" statements too
- Fix names in orginal directory includes
(can have '-' in directory names)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
- Supporting hyperlinks for things like:
obj-$(VALUE) += file.o
obj-$(VALUE) += dir/
- For use in the Makefiles of Linux, Barebox and U-Boot
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
- Because there are usually multiple possibilities
- Linux kernel example, the kernel makefile seems to include (-I):
arch/<arch>/include/
in addition to
include/
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
- In particular to support 'include <path>' statements
- Add some exceptions to the above filters, to exclude
includes that could go outside of the project
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
- There was a +1 offset in shown file contents
- This was caused by a bad interpretation of the
code that was replaced by a previous commit
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
- In an efficient way: each project defines the filters
it uses, instead of selecting filters from a long list
of filters that takes time to load.
- See filters/linux.py for example
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
- Manage case that wasn't handled previously
- Return error 400 instead of 404
This fixes https://github.com/bootlin/elixir/issues/77
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
- Start creating filter definitions and processing,
in order to later support per project definitions
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
- And make the regexps more robust,
anticipating some non-standard cases
(extra spaces, spaces before, etc)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
- This allows to add hyperlinks in statements like:
/include/ "file.dtsi"
#include "file.dtsi"
In this case, "file.dtsi" is in the same directory
as the including file.
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
- "-d" wasn't working with symbolic links
which we are using on our server to switch
databases after updates
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>