Skip to main content

Git remote prefix to simplify pushing to and pulling from CodeCommit using the CVM.

Project description

git-remote-cvm

This package provides a simple method for pushing and pulling from AWS CodeCommit using the CVM. This package extends git to support repository URLs prefixed with cvm://.

… you can clone repositories as simply as…

% git clone cvm://role-name@account-name/repository-name

The git-remote-cvm package works on Python versions:

  • 3.6.x and greater

  • 3.7.x and greater

Prerequisites

Before you can use git-remote-cvm, you must:

  • Complete initial configuration for AWS CodeCommit, including:

    • Install and configure the CVM

  • Create an AWS CodeCommit repository (or have one already) in your AWS account.

  • Install Python and its package manager, pip, if they are not already installed. To download and install the latest version of Python, visit the Python website.

  • Install Git on your Linux, macOS, Windows, or Unix computer.

  • Install the latest version of the AWS CLI on your Linux, macOS, Windows, or Unix computer. You can find instructions here.

Note: Installation of the AWS CLI on some operating systems requires pip version 9.0.3 or later. To check your version of pip, open a terminal and type the following command:

% pip --version

If the version is not 9.0.3 or later, run the following commands to update your version of pip:

% curl -O https://bootstrap.pypa.io/get-pip.py
% python3 get-pip.py --user

Set Up

Step 1: Install git-remote-cvm

  • On your Linux, macOS, Windows, or Unix computer, install git-remote-cvm using the pip command. For example:

% pip3 install git-remote-cvm
  • If you already have git-remote-cvm installed you can upgrade to the latest version with the –upgrade parameter:

% pip3 install --upgrade git-remote-cvm

Step 4: Clone your repository

  • At the terminal, run the git clone cvm command, using the details of your repository. For example:

% git clone cvm://power-user-role@dev-account/web-project-1
Cloning into 'web-project-1'...
remote: Counting objects: 1753, done.
Receiving objects: 100% (1753/1753), 351.77 KiB | 1.91 MiB/s, done.
Resolving deltas: 100% (986/986), done.

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

git-remote-cvm-1.15.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

git_remote_cvm-1.15-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file git-remote-cvm-1.15.tar.gz.

File metadata

  • Download URL: git-remote-cvm-1.15.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for git-remote-cvm-1.15.tar.gz
Algorithm Hash digest
SHA256 5a66ce9ccf82de582d28b7441af55db99e51cc120f83dd2169eadc9a7e600e35
MD5 c8f9d1586dff0b410a688bb7763e0365
BLAKE2b-256 e9b1a591e48b58e05592f0592d20c765b6ea34f787aeea8de458e00d78b6ed9e

See more details on using hashes here.

File details

Details for the file git_remote_cvm-1.15-py3-none-any.whl.

File metadata

  • Download URL: git_remote_cvm-1.15-py3-none-any.whl
  • Upload date:
  • Size: 7.2 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/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.6.9

File hashes

Hashes for git_remote_cvm-1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 1dae48936992c9cb62615dea9275e7afa93675b55c141a25577fe90e8dee83a3
MD5 2c13b3786501b5f736f57ff5f10198f4
BLAKE2b-256 53d7daab163c6228e3b6ed98c6eab92eba5890929cc02c4a23c50da99fedc79c

See more details on using hashes here.

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