Skip to main content

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

Project description

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.

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

fork2gitlab-0.2.4.tar.gz (18.6 kB view hashes)

Uploaded Source

Built Distribution

fork2gitlab-0.2.4-py3-none-any.whl (21.7 kB view hashes)

Uploaded Python 3

Supported by

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