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

Add explanation to blog post about snap/flatpak/appimage #17

Open
ronaldtse opened this issue Aug 10, 2023 · 3 comments
Open

Add explanation to blog post about snap/flatpak/appimage #17

ronaldtse opened this issue Aug 10, 2023 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@ronaldtse
Copy link
Contributor

From @CAMOBAP

it's still not clear why exactly: "... you have to treat each distribution as another OS, further increasing the number of combinations"

I hope snap/flatpak/appimage should help us minimize such issues. The only problem which I remember sofar is glib link to specific version (runtime linker error)

Originally posted by @CAMOBAP in #4 (comment)

@ronaldtse ronaldtse added the documentation Improvements or additions to documentation label Aug 10, 2023
@maxirmx
Copy link
Member

maxirmx commented Aug 10, 2023

I was trying to say that if someone is deploying a complex Ruby application like metanorma in a traditional way (install Ruby, install gems, build extensions locally), each Linux distribution will require (slightly) different set of tools and libraries.
Firthermore, comapring different major versions of the same distribution (like Ubuntu 20 and Ubuntu 22) you may face different sets of tools and libraries.

Practically it means that you need to do at least testing on many versions and in terms of effort it is not very far from many different OSs. I believe rnp is another very good example how the testing effort and build complexity grows.

It is true that snap or appimage (or docker or tebako) help to minimize these issues.
I do not have detailed data to compare.

@ronaldtse
Copy link
Contributor Author

ronaldtse commented Aug 11, 2023

The problem with various solutions:

  • Snap cannot be run inside docker because it requires a daemon and file system mounting.

  • Docker can only be run on machines with administrative access.

@CAMOBAP can you help describe how AppImage and Flatpak work?

@ronaldtse
Copy link
Contributor Author

@maxirmx actually can you also help document how the Metanorma stack is built using packed-mn?

We should also create a simple gem with some dependencies in a new repository to serve as a sample; so we can include sample workflows etc for people to follow.

And we can blog about how packed-mn works, and also how to use the simpler approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants