Skip to content

Commit

Permalink
mastersfos4.2: Commits for 0.3.8-release1 (#469)
Browse files Browse the repository at this point in the history
* [harbour-storeman.changes] Add second record

* [build-devel.yml] Beautify

* [build-sfos3.1.yml] Beautify

* [build-sfos3.3.yml] Beautify

* [build-sfos4.2.yml] Beautify

* [build-sfos4.2_latest.yml] Beautify

* [build-sfos4.2_latest.yml] Add "+"

* [harbour-storeman.spec] Use `%{name}` even more

* [README.md] Enhance link

* [README.md] Simplify

* [translations/README.md] Remove stray space character

* [README.md] Enhance table of screenshots

* [README.md] Improve picture descriptions

* [README.md] Fix table rendering by inserting ` '`s

* [Update README.md] Final screenshots-table formatting fix-up …

…, hopefully.

* [README.md] Prefix latest release version image with `Current`

* [README.md] Use relative image links

* [harbour-storeman.qml] Fix typo in comment

* [README.md] "e.g.", instead of "e.g.,"

* [README.md] Update to current version from FlowPlayer

* Local RPMs: Replace QTSparql with QtDocGallery (#462)

Because libqtsparql's QML API was dropped from Sailfish OS 4.5.0.

* [harbour-storeman.changes] Update for v0.3.8 (#464)

* Add citronalco to contributors (#466)

* [README.md] Add citronalco to contributors

* [LICENSE] Add citronalco to contributors

* [DevelopersModel.qml] Add citronalco to contributors

* [LocalRpmsPage.qml] Filter for `mimeType` instead of `fileName` to select RPM files … (#463)

[LocalRpmsPage.qml] Filter for `mimeType` instead of `fileName` as [suggested by @pvuorela](#461 (comment)). Enhances PR #462, which closed issue #461.

* [harbour-storeman.changes] Update with final PR for 0.3.8-release1

---------

Co-authored-by: citronalco <[email protected]>
  • Loading branch information
Olf0 and citronalco authored Mar 19, 2024
2 parents 8150a2d + 674091b commit 5cb1345
Show file tree
Hide file tree
Showing 13 changed files with 81 additions and 50 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/build-devel.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI - devel branch on SFOS 3.3.0 (i486)
name: CI - devel branch on SDK for 3.3.0 (i486)

env:
RELEASE: 3.3.0.14
Expand All @@ -12,15 +12,16 @@ on:

defaults:
run:
# Note thas 'bash' provides -o pipefail, in contrast to the default (i.e., unspecified, which also uses bash) or 'sh',
# Note that 'bash' provides -o pipefail, in contrast to the default (i.e., unspecified, which also uses bash) or 'sh',
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
shell: sh

# Do not use concurrency in order to enforce checking every commit of a Pull Request.
# See, e.g.: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#example-only-cancel-in-progress-jobs-or-runs-for-the-current-workflow
concurrency:
group: ci-${{ github.ref_name }}
#concurrency:
#group: ci-${{ github.ref_name }}
# 'false' (default) allows for two concurrent runs, one executing and one freshly enqueued; 'true' for only one; no 'concurrency:' defined for multiple.
cancel-in-progress: false
#cancel-in-progress: false

jobs:
build:
Expand All @@ -29,6 +30,7 @@ jobs:
# Do not wait up to the default of 10 minutes for network timeouts in a workflow which runs ca. 3 minutes.
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 1
steps:

- name: Checkout
uses: actions/checkout@v3

Expand All @@ -54,7 +56,7 @@ jobs:
- name: Upload build result
uses: actions/upload-artifact@v3
with:
name: RPM-build-results_devel-i486-sfos3.3.0+
name: RPM-build-results_devel-i486-SFOS3.3.0+
path: RPMS/

# Just for fun, see https://feathericons.com/ and
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/build-sfos3.1.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI - sfos3.1 branch on SFOS 3.1.0 (armv7hl,i486)
name: CI - sfos3.1 branch on SDK for 3.1.0 (armv7hl,i486)

env:
RELEASE: 3.1.0.12
Expand All @@ -14,10 +14,13 @@ on:
pull_request:
branches:
- sfos3.1
# Allows to run this workflow manually from the Actions tab.
#workflow_dispatch:
# Rather set a new release in the spec file and a new tag in the format N/X.Y.Z (e.g., release2_sfos3.1/0.6.3) to build a release version again.

defaults:
run:
# Note thas 'bash' provides -o pipefail, in contrast to the default (i.e., unspecified, which also uses bash) or 'sh',
# Note that 'bash' provides -o pipefail, in contrast to the default (i.e., unspecified, which also uses bash) or 'sh',
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
shell: sh

Expand All @@ -34,6 +37,7 @@ jobs:
# Do not wait up to the default of 10 minutes for network timeouts in a workflow which runs ca. 5 minutes.
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
steps:

- name: Checkout
uses: actions/checkout@v3

Expand Down Expand Up @@ -64,7 +68,7 @@ jobs:
- name: Upload build results
uses: actions/upload-artifact@v3
with:
name: RPM-build-results_sfos3.1.0-3.2.1
name: RPM-build-results_SFOS3.1.0-3.2.1
path: RPMS/

# Just for fun, see https://feathericons.com/ and
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/build-sfos3.3.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI - sfos3.3 branch on SFOS 3.3.0 (armv7hl,i486) & SFOS 4.0.1 (aarch64)
name: CI - sfos3.3 branch on SDK for 3.3.0 (armv7hl,i486) & for 4.0.1 (aarch64)

env:
RELEASE: 3.3.0.14
Expand All @@ -14,10 +14,13 @@ on:
pull_request:
branches:
- sfos3.3
# Allows to run this workflow manually from the Actions tab.
#workflow_dispatch:
# Rather set a new release in the spec file and a new tag in the format N/X.Y.Z (e.g., release2_sfos3.3/0.6.3) to build a release version again.

defaults:
run:
# Note thas 'bash' provides -o pipefail, in contrast to the default (i.e., unspecified, which also uses bash) or 'sh',
# Note that 'bash' provides -o pipefail, in contrast to the default (i.e., unspecified, which also uses bash) or 'sh',
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
shell: sh

Expand All @@ -34,6 +37,7 @@ jobs:
# Do not wait up to the default of 10 minutes for network timeouts in a workflow which runs ca. 10 minutes.
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
steps:

- name: Checkout
uses: actions/checkout@v3

Expand Down Expand Up @@ -70,7 +74,7 @@ jobs:
- name: Upload build results
uses: actions/upload-artifact@v3
with:
name: RPM-build-results_sfos3.3.0-4.1.0
name: RPM-build-results_SFOS3.3.0-4.1.0
path: RPMS/

# Just for fun, see https://feathericons.com/ and
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/build-sfos4.2.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI - sfos4.2 branch on SFOS 4.2.0 (aarch64,armv7hl,i486)
name: CI - sfos4.2 branch on SDK for 4.2.0 (aarch64,armv7hl,i486)

env:
RELEASE: 4.2.0.21
Expand All @@ -14,10 +14,13 @@ on:
pull_request:
branches:
- sfos4.2
# Allows to run this workflow manually from the Actions tab.
#workflow_dispatch:
# Rather set a new release in the spec file and a new tag in the format N/X.Y.Z (e.g., release2_sfos4.2/0.6.3) to build a release version again.

defaults:
run:
# Note thas 'bash' provides -o pipefail, in contrast to the default (i.e., unspecified, which also uses bash) or 'sh',
# Note that 'bash' provides -o pipefail, in contrast to the default (i.e., unspecified, which also uses bash) or 'sh',
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
shell: sh

Expand All @@ -34,6 +37,7 @@ jobs:
# Do not wait up to the default of 10 minutes for network timeouts in a workflow which runs ca. 10 minutes.
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
steps:

- name: Checkout
uses: actions/checkout@v3

Expand Down Expand Up @@ -70,7 +74,7 @@ jobs:
- name: Upload build results
uses: actions/upload-artifact@v3
with:
name: RPM-build-results_sfos4.2.0+
name: RPM-build-results_SFOS4.2.0+
path: RPMS/

# Just for fun, see https://feathericons.com/ and
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/build-sfos4.2_latest.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: CI - sfos4.2 branch on latest SFOS (aarch64,armv7hl,i486)
name: CI - sfos4.2 branch on latest SDK (aarch64,armv7hl,i486)

env:
# For the latest available docker image, see https://github.com/CODeRUS/docker-sailfishos-platform-sdk
RELEASE: 4.5.0.16
# See https://hub.docker.com/r/coderus/sailfishos-platform-sdk/tags

on:
push:
Expand All @@ -15,10 +15,13 @@ on:
pull_request:
branches:
- sfos4.2
# Allows to run this workflow manually from the Actions tab.
#workflow_dispatch:
# Rather set a new release in the spec file and a new tag in the format N/X.Y.Z (e.g., release2_sfos4.2/0.6.3) to build a release version again.

defaults:
run:
# Note thas 'bash' provides -o pipefail, in contrast to the default (i.e., unspecified, which also uses bash) or 'sh',
# Note that 'bash' provides -o pipefail, in contrast to the default (i.e., unspecified, which also uses bash) or 'sh',
# see https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
shell: sh

Expand All @@ -35,6 +38,7 @@ jobs:
# Do not wait up to the default of 10 minutes for network timeouts in a workflow which runs ca. 10 minutes.
SEGMENT_DOWNLOAD_TIMEOUT_MINS: 2
steps:

- name: Checkout
uses: actions/checkout@v3

Expand Down Expand Up @@ -71,7 +75,7 @@ jobs:
- name: Upload build results
uses: actions/upload-artifact@v3
with:
name: RPM-build-results_sfos-latest
name: RPM-build-results_SFOS${{ env.RELEASE }}+
path: RPMS/

# Just for fun, see https://feathericons.com/ and
Expand Down
3 changes: 2 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
MIT License

Copyright (c) 2022-2023 olf (Olf0)
Copyright (c) 2022-2024 olf (Olf0)
2017-2022 Petr Tsymbarovich (mentaljam / osetr)
2019-2022 Björn Bidar (Thaodan)
2024 citronalco
2020 Dmitry Gerasimov (dseight)
2019 Matti Viljanen (direc85)
2019 Miklós Márton (martonmiklos)
Expand Down
28 changes: 17 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
# ![Storeman icon 86x86](https://github.com/storeman-developers/harbour-storeman/raw/master/icons/86x86/harbour-storeman.png) &nbsp; **Storeman**
# ![Storeman icon 86x86](./icons/86x86/harbour-storeman.png?raw=true) &nbsp; **Storeman**
**OpenRepos client application for SailfishOS**

OpenRepos client application for SailfishOS

[![Release](https://img.shields.io/github/release/storeman-developers/harbour-storeman.svg)](https://github.com/storeman-developers/harbour-storeman/releases)
<sup><sub>`Current`</sub></sup>[![Current release](https://img.shields.io/github/release/storeman-developers/harbour-storeman.svg)](https://github.com/storeman-developers/harbour-storeman/releases)

## Feature set

Expand Down Expand Up @@ -36,29 +35,36 @@ The [Storeman Installer](https://github.com/storeman-developers/harbour-storeman

* If you experience issues when installing, removing or updating packages after a SailfishOS upgrade, try running `devel-su pkcon refresh` in a terminal app.
* Starting with version 0.2.9, Storeman is built by the help of the SailfishOS-OBS and initially installed by the Storeman Installer (or manually). To update from Storeman < 0.2.9 (needs SailfishOS ≥ 3.1.0), one should reinstall Storeman via the Storeman Installer (which installs the current Storeman release, and since Storeman Installer 1.3.0 automatically removes a Storeman < 0.3.0 before that) or manually remove Storeman < 0.2.9 and install Storeman ≥ 0.3.0. After an initial installation of Storeman ≥ 0.3.0, further updates of Storeman will be performed within Storeman, as usual.
* Before software can be build for a SailfishOS release at the SailfishOS-OBS, Jolla must create a [corresponding "download on demand (DoD)" OBS-repository](https://build.merproject.org/project/subprojects/sailfishos). It may take a little time after a new SailfishOS release is published before the corresponding "DoD" repository is being made available, during which installing Storeman by the Storeman Installer or updating Storeman by itself on a device with the new SailfishOS release already installed does not work, because Storeman cannot be compiled for this new SailfishOS release at the Sailfish-OBS, yet; consequently this is always the case for "closed beta (cBeta)" releases of SailfishOS. In such a situation one has to manually download Storeman built for the last prior SailfishOS "general availability (GA)" release (e.g., from [its releases section at GitHub](https://github.com/storeman-developers/harbour-storeman/releases) or [the SailfishOS-OBS](https://build.merproject.org/project/show/home:olf:harbour-storeman)), then install or update Storeman via `pkcon install-local <downloaded RPM file>`, and hope that there is no change in the new SailfishOS release which breaks Storeman; if there is, please report that soon at [Storeman's issue tracker](https://github.com/storeman-developers/harbour-storeman/issues).
* Before software can be build for a SailfishOS release at the SailfishOS-OBS, Jolla must create a [corresponding "download on demand (DoD)" OBS-repository](https://build.merproject.org/project/subprojects/sailfishos). It may take a little time after a new SailfishOS release is published before the corresponding "DoD" repository is being made available, during which installing Storeman by the Storeman Installer or updating Storeman by itself on a device with the new SailfishOS release already installed does not work, because Storeman cannot be compiled for this new SailfishOS release at the Sailfish-OBS, yet; consequently this is always the case for "closed beta (cBeta)" releases of SailfishOS. In such a situation one has to manually download Storeman built for the last prior SailfishOS "general availability (GA)" release (e.g. from [its releases section at GitHub](https://github.com/storeman-developers/harbour-storeman/releases) or [the SailfishOS-OBS](https://build.merproject.org/project/show/home:olf:harbour-storeman)), then install or update Storeman via `pkcon install-local <downloaded RPM file>`, and hope that there is no change in the new SailfishOS release which breaks Storeman; if there is, please report that soon at [Storeman's issue tracker](https://github.com/storeman-developers/harbour-storeman/issues).
* Disclaimer: Storeman and its installer may still have flaws, kill your kittens or break your SailfishOS installation! Although this is very unlikely after years of testing by many users, new flaws may be introduced in any release (as for any software). Mind that the license you implicitly accept by using Storeman or Storeman Installer excludes any liability.

## Translating Storeman (l10n / i18n)

If you want to translate Storeman to a language it does not support yet or enhance an existing translation, please [read the translations-README](https://github.com/storeman-developers/harbour-storeman/tree/master/translations#readme).
If you want to translate Storeman to a language it does not support yet or enhance an existing translation, please [read the translations-README](./translations#readme).

## Screenshots of Storeman

| | | | |
| --- | --- | --- | --- |
| ![RecentAppsPage](https://github.com/storeman-developers/harbour-storeman/raw/master/.xdata/screenshots/screenshot-screenshot-storeman-01.png) | ![AppPage](https://github.com/storeman-developers/harbour-storeman/raw/master/.xdata/screenshots/screenshot-screenshot-storeman-02.png) | ![CommentsPage](https://github.com/storeman-developers/harbour-storeman/raw/master/.xdata/screenshots/screenshot-screenshot-storeman-03.png) | ![Commenting](https://github.com/storeman-developers/harbour-storeman/raw/master/.xdata/screenshots/screenshot-screenshot-storeman-04.png) |
| ![RepositoriesPage](https://github.com/storeman-developers/harbour-storeman/raw/master/.xdata/screenshots/screenshot-screenshot-storeman-06.png) | ![InstalledAppsPage](https://github.com/storeman-developers/harbour-storeman/raw/master/.xdata/screenshots/screenshot-screenshot-storeman-07.png) | ![BookmarksPage](https://github.com/storeman-developers/harbour-storeman/raw/master/.xdata/screenshots/screenshot-screenshot-storeman-08.png) | ![RepositoryPage](https://github.com/storeman-developers/harbour-storeman/raw/master/.xdata/screenshots/screenshot-screenshot-storeman-09.png) |
| | | | |
| :---: | :---: | :---: | :---: |
| | | | |
| ![RecentAppsPage](./.xdata/screenshots/screenshot-screenshot-storeman-01.png?raw=true) | ![AppPage](./.xdata/screenshots/screenshot-screenshot-storeman-02.png?raw=true) | ![CommentsPage](./.xdata/screenshots/screenshot-screenshot-storeman-03.png?raw=true) | ![Commenting](./.xdata/screenshots/screenshot-screenshot-storeman-04.png?raw=true) |
| <sub>Recently&nbsp;updated&nbsp;Apps</sub> | <sub>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;App&nbsp;details&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</sub> | <sub>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;App's&nbsp;comments&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</sub> | <sub>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Commenting&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</sub> |
| | | | |
| | | | |
| ![RepositoriesPage](./.xdata/screenshots/screenshot-screenshot-storeman-06.png?raw=true) | ![InstalledAppsPage](./.xdata/screenshots/screenshot-screenshot-storeman-07.png?raw=true) | ![BookmarksPage](./.xdata/screenshots/screenshot-screenshot-storeman-08.png?raw=true) | ![RepositoryPage](./.xdata/screenshots/screenshot-screenshot-storeman-09.png?raw=true) |
| <sub>Manage repositories</sub> | <sub>Installed Apps</sub> | <sub>Bookmarked Apps</sub> | <sub>Repository details</sub> |
| | | | |

## Credits

- [Petr Tsymbarovich (mentaljam / osetr)](https://github.com/mentaljam)
- [olf (Olf0)](https://github.com/Olf0)
- [Matti Viljanen (direc85)](https://github.com/direc85)
- [Björn Bidar (Thaodan)](https://github.com/Thaodan)
- [citronalco](https://github.com/citronalco)
- [Dmitry Gerasimov (dseight)](https://github.com/dseight)
- [elros34](https://github.com/elros34)
- [Christoph (inta)](https://github.com/inta)
- [Miklós Márton (martonmiklos)](https://github.com/martonmiklos)
- [OpenRepos service](https://openrepos.net/content/basil/about-openrepos) by [Basil Semuonov (custodian / thecust)](https://github.com/custodian)
- [Storeman icon](https://github.com/storeman-developers/harbour-storeman/raw/master/icons/harbour-storeman.svg) by [Laurent Chambon (Laurent_C)](https://mastodon.social/@Laurent_C)
- [Storeman icon](./icons/harbour-storeman.svg) by [Laurent Chambon (Laurent_C)](https://mastodon.social/@Laurent_C)
2 changes: 1 addition & 1 deletion qml/harbour-storeman.qml
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ ApplicationWindow
updatesNotification.replacesId = replaceId
updatesNotification.close()
} else if (_showUpdatesNotification) {
// Don't show notification if the app was openned from notification
// Don't show notification if the app was opened from notification
updatesNotification.replacesId = replaceId
updatesNotification.publish()
}
Expand Down
4 changes: 4 additions & 0 deletions qml/models/DevelopersModel.qml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ ListModel {
name: "Björn Bidar (Thaodan)"
link: "https://github.com/Thaodan"
},
ListElement {
name: "citronalco"
link: "https://github.com/citronalco"
},
ListElement {
name: "Dmitry Gerasimov (dseight)"
link: "https://github.com/dseight"
Expand Down
14 changes: 7 additions & 7 deletions qml/pages/LocalRpmsPage.qml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
import QtQuick 2.0
import Sailfish.Silica 1.0
import QtSparql 1.0
import QtDocGallery 5.0
import harbour.orn 1.0

Page {
// Duplicate count property because items are not really deleted from the model
property int _count: 0

readonly property bool _ready: page.status === PageStatus.Active && queryModel.status === SparqlListModel.Ready
readonly property bool _ready: page.status === PageStatus.Active && (queryModel.status === DocumentGalleryModel.Idle || queryModel.status === DocumentGalleryModel.Finished)

on_ReadyChanged: _ready && (_count = queryModel.count)

id: page
allowedOrientations: defaultAllowedOrientations

SparqlListModel {
DocumentGalleryModel {
id: queryModel
query: "SELECT strafter(nie:url(?r), 'file://') as ?filePath WHERE { ?r nie:mimeType 'application/x-rpm' }"
connection: SparqlConnection {
driver: "QTRACKER_DIRECT"
}
properties: ["fileName", "filePath"]
sortProperties: ["+fileName"]
rootType: DocumentGallery.File
filter: GalleryEqualsFilter { property: "mimeType"; value: "application/x-rpm" }
}

SilicaListView {
Expand Down
8 changes: 5 additions & 3 deletions rpm/harbour-storeman.changes
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
* Mon Sep 18 2023 olf <[email protected]> - 0.3.8
- Rename branch sfos3.2 to sfos3.1 to reflect reality and avoid confusion (#454, #455)
-
* Tue Mar 19 2024 olf <[email protected]> - 0.3.8
- Rename branch `sfos3.2` to `sfos3.1` to reflect reality and avoid confusion (#454, #455)
- [Workflows] Add recent changes from Patchmanager (#457)
- [Local RPMs page] Replace `QtSparql` with `QtDocGallery` (#462) by @citronalco, closes issue #461
- [Local RPMs page] Filter for `mimeType` instead of `fileName` to select RPM files (#463), enhances PR #462

* Mon Sep 11 2023 olf <[email protected]> - 0.3.7
- [harbour-storeman.ts] PRs #428 & #429 missed to adapt the base .ts file (#442)
Expand Down
Loading

0 comments on commit 5cb1345

Please sign in to comment.