question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Autogenerate a new release PR by merging the dev/rc branch if it exists?

See original GitHub issue

Currently,

  • The bot is good at discovering new releases and generating a PR for it
  • According to CFEP-05 there can be a dev or rc branch publishing pre-releases (although the bot is currently not discovering new pre-release versions for us)

I am not suggesting to fix item 2, but am simply wondering if it is possible for the bot to take advantage of the fact that a dev/rc branch exists. Specifically, say a package with x.y.z.rc1 is released from the rc branch, when the bot sends a PR targeting the master branch for the official release x.y.z, it should also merge from the rc branch. The reason is that at this point some necessary changes in the recipe are likely already performed by package maintainers in the rc branch, and it’d be nice to simply copy them over to master instead of having maintainers touch the bot’s PR manually for such updates. Just a thought.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
beckermrcommented, Feb 24, 2021

That file is used for getting upstream versions. For the code that makes the PR, you want the class in the migrators submodule. We should move this convo to the cf-scripts repo.

1reaction
beckermrcommented, Feb 24, 2021

regro/cf-scripts

Read more comments on GitHub >

github_iconTop Results From Across the Web

Solved: automatic merging from master to release branches
Now, when we have a hotfix applied directly to master, it automatically merges into our develop branch, but not any release branches.
Read more >
Create PR against release branch from merged into develop ...
After the f branch is merged into develop we should create a PR to the new release branch. P.S. f branch is rebased...
Read more >
Discovery network interfaces from pci devices instead from Guest ...
This change enumerates the pci devices to list the netwerkinterfaces. After that , the guest information is used to provide the ipstack data....
Read more >
New pull request when one is already opened - Stack Overflow
Scenario 1: You created a PR branch-01 which contains a few commits containing all the work which needs to be merged back to...
Read more >
GIT - Pull Request & Merging - YouTube
Learn how to manage branches of your codebase. We will walk through creating a feature branch and submitting a pull request to the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found