-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Provide proper release artifacts #6655
Comments
Hey @Meijuh thanks for your suggestion. I'll bring it up with the Team. That said, can you help me understand better about the installation experience in Fedora:
As for the need of |
First, I needed to upgrade SAM/Python/PIP managed packages because whenever I ran Then I ran the installer as root (I did not know about In three months I will have to do all steps above again, because I will have forgotten you made a custom installer. Above steps could be optimized (I'm no python expert), but my point is, I would not have to think about it if only I could run I would love to see the possibility you allow distribution maintainers to distribute your software in a way they recommend (and potentially assist them with that). That would make it so much easier for me to use the SAM CLI, and saves you work too of having to maintain an installer. |
Thanks for sharing your feedback and experience. It seems like you hit some unexpected cases. I'll mark this issue as bug and will investigate further. In this issue, we explained why we decided to change our support model for homebrew, and also why we intented to keep a unified installation experience through our binary installers. Like homebrew, we welcome community to contribute and support distribution of AWS SAM CLI in different package managers(such as homebrew and pacman). |
#5613 does not provide a single reason to drop support for homebrew? I'm honestly curious why the choice for a custom installer has been made. At this point https://cloud.google.com/sdk/docs/install#red-hatfedoracentos looks like a godsend. |
Hi Meijuh! We dropped homebrew for multiple reasons, mainly due to our decision of having a unified distribution, with homebrew having a different installation workflow than our own installers, since we are able to solely maintain and be responsible for our installers. unlike homebrew. Here is another ticket for more context. That being said, thank you for taking the time to provide this feedback. I would like to better understand your use case. I tried replicating the installation/upgrade process using an EC2 Instance with AL 2023 and found my experience normal to the docs when installing/updating our package. I see that there are some issues with using DNF/pip/third part distros but that is to be expected with out current official installation method using our own distribution. Our team had a discussion and we believe it is best practice to use our own distribution in our case. Do you have a specific use case for special tarballs outside of the ones generated in our Github? |
Closing due to inactivity. |
|
I think the approach of distributing aws sam cli needs serious reconsideration. My concern is largely based on this document https://drewdevault.com/2021/09/27/Let-distros-do-their-job.html.
Distributions are responsible for distributing software, not the developer. AWS SAM CLI takes it to the extreme; an artifact that needs to be run as root in order to install. This makes it extremely and unnecessarily hard for third-party distributors. As a Fedora user, in order to update my system, not only do I need to update using DNF, I also need to update my python packages using PIP, and SAM itself using
sudo ./sam-installation/install --update
. This has all kinds of compatibility and security issues.I kindly request you to work with maintainers on flexible and secure distribution of your software.
The text was updated successfully, but these errors were encountered: