Skip to content

Package for Fedora Linux #816

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

Closed
hickford opened this issue Aug 1, 2022 · 4 comments
Closed

Package for Fedora Linux #816

hickford opened this issue Aug 1, 2022 · 4 comments
Labels
external Relating to an external partner, team, or library help-wanted The core maintainers aren't planning to build this, but we would welcome a community contribution! installation Specific to installation and uninstallation platform:linux Specific to a Linux-based platform

Comments

@hickford
Copy link
Contributor

hickford commented Aug 1, 2022

If it helps anyone, I packaged git-credential-manager for Fedora Linux in an experimental personal repo. https://copr.fedorainfracloud.org/coprs/matthickford/git-credential-manager/ . Feedback welcome and help testing appreciated.

The bulk of the work was writing the rpm spec https://github.com/hickford/git-credential-manager/pull/2/files

What's pretty cool is that the rpm package is only 1.5 MB because it depends on package dotnet-runtime-6.0 in Fedora. For comparison, the official GCM binaries and deb package are over 100 MB because they self-contain the .NET runtime.

Ultimately I hope to get git-credential-manager included as an official Fedora package https://fedoraproject.org/wiki/Package_maintainers_wishlist https://docs.fedoraproject.org/en-US/package-maintainers/New_Package_Process_for_New_Contributors/

@hickford hickford added the auth-issue An issue authenticating to a host label Aug 1, 2022
@hickford
Copy link
Contributor Author

hickford commented Aug 1, 2022

The same idea would work to produce small packages for Debian or Ubuntu, although because these distributions don't include .NET, users would first have to install .NET from packages.microsoft.com following https://docs.microsoft.com/en-us/dotnet/core/install/linux-debian . This would be fine for a personal PPA archive, but an obstacle to including git-credential-manager in Debian officially.

@hickford hickford added platform:linux Specific to a Linux-based platform installation Specific to installation and uninstallation external Relating to an external partner, team, or library help-wanted The core maintainers aren't planning to build this, but we would welcome a community contribution! and removed auth-issue An issue authenticating to a host labels Aug 1, 2022
@ldennington
Copy link
Contributor

I think it may be better long-term to focus on supporting GCM as a dotnet tool. While it would be super cool to have packages on the official Ubuntu/Debian/Fedora/etc. feeds, the amount of maintenance required with each added feed could become problematic. What I love about the dotnet tool approach is that we publish to a single feed that can be accessed from any Linux distro.

@hickford
Copy link
Contributor Author

hickford commented Aug 24, 2022

I agree. See dotnet/source-build#2960 for open questions how to package .NET applications in Linux distributions.

@ebibesty
Copy link

ebibesty commented Oct 11, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
external Relating to an external partner, team, or library help-wanted The core maintainers aren't planning to build this, but we would welcome a community contribution! installation Specific to installation and uninstallation platform:linux Specific to a Linux-based platform
Projects
None yet
Development

No branches or pull requests

3 participants