Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • hgitaly hgitaly
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 41
    • Issues 41
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

  • heptapod
  • hgitalyhgitaly
  • Issues
  • #88

Closed
Open
Created Nov 27, 2021 by Georges Racinet@gracinet🦑Owner

GetRawPatch: should be raw email content

We decided that raw patches did not have to be identical between Git and Mercurial – at some point it starts making no sense.

But the content returned by GetRawPatch is exposed in the Rails application as "Email Patches" (in the "Options" menu of commit pages). Indeed, what Gitaly returns looks like suitable content for a DATA SMTP command.

A probable use case would be some team using GitLab downstream of a Git project that takes email patches only, and rely on this feature to submit upstream. There are perhaps Linux kernel contributors that work this way.

HGitaly's GetRawPatch should therefore stick to that intent and rely on the patchbomb extension to generate the response instead of AFAICT providing essentially the same content as hg export.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking