Everybody who wants to introduce proper schemas and validation into the Fediverse, please think of ME. I won't be able to have fun with stuff like this anymore.
-
Everybody who wants to introduce proper schemas and validation into the Fediverse, please think of ME. I won't be able to have fun with stuff like this anymore.
Also if you have feedback on Using bovine with the fediverse-pasture, please share.
-
@helge Is it possible to include the fediverse pasture into automated CI Tests?
-
It hasn't been done yet. I created this issue on how one could go about it.
Do you have a use case in mind? I'm somewhat interested in cooperating on it.
-
@helge Testing https://code.event-federation.eu/Event-Federation/wordpress-activitypub-event-bridge automatically against Mobilizon, Gancio and Mastodon. But I think I won't have much energy to dig into this in the next months.
-
-
André Menrathreplied to mkljczk last edited by [email protected]
@mkljczk Of course there is, I should post about it on our blog.
https://wp-test.event-federation.eu/events/And there is also a gancio testing server, which lists those events: https://gancio-test.event-federation.eu/
-
I just cloned the repo and ran
docker compose up
. It then fails with------ > [test-php 9/12] COPY composer.json composer.lock /app/: ------ failed to solve: failed to compute cache key: failed to calculate checksum of ref ynkqa7p26hz4xyuldblikr3yu::2p61sv5ck38dcspcezdkuhagd: "/composer.lock": not found
Is that something that is quick to fix?
-
André Menrathreplied to Helge last edited by [email protected]
@helge Please note the docker-compose.yml comments. It's not for running WordPress and plugins it's meant to run all integration tests locally. And for developing you should have the PHP dependencies installed, which will create that missing file. But I will add that, that before this container can run "composer install" must have been executed once.
-
I see thanks
-
@helge Should I rename the file to e.g. docker-compose-test.yml?
-
No. It's just me being lazy. I create such files all times.
The real question is: Is there a docker compose file that creates a wordpress with activitypub enabled that one can just run?
-
@helge For which purpose? Development, Playground, Production?
-
Development, Playground, Production?
I would call the fediverse-pasture: Playground. Definitely not production. Development is fine too. I might actually prefer having more logging.
-
André Menrathreplied to Helge last edited by [email protected]
@helge I think you can go with this one: https://github.com/Automattic/wordpress-activitypub/blob/trunk/docker-compose.yml
Almost the default WordPress dev container. The magic happens when the current directory is mounted in the plugins folder. But still the plugin is likely not activated (I am not sure how this parent docker container handles this), because it is not in the "must-use" plugins folder.
Maybe @pfefferle knows this stuff in more detail.