Skip to main content

A Django application designed to bridge Patchwork to GitLab

Project description

A Django application designed to run with Patchwork to mirror patches to GitLab.

Development Environment

The easiest method to set up a development environment is to use Vagrant. On Fedora:

$ sudo dnf install vagrant libvirt vagrant-libvirt vagrant-sshfs ansible
$ vagrant up gitlab
$ vagrant up pw

This sets up two virtual machines. You can ssh to them with vagrant ssh pw and vagrant ssh gitlab. The pw host contains the development installation of PatchLab.

GitLab

GitLab’s web UI is available at https://localhost:8443/.

The Ansible role restores it from backup, so there is already an administrator, “root”, with the password “password”. Cloning over SSH is available on port 2222.

A test project, “patchlab_test” is available and already includes a web hook configured for merge request events.

Patchwork

The Patchwork web UI is available at http://localhost:8000/. A preconfigured super user “admin” has the password “admin” which you can use to log in to http://localhost:8000/admin/.

The development enviroment also includes a preconfigured Patchwork Project for “patchlab_test”, along with the necessary Git forge and branch configuration.

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

patchlab-0.5.0.tar.gz (39.0 kB view details)

Uploaded Source

Built Distribution

patchlab-0.5.0-py2.py3-none-any.whl (40.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file patchlab-0.5.0.tar.gz.

File metadata

  • Download URL: patchlab-0.5.0.tar.gz
  • Upload date:
  • Size: 39.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.7

File hashes

Hashes for patchlab-0.5.0.tar.gz
Algorithm Hash digest
SHA256 36fa7b50244577252db9bf616a0ebad0ecd7b7100426e75a572e2dbdd5741730
MD5 a451e21638ecbd86ca89d9af842f9916
BLAKE2b-256 ea0ec04cc9f9e312eaf46f39b9605737126307979026923a36b31d5f265f670f

See more details on using hashes here.

Provenance

File details

Details for the file patchlab-0.5.0-py2.py3-none-any.whl.

File metadata

  • Download URL: patchlab-0.5.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 40.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.7

File hashes

Hashes for patchlab-0.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 9d0c727d777b902cf559ca344499b225722ab3d76a1310ef692189d20b1804f6
MD5 25d4105e6e7886fc1ce4ea73a337f66a
BLAKE2b-256 c46da2c37123b10f02b53b14e3485dc0347048e7a005dd05a755182565ac1e89

See more details on using hashes here.

Provenance

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