Skip to content

Conversation

@nlabriet
Copy link
Contributor

@nlabriet nlabriet commented Sep 4, 2025

Hello,

I wanted to send this patch but my company's email client makes it hard to reply to mailing lists.
I hope we can have the discussion here and I will eventually send the patch to the mailing list.

Since eb4d112 when commit and branch are specified, kas checks if the commit is actually contained in the branch.
This makes it impossible to have a branch set for a repo but use a commit override to build a merge request on this repo (obviously not yet on the specified branch).

This change allows the branch property of repos to be overridden to a specific value, or even to Null.

Let me know if the branch override should only accept the Null value. In my use case this is the only value I am interested in.

Regards,
Nicolas

@jan-kiszka
Copy link
Collaborator

I can forward your patch already to the list, putting your email on CC, so that we have transparency in both directions.

@jan-kiszka
Copy link
Collaborator

BTW, you can also use a different email (gmail etc.) than your author address for submitting and interacting. Important is the extra "From: ..." at the top of the commit message to ensure that attribution goes to your company. You should see what I mean in my forwarding.

@fmoessbauer
Copy link
Member

@nlabriet Thanks for looking into this (we spoke about it at the OSSEU conference). I'll do the review and comments on the ML.

@nlabriet
Copy link
Contributor Author

nlabriet commented Sep 4, 2025

Yes, thanks for pointing out kas dump, it was really useful.

@nlabriet
Copy link
Contributor Author

I updated the patch with the modification of format-changelog.

I am using the branch override with a regular kas file appended on the kas command line.
Anyway, I tested the lock --update and it keeps whatever the branch property was set to.

@jan-kiszka
Copy link
Collaborator

Need someone to forward to the list again?

@nlabriet
Copy link
Contributor Author

Yes please, keeping the mailing list history

Since eb4d112 when commit and branch are specified, kas checks if the
commit is actually contained in the branch.
This makes it impossible to have a branch set for a repo but use a
commit override to build a merge request on this repo (obviously not
yet on the specified branch).

This change allows the branch property of repos to be overridden to a
specific value, or even to Null.

Signed-off-by: Nicolas Labriet <[email protected]>
@nlabriet
Copy link
Contributor Author

I've updated the maximal config version in the schema.
@jan-kiszka can you also push this new patch.

Thank you for the review, I will figure out how to interact on the ML for the next issue.

@jan-kiszka jan-kiszka force-pushed the next branch 2 times, most recently from 2f4115f to 7b26b5e Compare September 22, 2025 06:25
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.

3 participants