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

Fix install from source Debian compile bug #648

Merged
merged 1 commit into from
Apr 4, 2022

Conversation

ldennington
Copy link
Contributor

Fixes #644

A Linux user reported an oddly small Debian package associated with the 2.0.692 release. This was caused by the refactoring of build.sh in #630. The fix is fairly straightforward - we have to ensure our binaries are copied to the expected location before attempting to create the package. This change implements that fix, and also fixes a component of the symlink path that was also mistakenly dropped in #630.

Here is the set of artifacts from before the fix was implemented, with the Debian package at an unlikely size of 940 B:

https://dev.azure.com/mseng/AzureDevOps/_build/results?buildId=17061102&view=artifacts&pathAsName=false&type=publishedArtifacts

Here is the set of artifacts from a test build I ran after the fix was implemented, with a more expected package size of 107 MB:

https://dev.azure.com/mseng/AzureDevOps/_build/results?buildId=17076015&view=artifacts&pathAsName=false&type=publishedArtifacts

@ldennington ldennington self-assigned this Apr 4, 2022
Copy link
Collaborator

@dscho dscho 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!

@ldennington ldennington merged commit ef862d6 into git-ecosystem:main Apr 4, 2022
@felipecrs
Copy link
Contributor

Awesome, can't wait to see a new (non-pre) release!

Copy link

@andres701 andres701 left a comment

Choose a reason for hiding this comment

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

(invalid review)

if [ $INSTALL_FROM_SOURCE = false ]; then
dpkg-deb --build "$DEBROOT" "$DEBPKG" || exit 1
fi

# Create symlink
if [ ! -f "$LINK_TO/git-credential-manager-core" ]; then
ln -s -r "$INSTALL_TO/git-credential-manager-core" \
"$LINK_TO/git-credential-manager-core" || exit 1
fi

This comment was marked as off-topic.

@ldennington ldennington deleted the fix-linux-compile branch July 12, 2023 18: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.

The newly released (2.0.692) .deb package seems broken
5 participants