Skip to content

Conversation

AldanTanneo
Copy link

@AldanTanneo AldanTanneo commented Oct 20, 2025

Fixes #6469

This is a possible way of setting up COPR builds for jj, but it would need setting up an official jj account on https://copr.fedorainfracloud.org first.

On each release this would write the version (from the tag name) to the copr.spec file and schedule the build on COPR from it. It does not create packages for every dependency, instead it does an online build. No sources are bundled, the SRPM is created from the release tarball by the COPR infrastructure. This is how I set up my own COPR (https://github.com/AldanTanneo/copr-jj), but the Github action there has to check for new releases every day, whereas this action can just react to new releases.

Needed for working builds:

  • a COPR account named jujutsu (tbd)
  • a project in this account named jj-cli (tbd)
  • credentials for this account added to Github actions secrets: COPR_LOGIN, COPR_TOKEN.

Checklist

If applicable:

  • I have updated CHANGELOG.md
  • I have updated the documentation (README.md, docs/, demos/)
  • I have updated the config schema (cli/src/config-schema.json)
  • I have added/updated tests to cover my changes

@google-cla
Copy link

google-cla bot commented Oct 20, 2025

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

The following commits do not follow our format for subject lines:

  • bd1da7d: automated COPR builds on release

Commits should have a subject line following the format <topic>: <description>. Please review the commit guidelines for more information.

@github-actions github-actions bot dismissed their stale review October 20, 2025 10:47

All commits are now correctly formatted. Thank you for your contribution!

@AldanTanneo AldanTanneo changed the title Automated COPR builds on release packaging: automated COPR builds on release Oct 20, 2025
@AldanTanneo AldanTanneo marked this pull request as ready for review October 21, 2025 09:10
@AldanTanneo AldanTanneo requested a review from a team as a code owner October 21, 2025 09:10
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.

Publish a Jujutsu package for Fedora

1 participant