0

129 Commits

Author SHA1 Message Date
Vladimir Kotal
e84d396864 switch to Java 21 for build/Docker ()
fixes 
2025-04-17 10:21:59 +02:00
Vladimir Kotal
9de071fd5c replace URL() constructors with URI() ()
rework the bug/review page substitution

avoid using "$1" and use custom replacer function to make sure the matched
pattern is properly escaped
2025-04-08 18:18:21 +02:00
Vladimir Kotal
e264dd9045 document INDEXER_JAVA_OPTS () 2024-09-11 11:42:14 +02:00
hitmoon
bd4dda713c indexer: add java options to indexer ()
add INDEXER_JAVA_OPTS environment variable
pass java_opts to Indexer to tune jvm options

This feature is useful for docker users

Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
Co-authored-by: Vladimir Kotal <vlada@kotalovi.cz>
2024-09-11 11:36:31 +02:00
Vladimir Kotal
7d6407a53d update build instructions 2024-07-30 11:03:24 +02:00
Vladimir Kotal
2568862f6b pass output file path instead of file object
fixes 
2024-01-09 10:03:54 +01:00
Vladimir Kotal
d5fd3ef4f9 always refresh the list of repositories for projects () 2023-10-20 10:14:51 +02:00
Vladimir Kotal
f8a4c2e475 add comment on -R 2023-10-17 12:55:21 +02:00
Gino Augustine
2f7dacd7c0 jdk17 support
fixes 

---------

Signed-off-by: Gino Augustine <ginoaugustine@gmail.com>
2023-10-06 17:19:24 +02:00
Vladimir Kotal
5a918d90c7 add explicit index check type 2023-09-26 10:31:14 +02:00
Philipp Trulson
0531b6a2c9 Make more links use HTTPS 2023-07-08 21:52:18 +02:00
Vladimir Kotal
798044e8c2 do not contrain open files limit 2023-05-29 18:05:52 +02:00
Vladimir Kotal
ec7305d6f9 fix environment propagation 2023-04-06 11:36:28 +02:00
Vladimir Kotal
5cd98a132c actually copy the environment 2023-03-31 12:33:57 +02:00
Vladimir Kotal
eef7d57fcc make Tomcat use temporary directory under OpenGrok data root 2023-03-31 12:33:57 +02:00
Vladimir Kotal
f9216f5668 add Python checks for Docker scripts ()
fixes 
2023-03-30 22:12:10 +02:00
Vladimir Kotal
6246a3ec2d log the timeout if specified as env var 2023-03-30 07:31:07 +02:00
Vladimir Kotal
2efc9f63d1 propagate API_TIMEOUT env var to call configuration 2023-03-30 07:31:07 +02:00
Vladimir Kotal
eda30c3b34 mirroring needs to honor API timeout too 2023-03-30 07:31:07 +02:00
Vladimir Kotal
8f77a81c58 adapt Docker 2023-03-29 23:01:22 +02:00
Vladimir Kotal
bccda2590b preparation for args substitution 2023-03-29 23:01:22 +02:00
Vladimir Kotal
310c57905b add module docstring 2023-03-29 15:15:00 +02:00
Vladimir Kotal
75e524f3f8 propagate the API timeout to all indexers
fixes 
2023-03-29 15:15:00 +02:00
Vladimir Kotal
df23628d8c make API timeout settable ()
Also, increase the default value.

fixes 
2023-03-29 11:15:06 +02:00
Vladimir Kotal
4947f052df bump year 2023-02-23 12:11:33 +01:00
Vladimir Kotal
061a21944b list_projects() returns None on failure
fixes 
2023-02-23 12:11:33 +01:00
Vladimir Kotal
3b47b2e06f on default and read-only configuration files 2022-12-14 18:47:33 +01:00
Vladimir Kotal
adbae18b3a add link to the read-only configuration wiki 2022-12-14 18:45:37 +01:00
Vladimír Kotal
a987fed42f convert signal handling to synchronous 2022-12-08 07:59:49 +01:00
Vladimír Kotal
5acf3a4ba3 install signal handlers only for the main program
fixes 
2022-12-08 07:59:49 +01:00
Vladimír Kotal
80cd4501d8 add Perforce 2022-11-09 14:27:22 +01:00
Vladimír Kotal
54fb2d214c add more SCMs to the Docker image 2022-11-09 14:27:22 +01:00
Vladimír Kotal
ab0e0c18f9 fix PeriodicTimer usage
fixes 
2022-10-24 14:32:34 +02:00
Vladimír Kotal
4fe126c3e6 move PeriodicTimer class to separate file 2022-10-07 09:21:40 +02:00
Vladimír Kotal
8c01c675a1 use Condition instead of Event for periodic event 2022-10-07 09:21:40 +02:00
Marius Wagner
fa34e4fc05 Fix check if url root is 'source' 2022-10-04 14:05:40 +02:00
Vladimir Kotal
bf3bbd621d fix the syntax 2022-04-05 14:41:36 +02:00
Vladimir Kotal
1bfc455414 update configuration 2022-04-05 14:41:36 +02:00
Vladimir Kotal
c089929ca1 Revert "enable for docker"
This reverts commit 73e984de7c26691957886c5a3766d322098223fb.
2022-02-12 19:09:23 +01:00
Vladimir Kotal
85e668e04a enable for docker 2022-02-12 19:09:23 +01:00
Vladimir Kotal
b7ca2541c6 always create mirror.conf
fixes 
2021-09-24 08:39:59 -04:00
Vladimir Kotal
cec5eb3a12 share the OPENGROK_NO_MIRROR env var definition 2021-09-13 13:02:50 -07:00
Vladimir Kotal
85ee3da365 report version on Docker container startup 2021-09-13 13:00:13 -07:00
Vladimir Kotal
b84dfa7658 MicroBadger is dead 2021-07-27 15:31:16 +02:00
Vladimir Kotal
5036d90082 check mirror config in Docker
fixes 
2021-07-21 21:39:25 -04:00
Vladimir Kotal
0ddc79583f add information about the master tag 2021-07-01 10:55:02 +02:00
Vladimir Kotal
c3904b2ee6 check None from get_configuration() 2021-06-24 10:49:28 -04:00
Vladimir Kotal
c0e6959d6d add info about mirror.yml 2021-05-27 07:45:48 -04:00
Vladimir Kotal
fa3facf641 add line 2021-05-27 07:45:48 -04:00
Vladimir Kotal
941332aa98 introduce check_incoming configuration property
allow to specify mirror configuration in Docker
2021-05-27 07:45:48 -04:00