Skip to main content

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"

Metadata

Release files for jiri-gitlab 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 jiri-gitlab 0.2.4
File Size Uploaded
jiri-gitlab-0.2.4.tar.gz 2.4 kB Details

Built distribution (wheel)

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

Total release size: 5.4 kB

Release files / jiri-gitlab-0.2.4.tar.gz

Download URL jiri-gitlab-0.2.4.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d3fa5ab4e2b50c64b25f7f828edc3edae29bc1fd0baf82a04096c75251cc36e8
BLAKE2b-256 checksum
How to use checksums
2b23a2046b046a251027d76afcf057a3fc0fe608d5dbb73143875900389433be
Upload date
Uploaded using Trusted Publishing?
What is 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.4

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

Download URL jiri_gitlab-0.2.4-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e2de8b9d5922b65894c2f813a7f2244bc98a5c6a256023e962aff57c63ce5552
BLAKE2b-256 checksum
How to use checksums
1bd70361af15928170b65bdd0848948fe2883189038bd7ef0b3b975bf1818051
Upload date
Uploaded using Trusted Publishing?
What is 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.4

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2

2 release files

0.1

2 release files

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