Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Add c2pa to the taskfile #82

Merged
merged 1 commit into from
Sep 20, 2023
Merged

Conversation

honourfish
Copy link
Contributor

@honourfish honourfish commented Sep 20, 2023

Overview

  • Add c2pa sample to taskfile

Testing

Help text:

$ TEST_SELECTOR=help task samples
task: Task "about" is up to date
task: [samples] ./scripts/api.sh ./scripts/samples.sh
Available functional tests are:

    TEST_SELECTOR=c2pa task samples
    TEST_SELECTOR=door_entry task samples
    TEST_SELECTOR=estate_info task samples
    TEST_SELECTOR=signed_records task samples
    TEST_SELECTOR=synsation_initialise task samples
    TEST_SELECTOR=synsation_charger task samples
    TEST_SELECTOR=synsation_simulator task samples
    TEST_SELECTOR=synsation_wanderer task samples
    TEST_SELECTOR=synsation_analyze task samples
    TEST_SELECTOR=sbom task samples
    TEST_SELECTOR=wipp task samples
    TEST_SELECTOR=document task samples

To run more than one test use a comma-separated list:

    TEST_SELECTOR=door_entry,estate_info task samples

To run all tests:

    TEST_SELECTOR=all task samples

Additionally:

    TEST_NAMESPACE=
    TEST_VERBOSE=

example execution:

$ TEST_SELECTOR=c2pa task samples
task: Task "about" is up to date
task: [samples] ./scripts/api.sh ./scripts/samples.sh
No NAMESPACE specified - may share assets etc with someone else on same URL
Initialising connection to RKVST...
Using version v0.23.0 of rkvst-archivist
Fetching use case test assets namespace document
Creating C2PA Asset ...
Adobe C2PA Image already existed
C2PA Document C2PA Image already exists (Identity=assets/2a17ed5f-5145-4477-8a0f-45f4d438cc49)

AB#8311

 Mention [stepsize] in a comment if you'd like to report some technical debt. See examples here.

@honourfish honourfish merged commit 10695af into main Sep 20, 2023
@honourfish honourfish deleted the dev/jgough/8311-c2pa-test-selector branch September 20, 2023 10:14
@eccles eccles mentioned this pull request Jul 2, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants