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.6.2.tar.gz (41.1 kB view details)

Uploaded Source

Built Distribution

patchlab-0.6.2-py3-none-any.whl (42.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: patchlab-0.6.2.tar.gz
  • Upload date:
  • Size: 41.1 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.6.2.tar.gz
Algorithm Hash digest
SHA256 0945d9f92628e742b22424410fda87a89678f469b367fdd08cf9ab8ca05491e3
MD5 9173538d1375340fde8fcdd45af8a2bb
BLAKE2b-256 09435c312727e6892b44247c24ef410e17b65eea91d3c9c51f8022d8d6bdf9b4

See more details on using hashes here.

Provenance

File details

Details for the file patchlab-0.6.2-py3-none-any.whl.

File metadata

  • Download URL: patchlab-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 42.9 kB
  • Tags: 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.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b32505807602620a0e571c0438af17a2b0776940727ecfab5b795a12188f4919
MD5 da6a20f3ec9cd8453595f2207112d3cb
BLAKE2b-256 697895cb9782c7bd2908eb19343dd84adca9e6e37cded2378a115dd581700665

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