Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bypass warning about detached head #906

Merged
merged 1 commit into from
Dec 27, 2023
Merged

Bypass warning about detached head #906

merged 1 commit into from
Dec 27, 2023

Conversation

imjasonh
Copy link
Member

This avoids log spam like this:

⚠️  aarch64   | Cloning into '/tmp/tmp.Dvzsqj'...
⚠️  aarch64   | Note: switching to 'ec85d900b413d3d9d6f60cece3fb5bc665275087'.
⚠️  aarch64   | 
⚠️  aarch64   | You are in 'detached HEAD' state. You can look around, make experimental
⚠️  aarch64   | changes and commit them, and you can discard any commits you make in this
⚠️  aarch64   | state without impacting any branches by switching back to a branch.
⚠️  aarch64   | 
⚠️  aarch64   | If you want to create a new branch to retain commits you create, you may
⚠️  aarch64   | do so (now or later) by using -c with the switch command. Example:
⚠️  aarch64   | 
⚠️  aarch64   |   git switch -c <new-branch-name>
⚠️  aarch64   | 
⚠️  aarch64   | Or undo this operation with:
⚠️  aarch64   | 
⚠️  aarch64   |   git switch -
⚠️  aarch64   | 
⚠️  aarch64   | Turn off this advice by setting config variable advice.detachedHead to false
⚠️  aarch64   | 
Updating files: 100% (48253/48253), done./48253)

Copy link
Member

@vaikas vaikas left a comment

Choose a reason for hiding this comment

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

Thank you!

@vaikas
Copy link
Member

vaikas commented Dec 27, 2023

Not in this PR, but there's a ton of other spam there that we may at some point reduce as well. Mainly when it's copying the . to the container (I think, or at least that's what it looks like to me).

@vaikas
Copy link
Member

vaikas commented Dec 27, 2023

Looks like the failure is not a flake?

2023/12/27 16:26:45 ERROR: failed to build package. the build environment has been preserved:
ℹ️  x86_64    |   workspace dir: /tmp/melange-workspace-3112014763
ℹ️  x86_64    |   guest dir: /tmp/melange-guest-2160339963
Error: failed to build package: unable to build guest: unable to generate image: installing apk packages: installing packages: installing gobject-introspection: unable to install files for pkg gobject-introspection: unable to install file over existing one, different contents: usr/bin/gapplication
2023/12/27 16:26:45 error during command execution: failed to build package: unable to build guest: unable to generate image: installing apk packages: installing packages: installing gobject-introspection: unable to install files for pkg gobject-introspection: unable to install file over existing one, different contents: usr/bin/gapplication

@ajayk ajayk merged commit fc49acb into main Dec 27, 2023
32 checks passed
@ajayk ajayk deleted the imjasonh-patch-1 branch December 27, 2023 21:52
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