mirror of
https://github.com/ZTatman/myst.git
synced 2026-11-20 12:03:30 +00:00
chore: clean up project structure and remove dead code
- Delete broken Dockerfile (referenced non-existent packages/service) - Delete unused @firebreak/shared package - Delete unused crypto.ts, aiofiles dependency, stale static assets - Delete .tmp/embargo-test/ scaffold with hardcoded secrets - Move packages/cli/ to cli/ (flat structure, no packages/ dir) - Rename myst config example and UI design doc - Update docs to fix stale path references (packages/service/*, Pico CSS, SQLModel) - Remove stale agents.md entries (process.exit, ORM session leak) - Clean up tsconfig references and pnpm workspace config
This commit is contained in:
parent
1f20e64960
commit
7dae48697a
30 changed files with 29 additions and 165 deletions
24
Dockerfile
24
Dockerfile
|
|
@ -1,24 +0,0 @@
|
|||
FROM node:22-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
COPY packages/service/package*.json ./packages/service/
|
||||
COPY packages/shared/package*.json ./packages/shared/
|
||||
COPY tsconfig.base.json ./
|
||||
|
||||
RUN npm install -g pnpm
|
||||
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN pnpm -r --filter @firebreak/service build
|
||||
|
||||
ENV PORT=3000
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
USER node
|
||||
|
||||
CMD ["pnpm", "--filter", "@firebreak/service", "start"]
|
||||
28
agents.md
28
agents.md
|
|
@ -27,59 +27,47 @@ This file is the single source of truth for codebase obstacles, oddities, and th
|
|||
## Documented obstacles
|
||||
|
||||
### TypeScript composite builds fail with no output
|
||||
**Area:** packages/cli/tsconfig.json, tsconfig.base.json
|
||||
**Area:** cli/tsconfig.json, tsconfig.base.json
|
||||
**Obstacle:** When `composite: true` is set in tsconfig, TypeScript requires proper project references to build. The CLI package was building but producing no output files, causing "cannot find module" errors.
|
||||
**Solution:** Remove `composite: true` from packages/cli/tsconfig.json. Also removed `noUncheckedIndexedAccess` and `exactOptionalPropertyTypes` from tsconfig.base.json as they caused strict type issues with dynamic config objects.
|
||||
**Solution:** Remove `composite: true` from cli/tsconfig.json. Also removed `noUncheckedIndexedAccess` and `exactOptionalPropertyTypes` from tsconfig.base.json as they caused strict type issues with dynamic config objects.
|
||||
**Preference:** Use simple tsconfig without composite mode for CLI package.
|
||||
|
||||
### verify.ts overly complex abstraction
|
||||
**Area:** packages/cli/src/commands/verify.ts
|
||||
**Area:** cli/src/commands/verify.ts
|
||||
**Obstacle:** Code had too many layers: collectResults → addResult (inner function) → displayDiagnosticResults/verifyResults. Made it hard to trace and debug.
|
||||
**Solution:** Rewrote to be flatter: verifyCommand → runDiagnosticMode/runVerifyMode. Used simple inline logic instead of adding functions for everything.
|
||||
**Preference:** KISS - keep functions small but avoid over-abstraction.
|
||||
|
||||
### Error messages in forgejo-checks too generic
|
||||
**Area:** packages/cli/src/utils/forgejo-checks.ts
|
||||
**Area:** cli/src/utils/forgejo-checks.ts
|
||||
**Obstacle:** Network errors showed "fetch failed" with no context. HTTP errors showed just status codes. Not actionable for users.
|
||||
**Solution:** Added getErrorMessage() helper to detect: timeouts, connection refused, host not found. Improved HTTP error messages to include status text. Added context prefixes like "cannot reach server", "cannot connect to API".
|
||||
**Preference:** Actionable messages that tell users what to fix.
|
||||
|
||||
### ENV_MAPPING duplicated inline in verify.ts
|
||||
**Area:** packages/cli/src/commands/verify.ts
|
||||
**Area:** cli/src/commands/verify.ts
|
||||
**Obstacle:** Had duplicate object with same keys as ENV_MAPPING from config.ts. Two sources of truth.
|
||||
**Solution:** Import ENV_MAPPING and use it. Change display to show env var names (SNAKE_CASE) instead of internal keys.
|
||||
**Preference:** Single source of truth in config.ts.
|
||||
|
||||
### Display verbiage redundancy
|
||||
**Area:** packages/cli/src/commands/verify.ts
|
||||
**Area:** cli/src/commands/verify.ts
|
||||
**Obstacle:** Displayed "MYST_PUBLIC_URL set" - "set" is redundant, icon already shows status.
|
||||
**Solution:** Just show env var name, remove "set". Shows "MYST_PUBLIC_URL configured" or "MYST_PUBLIC_URL missing".
|
||||
**Solution:** Just show env var name, remove "set".
|
||||
**Preference:** Cleaner, let icon indicate status.
|
||||
|
||||
### loadConfig returning wrong type for error case
|
||||
**Area:** packages/cli/src/commands/verify.ts
|
||||
**Area:** cli/src/commands/verify.ts
|
||||
**Obstacle:** loadConfig() threw error when .env not found, but caught and re-threw in verifyCommand. This caused process to exit with stack trace instead of clean message.
|
||||
**Solution:** Return null on ENOENT, handle null in verifyCommand. Return type: `Record<string, string> | null`.
|
||||
**Preference:** Explicit null handling over exceptions for user-facing errors.
|
||||
|
||||
### process.exit(0) prevents finally blocks
|
||||
**Area:** CLI commands using process.exit()
|
||||
**Obstacle:** process.exit(0) stops execution immediately, never runs cleanup code.
|
||||
**Solution:** Use process.exitCode = 1 and return instead of process.exit().
|
||||
**Preference:** Set exitCode and return to allow cleanup.
|
||||
|
||||
### Logout cookie not reaching browser
|
||||
**Area:** web/app/routers/auth.py, web/app/auth/session.py
|
||||
**Obstacle:** `revoke_session` set cookies on the injected `Response` parameter, but the logout handler returned a new `RedirectResponse` — so `Set-Cookie` was discarded.
|
||||
**Solution:** Create `RedirectResponse` first, then pass it into `revoke_session`. Same pattern used in `callback_forgejo` for `create_session`.
|
||||
**Preference:** Pass the actual response object that will be returned.
|
||||
|
||||
### Dashboard leaking ORM session object
|
||||
**Area:** web/app/main.py
|
||||
**Obstacle:** `/dashboard` returned the full ORM `Session` object (`sess`), leaking `token_hash`, `revoked_at`, etc. to the client.
|
||||
**Solution:** Return a plain dict with only safe fields: `user_id`, `display_name`, `email`, `session_id`, `created_at`.
|
||||
**Preference:** Never return ORM objects directly in API responses.
|
||||
|
||||
### crypto.py decrypt functions kept proactively
|
||||
**Area:** web/app/auth/crypto.py
|
||||
**Obstacle:** CodeRabbit flagged missing decryption functions and key validation. Added `decrypt_token`/`decrypt_optional` + key format validation in `fernet_from_encryption_key`.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"extends": "../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"composite": true,
|
||||
"rootDir": "src",
|
||||
"outDir": "dist"
|
||||
},
|
||||
|
|
@ -338,27 +338,18 @@ The viewer is the only public application surface that emits code content.
|
|||
- Public access must be read-only
|
||||
- Public access must not expose database ports or Forgejo admin surfaces
|
||||
|
||||
## Repo Implementation Impact
|
||||
## Active Surfaces
|
||||
|
||||
Active surfaces:
|
||||
- CLI entrypoint: `cli/src/index.ts`
|
||||
- Command stubs: `cli/src/commands/*`
|
||||
- Web app: `web/app/` (FastAPI + Jinja2)
|
||||
- Web routers: `web/app/routers/*`
|
||||
- Web models: `web/app/models/*`
|
||||
|
||||
- CLI entrypoint: `packages/cli/src/index.ts`
|
||||
- Command stubs: `packages/cli/src/commands/*`
|
||||
- Config generators: `packages/cli/src/generators/*`
|
||||
- Shared constants/types: `packages/shared/src/*`
|
||||
- Service entrypoint: `packages/service/src/index.ts`
|
||||
- Viewer routes: `packages/service/src/viewer/*`
|
||||
- Dashboard routes: `packages/service/src/dashboard/*`
|
||||
## Next implementation work
|
||||
|
||||
Next implementation work:
|
||||
|
||||
1. Narrow `init` to Firebreak-only config generation for an existing Forgejo deployment
|
||||
2. Add config types for Forgejo connection details, Firebreak base URL, database, and SMTP settings
|
||||
3. Implement `forgejo bootstrap` and `doctor`
|
||||
4. Add Postgres-backed service foundation using the data model
|
||||
5. Wire the service to load generated config and validate required env at startup
|
||||
6. Implement Forgejo session authentication for the dashboard
|
||||
7. Build the link creation flow with repo ownership verification
|
||||
8. Implement the web-based code viewer
|
||||
9. Build the user dashboard with access logs
|
||||
10. Implement email sending for private link verification codes
|
||||
1. Implement Forgejo session authentication for the dashboard
|
||||
2. Build the link creation flow with repo ownership verification
|
||||
3. Implement the web-based code viewer
|
||||
4. Build the user dashboard with access logs
|
||||
5. Implement email sending for private link verification codes
|
||||
|
|
|
|||
|
|
@ -23,8 +23,8 @@ Phase 1 does not deliver:
|
|||
|
||||
## Tech Stack
|
||||
|
||||
- **Backend**: Python 3.11+ with FastAPI
|
||||
- **Frontend**: Jinja2 templates with HTMX for interactivity
|
||||
- **Backend**: Python 3.13+ with FastAPI
|
||||
- **Frontend**: Jinja2 templates with HTMX + Tailwind CSS
|
||||
- **Database**: PostgreSQL
|
||||
- **Async**: Uses `async/await` with asyncpg for database access
|
||||
|
||||
|
|
@ -32,18 +32,9 @@ Phase 1 does not deliver:
|
|||
|
||||
**FastAPI**: Lightweight async framework, automatic OpenAPI docs, Pydantic for validation.
|
||||
|
||||
**Jinja2 + HTMX**: Server-side rendering with minimal JavaScript. HTMX handles dynamic updates (filtering, form submissions) without a build step or heavy SPA framework.
|
||||
**Jinja2 + HTMX**: Server-side rendering with minimal JavaScript. HTMX handles dynamic updates (filtering, form submissions) without a heavy SPA framework.
|
||||
|
||||
**PostgreSQL**: Reliable, well-supported by async libraries (asyncpg, SQLModel).
|
||||
|
||||
## Reviewable Branches
|
||||
|
||||
1. `codex/phase1-bootstrap-monorepo`
|
||||
2. `codex/phase1-cli-init-skeleton`
|
||||
3. `codex/phase1-service-foundation`
|
||||
4. `codex/phase1-forgejo-integration`
|
||||
5. `codex/phase1-grants-viewer`
|
||||
6. `codex/phase1-dashboard-logs-settings`
|
||||
**PostgreSQL**: Reliable, well-supported by async libraries (asyncpg, SQLAlchemy).
|
||||
|
||||
## Security Baseline
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +0,0 @@
|
|||
import { randomBytes } from "node:crypto";
|
||||
|
||||
export function generateSecret(bytes = 32): string {
|
||||
return randomBytes(bytes).toString("hex");
|
||||
}
|
||||
|
|
@ -1,9 +0,0 @@
|
|||
{
|
||||
"extends": "../../tsconfig.base.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "dist"
|
||||
},
|
||||
"references": [{ "path": "../shared" }],
|
||||
"include": ["src/**/*.ts"]
|
||||
}
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
{
|
||||
"name": "@firebreak/shared",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./src/index.ts",
|
||||
"default": "./src/index.ts"
|
||||
}
|
||||
},
|
||||
"main": "./src/index.ts",
|
||||
"types": "./src/index.ts",
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.json",
|
||||
"check": "tsc -b tsconfig.json",
|
||||
"clean": "rm -rf dist"
|
||||
}
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
export const FIREBREAK_DEFAULT_SERVICE_PORT = 4000;
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
export * from "./constants.js";
|
||||
export * from "./types.js";
|
||||
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
export interface RepoRef {
|
||||
owner: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export interface GrantSnapshot {
|
||||
repo: RepoRef;
|
||||
sourceBranch: string;
|
||||
commitSha: string;
|
||||
}
|
||||
4
pnpm-lock.yaml
generated
4
pnpm-lock.yaml
generated
|
|
@ -15,7 +15,7 @@ importers:
|
|||
specifier: ^5.8.3
|
||||
version: 5.9.3
|
||||
|
||||
packages/cli:
|
||||
cli:
|
||||
dependencies:
|
||||
'@clack/prompts':
|
||||
specifier: ^1.2.0
|
||||
|
|
@ -24,8 +24,6 @@ importers:
|
|||
specifier: ^2.1.2
|
||||
version: 2.1.2
|
||||
|
||||
packages/shared: {}
|
||||
|
||||
packages:
|
||||
|
||||
'@clack/core@1.2.0':
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
packages:
|
||||
- packages/*
|
||||
- cli
|
||||
|
||||
|
|
|
|||
|
|
@ -5,9 +5,7 @@
|
|||
"moduleResolution": "NodeNext",
|
||||
"lib": ["ES2022"],
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"@firebreak/shared": ["packages/shared/src/index.ts"]
|
||||
},
|
||||
"paths": {},
|
||||
"strict": true,
|
||||
"skipLibCheck": true,
|
||||
"declaration": true,
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
"files": [],
|
||||
"references": [
|
||||
{ "path": "./packages/shared" },
|
||||
{ "path": "./packages/cli" }
|
||||
{ "path": "./cli" }
|
||||
]
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 8.3 KiB |
|
|
@ -1,14 +0,0 @@
|
|||
<svg width="481" height="477" viewBox="0 0 481 477" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M377.962 129.188C385.411 128.358 400.217 129.01 406.209 133.886C413.904 140.147 412.291 141.893 422.547 143.756C421.628 160.141 424.421 155.076 430.312 167.016C434.602 178.302 439.545 190.292 442.356 201.998C445.601 215.507 432.515 224.911 451.216 229.969C446.32 253.35 459.456 263.677 480.027 267.911C462.104 273.673 455.434 280.725 450.843 298.856C449.37 304.277 447.525 309.812 446.463 315.322C444.889 323.49 444.488 331.703 438.473 338.129C436.534 340.201 434.568 341.721 432.327 343.476C432.958 346.046 433.71 348.707 434.399 351.274C425.856 364.031 421.845 377.694 413.283 390.288C410.748 394.017 408.476 397.854 406.498 401.912C431.658 396.635 449.39 388.554 471.358 375.723C465.386 384.405 456.796 396.09 449.198 403.364C441.405 410.63 433.158 417.326 425.363 424.611C415.921 433.437 406.683 442.49 397.23 451.3C392.57 455.643 387.408 459.468 382.628 463.716C385.333 458.74 388.714 452.274 390.674 447.102C394.763 436.314 397.435 414.849 395.401 403.561C392.762 388.915 391.116 388.029 392.21 372.764C385.229 387.788 387.843 391.997 388.853 407.542C389.123 411.695 385.842 421.395 382.706 424.163C375.034 426.11 372.311 431.758 366.076 436.337C359.032 441.509 351.269 445.415 343.711 449.763C348.19 444.046 350.59 441.303 356.083 436.573C349.295 439.91 341.729 444.088 335.799 448.749C333.459 450.587 331.403 453.953 328.751 455.431C313.065 464.172 293.325 469.279 276.039 472.712C258.928 475.778 241.512 476.788 224.162 475.721C214.013 474.999 208.966 473.493 199.632 469.783C199.205 469.614 196.619 471.959 195.349 472.005C189.313 472.222 183.072 471.029 177.31 469.272C157.587 460.851 137.72 451.155 119.546 439.758C113.945 436.245 109.325 430.952 103.634 427.607C96.708 423.534 89.396 420.568 82.602 416.378C111.177 419.184 119.977 416.864 147.056 414.508C151.731 416.853 157.669 420.887 162.36 423.634C169.427 427.713 176.912 431.019 184.687 433.495C200.305 438.277 216.645 440.261 232.953 439.354C242.349 438.789 252.24 436.844 261.591 437.9C285.265 440.572 304.715 429.336 324.952 418.77L326.038 424.703C334.169 417.28 336.549 412.358 342.402 403.525C343.909 401.252 352.335 395.226 355.1 392.996C362.155 387.306 369.542 381.653 375.996 375.179C398.834 352.405 397.48 335.602 428.694 320.978C404.129 308.756 411.471 302.401 419.259 281.878C420.756 277.933 421.035 270.918 421.175 266.656C425.479 268.107 430.277 269.341 434.68 270.567C433.784 269.589 432.906 268.594 432.048 267.582C420.454 253.795 411.214 230.104 408.873 212.131C408.386 208.393 408.945 202.195 409.261 198.376C407.73 195.834 401.413 189.401 400.938 188.184C391.64 164.373 379.381 151.492 359.801 135.067C366.73 131.041 369.995 130.362 377.962 129.188Z" fill="#F7F2E8"/>
|
||||
<path d="M233.09 0.233836C239.92 -0.550164 246.953 0.807827 253.728 1.79283C242.942 6.95983 233.51 9.77284 224.799 18.6518C211.193 32.4778 203.036 52.4348 202.226 71.7428C201.701 84.2438 204.18 95.4258 200.525 107.755C196.896 119.993 189.464 128.06 180.664 136.796C185.966 124.088 187.51 119.167 186.617 105.616C182.859 115.368 178.414 122.814 167.981 126.433C168.108 123.403 169.119 115.356 167.05 113.39C166.027 113.655 165.24 114.297 164.658 115.17C159.014 123.635 153.833 131.929 147.055 139.629C136.807 151.126 123.274 158.896 111.837 169.138C100.722 179.091 93.941 190.385 85.782 202.569C82.658 207.234 77.789 211.293 75.204 216.478C72.024 222.859 71.583 230.133 68.559 236.545C66.751 240.277 61.259 244.21 59.499 248.4C55.219 258.59 60.558 261.489 63.887 269.894C66.696 276.986 63.132 283.023 60.034 289.207C76.493 302.204 62.469 320.543 76.305 335.334C81.966 341.385 86.628 351.947 90.994 359.408C102.636 379.306 117.441 392.376 135.358 406.178C126.656 409.773 108.823 415.301 99.721 413.476C93.64 412.257 91.358 409.007 88.226 404.357C62.442 400.535 75.754 422.835 81.118 436.794C84.956 446.781 90.972 457.846 95.633 467.627C80.875 455.728 70.339 442.378 56.494 429.717C50.004 423.783 43.833 417.666 37.704 411.363C27.601 401.183 17.367 387.401 9.07001 375.795C14.478 378.808 19.28 382.412 25.181 385.498C40.18 393.343 54.036 396.27 70.312 399.064C56.907 383.747 49.129 368.374 41.22 349.856L47.14 353.238C43.236 345.434 37.962 336.712 34.82 328.753C35.195 326.153 36.024 322.598 36.57 319.944C35.051 317.799 29.407 310.199 28.567 308.256C25.684 301.589 25.272 293.991 22.384 286.725C17.915 275.48 10.472 271.542 0 266.979C19.649 264.03 34.605 247.297 29.595 226.935C33.332 225.178 37.073 223.071 40.714 221.095C39.847 217.611 37.029 209.094 35.714 205.857C27.59 185.845 47.007 178.747 53.997 164.814C57.965 156.907 58.542 143.283 64.029 133.218C75.733 111.748 92.948 94.1708 114.612 82.5658C121.073 79.1048 127.964 76.8178 134.758 74.5428C128.397 79.4308 122.414 84.7938 116.86 90.5838C106.665 101.327 98.586 114.076 98.795 129.561C98.85 133.652 100.296 136.776 103.338 139.452C105.443 141.303 108.883 142.651 111.712 142.052C129.245 138.335 145.112 109.966 151.098 94.9598C152.793 90.7118 154.446 79.3968 155.078 74.9898C157.244 59.8748 162.929 46.7948 172.274 34.7808C187.043 15.5188 208.981 3.05584 233.09 0.233836Z" fill="#F7F2E8"/>
|
||||
<path d="M302.906 63.3759C324.544 68.7329 347.484 77.6769 366.374 89.6779C371.294 92.9379 375.736 97.3269 380.765 100.384C388.39 105.019 396.29 109.134 403.262 114.779C406.793 117.638 407.973 119.451 409.903 123.422C397.077 121.539 390.051 121.087 377.302 121.153C369.465 121.675 362.223 123.046 354.485 123.814C343.82 124.873 330.679 117.679 321.338 112.932C317.886 111.178 314.245 105.6 309.246 103.579C303.405 101.217 298.13 102.173 292.824 100.863C285.99 99.1749 278.719 96.9778 271.835 95.1358C276.31 90.4778 281.356 86.0619 285.853 81.4429C291.603 75.5379 297.278 69.4059 302.906 63.3759Z" fill="#F7F2E8"/>
|
||||
<path d="M287.056 10.4429C288.037 11.3969 287.52 13.4899 287.303 14.7619C281.065 51.3959 257.636 83.0359 227.436 104.285C229.836 97.4399 234.914 87.3949 238.097 80.8129C246.617 64.7889 256.313 49.4179 267.106 34.8279C255.57 38.1369 251.519 39.9349 241.219 45.5469C241.084 44.2189 240.834 40.9859 240.922 39.8279C241.384 33.7359 256.869 29.2769 262.106 27.1309C265.158 25.8869 268.112 24.4149 270.943 22.7289C276.714 19.2989 281.887 14.7429 287.056 10.4429Z" fill="#C62030"/>
|
||||
<path d="M313.295 127.731C326.3 130.726 350.649 145.122 360.516 154.765C365.829 159.957 371.104 168.71 370.706 176.294C370.577 178.752 370.194 182.806 368.312 184.636C367.044 180.931 366.414 178.883 364.518 175.496C355.642 160.155 347.281 153.013 331.484 146.495C333.699 151.229 335.938 154.654 338.913 158.906C328.23 151.42 319.031 139.345 313.295 127.731Z" fill="#F04A36"/>
|
||||
<path d="M135.504 384.543C139.568 385.886 150.072 391.509 155.134 393.578C175.841 402.041 194.371 406.735 216.5 409.936C212.334 411.154 207.55 412.128 203.279 413.095C200.573 413.511 197.76 414.362 195.1 415.079L200.952 420.249C196.758 419.368 192.594 418.351 188.466 417.199C171.288 412.324 144.646 400.866 135.504 384.543Z" fill="#C62030"/>
|
||||
<path d="M377.687 183.898C379.552 185.267 383.983 192.853 385.126 195.036C395.247 214.352 398.461 234.795 400.779 256.162C398.497 253.472 395.878 249.815 393.705 246.951C383.873 232.804 380.907 227.958 377.006 211.575L385.181 220.88C383.437 211.047 378.321 192.628 377.687 183.898Z" fill="#F04A36"/>
|
||||
<path d="M328.964 392.524L329.393 393.126C305.874 418.773 283.705 424.874 249.834 422.345C252.977 420.089 273.915 414.168 279.126 412.07C286.096 409.597 292.775 406.338 299.75 403.895C301.091 403.425 302.054 404.213 303.239 404.853C308.169 404.855 323.67 395.351 328.964 392.524Z" fill="#C62030"/>
|
||||
<path d="M90.246 298C92.786 299.846 95.633 310.986 97.042 314.645C103.097 330.367 111.323 347.35 119.659 361.921C114.567 358.33 111.052 355.072 106.72 350.613C95.59 338.8 86.954 325.256 82 309.696L93.363 324.312C91.611 315.192 89.999 307.351 90.246 298Z" fill="#C62030"/>
|
||||
<path d="M105.051 202.535L105.305 202.827C105.237 206.488 93.189 225.359 91.587 234.04C93.139 235.388 93.534 233.475 95.311 234.764C94.858 240.699 92.687 246.476 91.678 252.249C90.789 257.34 90.215 262.897 89.535 268.059L88.965 268.208C82.262 254.16 79.902 246.014 85.351 231.004C89.806 218.734 95.713 211.415 105.051 202.535Z" fill="#C62030"/>
|
||||
<path d="M401.596 276.713C404.265 283.545 396.981 311.688 394.308 319.3L391.233 314.499C386.709 307.62 385.704 299.885 384.799 291.86C389.118 285.628 395.349 280.866 401.596 276.713Z" fill="#E23A32"/>
|
||||
<path d="M383.222 318.362C383.812 319.528 384.142 320.983 384.332 322.268C386.525 337.098 383.732 345.071 375.024 356.974C367.081 367.831 356.567 376.413 343.097 378.576C346.105 374.81 352.659 370.215 356.435 366.233C359.063 363.46 366.8 352.512 368.899 351.734C370.399 352.657 369.77 352.56 371.347 352.601C378.414 346.511 381.048 327.399 383.222 318.362Z" fill="#E23A32"/>
|
||||
</svg>
|
||||
|
Before Width: | Height: | Size: 8.5 KiB |
|
|
@ -8,7 +8,6 @@ version = "0.1.0"
|
|||
description = "Firebreak: FastAPI + HTMX web interface for managing Forgejo repositories"
|
||||
requires-python = ">=3.13"
|
||||
dependencies = [
|
||||
"aiofiles>=24.1.0",
|
||||
"asyncpg>=0.31.0",
|
||||
"cryptography>=48.0.1",
|
||||
"fastapi>=0.136.0",
|
||||
|
|
|
|||
11
web/uv.lock
generated
11
web/uv.lock
generated
|
|
@ -6,15 +6,6 @@ resolution-markers = [
|
|||
"python_full_version < '3.15'",
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "aiofiles"
|
||||
version = "25.1.0"
|
||||
source = { registry = "https://pypi.org/simple" }
|
||||
sdist = { url = "https://files.pythonhosted.org/packages/41/c3/534eac40372d8ee36ef40df62ec129bee4fdb5ad9706e58a29be53b2c970/aiofiles-25.1.0.tar.gz", hash = "sha256:a8d728f0a29de45dc521f18f07297428d56992a742f0cd2701ba86e44d23d5b2", size = 46354, upload-time = "2025-10-09T20:51:04.358Z" }
|
||||
wheels = [
|
||||
{ url = "https://files.pythonhosted.org/packages/bc/8a/340a1555ae33d7354dbca4faa54948d76d89a27ceef032c8c3bc661d003e/aiofiles-25.1.0-py3-none-any.whl", hash = "sha256:abe311e527c862958650f9438e859c1fa7568a141b22abcd015e120e86a85695", size = 14668, upload-time = "2025-10-09T20:51:03.174Z" },
|
||||
]
|
||||
|
||||
[[package]]
|
||||
name = "annotated-doc"
|
||||
version = "0.0.4"
|
||||
|
|
@ -335,7 +326,6 @@ name = "firebreak-web"
|
|||
version = "0.1.0"
|
||||
source = { virtual = "." }
|
||||
dependencies = [
|
||||
{ name = "aiofiles" },
|
||||
{ name = "asyncpg" },
|
||||
{ name = "cryptography" },
|
||||
{ name = "fastapi" },
|
||||
|
|
@ -358,7 +348,6 @@ dev = [
|
|||
|
||||
[package.metadata]
|
||||
requires-dist = [
|
||||
{ name = "aiofiles", specifier = ">=24.1.0" },
|
||||
{ name = "asyncpg", specifier = ">=0.31.0" },
|
||||
{ name = "cryptography", specifier = ">=48.0.1" },
|
||||
{ name = "fastapi", specifier = ">=0.136.0" },
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue