-
Notifications
You must be signed in to change notification settings - Fork 4
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
Suggestion: Add a few SFOS OBS repos to build against #76
Comments
Addition of each old SFOS version repository adds maintenance cost on addition. Namely, each package that doesn't compile for these old versions has to be configured to skip it. Looking at 3.2.1.20, it is more than 50 packages. Such disabling will have to be done for :chum:testing and :chum. This is a significant work and brings the question: how many users would actually benefit from it? It is not motivating to add those repos for just having them. In principle, we should even start considering closing older repos. Unfortunately, I don't have any stats and cannot judge the use of 3.1.0.12 or other older releases. Wouldn't surprise me if it is zero. |
I would not mind doing this: It is the kind of tedious, but easy work one can do while listening to music late at night. The longer this is avoided, the bigger the hurdle becomes, because more and more packages are available at SailfishOS:Chum. Thus the "this is a lot"-argument IMO means: Do that as soon as possible, because it will become even harder when more time has passed.
Well, Jolla offers "DoD (rpmmd)" repos for all releases ≥ 3.1.0 and 3.2.0 was the only one left out. IMO it is up to the developers to decide if these "DoD" repos are useful for them and the users of their apps. And you do not need to be motivated as long as you do not block my motivation, as stated above.
For what reason? It is just an offer for developers to use them, with no duties implied.
You know that I still use SFOS 3.2.1 on my "production" phone due to the low release quality of all releases ever since, and have a couple of apps from SailfishOS:Chum installed. |
Re suggestion 2: With the current SSU config, Chum with "latest" will never be used as SSU resolves URL using SFOS version. Having "latest" in addition could lead to conflicts when the packages would start accidentally leaking RPMs that would work only on latest versions and not some older SFOS version. Thus, such saving on copies for efficiency leads to a less stable solution. So, I prefer current approach. Note that it already allows developers to test their builds against latest SFOS versions as well. Re old releases: @Olf0 , there is probably a reason why you stayed on 3.2.1. Do you know good reason to stay on even older ones? Or on some releases in between 3.2.1 and the current SFOS? |
Yes, all later releases have one or more flaws (different releases different ones) which breaks one or more important use cases for me. This abstractly stated, that seems to be generally the reason for people to stay on older SFOS releases. 4carlos (Wolfgang) wrote at FSO, "If you have an SFOS installation running fine, stay at that release and never upgrade SFOS." Years ago I would have called such a statement "an extreme position", but looking at the quality of all SFOS 4.x.y releases so far, I now concur with this statement (and 4carlos wrote that in 2021). So everybody has different reasons and some even stick to a specific SFOS release, because Patchmanager-Patch XYZ does not run on newer releases: Also something I think of "a bit extreme", but I do understand that the losing for example Ancelad's "Ultimate Statusbar" and "Lockscreen Analog Clock" (which provides far more than just a clock) constitutes a significant regression in usability. Jolla forcing people to use the recent SFOS release by not providing older installation images and the technical inability to downgrade (the latter is well understandable: almost no desktop Linux distribution manages to do that successfully) contributes massively to the fact that some long time SFOS users are becoming very reluctant abut upgrading SFOS: Once you are on a SFOS release which does not work for you, one has to reflash and reinstall everything from the scratch, which is only possible if you have kept an old installation image (see how comprehensible 4carlos' aforementioned statement becomes).
See above: Yes, if it works fine for you, plus there are sufficient reasons to be reluctant to upgrade.
See above for 3.3.0 and 3.4.0: Lots of people love them. Even though I do not believe anyone sane wants to stay at 4.0.1 or 4.1.0, in general always somebody will love some characteristic or feature of any specific release and stick to it. Hey Rinigus, please take step back from looking at the technical details and try to grasp the big picture: The fact that in the realm of Android OS releases which are almost 10 years old are still supported by many apps (especially FLOSS ones at F-Droid) definitely has appeal. I still run a current OSMand~ release on the AOSP 4.4.4 (API level 19, published 2013) based AlienDalvik on my Xperia X, while I cannot install a recent OSM Scout Server and Poor Maps on SFOS 3.2.1 (published December 2019) for long. Actually, that Firefox for Android (for me the only really usable browser on SailfishOS with AlienDalivik) ceased to support Android 4.4 in 2020 (after 7 years) is the major reason why I want to switch to the XA2+ as "production phone", if only Jolla would deliver a decent SFOS 4.x release. SailfishOS:Chum promises (besides the technical and security stuff I emphasised in its README) to enable developers to support all SFOS releases back to 3.1.0 easily (except for 3.2.0, currently), especially if they utilise Slava's What I really do not understand is why you appear to be jumping multiple times between "maintaining SailfishOS:Chum is not much work" to "copy & paste of a special build target configuration for Storeman is a lot of tedious work" and back to "SailfishOS:Chum is low maintenance" to "Addition of each old SFOS version repository adds maintenance cost on addition." and "~ 200 configuration changes (armv7hl / i486, plus Chum proper / Chum testing) for ~50 apps failing to compile for 3.2.0" is infeasible, while I offered to do that, if you would let me. BTW, no I really do not want to become a Chum administrator, this would be a one-shot action to enable the 3.2.0 target now, because the number of apps in Chum will rise and so does the number of necessary configuration changes. -- |
Yes, sure; that is why I suggested that only for Chum testing. For users it is "testing", hence anything can be broken at any time (like in Debian testing) and it is always a developers' task to use features responsibly. To clearly show that, the targets are labelled Anyway, this was just an idea when I researched why mentaljam configured and uses |
For development, I would expect that personal OBS repos would be used, not Chum testing. Chum testing was created to test your packages before release in Chum proper in the environment that is close to the Chum proper (in respect of interaction between packages). So, I am opposing the suggestion to add sfos_testing_xxxx to chum:testing Re Pure Maps and OSM Scout Server on older SFOS: Those apps use libraries relying on "new" C++ standards. Before, I had to maintain my own copy of GCC for building it. So, as soon as it became possible to rely on system-provided GCC, I switched to that. Re whether it is much work or not to maintain Chum: It is not "free" to add new target with older SFOS version as many developers tend to prefer using newer libs and gcc. So, if we decide to add it, we better be aware of such requirement and it makes sense to know how many users would actually benefit from it. As SFOS is remarkably well supporting older hardware on newer SFOS versions, the bulk of users update. Add to that small number of SFOS users in general and I wouldn't be surprised if we have ZERO users on some version/arch combinations. With Storeman, I personally think it is wrong approach and hence I don't want to spend my time into adding these build targets. If you bring Pure Maps as example above, I can bring it over here as well. In Pure Maps, I am supporting multiple Qt versions and backends (Silica, UbuntuTouch one, Kirigami) all from the same branch. That is resolved on build system level and in small sections of the code and the challenge is way larger than what you face with Storeman, from what I have heard. Anyway, Storeman discussion has been going on for too long already and I would prefer to work on my projects instead of getting dragged into it. |
That is O.K. So I dropped that idea of making "testing" binaries easily available for people willing to try them. BTW, I did gain understanding why you do not want the
… was not my point at all. It was merely an example, maybe a badly chosen one, both technically and that it seems to have startled you. Sorry, if that came across as criticising you; it was not at all meant that way. The principal point was:
But I do get that you deem this as not relevant and hence do not want to consider enabling the 3.2.0 targets. Which is O.K., I only would have preferred if you clearly stated that earlier, instead of asking (and then being dissatisfied with the answers):
??? a. This thread is unrelated to Storeman. Storeman would not benefit from enabling the 3.2.0 target to a greater extent than any other software which still supports this SFOS release. b. What does "the approach taken for Storeman" have to do with "hence I don't want to spend my time into adding these build targets."? This bears no logic to me. Maybe there is a link on an emotional level, but IMO not on a technical or logical one. P.S.: Unrelated stuff (= off topic, here)
This really sounds like "tit for tat". As written above, I did not intend to criticise you, but obviously you intend to criticise mentaljam (Petr Tsymbarovich) for how he structured the support for multiple SailfishOS releases for Storeman.
I know that and this is quite an achievement and technically really cool.
I do not face any "challenge" with that, because it is something I never wanted to address, I likely cannot address properly and hence will not, as mentioned in the "Submitting Storeman to SailfishOS:Chum"-thread. For now the Storeman sources are structured that way mentaljam did, until someone comes up with a PR that changes that in a proper, comprehensible and easy to handle way. At least the current structure fulfils the last two points for me. P.P.S.: Yes, this was a lengthy conversation to receive two "No, I oppose this.". Thus I assume it makes sense to close this issue. |
Feature request: Please add the missing SailfishOS 3.2.0.12 "DoD" repositories at the SailfishOS-OBS to build against
I always wondered why the SailfishOS build entries for 3.2.0.12 and ≤ 3.0.3.9 are missing, so I researched this.
Result:
sailfishos:3.0.3.9:armv7hl|i486
and the "DoD repos" for any older SailfishOS releases.Thus
sailfishos:3.1.0.12:*
are currently the oldest "Download on Demand (DoD)" repositories available to build against.Feature request: Add the following section to both, the meta configuration of the SailfishOS:Chum testing repository and the meta configuration of the regular SailfishOS:Chum repository, between the repository entries for
3.2.1.20_armv7hl
and3.1.0.12_i486
.Suggestion: Consider to enable the
sailfishos:latest
"DoD" repositories for SailfishOS:Chum testingCurrently no
sailfishos:latest
"DoD" testing repositories are defined for SailfishOS:Chum testing, but it would be useful to know for developers if their software builds correctly against these targets (although Jolla seems to usually miss the chance to switchsailfishos:latest
to a newer release during cBeta or EA phase). These "DoD" testing repositories are provided for all three architectures: {aarch64,armv7hl,i486}Suggestion: Add the following section to the meta configuration of the SailfishOS:Chum testing repository.
Special properties:
https://repo.sailfishos.org/obs/sailfishos:/chum:/testing:/<package-name>/sailfish_testing_aarch64/
,…/sailfish_testing_armv7hl/
and…/sailfish_testing_i486/
, but also in every other…/<sfos-release>_{aarch64,armv7hl,i486}/
.noarch
or other packages, which are not SFOS-release dependent: Built once, available-for all SFOS-releases.Besides for testing purposes these repositories allow to build SFOS-release independent packages once and have them in all SFOS-release specific download directories.
P.S.: I have tested both suggestions (1 & 2) with a few C++, QML packages and a simple QML
noarch
package, e.g., Storeman.The text was updated successfully, but these errors were encountered: