Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • heptapod heptapod
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 196
    • Issues 196
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • heptapodheptapod
  • heptapodheptapod
  • Issues
  • #144
Closed
Open
Issue created Dec 16, 2019 by Georges Racinet@gracinet🦑Owner

Fire GitLab pre-receive hook directly from Mercurial

We currently push as Administrator (root) to the inner auxiliary Git repository. It was useful for the early prototype but has now several drawbacks:

  • a special acces rule allows that (just solved a merge conflict with it while preparing the heptapod-0-8 branch)
  • it goes over SSH with a dedicated key. There are of course no two instances using the same key (it's generated on first startup), but now that we're going to open SSH access onto Mercurial repos, we still don't want it to lay around.
  • there's probably some incurred latency, but I don't expect it to be the performance bottleneck
  • source of divergence of rules between hg push and work done from the interface. We'll have to be careful with that, because isomorphic enforcement may be perceived as regression by our users.

This will involve several projects: py-heptapod, hg-git an heptapod-docker projects

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