Skip to content

Conversation

@jaudiger
Copy link
Contributor

Add new script and interface for live updating a project based on the latest release tag from a Gitea repository.

The interface is very similar to what is done with GitLab today. And its usage should be pretty straightforward:

export const project = {
  name: "gitea_docs",
  version: "0.1.0",
  repository: "https://gitea.com/gitea/docs.git",
};

export function liveUpdate(): std.Recipe<std.Directory> {
  return std.liveUpdateFromGiteaReleases({
    project,
    matchTag: /^v(?<version>.+)$/,
  });
}

…roject based on the latest release tag from a Gitea

repository.

Signed-off-by: Jérémy Audiger <[email protected]>
@jaudiger jaudiger requested a review from kylewlacy October 13, 2025 18:43
@jaudiger jaudiger self-assigned this Oct 13, 2025
@jaudiger
Copy link
Contributor Author

@kylewlacy Once merged, I'll upstream a package that requires this new method to check for new updates.

Copy link
Member

@kylewlacy kylewlacy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@kylewlacy kylewlacy added this pull request to the merge queue Oct 15, 2025
Merged via the queue into brioche-dev:main with commit 2e45613 Oct 15, 2025
3 checks passed
@jaudiger jaudiger deleted the add-gitea-live-update branch October 15, 2025 14:45
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.

2 participants