From 64ec1ea7fd8ffb65e22f63cc9eebf0f81867ce0b Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 12 Jun 2026 08:29:27 +0000 Subject: [PATCH] Metadata, CI a dokumentace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - metadata.txt: icon ukazoval na neexistující download.png – plugin se ve správci zásuvných modulů zobrazoval bez ikony; nastaveno na akce.png. - Workflow: actions/checkout v2→v4 (v2 je deprecated, Node 12) a softprops/action-gh-release v1→v2. - README: poznámka, že knihovna requests nemusí být na Linuxu součástí systémové instalace QGIS. --- .github/workflows/release_plugin.yml | 4 ++-- README.md | 2 ++ amcr_viewer/metadata.txt | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release_plugin.yml b/.github/workflows/release_plugin.yml index 10184c3..bf4d8fa 100644 --- a/.github/workflows/release_plugin.yml +++ b/.github/workflows/release_plugin.yml @@ -11,7 +11,7 @@ jobs: steps: # 1. Stáhne kód z repozitáře - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 # 2. Vytvoří ZIP (předpokládá, že kód je ve složce 'amcr_viewer') - name: Zip Plugin @@ -22,7 +22,7 @@ jobs: # 3. Nahraje ZIP k Releasu - name: Upload Release Asset - uses: softprops/action-gh-release@v1 + uses: softprops/action-gh-release@v2 if: startsWith(github.ref, 'refs/tags/') with: files: amcr_viewer.zip diff --git a/README.md b/README.md index f5477c3..a037274 100644 --- a/README.md +++ b/README.md @@ -131,6 +131,8 @@ Layers are only created if the query returns features of the corresponding geome The plugin is developed in **Python 3** using the **PyQt6** framework for the GUI and the **Requests** library for HTTP communication. +> **Note:** The `requests` library is bundled with the QGIS installers for Windows and macOS. On Linux (distribution packages), it may need to be installed separately (e.g. `python3-requests`). + ### 4.1 File Structure * `amcr_viewer.py`: Entry point; handles GUI integration, toolbar/menu setup, and login flow. diff --git a/amcr_viewer/metadata.txt b/amcr_viewer/metadata.txt index 8343be2..124778e 100644 --- a/amcr_viewer/metadata.txt +++ b/amcr_viewer/metadata.txt @@ -47,7 +47,7 @@ tags=python,AMCR,AIS CR,archaeology,PIAN,AMČR,archeologie homepage=https://amcr-help.aiscr.cz/digiarchiv/qgis-viewer.html category=Vector -icon=download.png +icon=akce.png # experimental flag experimental=False