Compare commits
5 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
0b804ca5ac | |
|
|
a583ce6f99 | |
|
|
597a7d7977 | |
|
|
786ab952bc | |
|
|
3a9378f0b8 |
157
README.md
157
README.md
|
|
@ -4,50 +4,149 @@
|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
PPTX Reporter creates video timing reports from PowerPoint presentations and
|
**PPTX Reporter is a desktop application** that turns the videos in a
|
||||||
media folders. It provides a desktop interface and CLI, exports readable HTML,
|
PowerPoint presentation—or a folder of ordinary video files—into a clear timing
|
||||||
PDF and JSON reports, and can build grouped Ontime rundowns.
|
report. It can also extract embedded videos and prepare a rundown for
|
||||||
|
[Ontime](https://www.getontime.no/).
|
||||||
|
|
||||||
|
You do not need PowerPoint, Python, or Typst. The desktop app guides you from
|
||||||
|
the source files to finished reports.
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<img src="crates/pptx-reporter/assets/app-icon.png" width="128" alt="PPTX Reporter icon">
|
<img src="crates/pptx-reporter/assets/app-icon.png" width="128" alt="PPTX Reporter icon">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
## Install
|
## Download the desktop app
|
||||||
|
|
||||||
Download a portable package from [Gitea Releases](https://proxy.dandaedre.com/gitea/idle-org/pptx-reporter/releases).
|
[**PPTX Reporter v0.7.0 release notes and all downloads →**](https://github.com/idle-org/pptx-reporter/releases/tag/v0.7.0)
|
||||||
The portable packages include FFprobe and the required notices. On Windows,
|
|
||||||
extract the complete archive and launch `pptx-reporter-gui.exe`.
|
|
||||||
|
|
||||||
## Run from source
|
| Your computer | Portable desktop package |
|
||||||
|
| --- | --- |
|
||||||
|
| Windows 64-bit | [Download ZIP](https://github.com/idle-org/pptx-reporter/releases/download/v0.7.0/pptx-reporter-portable-x86_64-pc-windows-gnu-v0.7.0.zip) |
|
||||||
|
| Linux 64-bit | [Download TGZ](https://github.com/idle-org/pptx-reporter/releases/download/v0.7.0/pptx-reporter-portable-x86_64-unknown-linux-gnu-v0.7.0.tgz) |
|
||||||
|
| Apple Silicon Mac | [Download ZIP](https://github.com/idle-org/pptx-reporter/releases/download/v0.7.0/pptx-reporter-portable-aarch64-apple-darwin-v0.7.0.zip) |
|
||||||
|
| Intel Mac | [Download ZIP](https://github.com/idle-org/pptx-reporter/releases/download/v0.7.0/pptx-reporter-portable-x86_64-apple-darwin-v0.7.0.zip) |
|
||||||
|
|
||||||
```sh
|
Extract the **complete archive** before opening the application. The portable
|
||||||
cargo run --locked --bin pptx-reporter-gui
|
package includes the GUI, FFprobe, fonts, licenses, and a command-line version
|
||||||
cargo run --locked --bin pptx-reporter -- presentation.pptx --report all
|
for optional automation.
|
||||||
cargo run --locked --bin pptx-reporter -- ./show --timings-only --report ontime
|
|
||||||
|
On Windows, launch `pptx-reporter-gui.exe`. On Linux or macOS, launch
|
||||||
|
`pptx-reporter-gui` from the extracted folder. The Mac downloads are unsigned;
|
||||||
|
see the [Mac launch instructions](docs/development/releases.md#macos) if
|
||||||
|
Gatekeeper blocks the application.
|
||||||
|
|
||||||
|
## Create a report in the GUI
|
||||||
|
|
||||||
|
1. Drop one or more `.pptx` files, a video folder, or a folder containing
|
||||||
|
presentations into the window.
|
||||||
|
2. Choose what to create and where to save it.
|
||||||
|
3. Select the report formats you need.
|
||||||
|
4. Click **Generate reports**.
|
||||||
|
|
||||||
|
The original presentation and videos are preserved.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Choose your output
|
||||||
|
|
||||||
|
The **Create** menu controls whether PPTX Reporter extracts embedded videos,
|
||||||
|
creates reports, or does both.
|
||||||
|
|
||||||
|
| Choice | Use it when you want to… |
|
||||||
|
| --- | --- |
|
||||||
|
| **Reports only** | Read timings without keeping another copy of the videos |
|
||||||
|
| **Extract + reports** | Save the embedded videos and create timing reports |
|
||||||
|
| **Extract only** | Save embedded videos without producing reports |
|
||||||
|
|
||||||
|
The common report formats appear directly on the Setup screen:
|
||||||
|
|
||||||
|
- **PDF** creates an easy-to-share report.
|
||||||
|
- **Markdown** creates an editable text report.
|
||||||
|
- **Ontime** creates `timings.ontime.json`, ready to import as a rundown.
|
||||||
|
- **More formats…** offers a web page, compact PDF, JSON, plain text, Typst,
|
||||||
|
and useful presets.
|
||||||
|
|
||||||
|
By default, output goes beside the first input. Use **Change…** to put it
|
||||||
|
somewhere else.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
## Open the finished reports
|
||||||
|
|
||||||
|
When processing finishes, the **Results** tab lists every generated file. Use
|
||||||
|
**Open** to view a report or **Open output folder** to see everything together.
|
||||||
|
Expand **Activity & diagnostics** if the app reports a warning.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
For a presentation named `Showcase.pptx`, the default output is:
|
||||||
|
|
||||||
|
```text
|
||||||
|
Showcase_videos/
|
||||||
|
├── reports/ PDF, web, text, JSON and Ontime reports
|
||||||
|
└── videos/ extracted media, when requested
|
||||||
```
|
```
|
||||||
|
|
||||||
The source build discovers FFprobe beside the application, under `bin/`, or on
|
Reports follow slide order and account for PowerPoint start and end trims.
|
||||||
`PATH`. PDF generation and its fonts are embedded.
|
Looping videos and unsupported timings remain visible, but they are excluded
|
||||||
|
from finite playback totals and Ontime cues. Extracted media is not trimmed or
|
||||||
|
otherwise changed.
|
||||||
|
|
||||||
## Documentation
|

|
||||||
|
|
||||||
- [User guide](docs/pptx-reporter/README.md)
|
## Import a rundown into Ontime
|
||||||
- [Visual walkthrough](docs/pptx-reporter/visual-guide.md)
|
|
||||||
|
Generate the **Ontime** format, then import
|
||||||
|
`reports/timings.ontime.json` through **Editor → Project → Manage projects**
|
||||||
|
in Ontime 4. Use this file instead of `timings.json`, which contains the
|
||||||
|
general report data.
|
||||||
|
|
||||||
|
See [report formats and timing](docs/pptx-reporter/report-formats.md) for skipped
|
||||||
|
events and show start times.
|
||||||
|
|
||||||
|
## If something does not work
|
||||||
|
|
||||||
|
- **The Generate button is disabled:** select an input and at least one report
|
||||||
|
format, or choose **Extract only**.
|
||||||
|
- **FFprobe cannot be found:** keep the bundled executable beside the app, or
|
||||||
|
choose it under **Settings → FFprobe → Locate…**.
|
||||||
|
- **A warning or failure appears:** expand **Activity & diagnostics** to see
|
||||||
|
the affected file and processing step.
|
||||||
|
- **A report does not open:** use **Open output folder** and open it with an
|
||||||
|
installed PDF reader or browser. Ontime JSON must be imported into Ontime.
|
||||||
|
|
||||||
|
The [illustrated user guide](docs/pptx-reporter/visual-guide.md) covers batches,
|
||||||
|
progress, cancellation, existing files, and every report preset.
|
||||||
|
|
||||||
|
## Optional command line use
|
||||||
|
|
||||||
|
The GUI is the main way to use PPTX Reporter. The portable package also contains
|
||||||
|
`pptx-reporter.exe` for scripts and repeatable batch jobs. Source builds can run
|
||||||
|
the same commands with `cargo run --locked --bin pptx-reporter --`:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# Reports for one presentation
|
||||||
|
pptx-reporter presentation.pptx --report all
|
||||||
|
|
||||||
|
# An Ontime rundown from a folder of videos
|
||||||
|
pptx-reporter ./show --timings-only --report ontime
|
||||||
|
|
||||||
|
# Extract embedded videos without reports
|
||||||
|
pptx-reporter presentation.pptx --extract-only
|
||||||
|
```
|
||||||
|
|
||||||
|
For batch behavior and exact playback semantics, see the
|
||||||
|
[complete reference](docs/pptx-reporter/README.md).
|
||||||
|
|
||||||
|
## Documentation and development
|
||||||
|
|
||||||
|
- [Illustrated user guide](docs/pptx-reporter/visual-guide.md)
|
||||||
- [Report formats and timing](docs/pptx-reporter/report-formats.md)
|
- [Report formats and timing](docs/pptx-reporter/report-formats.md)
|
||||||
- [Portable release process](docs/development/releases.md)
|
- [Development guide](docs/development/README.md)
|
||||||
- [Changelog](docs/pptx-reporter/changelog.md)
|
- [Changelog](docs/pptx-reporter/changelog.md)
|
||||||
|
|
||||||
## Development
|
|
||||||
|
|
||||||
```sh
|
|
||||||
cargo fmt --all --check
|
|
||||||
cargo clippy --locked --workspace --all-targets --all-features -- -D warnings
|
|
||||||
cargo test --locked --workspace --all-features
|
|
||||||
RUSTDOCFLAGS="-D warnings" cargo doc --locked --workspace --all-features --no-deps
|
|
||||||
python3 -m unittest discover -s tests -v
|
|
||||||
```
|
|
||||||
|
|
||||||
PPTX Reporter is open-source software under the [MIT License](LICENSE). Its
|
PPTX Reporter is open-source software under the [MIT License](LICENSE). Its
|
||||||
development includes LLM-generated or LLM-assisted work with human review, and
|
development includes LLM-generated or LLM-assisted work with human review, and
|
||||||
it is used in professional settings. Report problems through
|
it is used in professional settings. Report problems through
|
||||||
[Gitea Issues](https://proxy.dandaedre.com/gitea/idle-org/pptx-reporter/issues).
|
[GitHub Issues](https://github.com/idle-org/pptx-reporter/issues).
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,13 @@
|
||||||
{
|
{
|
||||||
"x86_64-pc-windows-gnu": {
|
"x86_64-pc-windows-gnu": {
|
||||||
"release": "autobuild-2026-10-20-13-08",
|
"release": "autobuild-2026-11-21-12-37",
|
||||||
"asset": "ffmpeg-n9.0.2-29-g6dfaba896f-win64-lgpl-9.0.zip",
|
"asset": "ffmpeg-n9.0.2-61-gd59078794d-win64-lgpl-9.0.zip",
|
||||||
"sha256": "e7bca5e004c2d13bcb374c3a4bd30c4588b08607a4b1a01369341a4f9678dff3"
|
"sha256": "3508eac94b9cfd5ffe34e88cef4fd5ba15b4ccdd6b4083488e070c702342a26a"
|
||||||
},
|
},
|
||||||
"x86_64-unknown-linux-gnu": {
|
"x86_64-unknown-linux-gnu": {
|
||||||
"release": "autobuild-2026-10-20-13-08",
|
"release": "autobuild-2026-11-21-12-37",
|
||||||
"asset": "ffmpeg-n9.0.2-29-g6dfaba896f-linux64-lgpl-9.0.tar.xz",
|
"asset": "ffmpeg-n9.0.2-61-gd59078794d-linux64-lgpl-9.0.tar.xz",
|
||||||
"sha256": "5ae5939260c72671383f0a0d8785695bfe06c94c27d4daac2e63eb8576417927"
|
"sha256": "7426ff6a8195b6e406f40d7155174e51ce6ef16a7d5e1f7d839c389cbc33817f"
|
||||||
},
|
},
|
||||||
"aarch64-apple-darwin": {
|
"aarch64-apple-darwin": {
|
||||||
"release": "9.0.2",
|
"release": "9.0.2",
|
||||||
|
|
|
||||||
|
|
@ -7,4 +7,5 @@
|
||||||
- [Development](development/README.md)
|
- [Development](development/README.md)
|
||||||
- [CI and coverage](development/ci.md)
|
- [CI and coverage](development/ci.md)
|
||||||
- [Cross builds and releases](development/releases.md)
|
- [Cross builds and releases](development/releases.md)
|
||||||
|
- [Application icon provenance](development/icon-generation.md)
|
||||||
- [Persistent interfaces](interfaces/README.md)
|
- [Persistent interfaces](interfaces/README.md)
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,18 @@
|
||||||
|
# Application icon provenance
|
||||||
|
|
||||||
|
The application icon was generated with the built-in image generation tool.
|
||||||
|
Committed PNG, ICO and ICNS derivatives are used directly by builds; no image
|
||||||
|
generation service is required to compile or package the application.
|
||||||
|
|
||||||
|
Original prompt:
|
||||||
|
|
||||||
|
> Use case: logo-brand. Asset type: professional desktop application icon for
|
||||||
|
> pptx-reporter in a coordinated suite of document and audiovisual tools.
|
||||||
|
> Subject: a presentation slide with a play triangle and a small clock,
|
||||||
|
> representing video timing reports. A single centered icon, square 1024x1024
|
||||||
|
> canvas, rounded-square deep graphite tile with restrained luminous teal and
|
||||||
|
> cool silver pictogram. Premium contemporary desktop software visual identity,
|
||||||
|
> simple bold geometry, subtle depth and soft bevel, crisp silhouette legible at
|
||||||
|
> 32 pixels, front-facing orthographic view, balanced margins. Transparent
|
||||||
|
> background outside the tile, tile occupies 88% of canvas. No words, no labels,
|
||||||
|
> no watermark, no extra decorative objects.
|
||||||
|
|
@ -20,7 +20,7 @@ are protected; use `--output DIR` for a new test build.
|
||||||
|
|
||||||
## FFprobe
|
## FFprobe
|
||||||
|
|
||||||
`scripts/fetch_ffprobe.py` downloads BtbN FFmpeg 9.0 release-branch, non-shared
|
`scripts/fetch_ffprobe.py` downloads FFmpeg-Builds 9.0 release-branch, non-shared
|
||||||
LGPL builds. It verifies GitHub's archive SHA-256, executable format and x86-64
|
LGPL builds. It verifies GitHub's archive SHA-256, executable format and x86-64
|
||||||
architecture, then tests `ffprobe -version` on a matching host. Foreign binaries
|
architecture, then tests `ffprobe -version` on a matching host. Foreign binaries
|
||||||
are inspected without execution. Verified binaries/notices are cached in
|
are inspected without execution. Verified binaries/notices are cached in
|
||||||
|
|
@ -69,7 +69,7 @@ never guesses Cargo output paths or creates archives. The publisher handles
|
||||||
archive validation, checksums and upload. See the upstream
|
archive validation, checksums and upload. See the upstream
|
||||||
[named-bundle contract](https://proxy.dandaedre.com/gitea/idle-org/rust_realease/raw/branch/main/docs/portable-bundles.md).
|
[named-bundle contract](https://proxy.dandaedre.com/gitea/idle-org/rust_realease/raw/branch/main/docs/portable-bundles.md).
|
||||||
|
|
||||||
`crates/pptx-reporter/ffprobe-pins.json` pins a dated BtbN release, exact non-shared
|
`crates/pptx-reporter/ffprobe-pins.json` pins a dated FFmpeg-Builds release, exact non-shared
|
||||||
LGPL 9.0 asset name and published SHA-256 digest per Windows/Linux target. Dated assets have
|
LGPL 9.0 asset name and published SHA-256 digest per Windows/Linux target. Dated assets have
|
||||||
versioned names, unlike the downloader's default `latest` assets. To update,
|
versioned names, unlike the downloader's default `latest` assets. To update,
|
||||||
review the provider release and its notices, then update all three fields together.
|
review the provider release and its notices, then update all three fields together.
|
||||||
|
|
@ -171,6 +171,10 @@ them; macOS runtime validation is explicitly skipped on Linux.
|
||||||
Publish the complete configured matrix together so its checksum manifest covers
|
Publish the complete configured matrix together so its checksum manifest covers
|
||||||
all platforms.
|
all platforms.
|
||||||
|
|
||||||
|
The release configuration uploads that matrix to both Gitea and GitHub. Provide
|
||||||
|
`GITEA_TOKEN` and `GITHUB_TOKEN`, or use `--token-file` with an untracked JSON
|
||||||
|
object whose `gitea` and `github` keys contain the corresponding tokens.
|
||||||
|
|
||||||
## Application artwork
|
## Application artwork
|
||||||
|
|
||||||
PPTX Reporter embeds its PNG window icon and Windows ICO resource, including
|
PPTX Reporter embeds its PNG window icon and Windows ICO resource, including
|
||||||
|
|
|
||||||
|
|
@ -2,14 +2,23 @@
|
||||||
|
|
||||||
[Documentation index](../README.md)
|
[Documentation index](../README.md)
|
||||||
|
|
||||||
## Unreleased
|
## v0.7.0 — 2026-11-21
|
||||||
|
|
||||||
|
- Publish the first standalone Idle release with portable desktop packages for
|
||||||
|
Windows, Linux, Apple Silicon macOS and Intel macOS.
|
||||||
|
- Make the GUI the primary download and README workflow while retaining the CLI
|
||||||
|
inside each portable package for optional automation.
|
||||||
|
- Refresh the pinned Windows and Linux FFprobe archives and accept the provider's
|
||||||
|
current GitHub organisation URL after its repository move.
|
||||||
|
- Publish future release assets to both Gitea and GitHub from one build, with
|
||||||
|
separate named credentials for each service.
|
||||||
- Move PPTX Reporter from the Beffroi tools workspace into its own Idle-owned
|
- Move PPTX Reporter from the Beffroi tools workspace into its own Idle-owned
|
||||||
repository with standalone build, packaging, documentation and CI support.
|
repository with standalone build, packaging, documentation and CI support.
|
||||||
- Store new desktop preferences under the Idle application namespace while
|
- Store new desktop preferences under the Idle application namespace while
|
||||||
reading the former Beffroi settings location as a compatibility fallback.
|
reading the former Beffroi settings location as a compatibility fallback.
|
||||||
|
- Preserve the application icon generation prompt with the standalone project.
|
||||||
## v0.7.0 — 2026-11-14
|
- Rewrite the project README as an illustrated, task-oriented quick start for
|
||||||
|
desktop users, with installation, output selection, results and troubleshooting.
|
||||||
|
|
||||||
- Update the shared Rust application version to 0.7.0; see the [release notes](../releases/v0.7.0.md).
|
- Update the shared Rust application version to 0.7.0; see the [release notes](../releases/v0.7.0.md).
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,62 +1,57 @@
|
||||||
# Beffroi tools 0.7.0
|
# PPTX Reporter 0.7.0
|
||||||
|
|
||||||
Released 2026-11-14. This minor release improves Canvas Pilot's device mapping,
|
PPTX Reporter 0.7.0 is the first standalone Idle release of the desktop
|
||||||
input previews, geometry exchange and documentation. All four Rust applications
|
application. Drop in PowerPoint files or video folders, choose the reports you
|
||||||
now report the shared 0.7.0 version.
|
need, and open the results from the application when processing finishes.
|
||||||
|
|
||||||
## Canvas Pilot highlights
|
## Desktop workflow
|
||||||
|
|
||||||
- Map only the layers actually allocated on each Midra screen, independently of
|
- Add one or more PowerPoint presentations, video folders, or a parent folder
|
||||||
physical input count. Existing layers remain available without an assigned input.
|
containing a show.
|
||||||
Keep editor input identity in Advanced Source, separate from device layer links.
|
- Create reports, extract embedded videos, or do both.
|
||||||
- Share destinations between alternative layouts, with warnings naming other linked
|
- Export readable PDF, compact PDF, web, Markdown, plain-text and JSON reports.
|
||||||
layers. Block sends with overlapping destinations in the chosen scope; send a
|
- Create a grouped Ontime 4 rundown from the same inputs.
|
||||||
conflict-free selection or folder instead.
|
- Review finished files in the Results tab and open a report or its folder
|
||||||
- Use a dedicated Preview tab and Import input snapshot window to capture stills
|
directly.
|
||||||
into layers or fixed references. Hide no-signal inputs by default, capture on
|
- Cancel long work and expand Activity & diagnostics when an input needs
|
||||||
input selection, and pool requests for layers sharing an input. Refresh remains
|
attention.
|
||||||
throttled and serialized; fixed references never auto-refresh.
|
|
||||||
- Snap to a configurable overlay grid, visible above reference images, with
|
|
||||||
independent visibility and snapping controls. Keep screen labels visible with
|
|
||||||
references and double-click again to exit visual crop editing.
|
|
||||||
- Drop supported geometry files into the same mapping review used by clipboard
|
|
||||||
and file imports. Choose All, Selected or Folder destinations, exclude individual
|
|
||||||
items, and review mappings without repeated import controls. Destination shortages
|
|
||||||
appear beside the scope selector.
|
|
||||||
- Use the official Craft codecs for complete DXF documents and optional native DWG
|
|
||||||
exchange. Include updated Full HD and UHD CAD templates and a ZIP of the AI
|
|
||||||
templates to avoid browser PDF previews. PPTX, draw.io and SVG acceptance is
|
|
||||||
confirmed by the user.
|
|
||||||
|
|
||||||
## Full manuals
|
The original presentations and source videos are never modified. Timings follow
|
||||||
|
slide order and account for PowerPoint start and end trims. Looping or
|
||||||
|
unsupported playback remains visible in reports and is excluded from finite
|
||||||
|
totals and Ontime cues.
|
||||||
|
|
||||||
All six tools now have [published mdBook manuals](https://books.dandaedre.com/manuals/)
|
## Downloads
|
||||||
with search, chapter navigation, local assets and downloadable templates. README
|
|
||||||
links lead directly to the books. Midra separates a first-layout quick start from advanced workflow and contract
|
|
||||||
chapters. Jenkins builds and checks the books before publishing main builds.
|
|
||||||
|
|
||||||
## Compatibility and limitations
|
Choose the **portable** archive for a complete desktop package:
|
||||||
|
|
||||||
Project JSON stays at version 10. Application settings are now version 7 for the
|
- Windows x86-64 ZIP
|
||||||
configurable grid, with migration from versions 1–6. Preview assignments and
|
- Linux x86-64 TGZ
|
||||||
refresh controls remain session-only. Geometry exchange preserves layout geometry;
|
- Apple Silicon macOS ZIP
|
||||||
use project JSON to retain the complete editable source/crop representation.
|
- Intel macOS ZIP
|
||||||
|
|
||||||
DWG requires the optional vendor-format build; the documented `no_proprietary`
|
Extract the entire archive before launching `pptx-reporter-gui` (or
|
||||||
build excludes it. Illustrator conversion still requires VectorCraft. AI downloads
|
`pptx-reporter-gui.exe` on Windows). Portable packages include FFprobe, fonts,
|
||||||
are PDF-compatible Illustrator files; the template ZIP preserves their original
|
licenses, provenance, desktop artwork, and the optional `pptx-reporter`
|
||||||
bytes and filenames. CAD exchange handles supported rectangular layout geometry,
|
command-line application. No separate PowerPoint, Python, Typst, or FFmpeg
|
||||||
not arbitrary CAD drawings.
|
installation is required.
|
||||||
|
|
||||||
## Validation and distribution
|
The smaller archives and bare executables are intended for command-line users
|
||||||
|
and package installers. They do not include the complete portable runtime.
|
||||||
|
|
||||||
The CAD changes were checked in QCAD 3.28.2, including DXF/DWG rendering and
|
## Platform notes
|
||||||
re-save/import round trips. Release checks passed workspace tests, Clippy, rustdoc, formatting and all 62
|
|
||||||
Python tests. Rust line coverage is 90.32%. No new hardware
|
|
||||||
or Windows/macOS acceptance is claimed.
|
|
||||||
|
|
||||||
This release records source and a local version tag. Cross-platform binary builds
|
The macOS applications require macOS 13 or newer. They are unsigned and
|
||||||
and remote publication remain separate steps; no new release archives are included.
|
unnotarized; follow the repository's
|
||||||
|
[Mac launch instructions](../development/releases.md#macos) if Gatekeeper
|
||||||
|
quarantines the extracted files.
|
||||||
|
|
||||||
See the [tool changelogs](../changelogs.md), [remaining Midra work](https://proxy.dandaedre.com/gitea/idle-org/canvas-pilot/src/branch/main/docs/canvas-pilot/plan.md),
|
The release is cross-built on Linux. Automated format, architecture, archive,
|
||||||
[format contracts](../interfaces/README.md) and [release build instructions](../development/releases.md).
|
checksum and report-generation validation does not replace native acceptance on
|
||||||
|
every Windows and macOS configuration.
|
||||||
|
|
||||||
|
## Open source and development
|
||||||
|
|
||||||
|
PPTX Reporter is MIT-licensed open-source software. Its development includes
|
||||||
|
LLM-generated or LLM-assisted work with human review, and it is used in
|
||||||
|
professional settings.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,18 @@
|
||||||
[release]
|
[release]
|
||||||
tag-prefix = "v"
|
tag-prefix = "v"
|
||||||
|
|
||||||
|
[[release.endpoints]]
|
||||||
|
name = "gitea"
|
||||||
|
provider = "gitea"
|
||||||
|
repository = "https://proxy.dandaedre.com/gitea/idle-org/pptx-reporter"
|
||||||
|
token-env = "GITEA_TOKEN"
|
||||||
|
|
||||||
|
[[release.endpoints]]
|
||||||
|
name = "github"
|
||||||
|
provider = "github"
|
||||||
|
repository = "https://github.com/idle-org/pptx-reporter"
|
||||||
|
token-env = "GITHUB_TOKEN"
|
||||||
|
|
||||||
[build]
|
[build]
|
||||||
targets = [
|
targets = [
|
||||||
"x86_64-unknown-linux-gnu",
|
"x86_64-unknown-linux-gnu",
|
||||||
|
|
@ -25,7 +37,7 @@ targets = ["x86_64-pc-windows-gnu", "x86_64-unknown-linux-gnu", "aarch64-apple-d
|
||||||
formats = { x86_64-pc-windows-gnu = "zip", x86_64-unknown-linux-gnu = "tgz", aarch64-apple-darwin = "zip", x86_64-apple-darwin = "zip" }
|
formats = { x86_64-pc-windows-gnu = "zip", x86_64-unknown-linux-gnu = "tgz", aarch64-apple-darwin = "zip", x86_64-apple-darwin = "zip" }
|
||||||
archive-name = "{name}-{bundle}-{target}-v{version}"
|
archive-name = "{name}-{bundle}-{target}-v{version}"
|
||||||
root = "{name}-{bundle}-{target}-v{version}"
|
root = "{name}-{bundle}-{target}-v{version}"
|
||||||
cargo-binaries = "all"
|
cargo-binaries = ["pptx-reporter-gui", "pptx-reporter"]
|
||||||
files = [
|
files = [
|
||||||
{ source = "assets/app-icon.png", destination = "icons/pptx-reporter/app-icon.png" },
|
{ source = "assets/app-icon.png", destination = "icons/pptx-reporter/app-icon.png" },
|
||||||
{ source = "assets/app-icon.ico", destination = "icons/pptx-reporter/app-icon.ico" },
|
{ source = "assets/app-icon.ico", destination = "icons/pptx-reporter/app-icon.ico" },
|
||||||
|
|
@ -46,6 +58,3 @@ required-destinations = ["ffprobe{binary-ext}", "LICENSES/ffmpeg/LICENSE.txt", "
|
||||||
[[repository.fallbacks]]
|
[[repository.fallbacks]]
|
||||||
origin = "https://git.dandaedre.com/idle-org/pptx-reporter"
|
origin = "https://git.dandaedre.com/idle-org/pptx-reporter"
|
||||||
fallback-url = "https://proxy.dandaedre.com/gitea/idle-org/pptx-reporter"
|
fallback-url = "https://proxy.dandaedre.com/gitea/idle-org/pptx-reporter"
|
||||||
|
|
||||||
[gitea]
|
|
||||||
token-env = "GITEA_TOKEN"
|
|
||||||
|
|
|
||||||
|
|
@ -166,7 +166,11 @@ def fetch(target, cache=None, release="latest", expected_sha256=None, *, asset_n
|
||||||
if expected_sha256 is not None and digest != expected_sha256.lower():
|
if expected_sha256 is not None and digest != expected_sha256.lower():
|
||||||
raise ValueError("Upstream SHA-256 differs from the requested pin")
|
raise ValueError("Upstream SHA-256 differs from the requested pin")
|
||||||
url = asset["browser_download_url"]
|
url = asset["browser_download_url"]
|
||||||
if not url.startswith("https://github.com/BtbN/FFmpeg-Builds/releases/download/"):
|
providers = (
|
||||||
|
"https://github.com/BtbN/FFmpeg-Builds/releases/download/",
|
||||||
|
"https://github.com/FFmpeg-Builds/FFmpeg-Builds/releases/download/",
|
||||||
|
)
|
||||||
|
if not url.startswith(providers):
|
||||||
raise ValueError("Unexpected upstream download URL")
|
raise ValueError("Unexpected upstream download URL")
|
||||||
folder = cache / target / digest
|
folder = cache / target / digest
|
||||||
binary = folder / ("ffprobe.exe" if "windows" in target else "ffprobe")
|
binary = folder / ("ffprobe.exe" if "windows" in target else "ffprobe")
|
||||||
|
|
@ -193,7 +197,7 @@ def fetch(target, cache=None, release="latest", expected_sha256=None, *, asset_n
|
||||||
raise ValueError("Downloaded executable did not identify itself as FFprobe")
|
raise ValueError("Downloaded executable did not identify itself as FFprobe")
|
||||||
version = lines[0]
|
version = lines[0]
|
||||||
receipt = {
|
receipt = {
|
||||||
"provider": "https://github.com/BtbN/FFmpeg-Builds",
|
"provider": url.split("/releases/download/", 1)[0],
|
||||||
"release": release, "release_id": release_data["id"], "asset_id": asset["id"],
|
"release": release, "release_id": release_data["id"], "asset_id": asset["id"],
|
||||||
"url": url, "archive_sha256": digest, "target": target,
|
"url": url, "archive_sha256": digest, "target": target,
|
||||||
"native_version_check": version,
|
"native_version_check": version,
|
||||||
|
|
@ -211,7 +215,8 @@ def main():
|
||||||
parser = argparse.ArgumentParser(description=__doc__)
|
parser = argparse.ArgumentParser(description=__doc__)
|
||||||
parser.add_argument("--target", required=True, choices=ASSETS)
|
parser.add_argument("--target", required=True, choices=ASSETS)
|
||||||
parser.add_argument("--cache", type=Path, default=ROOT / "downloads/ffprobe")
|
parser.add_argument("--cache", type=Path, default=ROOT / "downloads/ffprobe")
|
||||||
parser.add_argument("--release", default="latest", help="BtbN release tag; default latest")
|
parser.add_argument("--release", default="latest",
|
||||||
|
help="FFmpeg-Builds release tag; default latest")
|
||||||
parser.add_argument("--sha256", help="Optional expected archive digest for reproducibility")
|
parser.add_argument("--sha256", help="Optional expected archive digest for reproducibility")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
try:
|
try:
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,7 @@ class FetchTests(unittest.TestCase):
|
||||||
name = fetcher.ASSETS[WINDOWS]
|
name = fetcher.ASSETS[WINDOWS]
|
||||||
release = {"id": 1, "assets": [{"id": 2, "name": name, "digest": "sha256:" + digest,
|
release = {"id": 1, "assets": [{"id": 2, "name": name, "digest": "sha256:" + digest,
|
||||||
"size": len(content),
|
"size": len(content),
|
||||||
"browser_download_url": "https://github.com/BtbN/FFmpeg-Builds/releases/download/latest/" + name}]}
|
"browser_download_url": "https://github.com/FFmpeg-Builds/FFmpeg-Builds/releases/download/latest/" + name}]}
|
||||||
def download(url, destination, limit=None):
|
def download(url, destination, limit=None):
|
||||||
destination.write_bytes(json.dumps(release).encode() if url.startswith(fetcher.API) else content)
|
destination.write_bytes(json.dumps(release).encode() if url.startswith(fetcher.API) else content)
|
||||||
with tempfile.TemporaryDirectory() as temp, patch.object(fetcher, "download", side_effect=download) as get, \
|
with tempfile.TemporaryDirectory() as temp, patch.object(fetcher, "download", side_effect=download) as get, \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue