Michael Opdenacker
b57d24fd42
Merge pull request #72 from carmeli-tamir/json_api_for_ident
...
Added an api, based on wsgi_mod with falcon framework
2019-10-15 11:21:47 +02:00
Carmeli Tamir
c2de7dc9ab
Added an api, based on wsgi_mod with falcon framework
2019-10-14 17:48:20 -04:00
Michael Opdenacker
13738d8dca
index-all-repositories: fix llvm project name
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-13 10:06:40 +02:00
Michael Opdenacker
d55498ef77
index-all-repositories: add second pass
...
- Useful for big repositories that take a lot of time to
index and are updated frequently
- Good to run this on the indexing machine (faster)
than through an update on the server (slower in our case)
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-13 08:59:20 +02:00
Michael Opdenacker
285b6f5a3c
Make update-elixir-data more generic
...
- Now supports a custom data directory
(passed as a command line parameter)
- Now supports a custom elixir install
director (passed through the ELIXIR_INSTALL
environment variable
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-11 10:17:42 +02:00
Michael Opdenacker
8b632abd68
index-all-repositories: fetch the "other" branch too
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-11 09:54:58 +02:00
Michael Opdenacker
04643178a2
Incomplete tags: remplace "UNKNOWN" by "FIXME"
...
- More likely to be reported as a bug by users
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-10 10:11:13 +02:00
Michael Opdenacker
3e7682b8b5
Remove duplicated code in previous commit
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-10 10:09:16 +02:00
Michael Opdenacker
804cb0c6d2
Merge pull request #70 from nkaje/tag_parse_fix
...
Parse the tag levels when applicable
2019-10-09 18:09:59 +02:00
Naveen Kaje
120efbf730
Parse the tag levels when applicable
...
This patch fixes the error when the query on the tagging
expects 3 levels (v3 v3.1 v3.1-rc0) but gets only one level
from the `script.sh list-tags -h`, resulting in the following error:
<snip>
/home/naveen/workspace/elixir/query.py in query(cmd='versions', *args=())
53 for line in scriptLines ('list-tags', '-h'):
54 decoded_line = decode(line)
=> 55 topmenu, submenu, tag = decoded_line.split(' ')
56 if db.vers.exists (tag):
57 if topmenu not in versions:
topmenu undefined, submenu undefined, tag undefined, decoded_line = 'Tag_V1', \
decoded_line.split = <built-in method split of str object>
<snip>
Fix the issue by initializing the levels to 'UNKNOWN' first and
then processing the menu levels when applicable.
Signed-off-by: Naveen Kaje <naveen.kaje@juul.com>
2019-10-09 10:40:30 -05:00
Michael Opdenacker
6322d33b2c
Merge pull request #68 from nkaje/ReadMe_Ubuntu_Update
...
Documentation: Update Ubuntu/Debian specific config
2019-10-08 19:43:22 +02:00
Naveen Kaje
fbf369c55a
Documentation: Update Ubuntu/Debian specific config
...
Add distro specific configuration information.
Signed-off-by: Naveen Kaje <naveen.kaje@juul.com>
2019-10-08 10:35:27 -05:00
Michael Opdenacker
ec439aa294
Merge pull request #67 from pokazef/url-encoding-fix
...
URL-encode the query string when redirecting an ident search
2019-10-08 16:02:10 +02:00
Mikael Bouillot
c7a90a14cc
URL-encode the query string when redirecting an ident search
...
Fixes #56
2019-10-08 12:52:27 +00:00
Michael Opdenacker
229491e7d8
Bump version number to 1.0
...
- A database rebuild is needed after some indexing changes
(aca12c5c ) and a tokenizer bug fix (dbec4df )
- This version change also shows the progress and maturity of the
project, now supporting the source code of 16 projects.
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-08 11:38:46 +02:00
Michael Opdenacker
aca12c5cca
Add support for more source file extensions, in particular .S
...
- Suggested by Armijn Hemel
https://github.com/bootlin/elixir/issues/27
- In particular, functions defined in assembly
are now supported. Look for "memcpy" for example.
A database rebuild is required. Will increase the version
number in the next commit
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-08 11:33:52 +02:00
Michael Opdenacker
afe2c33689
Remove leftover code
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-08 07:35:35 +02:00
Michael Opdenacker
453e8a127c
Factorize the definition of supported extensions
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-08 07:33:36 +02:00
Michael Opdenacker
b205cda6db
index-all-repositories: index all projects in parallel
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-08 05:28:23 +02:00
Michael Opdenacker
96316cd0b8
Hot fix for the "get-latest" query
...
- Remove the trailing \n character that was breaking
identifier search for the latest version.
- Don't hesitate to replace with a better/cleaner
solution.
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-07 16:02:07 +02:00
Michael Opdenacker
611ad5f1c2
Merge pull request #66 from carmeli-tamir/tamir/clear_interfaces_query_web
...
Straightened the interface between query and web, as preparation to a…
2019-10-07 15:59:50 +02:00
Carmeli Tamir
1a91f04927
Straightened the interface between query and web, as preparation to add a json api parallel to web
2019-10-05 00:27:52 -04:00
Michael Opdenacker
f2b40c5f7e
update.py: fix division by zero in progress report
...
- Required when there are no new tags
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-04 15:13:52 +02:00
Michael Opdenacker
3c78f8a0fc
Add some comments
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-04 13:07:54 +02:00
Michael Opdenacker
c6aee2ad9d
Improve progress reporting + factorize LXR_DATA_DIR access
...
- For long runs, allows to see which project we are in, and the
percentage of processed tags
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-03 13:33:26 +02:00
Michael Opdenacker
d623887640
Minor documentation clarification
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-03 06:49:50 +02:00
Michael Opdenacker
bbe15b6c93
Merge pull request #65 from carmeli-tamir/tamir/call_query_for_ident_instead_of_parsing
...
Refactored ident query to use python objects rather than parsing REs
2019-10-02 12:22:28 +02:00
Michael Opdenacker
54befeb96b
Script to re-index all repositories
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-02 08:21:46 +02:00
Carmeli Tamir
d926243164
Refactored ident query to use python objects rather than parsing REs
2019-10-02 00:01:46 -04:00
Michael Opdenacker
5346ac9eff
Update amazon-freertos tagging
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-01 18:26:01 +02:00
Michael Opdenacker
dad935cbc7
Minor update to symbol blacklist
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-10-01 09:35:29 +02:00
Michael Opdenacker
2b54f4839b
Merge pull request #63 from CheezeCake/fix-quote-bug
...
Fix C string literals
2019-10-01 09:28:56 +02:00
CheezeCake
dbec4df54c
Fix C string literals
2019-09-30 21:44:30 +02:00
Michael Opdenacker
bd8297e465
Details about managing disk space
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-30 13:51:04 +02:00
Michael Opdenacker
188b0eb1fc
New script to pack repositories
...
- For maintenance use, run it when you have gc.log files
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-30 13:42:37 +02:00
Michael Opdenacker
3b97c3a73b
Share script to keep databases up to date
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-30 10:28:19 +02:00
Michael Opdenacker
5aa02b785f
Definitions for the DPDK project
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-28 07:24:23 +02:00
Michael Opdenacker
81b71c3ae2
Documentation: fix link markdown
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-26 11:36:15 +02:00
Michael Opdenacker
e3fd3f1c2b
Documentation: add missing hyperlinks
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-26 11:35:05 +02:00
Michael Opdenacker
9a69f52a29
Documentation: attempt to fix diagram
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-26 11:31:58 +02:00
Michael Opdenacker
0095f1d0b8
Documentation: fix markdown rendering
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-26 11:19:02 +02:00
Michael Opdenacker
1beb093e64
Documentation: recommend to use a cache
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-26 11:17:22 +02:00
Michael Opdenacker
dbc6042284
Document that we need at least version 2.2 of Pygments
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-26 07:01:01 +02:00
Michael Opdenacker
60d89014ec
Merge pull request #62 from pokazef/master
...
Set Pygments option to keep leading blank lines
2019-09-25 18:06:51 +02:00
Mikael Bouillot
94caef2816
Set Pygments option to keep leading blank lines
...
Fixes #33
2019-09-25 08:14:04 +00:00
Michael Opdenacker
7b87f80865
Merge pull request #60 from hao-lee/master
...
Rewrite installation document
2019-09-24 20:14:01 +02:00
Michael Opdenacker
59c72a9697
Merge branch 'master' into master
2019-09-24 20:10:26 +02:00
Michael Opdenacker
ee48545b9f
REAMDE.md: fix formating
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-23 20:15:09 +02:00
Michael Opdenacker
65783e715a
Improve Docker scripts to support any project
...
- Great for testing Elixir on smaller projects
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-23 20:11:40 +02:00
Michael Opdenacker
fb5bda5584
Minor documentation improvement
...
Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
2019-09-23 18:06:27 +02:00