5 months of maintenance

This commit is contained in:
Luke Street
2025-03-18 21:20:10 -06:00
parent 6cfc9a0027
commit a7bf884c8b
46 changed files with 2985 additions and 918 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
/node_modules
/target
/.idea
db.sqlite*
*.sqlite*
config.yml
.env
@@ -0,0 +1,26 @@
{
"db_name": "SQLite",
"query": "\n SELECT ru.id AS \"id!\", ru.data\n FROM report_report_units rru JOIN report_units ru ON rru.report_unit_id = ru.id\n WHERE rru.report_id = ?\n ORDER BY rru.unit_index\n ",
"describe": {
"columns": [
{
"name": "id!",
"ordinal": 0,
"type_info": "Blob"
},
{
"name": "data",
"ordinal": 1,
"type_info": "Blob"
}
],
"parameters": {
"Right": 1
},
"nullable": [
true,
false
]
},
"hash": "1b7ac7957d627716425086be3712af5273f2af32ad168254ae4f6309302ebc27"
}
@@ -0,0 +1,12 @@
{
"db_name": "SQLite",
"query": "\n DELETE FROM report_units\n WHERE id NOT IN (SELECT report_unit_id FROM report_report_units)\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 0
},
"nullable": []
},
"hash": "268754c74b6b43b9f8a5ba8d256ab42063a0e5989e25ddaa8486736bc1fced7d"
}
@@ -1,12 +0,0 @@
{
"db_name": "SQLite",
"query": "\n INSERT INTO report_report_units (report_id, report_unit_id, unit_index)\n VALUES (?, ?, ?)\n ON CONFLICT DO NOTHING\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 3
},
"nullable": []
},
"hash": "3a14bed95e5b640c97da2b6d3458ab0cc6b5dcc96d1a62db6d763117a3cc5f5e"
}
@@ -0,0 +1,44 @@
{
"db_name": "SQLite",
"query": "\n SELECT\n reports.id as \"report_id!\",\n git_commit,\n timestamp,\n version,\n data\n FROM reports JOIN projects ON reports.project_id = projects.id\n WHERE projects.owner = ? COLLATE NOCASE AND projects.repo = ? COLLATE NOCASE\n AND version = ? COLLATE NOCASE AND git_commit = ? COLLATE NOCASE\n ",
"describe": {
"columns": [
{
"name": "report_id!",
"ordinal": 0,
"type_info": "Integer"
},
{
"name": "git_commit",
"ordinal": 1,
"type_info": "Text"
},
{
"name": "timestamp",
"ordinal": 2,
"type_info": "Datetime"
},
{
"name": "version",
"ordinal": 3,
"type_info": "Text"
},
{
"name": "data",
"ordinal": 4,
"type_info": "Blob"
}
],
"parameters": {
"Right": 4
},
"nullable": [
true,
false,
false,
false,
false
]
},
"hash": "4756303132114bcbac47dd560381c0cc2883a7708f5da51fdc6f0ec81e1ce292"
}
@@ -0,0 +1,26 @@
{
"db_name": "SQLite",
"query": "\n SELECT git_commit, timestamp\n FROM reports\n WHERE project_id = ? AND version = ? COLLATE NOCASE\n ORDER BY timestamp DESC\n ",
"describe": {
"columns": [
{
"name": "git_commit",
"ordinal": 0,
"type_info": "Text"
},
{
"name": "timestamp",
"ordinal": 1,
"type_info": "Datetime"
}
],
"parameters": {
"Right": 2
},
"nullable": [
false,
false
]
},
"hash": "50e7e6303ba6fa91e2f527c7fa864a28ad702456c58e950c3d5d58e4e8d9b59e"
}
@@ -1,86 +0,0 @@
{
"db_name": "SQLite",
"query": "\n SELECT\n reports.id as \"report_id!\",\n git_commit,\n timestamp,\n version,\n data,\n projects.id as \"project_id!\",\n owner,\n repo,\n name,\n short_name,\n default_version,\n platform\n FROM reports JOIN projects ON reports.project_id = projects.id\n WHERE projects.owner = ? COLLATE NOCASE AND projects.repo = ? COLLATE NOCASE\n AND version = ? COLLATE NOCASE AND git_commit = ? COLLATE NOCASE\n ",
"describe": {
"columns": [
{
"name": "report_id!",
"ordinal": 0,
"type_info": "Integer"
},
{
"name": "git_commit",
"ordinal": 1,
"type_info": "Text"
},
{
"name": "timestamp",
"ordinal": 2,
"type_info": "Datetime"
},
{
"name": "version",
"ordinal": 3,
"type_info": "Text"
},
{
"name": "data",
"ordinal": 4,
"type_info": "Blob"
},
{
"name": "project_id!",
"ordinal": 5,
"type_info": "Integer"
},
{
"name": "owner",
"ordinal": 6,
"type_info": "Text"
},
{
"name": "repo",
"ordinal": 7,
"type_info": "Text"
},
{
"name": "name",
"ordinal": 8,
"type_info": "Text"
},
{
"name": "short_name",
"ordinal": 9,
"type_info": "Text"
},
{
"name": "default_version",
"ordinal": 10,
"type_info": "Text"
},
{
"name": "platform",
"ordinal": 11,
"type_info": "Text"
}
],
"parameters": {
"Right": 4
},
"nullable": [
true,
false,
false,
false,
false,
true,
false,
false,
true,
true,
true,
true
]
},
"hash": "599d96163a6612745b70ff34a34a5bef3f0e26edceb2319cd5652c0cd679acb9"
}
@@ -0,0 +1,12 @@
{
"db_name": "SQLite",
"query": "\n UPDATE reports\n SET data_version = ?\n WHERE id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 2
},
"nullable": []
},
"hash": "6a621805308cca23a2bf14da126d6bc3081b7957d55da6666ffdd9dcc6939aab"
}
@@ -1,12 +0,0 @@
{
"db_name": "SQLite",
"query": "\n INSERT INTO report_units (id, data, name)\n VALUES (?, ?, ?)\n ON CONFLICT (id) DO NOTHING\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 3
},
"nullable": []
},
"hash": "79bbdf8acb97c4826c8ef1c0e51b9f6be24b0e71c35ae1798d30c852ca160f32"
}
@@ -0,0 +1,12 @@
{
"db_name": "SQLite",
"query": "\n UPDATE reports\n SET data = ?, data_version = ?\n WHERE id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 3
},
"nullable": []
},
"hash": "9e97542fc2e9ed675d992047ac5188df2580f150c09e69410b401a86d5001882"
}
@@ -0,0 +1,26 @@
{
"db_name": "SQLite",
"query": "\n SELECT id, data\n FROM reports\n WHERE data_version < ?\n ",
"describe": {
"columns": [
{
"name": "id",
"ordinal": 0,
"type_info": "Integer"
},
{
"name": "data",
"ordinal": 1,
"type_info": "Blob"
}
],
"parameters": {
"Right": 1
},
"nullable": [
false,
false
]
},
"hash": "9eed896babce627d1d9c207c22d9c416b18b851f0cd191affe530d539613a2d6"
}
@@ -0,0 +1,12 @@
{
"db_name": "SQLite",
"query": "\n DELETE FROM report_report_units\n WHERE report_id NOT IN (SELECT id FROM reports)\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 0
},
"nullable": []
},
"hash": "dd7c314e4ac52388eb79a79c5c980222eaee8a4bde86de607dcafd9e3cebcc56"
}
@@ -0,0 +1,12 @@
{
"db_name": "SQLite",
"query": "\n DELETE FROM report_report_units\n WHERE report_id = ?\n ",
"describe": {
"columns": [],
"parameters": {
"Right": 1
},
"nullable": []
},
"hash": "e46afd296e935b96264068241a9b77f7c5ae3444e35c0c04d027575803caa261"
}
Generated
+836 -330
View File
File diff suppressed because it is too large Load Diff
+16 -10
View File
@@ -5,26 +5,32 @@ edition = "2021"
[dependencies]
anyhow = "1.0"
ariadne = { version = "0.4", features = ["auto-color"] }
axum = "0.7"
badge-maker = "0.3"
blake3 = "1.5"
bytes = "1.7"
chrono = "0.4"
futures-util = "0.3.31"
grass = "0.13"
hex = "0.4"
human-size = "0.4"
image = "0.25"
lightningcss = "1.0.0-alpha"
itertools = "0.13"
lightningcss = "1.0.0-alpha.59"
mime = "0.3"
minijinja = { version = "2.2", features = ["loader", "json"] }
minijinja-autoreload = "2.2"
minijinja = { version = "2.3", features = ["loader", "json"] }
minijinja-autoreload = "2.3"
moka = { version = "0.12", features = ["future"] }
objdiff-core = { version = "2.2", features = ["bindings"] }
#objdiff-core = { path = "../objdiff/objdiff-core", features = ["bindings"] }
octocrab = "0.39"
oxc = { version = "0.27", features = ["codegen", "minifier", "transformer", "semantic"] }
octocrab = "0.41"
oxc = { version = "0.31", features = ["codegen", "minifier", "transformer", "semantic"] }
palette = "0.7"
prost = "0.13"
regex = "1.10"
resvg = "0.43"
regex = "1.11"
reqwest = { version = "0.12", features = ["json", "gzip", "zstd"] }
resvg = "0.44"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
serde_yaml = "0.9"
@@ -32,9 +38,9 @@ sqlx = { version = "0.8", features = ["runtime-tokio", "sqlite", "chrono"] }
streemap = "0.1"
timeago = { version = "0.4.2", default-features = false, features = ["chrono"] }
tokio = { version = "1.40", features = ["full"] }
tokio-cron-scheduler = "0.11"
tower = { version = "0.4", features = ["full"] }
tower-http = { version = "0.5", features = ["full"] }
tokio-cron-scheduler = "0.13"
tower = { version = "0.5", features = ["full"] }
tower-http = { version = "0.6", features = ["full"] }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
url = { version = "2.5", features = ["serde"] }
File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 2.6 KiB

+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
<path d="M13.632 14.563c.765.306 2.381.55 3.643.55 1.38 0 1.951-.47 1.951-1.065 0-.541-.53-.848-2.054-1.407-2.039-.75-3.534-1.345-3.534-2.69 0-1.38 1.8-2.2 4.542-2.2 1.472 0 1.977.09 2.912.26L21.1 9.33c-.918-.171-1.732-.47-2.996-.47-1.355 0-1.933.434-1.933.876 0 .64.89.948 2.45 1.507 2.172.776 3.38 1.372 3.38 2.68 0 1.353-1.513 2.328-4.926 2.328-1.401 0-2.367-.09-3.442-.27v-1.417M6.368 8.914H4.744v6.154h1.624c2.493 0 4.066-1.074 4.066-3.068S8.861 8.914 6.368 8.914zm4.36 6.722c-.804.361-2.323.596-3.652.596H2V7.768h5.076c1.329 0 2.848.235 3.653.596 1.955.884 2.592 2.3 2.592 3.636 0 1.335-.631 2.752-2.594 3.636"/>
</svg>

After

Width:  |  Height:  |  Size: 711 B

Before

Width:  |  Height:  |  Size: 634 B

After

Width:  |  Height:  |  Size: 634 B

+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
<path d="M7.995 11.867H2v1.858h.243V12.11h5.973v-1.836H2v.243h5.995zm7.764-1.35h5.995v1.35h-5.995v1.858h6.238v-.244h-5.972V12.11h5.972v-1.836h-6.238zm-4.092 0h3.163v-.243H11.4v3.207H8.216v.244h3.45z"/>
</svg>

After

Width:  |  Height:  |  Size: 294 B

+33
View File
@@ -0,0 +1,33 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.0/schema.json",
"organizeImports": {
"enabled": true
},
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"formatter": {
"indentStyle": "space"
},
"javascript": {
"formatter": {
"quoteStyle": "single"
}
},
"css": {
"parser": {
"cssModules": true
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"a11y": {
"all": false
}
}
}
}

Some files were not shown because too many files have changed in this diff Show More