- 12 Sep, 2022 7 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
We will be modeling future RPC implementations on an OpenAPI spec. While this commit does not completely cohere to OpenAPI in terms of response data, this is a good start and will allow us to cleanly document these openapi routes in the current and future. This commit brings in the new RPC routes: - GET /rpc/v5/info/{pkgname} - GET /rpc/v5/info?arg[]=pkg1&arg[]=pkg2 - POST /rpc/v5/info with JSON data `{"arg": ["pkg1", "pkg2"]}` - GET /rpc/v5/search?arg=keywords&by=valid-by-value - POST /rpc/v5/search with JSON data `{"by": "valid-by-value", "arg": "keywords"}` Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
We want all python files related to the project to be checked, really. Some of which are still included, but migrations are a core part of FastAPI aurweb and should be included. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 11 Sep, 2022 1 commit
-
-
Kevin Morris authored
-
- 10 Sep, 2022 3 commits
- 07 Sep, 2022 7 commits
- 06 Sep, 2022 7 commits
-
-
renovate authored
-
renovate authored
-
renovate authored
-
renovate authored
-
Leonidas Spyropoulos authored
Signed-off-by:
Leonidas Spyropoulos <artafinde@archlinux.org>
-
Kevin Morris authored
This commit fixes two of our tests in test_templates.py to go along with our new template modifications, as well as a new test in test_packages_routes.py which constructs two packages belonging to the same package base, then tests that viewing their pages produces their independent descriptions. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
...What in the world happened here. We were literally just populating `pkg` based on `pkgbase.packages.first()`. We should have been focusing on the package passed by the context, which is always available when `show_package_details` is true. Closes #384 Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 05 Sep, 2022 3 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Since we support requests which have no associated user, we must support the case where we are displaying such a request. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Closes #387 Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 02 Sep, 2022 2 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Closes #386 Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 01 Sep, 2022 1 commit
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 23 Aug, 2022 3 commits
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
In accordance with black's defined style, we now expect a maximum of 88 columns for any one particular line. This change fixes remaining violations of 88 columns in the codebase (not many), and introduces the modified flake8 configuration. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- 22 Aug, 2022 5 commits
-
-
Joakim Saario authored
-
Joakim Saario authored
-
Joakim Saario authored
The idea is to exclude commits that only contains formatting so that it's easier to backtrack actual code changes with `git blame`.
-
Joakim Saario authored
-
Joakim Saario authored
The reason behind this is to make checking and formatting consistent between contributors and CI. It is also easier to incorporate new hooks, since many tools already provides pre-commit hooks In addition this commit also adds `black` and `autoflake` along with a few other useful hooks from the `pre-commit-hooks` repository.
-
- 20 Aug, 2022 1 commit
-
-
Kevin Morris authored
Derived off of original work done by Leonidas Spyropoulos at !503 This revision of that original work finishes off the inconsistencies mentioned in the original MR and adds a small bit of testing for more regression checks. Fixes: #360 Signed-off-by:
Kevin Morris <kevr@0cost.org>
-