Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current Postgres work #2

Merged
merged 13 commits into from
Jul 21, 2023
Merged

Current Postgres work #2

merged 13 commits into from
Jul 21, 2023

Conversation

ItsJustGeek
Copy link
Collaborator

Requested by @nobodywasishere so we can combine our current efforts before progressing further.

ItsJustGeek and others added 13 commits July 11, 2023 03:20
Worker/server now use database classes

Co-authored-by: Margret Riegert <[email protected]>
Script may still need some work, set argument :CDS_PASSWORD to specify the password for the crystal_doc_server user
- Checks for bad urls and existing docs
- Gets version tags using git ls-remote
- Removed "repo_job" table from sql setup script, no longer necessary
Added various unique constraints
- Added job priority, with sorting jobs by doc version age
- Fixed issues related to query_one usage
- Added a few comments
- Added correct unique constraint on repo_version table
- Adjusted doc_job permissions to support locking
- Added support for taking jobs from the job queue, with rollback support via transactions
- Cleaned up db.cr
- Added basic doc job dashboard page which shows jobs in the order they will be processed (/pending_jobs or /pending_jobs?limit=INT)
Cleaned up some code and tweaked comments
@nobodywasishere nobodywasishere merged commit fced0a5 into main Jul 21, 2023
@nobodywasishere nobodywasishere deleted the postgres-db branch July 22, 2023 00:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants