Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • S swh-loader-git
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 28
    • Issues 28
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 4
    • Merge requests 4
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Platform
  • Development
  • swh-loader-git
  • Issues
  • #3880
Closed
Open
Issue created Jan 24, 2022 by vlorentz@vlorentzMaintainer

Support Git commits with no angle brackets in author name

$ git clone https://github.com/noderabbit-team/tasks
$ python3
>>> import dulwich.repo
>>> r = dulwich.repo.Repo('tasks')
>>> c = dulwich.repo.Repo('.')[b'c8a1c472c97789b44d91256d5cb8899a461a0b22')
>>> c.as_raw_string()
b'tree 3e8bd4afdc836d866ad57089ad565b5f09e38475\nparent 361db946b8e11475869a125768185fdf5b77e8b3\nauthor kapil.foss@gmail.com 1297013737 -0500\ncommitter kapil.foss@gmail.com 1297013737 -0500\nencoding utf-8\n\nmore pep8, verify archive file exists before removing, test docstring'
>>> c.author
b'kapil.foss@gmail.com 1297013737 -0500'
>>> c.author_time

Migrated from T3880 (view on Phabricator)

Edited Jan 07, 2023 by Phabricator Migration user
Assignee
Assign to
Time tracking