Refresh patches
Sophie Brun
2 years ago
0 | 0 |
From: Sophie Brun <[email protected]>
|
1 | 1 |
Date: Mon, 6 Dec 2021 17:30:46 +0100
|
2 | 2 |
Subject: Add usr/lib/python3/dist-packages/faraday/vendor in import path
|
3 | |
|
4 | 3 |
|
5 | 4 |
Last-Update: 2021-12-07
|
6 | 5 |
Add usr/lib/python3/dist-packages/faraday/vendor in PYTHONPATH to use
|
|
12 | 11 |
3 files changed, 6 insertions(+)
|
13 | 12 |
|
14 | 13 |
diff --git a/faraday/manage.py b/faraday/manage.py
|
15 | |
index c3458aa..05c8ddc 100755
|
|
14 |
index 47b3347..7f3a531 100755
|
16 | 15 |
--- a/faraday/manage.py
|
17 | 16 |
+++ b/faraday/manage.py
|
18 | 17 |
@@ -29,6 +29,8 @@ if platform.system() == "Linux":
|
|
25 | 24 |
# python path
|
26 | 25 |
sys.path.append("/usr/share/pgcli")
|
27 | 26 |
diff --git a/faraday/searcher/searcher.py b/faraday/searcher/searcher.py
|
28 | |
index 4ebcef8..f88dc58 100755
|
|
27 |
index 7eccd7e..c90ed85 100755
|
29 | 28 |
--- a/faraday/searcher/searcher.py
|
30 | 29 |
+++ b/faraday/searcher/searcher.py
|
31 | |
@@ -23,6 +23,8 @@ from pathlib import Path
|
|
30 |
@@ -21,6 +21,8 @@ from pathlib import Path
|
32 | 31 |
import click
|
33 | 32 |
import requests
|
34 | 33 |
|
2 | 2 |
Subject: Remove failing tests
|
3 | 3 |
|
4 | 4 |
---
|
5 | |
tests/test_searcher.py | 885 -------------------------------------
|
|
5 |
tests/test_searcher.py | 884 -------------------------------------
|
6 | 6 |
tests/test_server_utils_filters.py | 246 -----------
|
7 | |
2 files changed, 1131 deletions(-)
|
|
7 |
2 files changed, 1130 deletions(-)
|
8 | 8 |
delete mode 100644 tests/test_searcher.py
|
9 | 9 |
delete mode 100644 tests/test_server_utils_filters.py
|
10 | 10 |
|
11 | 11 |
diff --git a/tests/test_searcher.py b/tests/test_searcher.py
|
12 | 12 |
deleted file mode 100644
|
13 | |
index 69acee5..0000000
|
|
13 |
index fc13e69..0000000
|
14 | 14 |
--- a/tests/test_searcher.py
|
15 | 15 |
+++ /dev/null
|
16 | |
@@ -1,885 +0,0 @@
|
17 | |
-
|
|
16 |
@@ -1,884 +0,0 @@
|
18 | 17 |
-import json
|
19 | 18 |
-
|
20 | 19 |
-import pytest
|
0 | 0 |
From: Sophie Brun <[email protected]>
|
1 | 1 |
Date: Tue, 7 Dec 2021 10:56:02 +0100
|
2 | 2 |
Subject: Remove sqlalchemy requirement
|
3 | |
|
4 | 3 |
|
5 | 4 |
Last-Update: 2021-12-07
|
6 | 5 |
dh_python generates automatically the Python dependencies with version
|
|
11 | 10 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
12 | 11 |
|
13 | 12 |
diff --git a/requirements.txt b/requirements.txt
|
14 | |
index 8420bf7..49e6ca6 100644
|
|
13 |
index 9c188be..fb082e3 100644
|
15 | 14 |
--- a/requirements.txt
|
16 | 15 |
+++ b/requirements.txt
|
17 | 16 |
@@ -21,7 +21,7 @@ python-dateutil>=2.6.0
|
12 | 12 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
13 | 13 |
|
14 | 14 |
diff --git a/faraday/server/web.py b/faraday/server/web.py
|
15 | |
index ccc9c0b..8aa244e 100644
|
|
15 |
index 7725412..ca07262 100644
|
16 | 16 |
--- a/faraday/server/web.py
|
17 | 17 |
+++ b/faraday/server/web.py
|
18 | |
@@ -68,7 +68,7 @@ class FaradayRedirectResource(Redirect):
|
|
18 |
@@ -77,7 +77,7 @@ class FaradayRedirectResource(Redirect):
|
19 | 19 |
|
20 | 20 |
class WebServer:
|
21 | 21 |
API_URL_PATH = b'_api'
|
0 | 0 |
From: Sophie Brun <[email protected]>
|
1 | 1 |
Date: Tue, 17 Aug 2021 16:23:52 +0200
|
2 | 2 |
Subject: Create logs dir
|
3 | |
|
4 | 3 |
|
5 | 4 |
After first installation faraday will first fail because ~/.faraday/logs
|
6 | 5 |
does not exist. After the failure when we run again faraday it works.
|
|
13 | 12 |
1 file changed, 3 insertions(+)
|
14 | 13 |
|
15 | 14 |
diff --git a/faraday/server/config.py b/faraday/server/config.py
|
16 | |
index 3ec9f2d..1d4fa9f 100644
|
|
15 |
index 938b990..2332ba9 100644
|
17 | 16 |
--- a/faraday/server/config.py
|
18 | 17 |
+++ b/faraday/server/config.py
|
19 | 18 |
@@ -24,10 +24,13 @@ LOGGING_LEVEL = INFO
|
14 | 14 |
1 file changed, 3 deletions(-)
|
15 | 15 |
|
16 | 16 |
diff --git a/faraday/start_server.py b/faraday/start_server.py
|
17 | |
index 1246f29..4f5107f 100644
|
|
17 |
index bb84399..4ab2c68 100644
|
18 | 18 |
--- a/faraday/start_server.py
|
19 | 19 |
+++ b/faraday/start_server.py
|
20 | |
@@ -109,7 +109,6 @@ def main():
|
|
20 |
@@ -121,7 +121,6 @@ def main():
|
21 | 21 |
check_postgresql()
|
22 | 22 |
parser = argparse.ArgumentParser()
|
23 | 23 |
parser.add_argument('--debug', action='store_true', help='run Faraday Server in debug mode')
|
|
25 | 25 |
parser.add_argument('--no-setup', action='store_true', help=argparse.SUPPRESS)
|
26 | 26 |
parser.add_argument('--port', type=int, help='Overides server.ini port configuration')
|
27 | 27 |
parser.add_argument('--websocket_port', help='Overides server.ini websocket port configuration')
|
28 | |
@@ -132,8 +131,6 @@ def main():
|
|
28 |
@@ -144,8 +143,6 @@ def main():
|
29 | 29 |
if result == 0:
|
30 | 30 |
logger.error("Faraday Server port in use. Check your processes and run the server again...")
|
31 | 31 |
sys.exit(1)
|
14 | 14 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
15 | 15 |
|
16 | 16 |
diff --git a/requirements.txt b/requirements.txt
|
17 | |
index a8bed82..8420bf7 100644
|
|
17 |
index 6be4f75..9c188be 100644
|
18 | 18 |
--- a/requirements.txt
|
19 | 19 |
+++ b/requirements.txt
|
20 | 20 |
@@ -26,7 +26,7 @@ tqdm>=4.15.0
|
13 | 13 |
2 files changed, 4 insertions(+), 1 deletion(-)
|
14 | 14 |
|
15 | 15 |
diff --git a/faraday/manage.py b/faraday/manage.py
|
16 | |
index 8d6e8e5..b88a8ad 100755
|
|
16 |
index 00d5189..47b3347 100755
|
17 | 17 |
--- a/faraday/manage.py
|
18 | 18 |
+++ b/faraday/manage.py
|
19 | 19 |
@@ -29,6 +29,9 @@ if platform.system() == "Linux":
|
|
27 | 27 |
import requests
|
28 | 28 |
import alembic.command
|
29 | 29 |
diff --git a/requirements.txt b/requirements.txt
|
30 | |
index 93d8893..a8bed82 100644
|
|
30 |
index 4c71014..6be4f75 100644
|
31 | 31 |
--- a/requirements.txt
|
32 | 32 |
+++ b/requirements.txt
|
33 | 33 |
@@ -15,7 +15,7 @@ bleach>=3.3.0
|