Skip to main content

Generate git-fast-import compatible text stream from OSC history

Project description

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 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 email list (for patches use git send-email).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

osc_fast_export-1.0.0.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

osc_fast_export-1.0.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file osc_fast_export-1.0.0.tar.gz.

File metadata

  • Download URL: osc_fast_export-1.0.0.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for osc_fast_export-1.0.0.tar.gz
Algorithm Hash digest
SHA256 d7c217ddbbd0f6272523b85f7d76d052ce9777a51e2e689814a33ead49852166
MD5 4a8450b9050874f976250dec3eb141fa
BLAKE2b-256 9daf81334e8c8b4b17b539f6d742b6339c28dd81b001134465f3020c13aad619

See more details on using hashes here.

File details

Details for the file osc_fast_export-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for osc_fast_export-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aef2719ceeb5cf3521dfefc95d85934d8a39c011fafcea592441725c5e656ee9
MD5 773b4eaa4942181c49dcae4cbbd00e3e
BLAKE2b-256 a9a129cdb1744b202c9be3fc0b6d40819170b0d404dc4e0d39326b23c82da995

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page