- Nov 01, 2022
-
-
Leonidas Spyropoulos authored
This is used on the export for package-meta.v1.gz generation Signed-off-by:
Leonidas Spyropoulos <artafinde@archlinux.org>
-
- Sep 24, 2022
-
-
Kevin Morris authored
See doc/git-archive.md for general Git archive specifications See doc/repos/metadata-repo.md for info and direction related to the new Git metadata archive
-
- Sep 12, 2022
-
-
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>
-
- Aug 22, 2022
-
-
Joakim Saario authored
-
- Aug 14, 2022
-
-
Kevin Morris authored
This reverts commit 6c7e2749. Once again, this does actually cause issues with foreign keys. Removing it for now and will revisit this.
-
Kevin Morris authored
Speeds up SSHPubKeys.PubKey searches in a larger database. Fixed form of the original commit which was reverted, 1a7f6e1f Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
This reverts commit 1a7f6e1f. This commit broke account creation in some way. We'd still like to do this, but we need to ensure it does not intrude on other facets. Extra: We should really work out how this even passed tests; it should not have.
-
- Aug 13, 2022
-
-
Kevin Morris authored
Speeds up SSHPubKeys.PubKey searches in a larger database. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- Feb 19, 2022
-
-
Kevin Morris authored
Somehow, many aur.al records of PackageVotes do not have a valid VoteTS value. This migration fixes that issue by setting all null VoteTS columns to the epoch timestamp. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- Jan 07, 2022
-
-
Kevin Morris authored
This migration modifies the Yes, No, Abstain and ActiveTUs columns of the TUVoteInfo table from unsigned TINYINT to unsigned INTEGER. TINYINT supports a total of 1 byte (up to 255 trusted users). This is quite limited and we don't spend too much more by storing a standard 4-byte INTEGER. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- Nov 17, 2021
-
-
Kevin Morris authored
This change utilizes pytest-xdist to perform a multiproc test run and reworks aurweb.db's code. We no longer use a global engine, session or Session, but we now use a memo of engines and sessions as they are requested, based on the PYTEST_CURRENT_TEST environment variable, which is available during testing. Additionally, this change strips several SQLite components out of the Python code-base. SQLite is still compatible with PHP and sharness tests, but not with our FastAPI implementation. More changes: ------------ - Remove use of aurweb.db.session global in other code. - Use new aurweb.db.name() dynamic db name function in env.py. - Added 'addopts' to pytest.ini which utilizes multiprocessing. - Highly recommended to leave this be or modify `-n auto` to `-n {cpu_threads}` where cpu_threads is at least 2. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- Jun 26, 2021
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- Jun 06, 2021
-
-
Kevin Morris authored
Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
Files got into the branch that violate both PEP-8 guidelines and isorts. This fixes them. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
In this case, when running pytests, we do not allow alembic to configure loggers. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
Kevin Morris authored
* Moved migrations/env.py's logging initialization and migration execution into a `__name__ == "__main__"` stanza so it doesn't immediately happen when imported by another module. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- Jun 05, 2021
-
-
Kevin Morris authored
Some of the columns that were changed still want to be case insensitive. Good thing our tables have nice separation. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- May 18, 2021
-
-
MySql defaults to `utf8` and case insensitive collation so migrate these to case sensitive and `utf8mb4` Closes #21 Signed-off-by:
Leonidas Spyropoulos <artafinde@gmail.com>
-
Closes: #34 Signed-off-by:
Leonidas Spyropoulos <artafinde@gmail.com>
-
Kevin Morris authored
op.drop_constraint requires a valid field to drop the constraint on. Without this, downgrade cannot occur. Signed-off-by:
Kevin Morris <kevr@0cost.org>
-
- Feb 20, 2021
-
-
This column holds a user ID issed by the single sign-on provider. For Keycloak, it is an UUID. For more flexibility, we will be using a standardly-sized VARCHAR field. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Signed-off-by:
Filipe Laíns <lains@archlinux.org> Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
- Feb 27, 2020
-
-
This way the database will get stamped, and Git will create the `versions` directory without which Alembic won’t work. Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-
Signed-off-by:
Lukas Fleischer <lfleischer@archlinux.org>
-