Skip to main content

A script to help forking a project to gitlab and keeping it updated downstream

Installation

pip install fork2gitlab

Configuration

In order to interact with the gitlab instance, a configuration file will be needed. Create on in on the locations supported by python-gitlab

Usage

Forking

Use f2g fork <git url> to import a git project.

The project will also be automatically mirrored hourly by gitlab.

You can then create your branch and make changes.

Syncing

Use f2g sync <gitlab project name> <branch> to merge upstream changes into your branch.

Since gitlab takes care of the hourly sync, this command simply attempts to merge the upstream changes. When a merge conflict occurs, a merge request will be created.

It's up to you to notify in case the merge request has been created.

Metadata

Release files for fork2gitlab 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fork2gitlab 0.2.4
File Size Uploaded Provenance
fork2gitlab-0.2.4.tar.gz 18.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for fork2gitlab 0.2.4
File Interpreter ABI Platform
fork2gitlab-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 40.3 kB

Release files / fork2gitlab-0.2.4.tar.gz

Download URL fork2gitlab-0.2.4.tar.gz
Size 18.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b7754ab86e8386ff54f3a52c6286c5f44fd4caeb994e5cb5122d96611e90d284
BLAKE2b-256 checksum
How to use checksums
6d792ae26aae46b8bed363db7874db74b1cec4ba9c36eb73940effd36034315d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.9.18 Linux/5.4.109+

Release files / fork2gitlab-0.2.4-py3-none-any.whl

Download URL fork2gitlab-0.2.4-py3-none-any.whl
Size 21.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bcd05b910f16525ae8d2501e15188f79deeb387d58ec784e41b25787b8f4de2a
BLAKE2b-256 checksum
How to use checksums
99761ed0fe6c910aeee2c3ccea1d59ba43228c59a137598f09d6fb55badff1bd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.7.1 CPython/3.9.18 Linux/5.4.109+

Security for fork2gitlab 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page