Metadata-Version: 2.4
Name: osc_fast_export
Version: 1.0.0
Summary: Generate git-fast-import compatible text stream from OSC history
Author-email: Matěj Cepl <mcepl@cepl.eu>
License-Expression: MIT
Project-URL: homepage, https://codeberg.org/mcepl/osc-fast-export
Project-URL: repository, https://codeberg.org/mcepl/osc-fast-export.git
Classifier: Environment :: Console
Classifier: Intended Audience :: Information Technology
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Software Development :: Version Control
Classifier: Topic :: Software Development :: Version Control :: Git
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Dynamic: license-file

OSC (openSUSE build service VCS tool) fast-export compatible with
`git fast-import(1)`.

Just run this inside of the OBS package checkout and output
should be piped to `git fast-import(1)`.

It is useful to prepare authors file (per default
`.osc/authorsfile.txt`) which is one-to-one mapping between logins
(used in osc log) and full names+emails. E.g., one line of the
file could be:

```
    mcepl = Matěj Cepl <mcepl@cepl.eu>
```

Cooperation with [git lfs](https://git-lfs.com/) is
rather complicated: `git fast-import` can import only to
completely empty branch, while `git lfs` doesn’t work without
`.gitattributes`. The only solution I came up with is to put the
content of `.gitattributes` into `.git/info/attributes`, which is
read as well, but it doesn’t count as content of the repository
itself.

All issues, questions, complaints, or (even better!) patches
should be send via email to
[~mcepl/devel@lists.sr.ht](mailto:~mcepl/devel@lists.sr.ht) email
list (for patches use [git send-email](https://git-send-email.io/)).
