Comments (6)
I forked the yunohost package and proceed to update from my forked package.
I just modify the source app
I don't see any problems after the update and i have the team edition when i read the "about" menu
from mattermost_ynh.
@madmaxlamenace Thanks for testing the migration path, and confirming it works properly. I just opened #115 for this.
However, when thinking again about it, I wonder what will happen to potential Yunohost users that actually did activate a license for the Enterprise features: the package will be downgraded, and the Enterprise features won't be available to them anymore. I don't know if there are any of these users though.
Furthermore, if someone setup Mattermost using Yunohost, and later wants to enable Enterprise features while still using the Yunohost package, it won't be possible anymore (as only the Team Edition will be distributed).
To recap:
Pros:
- Distributing a free-software-licensed release, better aligned with Yunohost values.
Cons:
- Users can no longer enable Entreprise features.
from mattermost_ynh.
What about adding an option during the installation ? (and by default, the free version).
During the upgrade, is it possible to detect which version is used ? Then it would be possible to upgrade correctly ?
from mattermost_ynh.
What about adding an option during the installation ? (and by default, the free version).
Good question. I just checked the code: it uses the ynh_setup_source
helper to download the packaged release defined in config/app.src
.
To give the choice to the user, the trick would be to create two src files (e.g. app-team.src
and app-entreprise.src
). The scripts could then tell at runtime which file should be used for downloading the release.
It should even be possible to switch from one release to another, by flipping the package setting:
# Switch to the free version
sudo yunohost app setting mattermost "use_enterprise_version" -v "false"
sudo yunohost app upgrade mattermost
# Switch to the enterprise version
sudo yunohost app setting mattermost "use_enterprise_version" -v "true"
sudo yunohost app upgrade mattermost
The only downside is that would add more code, moreover on a path that wouldn't be used often and thus prone to silent breakage. I'm not sure how to write a good automated test for this, but if I find out this option would definitely be the best choice.
from mattermost_ynh.
Maybe the use of the entreprise edition needs to show the licence to the user.
from mattermost_ynh.
It is now possible to install either the free or the entreprise edition.
from mattermost_ynh.
Related Issues (20)
- Can't upload plugins HOT 1
- In resources.sources: it looks like you forgot to define url/sha256 or armhf.url/armhf.sha256
- Propose upgrading to Mattermost v9.1.1
- Propose upgrading to Mattermost v9.1.2
- Not able to install Mattermost through Yunohost (Error 500. Exit Status 128) HOT 2
- Propose upgrading to Mattermost v9.1.3
- Propose upgrading to Mattermost v9.2.2
- Propose upgrading to Mattermost v9.2.3
- Propose upgrading to Mattermost v9.3.0
- Propose upgrading to Mattermost v9.4.2
- How to login ? HOT 1
- Propose upgrading to Mattermost v9.5.1
- Propose upgrading to Mattermost v9.5.2
- Propose upgrading to Mattermost v9.6.1
- Propose upgrading to Mattermost v9.7.1
- Propose upgrading to Mattermost v9.7.2
- Propose upgrading to Mattermost v9.8.0
- Mobile Mattermost app bug : Too many follow-up request : 21 HOT 4
- Propose upgrading to Mattermost v9.8.1
- Propose upgrading to Mattermost v9.9.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mattermost_ynh.