gplugin/gplugin

Make GPluginFileSource public

2 months ago, Gary Kramlich
7d9e362672b7
Make GPluginFileSource public

This also adds api for managing the paths it looks at. Currently GPluginManager
forwards the existing API to these new methods.

Testing Done:
Ran with the turtles.

Reviewed at https://reviews.imfreedom.org/r/2982/
environment:
- BUILD_NUMBER
- REPOSITORY=gplugin/builders
- REGISTRY=docker.io
- REGISTRY_USERNAME
- REGISTRY_PASSWORD
- DOCS_BUILD_IMAGE=${REGISTRY}/${REPOSITORY}:debian-trixie-amd64
tasks:
clean:
type: convey/clean
files:
- alpine-edge-amd64
- clang
- debian-trixie-amd64
- debian-trixie-arm64
- debian-trixie-armhf
- debian-trixie-riscv64
- dist
- fedora-38-amd64
- fedora-39-amd64
- fedora-rawhide-amd64
- i18n
- opensuse-tumbleweed-amd64
- scanbuild
- ubuntu-mantic-amd64
- valgrind
- gplugin-docs
- gplugin-docs.zip
- gplugin-gtk-docs
- gplugin-gtk4-docs
- gplugin-gtk4-docs.zip
import:
type: docker/import
files: .:.
import-artifacts:
type: docker/import
files: ${DISTRO}-${VERSION}-${ARCH}
build:
type: docker/run
image: ${REGISTRY}/${REPOSITORY}:${TARGET}
export:
type: docker/export
files: ${TARGET}
login:
type: docker/login
server: ${REGISTRY}
username: ${REGISTRY_USERNAME}
password: ${REGISTRY_PASSWORD}
logout:
type: docker/logout
server: ${REGISTRY}
docs-clean:
type: convey/clean
files:
- gplugin-docs
- gplugin-docs.zip
- gplugin-gtk-docs
- gplugin-gtk4-docs
- gplugin-gtk4-docs.zip
docs-build:
type: docker/run
image: ${DOCS_BUILD_IMAGE}
workdir: ${CONVEY_WORKSPACE}
shell: /bin/bash
script:
- set -ex
- meson setup build-docs -Ddoc=true
- ninja -C build-docs doc
- pushd build-docs/gplugin/reference
- zip -9r gplugin-docs.zip gplugin
- popd
- pushd build-docs/gplugin-gtk4/reference
- zip -9r gplugin-gtk4-docs.zip gplugin-gtk4
docs-export:
type: docker/export
files:
- build-docs/gplugin/reference/gplugin-docs.zip:gplugin-docs.zip
- build-docs/gplugin-gtk4/reference/gplugin-gtk4-docs.zip:gplugin-gtk4-docs.zip
plans:
clean:
stages:
- tasks: clean
alpine-edge-amd64:
environment: TARGET=alpine-edge-amd64
stages:
- tasks: [import, build]
- tasks: [export]
run: always
clang:
environment: TARGET=clang
stages:
- tasks: [import, build]
- tasks: [export]
run: always
clang-format:
environment: TARGET=clang-format
stages:
- tasks: [import, build]
debian-trixie-amd64:
environment: TARGET=debian-trixie-amd64
stages:
- tasks: [import, build]
- tasks: [export]
run: always
debian-trixie-arm64:
environment: TARGET=debian-trixie-arm64
stages:
- tasks: [import, build]
- tasks: [export]
run: always
debian-trixie-armhf:
environment: TARGET=debian-trixie-armhf
stages:
- tasks: [import, build]
- tasks: [export]
run: always
debian-trixie-riscv64:
environment: TARGET=debian-trixie-riscv64
stages:
- tasks: [import, build]
- tasks: [export]
run: always
dist:
environment: TARGET=dist
stages:
- tasks: [import, build]
- tasks: [export]
run: always
docs:
stages:
- tasks: [docs-clean, import, docs-build, docs-export]
fedora-38-amd64:
environment: TARGET=fedora-38-amd64
stages:
- tasks: [import, build]
- tasks: [export]
run: always
fedora-39-amd64:
environment: TARGET=fedora-39-amd64
stages:
- tasks: [import, build]
- tasks: [export]
run: always
fedora-rawhide-amd64:
environment: TARGET=fedora-rawhide-amd64
stages:
- tasks: [import, build]
- tasks: [export]
run: always
i18n:
environment: TARGET=i18n
stages:
- tasks: [import, build]
- tasks: [export]
run: always
opensuse-tumbleweed-amd64:
environment: TARGET=opensuse-tumbleweed-amd64
stages:
- tasks: [import, build]
- tasks: [export]
run: always
scanbuild:
environment: TARGET=scanbuild
stages:
- tasks: [import, build]
- tasks: [export]
run: always
ubuntu-mantic-amd64:
environment: TARGET=ubuntu-mantic-amd64
stages:
- tasks: [import, build]
- tasks: [export]
run: always
valgrind:
environment: TARGET=valgrind
stages:
- tasks: [import, build]
- tasks: [export]
run: always
meta-plans:
all:
plans:
- alpine-edge-amd64
- clang
- debian-trixie-amd64
- dist
- fedora-38-amd64
- fedora-39-amd64
- fedora-rawhide-amd64
- opensuse-tumbleweed-amd64
- ubuntu-mantic-amd64
tools:
plans:
- clang-format
- i18n
- scanbuild
- valgrind
- simple
qemu-user-static:
plans:
- debian-trixie-arm64
- debian-trixie-armhf
- debian-trixie-riscv64