Extension: repo
Generated by php build/docs/rvn-docs.php. Do not edit this file by hand.
Manifest
| Field | Value |
| --- | --- |
| slug | repo |
| name | Repositories |
| description | Mirror Git repositories into Raven with optional public browsing. |
| type | module |
| author | Novelty Lanterns |
| homepage | https://lanterns.io/raven |
| docs | https://lanterns.io/raven |
Provider Files
private/ext/repo/cron.phpprivate/ext/repo/ext.phpprivate/ext/repo/fields.phpprivate/ext/repo/routes_panel.phpprivate/ext/repo/routes_public.phpprivate/ext/repo/schema.phpprivate/ext/repo/shortcodes.php
Component Directories
private/ext/repo/bin/private/ext/repo/lib/private/ext/repo/tpl/
Route And Service Dependency Map
private/ext/repo/routes_panel.php
- File-level
rvnkeys:config,csrf,extension_services,input,panel_site_data,root,view - File-level context keys:
currentUserTheme,extensionServices,panelUrl,renderPublicNotFound,requirePanelLogin,rvn - Extension service keys:
service - Extension service dirs:
repo
| Method | Path | Handler | Captures | Inferred Dependencies |
| --- | --- | --- | --- | --- |
| GET | /repo | inline-closure | deleteBasePath, editBasePath, extensionMeta, indexPath, indexViewFile, logsPath, normalizeRepoSlug, pullFlash, renderView, requirePanelLogin, savePath, settingsPath, sourceRowsForForm, svc, syncBasePath | context:currentUserTheme, context:requirePanelLogin, rvn:*, rvn:input, symbol:$normalizeRepoSlug |
| GET | /repo/settings | inline-closure | extensionMeta, indexPath, logsPath, pullFlash, renderView, requirePanelLogin, settingsPath, settingsViewFile, svc | context:currentUserTheme, context:requirePanelLogin, rvn:* |
| POST | /repo/settings | inline-closure | flash, requirePanelLogin, rvn, settingsPath, svc | context:requirePanelLogin, rvn:* |
| GET | /repo/edit/{slug} | inline-closure | deleteBasePath, editViewFile, extensionMeta, indexPath, logsPath, normalizeRepoSlug, pullFlash, renderNotFound, renderView, requirePanelLogin, savePath, sourceRowsForForm, svc, syncBasePath | context:currentUserTheme, context:renderPublicNotFound, context:requirePanelLogin, rvn:*, rvn:input, symbol:$normalizeRepoSlug |
| POST | /repo/save | inline-closure | deriveRepoIdentityFromUrl, editBasePath, flash, indexPath, normalizeRepoSlug, normalizeSourceRows, requirePanelLogin, rvn, svc | context:requirePanelLogin, rvn:*, rvn:input, symbol:$deriveRepoIdentityFromUrl, symbol:$normalizeRepoSlug |
| POST | /repo/sync/{slug} | inline-closure | editBasePath, flash, indexPath, normalizeRepoSlug, requirePanelLogin, rvn, svc | context:requirePanelLogin, rvn:*, rvn:input, symbol:$normalizeRepoSlug |
| POST | /repo/delete/{slug} | inline-closure | flash, indexPath, normalizeRepoSlug, requirePanelLogin, rvn, svc | context:requirePanelLogin, rvn:*, rvn:input, symbol:$normalizeRepoSlug |
| GET | /repo/logs | inline-closure | extensionMeta, indexPath, logsPath, logsViewFile, normalizeRepoSlug, pullFlash, renderView, requirePanelLogin, settingsPath, svc | context:currentUserTheme, context:requirePanelLogin, rvn:*, rvn:input, symbol:$normalizeRepoSlug |
private/ext/repo/routes_public.php
- File-level
rvnkeys:config - File-level context keys:
extensionServices,notFound,renderPublicExtension,rvn - Extension service keys:
(none) - Extension service dirs:
(none)
| Method | Path | Handler | Captures | Inferred Dependencies |
| --- | --- | --- | --- | --- |
| GET | /repo | inline-closure | indexUrl, notFound, renderPage, repoService | context:extensionServices, context:notFound, context:renderPublicExtension, rvn:*, symbol:$extensionServicesProvider, symbol:$repoService |
| GET | /repo/{slug} | inline-closure | indexUrl, normalizeRepoSlug, notFound, renderPage, repoService | context:extensionServices, context:notFound, context:renderPublicExtension, rvn:*, symbol:$extensionServicesProvider, symbol:$normalizeRepoSlug, symbol:$repoService |
| GET | /repo/{slug}/raw | inline-closure | normalizeRepoSlug, notFound, repoService, streamFile | context:extensionServices, context:notFound, symbol:$extensionServicesProvider, symbol:$normalizeRepoSlug, symbol:$repoService |
| GET | /repo/{slug}/download | inline-closure | normalizeRepoSlug, notFound, repoService, streamFile | context:extensionServices, context:notFound, symbol:$extensionServicesProvider, symbol:$normalizeRepoSlug, symbol:$repoService |
| GET | /repo/{slug}/archive | inline-closure | normalizeRepoSlug, notFound, repoService, streamFile | context:extensionServices, context:notFound, symbol:$extensionServicesProvider, symbol:$normalizeRepoSlug, symbol:$repoService |
Library Symbols
| Symbol | Kind | Summary | @return |
| --- | --- | --- | --- |
| archiveFilename() | function | (No summary.) | string |
| autoUpdateOptions() | function | Returns select-option labels for per-repo auto-update overrides. | array<string, string> Auto-update options keyed by stored value. |
| baseUrl() | function | Returns the absolute base URL for the current Raven install. | string Site base URL including mount path when installed in a subdirectory. |
| buildArchive() | function | Builds one archive export payload for a public repository ref. | array<string, mixed> Temp-file archive payload. |
| buildBreadcrumbs() | function | (No summary.) | array<int, array<string, string>> |
| buildBrowsePayload() | function | Builds one public browser payload for a repository detail page. | array<string, mixed> Repo view payload for public templates. |
| buildFilePreview() | function | Returns one file preview payload for inline public rendering. | array<string, mixed> File preview payload. |
| buildReadmePreview() | function | (No summary.) | array<string, mixed>\|null |
| cloneUrl() | function | Returns the public clone URL for one repository when its objects are exposed publicly. | string Clone URL, or an empty string when cloning is not public. |
| decorateRepo() | function | Decorates one raw registry row with derived runtime fields. | array<string, mixed> Decorated runtime row. |
| detectDefaultBranch() | function | (No summary.) | string |
| detectMimeType() | function | (No summary.) | string |
| detectSpecialFiles() | function | (No summary.) | array{readmepath: string, licensepath: string} |
| directorySize() | function | (No summary.) | int |
| frequencyOptions() | function | Returns select-option labels for repo update frequency. | array<string, string> Frequency options keyed by stored value. |
| getRequiredRepo() | function | Returns one normalized repository row or throws when missing. | array<string, mixed> Decorated repository row. |
| int() | function | (No summary.) | (No @return.) |
| isLikelyText() | function | (No summary.) | bool |
| isValidBareRepoPath() | function | (No summary.) | bool |
| listBranches() | function | (No summary.) | array<int, string> |
| listTreeEntries() | function | (No summary.) | array<int, array<string, mixed>> |
| load() | function | Loads one Markdown file from a mirrored repository reference. | string\|null Markdown contents, or null when the reference is invalid or unavailable. |
| localRepositoryPath() | function | (No summary.) | string |
| log() | function | (No summary.) | void |
| logEventOptions() | function | Returns checkbox labels for log event filtering. | array<string, string> Log event labels keyed by stored event value. |
| migrateRepositoryStorageIfNeeded() | function | (No summary.) | void Moves mirror storage when visibility changes between local/public modes. |
| normalizeAutoUpdate() | function | (No summary.) | string |
| normalizeFrequency() | function | (No summary.) | string |
| normalizeRefName() | function | (No summary.) | string |
| normalizeSlug() | function | (No summary.) | string |
| normalizeSourceRows() | function | (No summary.) | array<int, array{label: string, url: string, branch: string}> |
| normalizeStorage() | function | (No summary.) | string |
| normalizeVisibility() | function | (No summary.) | string |
| objectSizeAtPath() | function | (No summary.) | int\|null |
| objectTypeAtPath() | function | (No summary.) | string |
| parseMarkdownReference() | function | Parses and validates one repository-backed Markdown reference. | array{slug: string, path: string, ref: string\|null}\|null Normalized reference, or null when invalid. |
| parseScheduledTimestamp() | function | Normalizes one stored timestamp string for scheduler due comparisons. | int\|null Unix timestamp, or null when the value is unusable. |
| publicRepositoryPath() | function | (No summary.) | string |
| publicRepositoryWebPath() | function | (No summary.) | string |
| Raven\Ext\Repo\RepoLogStore::__construct() | method | Persists and filters Repo extension log entries. | (No @return.) |
| Raven\Ext\Repo\RepoLogStore::all() | method | Returns all log rows sorted newest-first. | array<int, array<string, mixed>> Matching log rows. |
| Raven\Ext\Repo\RepoLogStore::append() | method | Appends one normalized log row. | array<string, mixed> The row that was written. |
| Raven\Ext\Repo\RepoLogStore::int() | method | (No summary.) | (No @return.) |
| Raven\Ext\Repo\RepoLogStore::path() | method | Returns the absolute log file path. | string Absolute private/dat/ext/repo/.log.json path. |
| Raven\Ext\Repo\RepoLogStore::pruneOlderThan() | method | Removes log rows older than the requested number of days. | int Number of deleted rows. |
| Raven\Ext\Repo\RepoLogStore::recentErrors() | method | Returns recent error rows, newest first. | array<int, array<string, mixed>> Matching error rows. |
| Raven\Ext\Repo\RepoRegistryStore::__construct() | method | Persists configured repository records and per-repo overrides. | (No @return.) |
| Raven\Ext\Repo\RepoRegistryStore::all() | method | Returns all normalized repository records keyed by slug. | array<string, array<string, mixed>> Registry rows keyed by slug. |
| Raven\Ext\Repo\RepoRegistryStore::get() | method | Returns one normalized repository row by slug. | array<string, mixed>\|null Matching record when present. |
| Raven\Ext\Repo\RepoRegistryStore::int() | method | (No summary.) | (No @return.) |
| Raven\Ext\Repo\RepoRegistryStore::path() | method | Returns the absolute registry file path. | string Absolute private/dat/ext/repo/.registry.json path. |
| Raven\Ext\Repo\RepoRegistryStore::put() | method | Inserts or updates one repository row. | array<string, mixed> Normalized row that was written. |
| Raven\Ext\Repo\RepoRegistryStore::remove() | method | Deletes one repository row by slug. | array<string, mixed>\|null Removed row when present. |
| Raven\Ext\Repo\RepoService::__construct() | method | (No summary.) | (No @return.) |
| Raven\Ext\Repo\RepoService::deleteRepo() | method | Deletes one repository row and its mirrored storage. | array<string, mixed>\|null Removed repository row when present. |
| Raven\Ext\Repo\RepoService::getRepo() | method | Returns one decorated repository row by slug. | array<string, mixed>\|null Decorated row when present. |
| Raven\Ext\Repo\RepoService::logs() | method | Returns recent or complete log rows, newest first. | array<int, array<string, mixed>> Matching log rows. |
| Raven\Ext\Repo\RepoService::newRepoDefaults() | method | Returns a starter payload for a new repository form. | array<string, mixed> Default row used by the create/import UI. |
| Raven\Ext\Repo\RepoService::publicRepoList() | method | Returns all publicly visible repositories decorated for public rendering. | array<int, array<string, mixed>> Publicly listed repository rows. |
| Raven\Ext\Repo\RepoService::recentErrors() | method | Returns recent error rows for list and edit-page warning banners. | array<int, array<string, mixed>> Recent error rows. |
| Raven\Ext\Repo\RepoService::repoList() | method | Returns all configured repositories decorated with effective runtime fields. | array<int, array<string, mixed>> Decorated repository rows. |
| Raven\Ext\Repo\RepoService::saveRepo() | method | Creates or updates one repository record. | array<string, mixed> Decorated row that was saved. |
| Raven\Ext\Repo\RepoService::saveSettings() | method | Persists global extension settings and prunes logs to the new retention target. | array<string, mixed> Normalized settings that were written. |
| Raven\Ext\Repo\RepoService::schedulerAvailable() | method | Returns whether this Raven branch exposes the shared scheduler registry. | bool True when core exposes the scheduler registry contract. |
| Raven\Ext\Repo\RepoService::settings() | method | Returns normalized global extension settings. | array<string, mixed> Repo module settings payload. |
| Raven\Ext\Repo\RepoService::syncRepo() | method | Syncs one repository mirror from its configured upstream list. | array<string, mixed> Decorated repository row after sync. |
| Raven\Ext\Repo\RepoSettingsStore::__construct() | method | Persists and normalizes global Repo extension settings. | (No @return.) |
| Raven\Ext\Repo\RepoSettingsStore::allowedFrequencies() | method | Returns supported frequency values for global and per-repo scheduling intent. | array<int, string> Allowed frequency keys. |
| Raven\Ext\Repo\RepoSettingsStore::allowedLogEvents() | method | Returns the supported log event keys. | array<int, string> Allowed event-type keys. |
| Raven\Ext\Repo\RepoSettingsStore::allowedVisibilityModes() | method | Returns supported global/public visibility defaults. | array<int, string> Allowed visibility keys. |
| Raven\Ext\Repo\RepoSettingsStore::defaults() | method | Returns factory-default Repo settings. | array<string, mixed> Default settings payload. |
| Raven\Ext\Repo\RepoSettingsStore::load() | method | Returns normalized settings from disk or defaults when missing. | array<string, mixed> Repo extension settings payload. |
| Raven\Ext\Repo\RepoSettingsStore::path() | method | Returns the absolute settings file path. | string Absolute private/dat/ext/repo/.settings.json path. |
| Raven\Ext\Repo\RepoSettingsStore::save() | method | Normalizes and persists one settings payload. | array<string, mixed> Normalized settings payload. |
| Raven\Ext\Repo\RepoShortcodeRuntime::__construct() | method | Renders embeds through Raven's generic shortcode runtime contract. | (No @return.) |
| Raven\Ext\Repo\RepoShortcodeRuntime::extensionKey() | method | Returns the owning extension key used by Raven's enabled-state checks. | string Enabled extension directory slug. |
| Raven\Ext\Repo\RepoShortcodeRuntime::render() | method | Renders one repository embed for a matched shortcode. | string Rendered HTML fragment. |
| Raven\Ext\Repo\RepoShortcodeRuntime::type() | method | Returns the shortcode type token. | string Runtime token used by Raven's shortcode parser. |
| Raven\Ext\Repo\RepoStorageSupport::ensureParentDirectory() | method | Ensures the parent directory exists for one target file path. | void Parent directory is created when missing. |
| Raven\Ext\Repo\RepoStorageSupport::loadJsonArrayFile() | method | Loads one JSON-array file and falls back safely when missing or invalid. | array<int, array<string, mixed>> Decoded log/list payload. |
| Raven\Ext\Repo\RepoStorageSupport::loadJsonObjectFile() | method | Loads one JSON-object file and falls back safely when missing or invalid. | array<string, mixed> Decoded object payload, or an empty array when unavailable. |
| Raven\Ext\Repo\RepoStorageSupport::writeJsonArrayFile() | method | Writes one JSON array file using pretty-printing for human inspection. | void File is written atomically with lock semantics. |
| Raven\Ext\Repo\RepoStorageSupport::writeJsonObjectFile() | method | Writes one JSON object file using pretty-printing for human inspection. | void File is written atomically with lock semantics. |
| readPublicFile() | function | Streams one public repository file into a temporary file for raw/download responses. | array<string, mixed> Temp-file response payload. |
| refreshRepositoryMetadata() | function | Refreshes derived branch/special-file metadata after a successful sync. | array<string, mixed> Decorated repository row after refresh. |
| repoIsDueForScheduledSync() | function | Returns whether one decorated repository row is due for a scheduler-driven sync. | bool True when the repo's effective frequency window has elapsed. |
| resolveAutoUpdateValue() | function | (No summary.) | bool |
| resolveCommitHash() | function | (No summary.) | string |
| resolveFrequencyValue() | function | (No summary.) | string |
| resolvePreferredRef() | function | (No summary.) | string |
| resolveVisibilityValue() | function | (No summary.) | string |
| runGitOutput() | function | Executes one Git command and returns raw stdout without trimming whitespace. | string Raw stdout bytes. |
| runGitOutputToFile() | function | Executes one Git command and writes stdout directly to a target file. | void Target file receives the command stdout. |
| runScheduledSyncPass() | function | Runs one scheduler pass across all repositories whose auto-update windows are due. | array{checked: int, due: int, synced: int, failed: int, skipped: int, pruned_logs: int, results: array<int, array{slug: string, status: string, message: string}>} Scheduler pass summary. |
| sanitizeErrorMessage() | function | (No summary.) | string |
| sanitizePath() | function | Sanitizes a repo-relative path passed through query parameters. | string Safe repo-relative path, or an empty string for root/invalid input. |
| scheduledFrequencyInterval() | function | Returns the scheduler interval in seconds for one effective frequency key. | int Interval in seconds. |
| schedulerMode() | function | Returns the active fallback scheduler mode from system configuration. | string One of off, panel, or always. |
| storageForVisibility() | function | (No summary.) | string |
| storageOptions() | function | Returns select-option labels for repo storage mode. | array<string, string> Storage-mode options keyed by stored value. |
| syncMirrorFromSource() | function | (No summary.) | void |
| visibilityOptions() | function | Returns select-option labels for repo visibility. | array<string, string> Visibility options keyed by stored value. |
Parameter Details
archiveFilename()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
autoUpdateOptions()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
bool $includeSystem Whether to include \system\in the returned map.
baseUrl()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
void
buildArchive()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string $slug Repository slug.string|null $requestedRef Optional branch/ref request.string $format Archive format (\zip\or \tar\).
buildBreadcrumbs()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
buildBrowsePayload()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string $slug Repository slug.string|null $requestedRef Optional branch/ref request.string $requestedPath Optional repo-relative path.bool $includeReadme Whether directory README auto-include remains enabled.
buildFilePreview()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string $repoPath Absolute mirror path.string $ref Resolved branch/ref.string $path Repo-relative file path.
buildReadmePreview()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
array<int, array<string, mixed>> $entries
cloneUrl()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
array<string, mixed> $repo Decorated repository row.
decorateRepo()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
array<string, mixed> $repo Raw registry row.
detectDefaultBranch()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
array<int, string> $branches
detectMimeType()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
detectSpecialFiles()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
directorySize()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
frequencyOptions()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
bool $includeSystem Whether to include \system\in the returned map.
getRequiredRepo()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string $slug Repository slug.
int()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
isLikelyText()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
isValidBareRepoPath()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
listBranches()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
listTreeEntries()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
load()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string $reference Repository-backed Markdown reference.
localRepositoryPath()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
log()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
logEventOptions()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
void
migrateRepositoryStorageIfNeeded()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
array<string, mixed>|null $existing Raw existing row before save.array<string, mixed> $saved Decorated saved row after save.
normalizeAutoUpdate()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
normalizeFrequency()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
normalizeRefName()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
normalizeSlug()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
normalizeSourceRows()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
normalizeStorage()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
normalizeVisibility()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
objectSizeAtPath()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
objectTypeAtPath()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
parseMarkdownReference()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string $reference Raw URI-like reference from a page body block.
parseScheduledTimestamp()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string $value ISO-like timestamp string from repo state.
publicRepositoryPath()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
publicRepositoryWebPath()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
Raven\Ext\Repo\RepoLogStore::__construct()
- File:
private/ext/repo/lib/Repo/RepoLogStore.php - Params:
(none)
Raven\Ext\Repo\RepoLogStore::all()
- File:
private/ext/repo/lib/Repo/RepoLogStore.php - Params:
string|null $slug Optional repository slug filter.
Raven\Ext\Repo\RepoLogStore::append()
- File:
private/ext/repo/lib/Repo/RepoLogStore.php - Params:
string $event Stable event key.string $level Severity label (\info\, \warn\, or \error\).string $message Human-readable event message.string|null $slug Optional repository slug.array<string, mixed> $context Optional structured context.
Raven\Ext\Repo\RepoLogStore::int()
- File:
private/ext/repo/lib/Repo/RepoLogStore.php - Params:
(none)
Raven\Ext\Repo\RepoLogStore::path()
- File:
private/ext/repo/lib/Repo/RepoLogStore.php - Params:
void
Raven\Ext\Repo\RepoLogStore::pruneOlderThan()
- File:
private/ext/repo/lib/Repo/RepoLogStore.php - Params:
int $days Retention window in whole days.
Raven\Ext\Repo\RepoLogStore::recentErrors()
- File:
private/ext/repo/lib/Repo/RepoLogStore.php - Params:
string|null $slug Optional repository slug filter.int $limit Maximum number of rows to return.
Raven\Ext\Repo\RepoRegistryStore::__construct()
- File:
private/ext/repo/lib/Repo/RepoRegistryStore.php - Params:
(none)
Raven\Ext\Repo\RepoRegistryStore::all()
- File:
private/ext/repo/lib/Repo/RepoRegistryStore.php - Params:
void
Raven\Ext\Repo\RepoRegistryStore::get()
- File:
private/ext/repo/lib/Repo/RepoRegistryStore.php - Params:
string $slug Requested repository slug.
Raven\Ext\Repo\RepoRegistryStore::int()
- File:
private/ext/repo/lib/Repo/RepoRegistryStore.php - Params:
(none)
Raven\Ext\Repo\RepoRegistryStore::path()
- File:
private/ext/repo/lib/Repo/RepoRegistryStore.php - Params:
void
Raven\Ext\Repo\RepoRegistryStore::put()
- File:
private/ext/repo/lib/Repo/RepoRegistryStore.php - Params:
array<string, mixed> $record Raw repository payload.
Raven\Ext\Repo\RepoRegistryStore::remove()
- File:
private/ext/repo/lib/Repo/RepoRegistryStore.php - Params:
string $slug Repository slug.
Raven\Ext\Repo\RepoService::__construct()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
object $config Raven config service from the shared app container.
Raven\Ext\Repo\RepoService::deleteRepo()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string $slug Repository slug.
Raven\Ext\Repo\RepoService::getRepo()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string $slug Repository slug.
Raven\Ext\Repo\RepoService::logs()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string|null $slug Optional repository slug filter.int $limit Maximum number of rows to return.
Raven\Ext\Repo\RepoService::newRepoDefaults()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
void
Raven\Ext\Repo\RepoService::publicRepoList()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
void
Raven\Ext\Repo\RepoService::recentErrors()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string|null $slug Optional repository slug filter.int $limit Maximum number of rows to return.
Raven\Ext\Repo\RepoService::repoList()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
void
Raven\Ext\Repo\RepoService::saveRepo()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
array<string, mixed> $payload Raw repository form payload.
Raven\Ext\Repo\RepoService::saveSettings()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
array<string, mixed> $settings Raw settings payload from panel input.
Raven\Ext\Repo\RepoService::schedulerAvailable()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
void
Raven\Ext\Repo\RepoService::settings()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
void
Raven\Ext\Repo\RepoService::syncRepo()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string $slug Repository slug.
Raven\Ext\Repo\RepoSettingsStore::__construct()
- File:
private/ext/repo/lib/Repo/RepoSettingsStore.php - Params:
(none)
Raven\Ext\Repo\RepoSettingsStore::allowedFrequencies()
- File:
private/ext/repo/lib/Repo/RepoSettingsStore.php - Params:
void
Raven\Ext\Repo\RepoSettingsStore::allowedLogEvents()
- File:
private/ext/repo/lib/Repo/RepoSettingsStore.php - Params:
void
Raven\Ext\Repo\RepoSettingsStore::allowedVisibilityModes()
- File:
private/ext/repo/lib/Repo/RepoSettingsStore.php - Params:
void
Raven\Ext\Repo\RepoSettingsStore::defaults()
- File:
private/ext/repo/lib/Repo/RepoSettingsStore.php - Params:
void
Raven\Ext\Repo\RepoSettingsStore::load()
- File:
private/ext/repo/lib/Repo/RepoSettingsStore.php - Params:
void
Raven\Ext\Repo\RepoSettingsStore::path()
- File:
private/ext/repo/lib/Repo/RepoSettingsStore.php - Params:
void
Raven\Ext\Repo\RepoSettingsStore::save()
- File:
private/ext/repo/lib/Repo/RepoSettingsStore.php - Params:
array<string, mixed> $settings Raw settings payload.
Raven\Ext\Repo\RepoShortcodeRuntime::__construct()
- File:
private/ext/repo/lib/Repo/RepoShortcodeRuntime.php - Params:
(none)
Raven\Ext\Repo\RepoShortcodeRuntime::extensionKey()
- File:
private/ext/repo/lib/Repo/RepoShortcodeRuntime.php - Params:
(none)
Raven\Ext\Repo\RepoShortcodeRuntime::render()
- File:
private/ext/repo/lib/Repo/RepoShortcodeRuntime.php - Params:
array{slug: string, raw_args: string} $context Shortcode render context.
Raven\Ext\Repo\RepoShortcodeRuntime::type()
- File:
private/ext/repo/lib/Repo/RepoShortcodeRuntime.php - Params:
(none)
Raven\Ext\Repo\RepoStorageSupport::ensureParentDirectory()
- File:
private/ext/repo/lib/Repo/RepoStorageSupport.php - Params:
string $path Absolute file path that will be written.
Raven\Ext\Repo\RepoStorageSupport::loadJsonArrayFile()
- File:
private/ext/repo/lib/Repo/RepoStorageSupport.php - Params:
string $path Absolute file path.
Raven\Ext\Repo\RepoStorageSupport::loadJsonObjectFile()
- File:
private/ext/repo/lib/Repo/RepoStorageSupport.php - Params:
string $path Absolute file path.
Raven\Ext\Repo\RepoStorageSupport::writeJsonArrayFile()
- File:
private/ext/repo/lib/Repo/RepoStorageSupport.php - Params:
string $path Absolute file path.array<int, array<string, mixed>> $payload Array payload to persist.
Raven\Ext\Repo\RepoStorageSupport::writeJsonObjectFile()
- File:
private/ext/repo/lib/Repo/RepoStorageSupport.php - Params:
string $path Absolute file path.array<string, mixed> $payload Object payload to persist.
readPublicFile()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string $slug Repository slug.string|null $requestedRef Optional branch/ref request.string $requestedPath Repo-relative file path.
refreshRepositoryMetadata()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string $slug Repository slug.string $repoPath Absolute mirror path.string $attemptedAt Timestamp captured before sync work began.string $sourceLabel Human-friendly label for the source that succeeded.int $sourceIndex Zero-based source row index that produced the successful sync.
repoIsDueForScheduledSync()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
array<string, mixed> $repo Decorated repository row.int $now Unix timestamp used for the due comparison.
resolveAutoUpdateValue()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
resolveCommitHash()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
resolveFrequencyValue()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
resolvePreferredRef()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
array<string, mixed> $repo Decorated repository row.
resolveVisibilityValue()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
runGitOutput()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
array<int, string> $arguments Git argument vector.string|null $cwd Optional working directory.
runGitOutputToFile()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
array<int, string> $arguments Git argument vector.string $cwd Working directory for the git command.string $target Absolute temp file path.
runScheduledSyncPass()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
int|null $now Optional Unix timestamp override for deterministic checks.
sanitizeErrorMessage()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
sanitizePath()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string $path Raw path value from input or query params.
scheduledFrequencyInterval()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
string $frequency Effective frequency key.
schedulerMode()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
void
storageForVisibility()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
storageOptions()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
void
syncMirrorFromSource()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
(none)
visibilityOptions()
- File:
private/ext/repo/lib/Repo/RepoService.php - Params:
bool $includeSystem Whether to include \system\in the returned map.