Skip to content

Conversation

@rokroskar
Copy link
Member

@rokroskar rokroskar commented Mar 12, 2025

This was an experiment with agentic AI using Claude and Cline... here's the prompt:

This repository serves as a backend for the Renku platform. One key entity that the platform provides is a "Project". I want to make projects in Renku be accessible over ActivityPub so they can be part of the fediverse. Implement an ActivityPub server API for Renku starting with projects. The fediverse view of the project should include its description.

The follow-up interactions were mostly about asking to also have some tests, adding descriptions and avatars to fediverse project representations and some minor cleanup. The rest of the code I haven't touched or reviewed or tried that it works... that's tbd.

/deploy

@rokroskar rokroskar added the do not merge A PR that has been approved but should not be merged label Mar 13, 2025
@RenkuBot
Copy link
Contributor

You can access the deployment of this PR at https://renku-ci-ds-727.dev.renku.ch

rokroskar and others added 6 commits March 20, 2025 23:36
Co-authored-by: Cline <cline@anthropic.com>
Co-authored-by: Cline <cline@anthropic.com>
Co-authored-by: Cline <cline@anthropic.com>
Co-authored-by: Cline <cline@anthropic.com>
Co-authored-by: Cline <cline@anthropic.com>
Co-authored-by: Cline <cline@anthropic.com>
This commit fixes the issue where the ActivityPub module was not being included
in the deployed application. The module was correctly listed in the root
pyproject.toml file, but was missing from the project-specific pyproject.toml
files that are used to build the actual deployable packages.
- Added activitypub module to projects/renku_data_service/pyproject.toml
- Added activitypub module to projects/background_jobs/pyproject.toml
- Added activitypub module to projects/secrets_storage/pyproject.toml
- Added tests for WebFinger functionality and serialization to prevent regressions
Co-authored-by: Cline <cline@anthropic.com>
This commit fixes the issue where the base_url for ActivityPub was hardcoded to
'http://localhost:8000'. Now it uses the base_url from the config, which is set
from the BASE_URL environment variable.

Co-authored-by: Cline <cline@anthropic.com>
…ntication

Co-authored-by: Cline <cline@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge A PR that has been approved but should not be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants