gitlab2prov icon indicating copy to clipboard operation
gitlab2prov copied to clipboard

Implementation of the `github2prov` Prototype Based on `gitlab2prov` Provenance Model

Open cdboer opened this issue 2 years ago • 1 comments

Summary 📝

Implemented the github2prov prototype which adapts the gitlab2prov provenance model for GitHub. This will pave the way for creating provenance documents based on GitHub activities, offering users a way to trace the lineage and modification of their repositories.

Fixes #77

Proposed Changes 👷

  • Adapted the GitlabAnnotationParser class to handle GitHub's unique data structures and API responses. Renamed it to GithubAnnotationParser.
  • Modified provenance operations in prov/operations.py to cater to GitHub-specific behaviors.
  • Integrated pseudonymization techniques to obfuscate user data, ensuring user privacy is maintained.
  • Expanded error handling, especially in deserialization and file writing, to manage potential GitHub-specific issues.
  • ...

Type of Change 🏷️

  • [ ] Bug fix (non breaking change which fixes an issue)
  • [ ] New feature (non breaking change which adds functionality)
  • [x] Breaking change (fix or feature that could cause existing functionality to not work as expected)

Checklist ✅

  • [x] I have included tests, if necessary
  • [ ] I have updated documentation, if necessary
  • [ ] I have updated the changelog, if necessary

cdboer avatar Aug 27 '23 14:08 cdboer

This seems like a very useful addition! Is it likely this work will continue?

Elsewhere, I've seen some work around ForgeFed, but it hardly seems to have the precision of the data model seen here.

bollwyvl avatar Apr 29 '24 13:04 bollwyvl