-
Notifications
You must be signed in to change notification settings - Fork 17
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
How to provide SailfishOS:Chum metadata, if the Vendor:
has to be set to someting else than chum
in order to keep the upgrade path intact, e.g., at OpenRepos.
#149
Comments
Do you have any package as an example of this issue? |
You have set yourself as a vendor which made corresponding
|
Thank you! 🤦 Though now I see that I have problem: Changing the vendor breaks the upgrade path at OpenRepos. So I assume that the only option is to enable the SailfishOS:Chum metadata unconditionally, which does not look very nice. So what, who looks at the RPM metadata on SailfishOS? Storeman does not display it, it takes the description from OpenRepos. Or is there any other RPM variable I can check, which indicates that the package is being built at the SFOS-OBS? That would provide an easy way out. |
vendor
has to be set to someting else than chum
in order to keep the upgrade path intact, e.g. at OpenRepos?
vendor
has to be set to someting else than chum
in order to keep the upgrade path intact, e.g. at OpenRepos?vendor
has to be set to someting else than chum
in order to keep the upgrade path intact, e.g., at OpenRepos?
Not that I am aware of. Addition of vendor was made to allow users to choose the source of installed package. As a side-effect, it was used by most for %if statement. On my packages, I don't use %if and consider tag info as useful in the description (if someone checks it with zypper). |
I have found two ways:
I will experiment, what I can get working a my OBS-repo@SFOS-OBS. |
Note that this "something" can probably be added to https://build.merproject.org/project/prjconf/sailfishos:chum . Just have to know what :) |
Yes, exactly, but it would have to be set in both, https://build.merproject.org/project/prjconf/sailfishos:chum and https://build.merproject.org/project/prjconf/sailfishos:chum:testing I am currently trying
It can be tested for existence by OTOH, a "simple" check for the macros set by OBS is also sufficient:
|
Oh, I just realise that I do not really comprehend this statement:
How would one use that? If one has a repo enabled, one has access to all packages in it and neither |
@rinigus, after a lot of checks and balances (e.g., how many underscores to use: Reading Please set in both, https://build.merproject.org/project/prjconf/sailfishos:chum and https://build.merproject.org/project/prjconf/sailfishos:chum:testing
Thank you! The simplest safe form of usage is (resolves to
Tell me here, when its done, and I will test. |
vendor
has to be set to someting else than chum
in order to keep the upgrade path intact, e.g., at OpenRepos?vendor
has to be set to someting else than chum
in order to keep the upgrade path intact, e.g., at OpenRepos?
vendor
has to be set to someting else than chum
in order to keep the upgrade path intact, e.g., at OpenRepos?vendor
has to be set to someting else than chum
in order to keep the upgrade path intact, e.g., at OpenRepos
vendor
has to be set to someting else than chum
in order to keep the upgrade path intact, e.g., at OpenReposvendor
has to be set to someting else than chum
in order to keep the upgrade path intact, e.g., at OpenRepos.
vendor
has to be set to someting else than chum
in order to keep the upgrade path intact, e.g., at OpenRepos.Vendor:
has to be set to someting else than chum
in order to keep the upgrade path intact, e.g., at OpenRepos.
I have just added them |
Vendor is used automatically by pkcon and zypper. For example, if you distribute your app using Chum, Jolla Store, and OpenRepos. In Jolla Store you should keep a package without any vendor specified. In Chum, we suggest to have 'chum' as vendor - configured by default (see https://build.merproject.org/project/prjconf/sailfishos:chum:testing). In OpenRepos, you could set it to something else. Then, when user installs from one of the stores, it will stay with the same store. For example, if you have Pure Maps installed from Jolla Store. Then, when update is released in Chum but is going through review at Jolla, users preferring Jolla Store version would not get update from Chum. That way user has a control over a channel that is used to update each app. |
Sure, because of
Well, I would say that it is the principally the repo maintainer who "controls" the But the users do not understand this at all or have any "control" over it, even though I believe that most of them are happy that this is used as a mechanism for "repository separation" (without being aware of the technical mechanism), because Jolla / SailfishOS does not support the classic repository separation / stickiness mechanisms. But ultimately I now see that this is just a matter of wording and / or perspective. I just wanted to be sure that I did not miss a technical aspect. Thus, thank you very much for the clarification what you meant. |
Conclusion: Thank you! |
… `Vendor:` being set, see for details: sailfishos-chum/sailfishos-chum-gui#149 (comment)
* Update LATEST to 4.5.0.16 * Change `ci-on-pull_req` from `armv7hl` to `i486` … … see #417 (comment) * Define (S)RPM compression sensibly, … … taking compatibility into account, see #417 (comment) * Use `%if 0%{?_chum}` to enable SFOS:Chum metadata … … conditionally, see sailfishos-chum/sailfishos-chum-gui#149 (comment)
… conditionally, see sailfishos-chum/sailfishos-chum-gui#149 (comment) Missed in commit 0085583 for PR #417! 😞
* Use rpmlintrc (#395) * [rpmlintrc] Improve and beautify formatting (#396) * Improve harbour-storeman.rpmlintrc (#397) * Stubs for v0.3.4 (#398) * [changelog] Stub entry for v0.3.4 * Post release version increase * Add categories to desktop file * Update RELEASE to 4.5.0.16 in CI configuration * Define (S)RPM compression sensibly, … … also taking compatibility into account, see sailfishos-patches/patchmanager#417 (comment) * Change ci-on-pull_req from `armv7hl` to `i486` … … see [Patchmanager PR \#417 (comment)](sailfishos-patches/patchmanager#417 (comment)) * Fix forgot'o in commit 5ce355d * Use `%if 0%{?_chum}` to enable Chum metadata … … conditionally, see sailfishos-chum/sailfishos-chum-gui#149 (comment) * Fix `Source0:` link * Update changelog for v0.3.4
* Use rpmlintrc (#395) * [rpmlintrc] Improve and beautify formatting (#396) * Improve harbour-storeman.rpmlintrc (#397) * Stubs for v0.3.4 (#398) * [changelog] Stub entry for v0.3.4 * Post release version increase * Add categories to desktop file * Update RELEASE to 4.5.0.16 in CI configuration * Define (S)RPM compression sensibly, … … also taking compatibility into account, see sailfishos-patches/patchmanager#417 (comment) * Change ci-on-pull_req from `armv7hl` to `i486` … … see [Patchmanager PR \#417 (comment)](sailfishos-patches/patchmanager#417 (comment)) * Fix forgot'o in commit 5ce355d * Use `%if 0%{?_chum}` to enable Chum metadata … … conditionally, see sailfishos-chum/sailfishos-chum-gui#149 (comment) * Fix `Source0:` link in spec file * Update changelog for v0.3.4
* Use rpmlintrc (#395) * [rpmlintrc] Improve and beautify formatting (#396) * Improve harbour-storeman.rpmlintrc (#397) * Stubs for v0.3.4 (#398) * [changelog] Stub entry for v0.3.4 * Post release version increase * Add categories to desktop file * Update RELEASE to 4.5.0.16 in CI configuration * Define (S)RPM compression sensibly, … … also taking compatibility into account, see sailfishos-patches/patchmanager#417 (comment) * Change ci-on-pull_req from `armv7hl` to `i486` … … see [Patchmanager PR \#417 (comment)](sailfishos-patches/patchmanager#417 (comment)) * Fix forgot'o in commit 5ce355d * Use `%if 0%{?_chum}` to enable Chum metadata … … conditionally, see sailfishos-chum/sailfishos-chum-gui#149 (comment) * Fix `Source0:` link in spec file * Update changelog for v0.3.4
* Use rpmlintrc (#395) * [rpmlintrc] Improve and beautify formatting (#396) * Improve harbour-storeman.rpmlintrc (#397) * Stubs for v0.3.4 (#398) * [changelog] Stub entry for v0.3.4 * Post release version increase * Add categories to desktop file * Update RELEASE to 4.5.0.16 in CI configuration * Define (S)RPM compression sensibly, … … also taking compatibility into account, see sailfishos-patches/patchmanager#417 (comment) * Change ci-on-pull_req from `armv7hl` to `i486` … … see [Patchmanager PR \#417 (comment)](sailfishos-patches/patchmanager#417 (comment)) * Fix forgot'o in commit 5ce355d * Use `%if 0%{?_chum}` to enable Chum metadata … … conditionally, see sailfishos-chum/sailfishos-chum-gui#149 (comment) * Fix `Source0:` link in spec file * Update changelog for v0.3.4
* Post release version increase * Simplify as in Repo Config RPM v0.5.3 * Update license (#15) * Update license * Update LICENSE * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update LICENSE * Change from `armv7hl` to `i486` … … see sailfishos-patches/patchmanager#417 (comment) * Define (S)RPM compression sensibly, … … see sailfishos-patches/patchmanager#417 (comment) * Use `%if 0%{?_chum}` to enable Chum metadata … … conditionally, see sailfishos-chum/sailfishos-chum-gui#149 (comment) * Delete blank line * Conflict & obsolete sailfishos-chum-repo-config* * Add icons (#17) * Add files via upload
* Use rpmlintrc (#287) * Add comment to rpmlintrc (#288) * [rpmlintrc] Improve and beautify formatting (#289) * [rpmlintrc] Improve wording in comment (#290) * Improve harbour-storeman-installer.rpmlintrc (#291) * Post release version increase * Update LICENSE * Update LICENSE * Update license * Update LICENSE * Update LICENSE * Update LICENSE * Update LICENSE * Update README.md * Update LICENSE * Change from `armv7hl` to `i486` … … see sailfishos-patches/patchmanager#417 (comment) * Define (S)RPM compression sensibly, … … see sailfishos-patches/patchmanager#417 (comment) * Use `%if 0%{?_chum}` to enable Chum metadata … … conditionally, see sailfishos-chum/sailfishos-chum-gui#149 (comment) * Instruct reporters to upload log-file * Instruct reporters to upload log-file * Add `#readme` to link * Fix copy'os and enhance a bit * Rectify copy'o * Straighten convoluted sentence * Enhance legibility * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Output some status data, first * Raise source compression to default value * Adapt to Storeman, because missed
How to provide SailfishOS:Chum metadata, if the
Vendor:
has to be set to someting else thanchum
in order to keep the upgrade path intact, e.g., at OpenRepos.The text was updated successfully, but these errors were encountered: