~bigbes/sourcehut-root

ref: d7053447058784caebad7fe3cf58166284146b2a sourcehut-root/.claude/INDEX.md -rw-r--r-- 15.3 KiB
d7053447 — Eugene Blikh patches: ubuntu/genimg — fix guest DNS (SLIRP proxy) and -p1 hint 8 days ago

#SourceHut documentation mirror — index

Auto-generated by .claude/scripts/build-index.sh. Regenerated at the end of every sourcehut-refresh run. Do not edit by hand — changes will be overwritten.

Read this before grepping. Each section gives you the canonical place to look for symbols in that repo.

Generated: 2026-05-19 05:22:31 UTC

#Repos

  • api.sr.ht — master
  • builds.sr.ht — 0.103.12
  • core-go — master
  • core.sr.ht — 0.83.3
  • forgeperf — master
  • gensokyo — master
  • git-am.io — master
  • git-rebase.io — master
  • git-send-email.io — 0.1.17
  • git.sr.ht — 0.97.6
  • go-away-config — main
  • gql.sr.ht — master
  • hub.sr.ht — 0.27.6
  • lists.sr.ht — 0.70.6
  • man.sr.ht — 0.19.27
  • meta.sr.ht — 0.88.4
  • pages.sr.ht — 0.17.12
  • paste.sr.ht — 0.19.1
  • sourcehut-go — master
  • sourcehut-migrate — v0.3.1
  • sourcehut-ssh — 0.5.0
  • sourcehut.org — master
  • sr.ht-apkbuilds — master
  • sr.ht-docs — master
  • sr.ht-nginx — master
  • sr.ht-pkgbuilds — master
  • srht.site — master
  • status.sr.ht — main
  • todo.sr.ht — 0.84.4

#api.sr.ht

Tag: (branch: master)

Go files (root): auth.go, main.go


#builds.sr.ht

Tag: 0.103.12

GraphQL types (buildsrht/schema.graphqls)

  • type: Artifact, EmailTrigger, Job, JobCursor, JobEvent, JobGroup, Log, Mutation, OAuthClient, PGPKey, Query, SSHKey, SecretCursor, SecretFile, Settings, Task, User, UserWebhookSubscription, Version, WebhookDelivery, WebhookDeliveryCursor, WebhookSubscriptionCursor, WebhookTrigger
  • input: EmailTriggerInput, TriggerInput, UserWebhookInput, WebhookTriggerInput
  • enum: AccessKind, AccessScope, JobStatus, TaskStatus, TriggerCondition, TriggerType, Visibility, WebhookEvent
  • interface: Entity, Secret, Trigger, WebhookPayload, WebhookSubscription
  • scalar: Binary, Cursor, File, Time

SQL tables (schema.sql)

artifact, gql_user_wh_delivery, gql_user_wh_sub, job, job_group, secret, task, trigger, user

Migrations: 2 files, latest migrations/0002_drop_legacy_tables.sql

Python blueprints (buildsrht/blueprints/): admin, jobs, secrets, settings

Python GraphQL queries (buildsrht/graphql/): builds, secrets

Go binaries (cmd/): api, worker

Go packages: api, worker


#core-go

Tag: (branch: master)

Go binaries (cmd/): token

Go files (root): placeholder.go

Go packages: auth, client, config, crypto, database, email, errors, feature, model, objects, redis, server, valid, webhooks


#core.sr.ht

Tag: 0.83.3

Python modules (srht/): api, assets, cache, config, crypto, database, debug, email, flagtype, gql_lexer, markdown, metrics, redis, rid, search, validation

Python subpackages (srht/): app, ariadne, graphql, icons, oauth, templates, webhook


#forgeperf

Tag: (branch: master)

Go files (root): main.go

Go packages: schema


#gensokyo

Tag: (branch: master)


#git-am.io

Tag: (branch: master)


#git-rebase.io

Tag: (branch: master)


#git-send-email.io

Tag: 0.1.17


#git.sr.ht

Tag: 0.97.6

GraphQL types (gitsrht/schema.graphqls)

  • type: ACL, ACLCursor, Artifact, ArtifactCursor, BinaryBlob, Commit, CommitCursor, Features, GitEvent, GitWebhookSubscription, Mutation, OAuthClient, Query, Redirect, Reference, ReferenceCursor, Repository, RepositoryCursor, RepositoryEvent, Settings, Signature, Tag, TextBlob, Trailer, Tree, TreeEntry, TreeEntryCursor, UpdatedRef, User, UserWebhookSubscription, Version, WebhookDelivery, WebhookDeliveryCursor, WebhookSubscriptionCursor
  • input: Filter, GitEventInput, GitWebhookInput, RepoInput, UpdatedRefInput, UserWebhookInput
  • enum: AccessKind, AccessMode, AccessScope, ObjectType, Visibility, WebhookEvent
  • interface: Blob, Entity, Object, WebhookPayload, WebhookSubscription
  • scalar: Cursor, Time, URL, Upload

SQL tables (schema.sql)

access, artifacts, gql_git_wh_delivery, gql_git_wh_sub, gql_user_wh_delivery, gql_user_wh_sub, redirect, repository, user

Migrations: 6 files, latest migrations/0006_add_resource_ids.sql

Python blueprints (gitsrht/blueprints/): artifacts, email, manage, public, repo

Python GraphQL queries (gitsrht/graphql/): artifacts, manage, settings

Go binaries (cmd/): api, http-clone, shell, update-hook

Go packages: update-hook


#go-away-config

Tag: (branch: main)


#gql.sr.ht

Tag: (branch: master)

Go files (root): directives.go, email.go, server.go

Go packages: auth, client, config, crypto, database, model, redis


#hub.sr.ht

Tag: 0.27.6

GraphQL types (hubsrht/schema.graphqls)

  • type: Features, MailingList, MailingListCursor, Mutation, Project, ProjectCursor, Query, SourceRepo, SourceRepoCursor, Tracker, TrackerCursor, User, Version
  • enum: AccessKind, AccessScope, RepoType, Visibility
  • interface: Entity, ProjectResource
  • scalar: Cursor, Time, Upload

SQL tables (schema.sql)

event, event_project_association, features, mailing_list, project, redirect, source_repo, tracker, user, user_webhooks

Migrations: 8 files, latest migrations/0008_repo-type_enum.sql

Python blueprints (hubsrht/blueprints/): mailing_lists, projects, public, sources, trackers, users, webhooks

Go packages: api


#lists.sr.ht

Tag: 0.70.6

GraphQL types (api/graph/schema.graphqls)

  • type: ActivitySubscriptionCursor, ByteRange, Email, EmailCursor, EmailEvent, GeneralACL, Mailbox, MailingList, MailingListACL, MailingListACLCursor, MailingListCursor, MailingListEvent, MailingListSubscription, MailingListWebhookSubscription, Mutation, OAuthClient, Patch, Patchset, PatchsetCursor, PatchsetEvent, PatchsetTool, Preferences, Query, Thread, ThreadBlock, ThreadCursor, Trailer, User, UserWebhookSubscription, Version, WebhookDelivery, WebhookDeliveryCursor, WebhookSubscriptionCursor
  • input: ACLInput, MailingListInput, MailingListWebhookInput, PreferencesInput, UserWebhookInput
  • enum: AccessKind, AccessScope, PatchsetStatus, ToolIcon, Visibility, WebhookEvent
  • interface: ACL, ActivitySubscription, Entity, WebhookPayload, WebhookSubscription
  • scalar: ConfirmationToken, Cursor, Time, URL, Upload

SQL tables (schema.sql)

access, email, gql_list_wh_delivery, gql_list_wh_sub, gql_user_wh_delivery, gql_user_wh_sub, list, mirror, patchset, patchset_tool, subscription, subscription_request, user

Migrations: 10 files, latest migrations/0010_add_supersedes_id.sql

Python blueprints (listssrht/blueprints/): archives, patches, settings, user

Python GraphQL queries (listssrht/graphql/): queries

Go packages: api, ingress


#man.sr.ht

Tag: 0.19.27

GraphQL types (api/graph/schema.graphqls)

  • type: Mutation, Query, Version
  • scalar: Cursor, Time, Upload

SQL tables (schema.sql)

backing_repo, root_wiki, user, wiki

Migrations: 3 files, latest migrations/0003_remove_backing_repo.sql

Python blueprints (mansrht/blueprints/): create, html, manage, public

Go binaries (cmd/): api


#meta.sr.ht

Tag: 0.88.4

GraphQL types (metasrht/schema.graphqls)

  • type: AuditLogCursor, AuditLogEntry, BillingAddress, BillingSubscription, Features, Invoice, InvoiceCursor, LoginSecurity, Mutation, OAuthClient, OAuthClientRegistration, OAuthGrant, OAuthGrantRegistration, OAuthPersonalToken, OAuthPersonalTokenRegistration, PGPKey, PGPKeyCursor, PGPKeyEvent, PaymentMethod, PaymentOutcome, Product, ProductPrice, ProfileUpdateEvent, ProfileWebhookSubscription, Query, SSHKey, SSHKeyCursor, SSHKeyEvent, StripePaymentIntent, StripeSetupIntent, TOTPConfig, User, Version, WebhookDelivery, WebhookDeliveryCursor, WebhookSubscriptionCursor
  • input: BillingAddressInput, ProductPriceInput, ProfileWebhookInput, UpdateBillingSubscriptionInput, UserInput
  • enum: AccessKind, AccessScope, Currency, PaymentIntentStatus, PaymentInterval, PaymentStatus, SetupIntentStatus, SubscriptionStatus, UserType, WebhookEvent
  • interface: Entity, PaymentIntent, SetupIntent, WebhookPayload, WebhookSubscription
  • scalar: Country, Cursor, Time, URL, Upload

SQL tables (schema.sql)

audit_log_entry, billing_address, gql_profile_wh_delivery, gql_profile_wh_sub, invoice, oauth2_client, oauth2_grant, oauthclient, oauthtoken, payment_method, pgpkey, product, product_price, reserved_usernames, sshkey, subscription, user, user_auth_factor, user_email_change, user_notes, user_password_change, user_payment_processor, user_registration, user_webhook_delivery, user_webhook_subscription, webhook_subscription

Migrations: 12 files, latest migrations/0012_make_fingerprint_nullable.sql

Python blueprints (metasrht/blueprints/): auth, billing, keys, oauth2, privacy, profile, security, users

Python GraphQL queries (metasrht/graphql/): admin, auth, billing, email, keys, oauth2, profile, security

Go binaries (cmd/): api


#pages.sr.ht

Tag: 0.17.12

GraphQL types (graph/schema.graphqls)

  • type: Mutation, OAuthClient, Query, Site, SiteACL, SiteACLCursor, SiteCursor, SiteEvent, User, UserWebhookSubscription, Version, WebhookDelivery, WebhookDeliveryCursor, WebhookSubscriptionCursor
  • input: ACLInput, FileConfig, FileOptions, SiteConfig, UserWebhookInput
  • enum: AccessKind, AccessScope, Protocol, WebhookEvent
  • interface: ACL, Entity, WebhookPayload, WebhookSubscription
  • scalar: Cursor, Time, Upload

SQL tables (schema.sql)

gql_user_wh_delivery, gql_user_wh_sub, site_access, sites, user

Migrations: 1 files, latest migrations/0001_switch_to_brant.sql

Go binaries (cmd/): daily, pages.sr.ht

Go packages: account, graph, webhooks


#paste.sr.ht

Tag: 0.19.1

GraphQL types (pastesrht/schema.graphqls)

  • type: File, Mutation, OAuthClient, Paste, PasteCursor, PasteEvent, Query, User, UserWebhookSubscription, Version, WebhookDelivery, WebhookDeliveryCursor, WebhookSubscriptionCursor
  • input: UserWebhookInput
  • enum: AccessKind, AccessScope, Visibility, WebhookEvent
  • interface: Entity, WebhookPayload, WebhookSubscription
  • scalar: Cursor, Time, URL, Upload

SQL tables (schema.sql)

blob, gql_user_wh_delivery, gql_user_wh_sub, paste, paste_file, user

Migrations: 3 files, latest migrations/0003_drop_legacy_tables.sql

Python blueprints (pastesrht/blueprints/): public

Python GraphQL queries (pastesrht/graphql/): mutations

Go binaries (cmd/): api


#sourcehut-go

Tag: (branch: master)

Go binaries (cmd/): git.sr.ht, meta.sr.ht

Go files (root): client.go, config.go, doc.go, entry.go, resources.go

Go packages: git.sr.ht, meta.sr.ht


#sourcehut-migrate

Tag: v0.3.1

Go binaries (cmd/): sourcehut-migrate


#sourcehut-ssh

Tag: 0.5.0

Go binaries (cmd/): sourcehut-ssh

Go packages: dispatch, handler, meta, shell, ssh


#sourcehut.org

Tag: (branch: master)


#sr.ht-apkbuilds

Tag: (branch: master)


#sr.ht-docs

Tag: (branch: master)


#sr.ht-nginx

Tag: (branch: master)


#sr.ht-pkgbuilds

Tag: (branch: master)


#srht.site

Tag: (branch: master)


#status.sr.ht

Tag: (branch: main)


#todo.sr.ht

Tag: 0.84.4

GraphQL types (todosrht/schema.graphqls)

  • type: ACLCursor, ActivitySubscriptionCursor, Assignment, Comment, Created, DefaultACL, EmailAddress, Event, EventCreated, EventCursor, ExternalUser, Label, LabelCursor, LabelEvent, LabelUpdate, Mutation, OAuthClient, Preferences, Query, StatusChange, Ticket, TicketCursor, TicketDeletedEvent, TicketEvent, TicketMention, TicketSubscription, TicketWebhookSubscription, Tracker, TrackerACL, TrackerCursor, TrackerEvent, TrackerSubscription, TrackerWebhookSubscription, User, UserMention, UserWebhookSubscription, Version, WebhookDelivery, WebhookDeliveryCursor, WebhookSubscriptionCursor
  • input: ACLInput, ImportInput, PreferencesInput, SubmitCommentEmailInput, SubmitCommentInput, SubmitTicketEmailInput, SubmitTicketInput, TicketWebhookInput, TrackerInput, TrackerWebhookInput, UpdateLabelInput, UpdateStatusInput, UpdateTicketInput, UserWebhookInput
  • enum: AccessKind, AccessScope, Authenticity, EmailCmd, EventType, TicketResolution, TicketStatus, Visibility, WebhookEvent
  • interface: ACL, ActivitySubscription, Entity, EventDetail, WebhookPayload, WebhookSubscription
  • scalar: Cursor, Time, URL, Upload

SQL tables (schema.sql)

event, event_notification, gql_ticket_wh_delivery, gql_ticket_wh_sub, gql_tracker_wh_delivery, gql_tracker_wh_sub, gql_user_wh_delivery, gql_user_wh_sub, label, participant, redirect, ticket, ticket_assignee, ticket_comment, ticket_label, ticket_subscription, tracker, user, user_access

Migrations: 5 files, latest migrations/0005_add_resource_ids.sql

Python blueprints (todosrht/blueprints/): html, settings, ticket, tracker

Python GraphQL queries (todosrht/graphql/): lmtp, settings, tickets, trackers

Go binaries (cmd/): api

Go packages: api


#Cross-repo GraphQL type map

When the same type name appears in multiple repos, it is a different type in each — they are not federated as one. Use this map to pick the right service before reading.

  • ACLCursor → git.sr.ht, todo.sr.ht
  • ACLInput → lists.sr.ht, pages.sr.ht, todo.sr.ht
  • AccessKind → builds.sr.ht, git.sr.ht, hub.sr.ht, lists.sr.ht, meta.sr.ht, pages.sr.ht, paste.sr.ht, todo.sr.ht
  • AccessScope → builds.sr.ht, git.sr.ht, hub.sr.ht, lists.sr.ht, meta.sr.ht, pages.sr.ht, paste.sr.ht, todo.sr.ht
  • ActivitySubscriptionCursor → lists.sr.ht, todo.sr.ht
  • Artifact → builds.sr.ht, git.sr.ht
  • Features → git.sr.ht, hub.sr.ht, meta.sr.ht
  • MailingList → hub.sr.ht, lists.sr.ht
  • MailingListCursor → hub.sr.ht, lists.sr.ht
  • Mutation → builds.sr.ht, git.sr.ht, hub.sr.ht, lists.sr.ht, man.sr.ht, meta.sr.ht, pages.sr.ht, paste.sr.ht, todo.sr.ht
  • OAuthClient → builds.sr.ht, git.sr.ht, lists.sr.ht, meta.sr.ht, pages.sr.ht, paste.sr.ht, todo.sr.ht
  • PGPKey → builds.sr.ht, meta.sr.ht
  • Preferences → lists.sr.ht, todo.sr.ht
  • PreferencesInput → lists.sr.ht, todo.sr.ht
  • Query → builds.sr.ht, git.sr.ht, hub.sr.ht, lists.sr.ht, man.sr.ht, meta.sr.ht, pages.sr.ht, paste.sr.ht, todo.sr.ht
  • SSHKey → builds.sr.ht, meta.sr.ht
  • Settings → builds.sr.ht, git.sr.ht
  • Tracker → hub.sr.ht, todo.sr.ht
  • TrackerCursor → hub.sr.ht, todo.sr.ht
  • Trailer → git.sr.ht, lists.sr.ht
  • User → builds.sr.ht, git.sr.ht, hub.sr.ht, lists.sr.ht, meta.sr.ht, pages.sr.ht, paste.sr.ht, todo.sr.ht
  • UserWebhookInput → builds.sr.ht, git.sr.ht, lists.sr.ht, pages.sr.ht, paste.sr.ht, todo.sr.ht
  • UserWebhookSubscription → builds.sr.ht, git.sr.ht, lists.sr.ht, pages.sr.ht, paste.sr.ht, todo.sr.ht
  • Version → builds.sr.ht, git.sr.ht, hub.sr.ht, lists.sr.ht, man.sr.ht, meta.sr.ht, pages.sr.ht, paste.sr.ht, todo.sr.ht
  • Visibility → builds.sr.ht, git.sr.ht, hub.sr.ht, lists.sr.ht, paste.sr.ht, todo.sr.ht
  • WebhookDelivery → builds.sr.ht, git.sr.ht, lists.sr.ht, meta.sr.ht, pages.sr.ht, paste.sr.ht, todo.sr.ht
  • WebhookDeliveryCursor → builds.sr.ht, git.sr.ht, lists.sr.ht, meta.sr.ht, pages.sr.ht, paste.sr.ht, todo.sr.ht
  • WebhookEvent → builds.sr.ht, git.sr.ht, lists.sr.ht, meta.sr.ht, pages.sr.ht, paste.sr.ht, todo.sr.ht
  • WebhookSubscriptionCursor → builds.sr.ht, git.sr.ht, lists.sr.ht, meta.sr.ht, pages.sr.ht, paste.sr.ht, todo.sr.ht