Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • D debexpo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 42
    • Issues 42
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mentors.debian.net
  • debexpo
  • Merge requests
  • !130

django: git storage

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Baptiste Beauplat requested to merge lyknode/debexpo:dj/gitstorage into django Jun 09, 2020
  • Overview 13
  • Commits 14
  • Pipelines 4
  • Changes 13

Django migration: #47 (closed).

This MR re-adds Git storage (of extracted source packages).

The implementation has been split into two classes: GitStorage, a higher level class that perform installation, diffs and removal of stored version (removal and diff to be implemented at a later time) and GitBackendDulwich that takes care of implementation details of the git storage using the dulwich module.

The corresponding commit ref is now stored in PackageUpload allowing diffing at some point.

Note: getOlderFileContent and getOlderCommits have been removed as having diff of upload should suffice.

Tests, docs and translation updated.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: dj/gitstorage