Skip to main content

A tool to create a Jiri manifest file from Gitlab projects

Project description

jiri-gitlab

This is a small utility that creates a jiri manifest file from Gitlab projects.

Use this if you want a complete and updated set of repositories from your private gitlab instance on your machine.

Install

pip3 install --user jiri-gitlab

Instructions

Ensure you've followed the Jiri bootstrapping guide.

Then, create a file called ~/.python-gitlab.cfg in your home directory and add:

[company-name-here]
url = https://your-gitlab-url/
private_token = your-private-token

You need to create a private token with read access to your repositories.

Once you've done that, run:

cd $MY_ROOT # Or wherever you've defined your project directory to be
jiri-gitlab --auth company-name-here "*" > .jiri_manifest

This will produce an XML file that Jiri can consume to pull all your projects:

jiri update -gc=true

There is also a utility tool to list projects:

jiri-list ~/projects/.jiri_manifest

You can combine this with fzf for quick project navigation:

jiri-list ~/projects/.jiri_manifest | fzf --ansi --preview "mdcat {}/README.md"

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

jiri-gitlab-0.2.3.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

jiri_gitlab-0.2.3-py3-none-any.whl (3.0 kB view details)

Uploaded Python 3

File details

Details for the file jiri-gitlab-0.2.3.tar.gz.

File metadata

  • Download URL: jiri-gitlab-0.2.3.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for jiri-gitlab-0.2.3.tar.gz
Algorithm Hash digest
SHA256 94eb686219ee80d4156375cd8e1a176de87949f64fee7eeee29cffd4e086f8ba
MD5 9f13d3b808ca7730b36760210eb44484
BLAKE2b-256 09d31427539353d0f97cb70e54caba518fbca65905c0191500908fbf764fecf9

See more details on using hashes here.

File details

Details for the file jiri_gitlab-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: jiri_gitlab-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 3.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for jiri_gitlab-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2cd41b0fc05c9e40a3fd27181a6cdb554ed203bf62635b42fe8941796372f5cc
MD5 6606771b864129f8a50bc547247fd30d
BLAKE2b-256 aaf6c62d3d250fb78c0417fa4672d03797806858d6d9720987d7e984af609e6f

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