Commit graph

35 commits

Author SHA1 Message Date
CheezeCake
dbec4df54c Fix C string literals 2019-09-30 21:44:30 +02:00
Michael Opdenacker
89b777fb4f Add some comments
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-23 14:34:20 +02:00
Chengguang Xu
1b72698a06 fix list_tags_h problem when major version is bigger than v9
./scripts.sh list-tags -h cannot handle correctly when
the major version number is bigger than v9, so need to
add '*' in the regular expression of major number.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
2018-04-19 16:37:45 +08:00
Michael Opdenacker
2ad97fb303 Switch to a usable default for list-tags -h
- This way, it's not always necessary to create
  custom definitions for new projects.

- Update the definitions for projects that can
  use such a default.

Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
2018-04-04 10:17:35 +02:00
Michael Opdenacker
e732c6a295 Version 0.3: support projects through rudimentary "plugins"
- Allows to add a project by just adding custom
  definitions to projects/<project>.sh

- Except for cases that haven't been anticipated yet,
  modifying common code should no longer be needed

Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
2018-04-03 15:29:08 +02:00
Michael Opdenacker
cc3650587b Add Barebox support
- See https://barebox.org/

Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
2018-03-28 07:16:14 +02:00
Michael Opdenacker
2525377e1a Add musl C library support
- Project hosted at https://www.musl-libc.org/

Signed-off-by: Michael Opdenacker <michael.opdenacker@free-electrons.com>
2018-03-27 15:39:35 +02:00
Henrik Brix Andersen
c76178d626 Add support for the Zephyr project. 2018-02-25 20:15:43 +01:00
Mikaël Bouillot
537e6b3a7b Change business name 2018-02-15 21:27:00 +00:00
Mikaël Bouillot
661f32fa12 Fix parsing of C strings
Fixes #29
2017-07-20 13:22:49 +02:00
stdk
4845e25186 Filenames that contain spaces are now processed correctly (#24)
Fixes #23
2017-07-02 17:03:54 +00:00
Mikaël Bouillot
bb762d0645 Ignore C++ operator identification from Ctags
Fixes #19
2017-06-30 12:57:02 +02:00
Mikaël Bouillot
1b4c0fc7d4 Update notices to match the new license 2017-06-27 14:13:28 +02:00
Silvio Fricke
9aea0051bd make useable for submodules
git ls-tree returnes `commit` entries for submodules. We remove them
from the output. Without this the script crashes with this trace:

    Traceback (most recent call last):
      File "./update.py", line 138, in <module>
        newBlobs = updateBlobIDs (tag)
      File "./update.py", line 46, in updateBlobIDs
        hash, filename = blob.split (b' ')
    ValueError: too many values to unpack (expected 2)

Signed-off-by: Silvio Fricke <silvio.fricke@gmail.com>
2017-06-14 10:33:56 +02:00
Mikaël Bouillot
362264b2a5 Fix escaped quotes and includes in tokenizer 2017-05-02 09:34:16 +02:00
Mikaël Bouillot
9c2cf2cf86 Use Perl non-greedy regex in tokenizer
We can now exclude C++ style comments and #includes,
in addition to C-style comments and strings.
2017-05-01 22:30:18 +02:00
Mikaël Bouillot
7db38c24fd Add support for virtual 'latest' version
Fixes #8
2017-05-01 19:14:08 +02:00
Mikaël Bouillot
3ae5fac4bf Implement tag translation
Busybox uses tags with underscores instead of dots.
This commit translates between the two forms in the
shell script.
2017-04-10 22:01:02 +02:00
Mikaël Bouillot
471134bf85 Move version hierarchy logic to script.sh 2017-04-06 21:04:26 +02:00
Mikaël Bouillot
a9e176e01a Remove indexing of struct members 2017-04-05 19:44:27 +02:00
Mikaël Bouillot
84bd5a0a16 Normalize paths 2017-04-04 15:12:59 +02:00
Mikaël Bouillot
2c3e362833 Expose raw git tags 2017-04-03 19:56:15 +02:00
Mikaël Bouillot
3ef4641fc4 Style string literals 2017-03-23 17:33:32 +01:00
Mikaël Bouillot
24a25481b2 Do not tokenize strings 2017-03-16 21:39:59 +01:00
Mikaël Bouillot
80e113ab99 Don't deduce type from trailing slash
Instead of using a trailing slash in the path to tell trees from blobs,
we actually ask git the type of the object. Also, if the object is a
tree but lacks a trailing slash, we redirect to the correct URL.

Fixes #6
2017-03-09 18:37:40 +01:00
Mikaël Bouillot
832f7c8b6d Add license 2017-03-09 17:25:42 +01:00
Mikaël Bouillot
6cae0dd8c3 Silence Git and treat empty responses as errors 2017-02-14 15:26:22 +01:00
Mikaël Bouillot
bab7dce487 Display only indexed versions 2017-02-14 13:23:37 +01:00
Mikaël Bouillot
4421c30e58 Add indexing of function prototypes 2017-02-07 15:56:31 +01:00
Mikaël Bouillot
e871501c11 List all tags in reverse order 2017-02-07 10:58:07 +01:00
Mikaël Bouillot
0bf34d7751 Database update script, new data format 2017-02-06 15:15:51 +01:00
Mikaël Bouillot
3f0b68a0d7 Use environment variables for paths 2017-02-06 09:50:40 +01:00
Mikaël Bouillot
4135084a0f Highlight comments 2017-02-05 11:34:33 +01:00
Mikaël Bouillot
cf0e1bd666 Directory and file queries 2017-02-05 10:27:36 +01:00
Mikaël Bouillot
2997686d70 Shell script and call from Python 2017-02-04 20:07:26 +01:00