From 51c72307f84fb940425e9e2fbc4b45e8f3c12125 Mon Sep 17 00:00:00 2001 From: 5cript Date: Wed, 3 Jun 2026 17:24:00 +0200 Subject: [PATCH 1/3] Added update mechanism to copy manifest. --- scripts/copy_manifest_to_flathub.sh | 31 +++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/scripts/copy_manifest_to_flathub.sh b/scripts/copy_manifest_to_flathub.sh index 964fe95..22e321a 100755 --- a/scripts/copy_manifest_to_flathub.sh +++ b/scripts/copy_manifest_to_flathub.sh @@ -11,11 +11,38 @@ SOURCE_DIR=$(canonicalPath "${SOURCE_DIR}") MANIFEST="org.nuicpp.nui_sftp.yml" +VERSION=$("${SCRIPT_DIR}/extract_version.sh") + +# The flathub manifest references this deploy repo as a git source. The tag/commit +# pair must be refreshed every release, otherwise flathub keeps building against an +# outdated deploy-meta snapshot. Require an exact `flatpak/*` tag at HEAD so we never +# pin to a commit that hasn't been tagged for flathub yet. +DEPLOY_COMMIT=$(git -C "${SOURCE_DIR}" rev-parse HEAD) +if ! DEPLOY_TAG=$(git -C "${SOURCE_DIR}" describe --tags --exact-match --match 'flatpak/*' HEAD 2>/dev/null); then + echo "Error: HEAD of ${SOURCE_DIR} has no flatpak/* tag." >&2 + echo " Create and push one (e.g. flatpak/${VERSION}_1) before running this script." >&2 + exit 1 +fi +echo "Pinning deploy-meta to tag ${DEPLOY_TAG} (commit ${DEPLOY_COMMIT})" + cp "${SOURCE_DIR}/${MANIFEST}" "${SOURCE_DIR}/flathub/${MANIFEST}" -cd "${SOURCE_DIR}/flathub" +DEST_MANIFEST="${SOURCE_DIR}/flathub/${MANIFEST}" -VERSION=$("${SCRIPT_DIR}/extract_version.sh") +# Update only the deploy-meta git source block (delimited by its url: line and the +# `dest: deploy-meta` line); other git sources in the manifest are left untouched. +sed -i -E "/^[[:space:]]*url:[[:space:]]*https:\/\/github\.com\/5cript\/nui-sftp-deploy[[:space:]]*$/,/^[[:space:]]*dest:[[:space:]]*deploy-meta[[:space:]]*$/ { + s|^([[:space:]]*)tag:[[:space:]]*.*$|\1tag: ${DEPLOY_TAG}| + s|^([[:space:]]*)commit:[[:space:]]*.*$|\1commit: ${DEPLOY_COMMIT}| +}" "${DEST_MANIFEST}" + +if ! grep -qF "tag: ${DEPLOY_TAG}" "${DEST_MANIFEST}" \ + || ! grep -qF "commit: ${DEPLOY_COMMIT}" "${DEST_MANIFEST}"; then + echo "Error: failed to update deploy-meta tag/commit in ${DEST_MANIFEST}" >&2 + exit 1 +fi + +cd "${SOURCE_DIR}/flathub" git add "${MANIFEST}" git commit -m "Update to ${VERSION}" From 929f2a9a3dafadd2b1eb7348b8517873a0e2f799 Mon Sep 17 00:00:00 2001 From: 5cript Date: Wed, 3 Jun 2026 17:24:17 +0200 Subject: [PATCH 2/3] Submodule Updates from 1.3.0 --- arch | 2 +- flathub | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch b/arch index 1461a63..824c131 160000 --- a/arch +++ b/arch @@ -1 +1 @@ -Subproject commit 1461a6393629af0642f814df9e91317dcf0013a5 +Subproject commit 824c13156a901c9c1b410fa1bd91408a49252342 diff --git a/flathub b/flathub index 176de5c..12c4913 160000 --- a/flathub +++ b/flathub @@ -1 +1 @@ -Subproject commit 176de5c5517a846f4cc5f5518431d972eda7e81c +Subproject commit 12c4913a75665836f86111a6fa0a5175e77071af From 5f088d4ae5ef9fdee90cf4e821127a3d653af96f Mon Sep 17 00:00:00 2001 From: 5cript Date: Wed, 3 Jun 2026 17:24:45 +0200 Subject: [PATCH 3/3] Prepared 1.3.1 --- PKGBUILD | 6 +++--- org.nuicpp.nui_sftp.metainfo.xml | 28 ++++++++++++++++++++++++++++ org.nuicpp.nui_sftp.yml | 8 ++++---- windows/nui-sftp.iss | 2 +- 4 files changed, 36 insertions(+), 8 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index ffe9db8..619dc6f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Tim Ebbeke pkgname=nui-sftp -pkgver=1.3.0 +pkgver=1.3.1 pkgrel=1 pkgdesc="NUI-based SFTP application" arch=('x86_64') @@ -39,9 +39,9 @@ source=( "https://s3.g.s4.mega.io/jgemkib4a5fte35rktt5wxrwkw4ejk4ybemkf/nui-scp/icons.tar.gz" ) sha256sums=( - '87d9172ea7c18c4d1dec57bfc679fb99dccc7f30437fe88d4e8aea7a55492826' + 'a46c1c3ad1551a20005b0a3119d8ff607af046bc0927d7a041a78b558a911417' 'cf0fc442069dfd28bd8b7769da6dfdca92111044ea9817197716ed9bfada3869' - '24fe751fe7c6ecd7d9f49d23860503f6d312fc0143a6c3673e0668aa5ed6d767' + 'a8ac5edaac2a1b4ce21d48c90f0c3502572b5f3ec1ed225aa42f5c97c10d1caf' '30ffa48c3a509e878db31a1e5d80376242852e34d9c2aa3b44d2e3d1da2ce32e' ) diff --git a/org.nuicpp.nui_sftp.metainfo.xml b/org.nuicpp.nui_sftp.metainfo.xml index 5c1bf57..ba52e36 100644 --- a/org.nuicpp.nui_sftp.metainfo.xml +++ b/org.nuicpp.nui_sftp.metainfo.xml @@ -36,6 +36,34 @@ + + +

What's Changed

+
    +
  • Add SECURITY.md with vulnerability reporting details by @5cript in https://github.com/5cript/nui-sftp/pull/179
  • +
  • Update Ko-fi username in FUNDING.yml by @5cript in https://github.com/5cript/nui-sftp/pull/180
  • +
  • Update issue templates by @5cript in https://github.com/5cript/nui-sftp/pull/181
  • +
  • Modify bug report template for nui-sftp by @5cript in https://github.com/5cript/nui-sftp/pull/182
  • +
  • Added CONTRIBUTING.md by @5cript in https://github.com/5cript/nui-sftp/pull/183
  • +
  • Fix bulk upload progress not reaching 100% by @5cript in https://github.com/5cript/nui-sftp/pull/191
  • +
  • Fixes logic to reach 100%, the total was overshooting the actual transfer size.
  • +
  • Made bug issue template less intimidating
  • +
  • Made progress refresh more frequent when large buffers are used.
  • +
  • Readded missing side refreshes after operations.
  • +
  • Removed some logging that eats performance even on info level
  • +
  • Added limit to confirm dialog on many items selected.
  • +
  • Turned any delete into queued delete to avoid timeout problems.
  • +
  • Made bulk delete card text more useful when not started.
  • +
  • Made sort by name case insensitive.
  • +
  • Optimized overwrite check for many-uploads drastically.
  • +
+

+ + Full Changelog + : https://github.com/5cript/nui-sftp/compare/v1.3.0…v1.3.1 +

+
+

What's Changed

diff --git a/org.nuicpp.nui_sftp.yml b/org.nuicpp.nui_sftp.yml index 447719b..b9c7ae1 100644 --- a/org.nuicpp.nui_sftp.yml +++ b/org.nuicpp.nui_sftp.yml @@ -70,8 +70,8 @@ modules: - cp -r * /app/frontend sources: - type: archive - url: https://github.com/5cript/nui-sftp/releases/download/v1.3.0/nui-sftp-linux-frontend_1.3.0.tar.gz - sha256: 24fe751fe7c6ecd7d9f49d23860503f6d312fc0143a6c3673e0668aa5ed6d767 + url: https://github.com/5cript/nui-sftp/releases/download/v1.3.1/nui-sftp-linux-frontend_1.3.1.tar.gz + sha256: a8ac5edaac2a1b4ce21d48c90f0c3502572b5f3ec1ed225aa42f5c97c10d1caf - name: nui-sftp buildsystem: cmake-ninja @@ -116,8 +116,8 @@ modules: sources: - type: git url: https://github.com/5cript/nui-sftp - tag: v1.3.0 - commit: eb406493889b9f5d11ca34b2a3c03125c3faa02d + tag: v1.3.1 + commit: 3f9419a53aa612dc97abef755ede0308fba5e64a - type: archive url: https://s3.g.s4.mega.io/jgemkib4a5fte35rktt5wxrwkw4ejk4ybemkf/nui-scp/icons.tar.gz sha256: 30ffa48c3a509e878db31a1e5d80376242852e34d9c2aa3b44d2e3d1da2ce32e diff --git a/windows/nui-sftp.iss b/windows/nui-sftp.iss index 428eed5..9fe4208 100644 --- a/windows/nui-sftp.iss +++ b/windows/nui-sftp.iss @@ -15,7 +15,7 @@ ; `prepare_release.mjs --version X.Y.Z` invocation. Do not edit by hand; bump ; via prepare_release.mjs so it stays in lockstep with PKGBUILD/flatpak/appimage. #ifndef MyAppVersion - #define MyAppVersion "1.3.0" + #define MyAppVersion "1.3.1" #endif #ifndef SourceDir #define SourceDir "..\..\nui-sftp\build\install"