-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add blog post for non-divergent dist-git branches
Co-authored-by: Laura Barcziová <[email protected]> Co-authored-by: Matej Focko <[email protected]>
- Loading branch information
1 parent
076754a
commit 2a1ec4b
Showing
4 changed files
with
34 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
--- | ||
title: "No more divergent dist-git branches with Packit!" | ||
date: 2024-10-28T10:46:18+00:00 | ||
authors: mmassari | ||
tags: | ||
- propose-downstream | ||
- pull-from-upstream | ||
- downstream | ||
- configuration | ||
--- | ||
|
||
Were you annoyed by Packit creating divergent branches in your package's dist-git repository? You'll be happy to know that Packit now supports a new `dist_git_branches` syntax that enables fast-forwarding commits between branches. | ||
|
||
<!--truncate--> | ||
|
||
## What's New | ||
|
||
When defining a `propose-downstream` or `pull-from-upstream` job, you can use the new `dist_git_branches` syntax. | ||
|
||
``` | ||
dist_git_branches: | ||
rawhide: | ||
fast_forward_merge_into: [fedora-branched] | ||
epel-9: {} | ||
``` | ||
|
||
In this example, Packit runs the downstream synchronization process for the `rawhide` and `epel-9` branches as usual. Additionally, Packit opens a new pull request, reusing the commit from `rawhide`, for every `fedora-branched` branch, allowing it to be fast-forwarded when merging. | ||
|
||
Do you want to know more? Look at the [non-divergent dist-git branches guide](/docs/fedora-releases-guide/non-divergent-dist-git-branches) |