Skip to content

feat: Show manual backport instructions - #359

Merged
skjnldsv merged 1 commit into
masterfrom
feat/manual-backport-instructions
Jan 26, 2023
Merged

skjnldsv merged 1 commit into
masterfrom
feat/manual-backport-instructions

Conversation

@ChristophWurst

Copy link
Copy Markdown
Member

This is hopefully helpful for everyone new to the concept of "backporting manually".

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst added the enhancement New feature or request label Jan 25, 2023
@ChristophWurst ChristophWurst self-assigned this Jan 25, 2023
@ChristophWurst

Copy link
Copy Markdown
Member Author

Some checks were not successful

Now what? 🐟 🍥 🐠

@skjnldsv

skjnldsv commented Jan 26, 2023 •

Copy link
Copy Markdown
Member
#3 ERROR: failed to do request: Head "https://registry-1.docker.io/v2/nextcloudci/node/manifests/node-7": net/http: TLS handshake timeout
------
 > [internal] load metadata for docker.io/nextcloudci/node:node-7:
------
Dockerfile:1
--------------------
   1 | >>> FROM nextcloudci/node:node-7
   2 |     
   3 |     RUN apk add python
--------------------
ERROR: failed to solve: nextcloudci/node:node-7: failed to do request: Head "https://registry-1.docker.io/v2/nextcloudci/node/manifests/node-7": net/http: TLS handshake timeout
Error: buildx failed with: ERROR: failed to solve: nextcloudci/node:node-7: failed to do request: Head "https://registry-1.docker.io/v2/nextcloudci/node/manifests/node-7": net/http: TLS handshake timeout

@skjnldsv
skjnldsv merged commit d00ce08 into master Jan 26, 2023
@skjnldsv
skjnldsv deleted the feat/manual-backport-instructions branch January 26, 2023 06:24
@skjnldsv

Copy link
Copy Markdown
Member

pull_request:
branches: [ master ]

Maybe it's not such a good idea 🤔

@nickvergessen nickvergessen left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Still a nice improvement!

Comment thread lib/pr.js
git pull origin/${target.branch}

# Create the new backport branch
git checkout -b fix/foo-${target.branch}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
git checkout -b fix/foo-${target.branch}
git checkout -b backport/${ there is a var for the PR number I guess}/${target.branch}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

tbh I was too lazy to get it to a 100%

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

All good, as said, already a huge improvement

Comment thread lib/pr.js

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts. Resolve them.
git cherry-pick abc123

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We could even list all the commit ids?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

yes! could :P

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants