semvec/pypi-packages huggingface dataset:
git-query 0.0.2
Tool to query info from Gerrit like pending reviews
License: MIT
Keywords: gerrit

git-query
=========

A Git plugin to look up stuff like pending reviews, review URLs, etc
from Gerrit

Setup
~~~~~

``sudo pip install git-query``

Configuration
~~~~~~~~~~~~~

Add the following lines to your .bash\_profile:

::

    export GERRIT_HOST='http://gerrit.example.com'
    export GERRIT_USERNAME='your_username'
    export GERRIT_TOKEN='your_api_token'  # explained below

Don't forget to source (or reset your terminal session)!

Generating a Gerrit API Token
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1. Go to your Settings in Gerrit (in the menu when you click on your
   name in the top-right)
2. Click **HTTP Password**
3. Click **Generate Password**

Usage
~~~~~

You can either use ``git query`` or ``git ?``. You will need to be in a
repo that exists in Gerrit.

::

    # get info from Gerrit about the current commit
    git query
    git ?

    # list all Gerrit IDs for the current repo
    git query -a
    git query --all
    git ? -a
    git ? --all

    # get info from Gerrit about a specific ID
    git query 1234
    git ? 1234
bower-cache 0.5.0
A local caching proxy for Bower packages.
License: MIT
Keywords: bower

## Bower Cache (the Python/Django edition)

[![Build Status](https://travis-ci.org/Tinche/bower-cache.png)](https://travis-ci.org/Tinche/bower-cache)
[![Coverage Status](https://coveralls.io/repos/Tinche/bower-cache/badge.png?branch=master)](https://coveralls.io/r/Tinche/bower-cache?branch=master)
[![Requirements Status](https://requires.io/github/Tinche/bower-cache/requirements.png?branch=master)](https://requires.io/github/Tinche/bower-cache/requirements/?branch=master)

This is a combination Bower registry/caching proxy. It can do two things:

* act as a registry (a name to URL mapper) for remote packages.
* act as a caching proxy for remote Bower packages.

The admin interface is available for both functionalities.

## Install

We strongly suggest installing into a virtualenv, and updating pip and setuptools inside the virtualenv first.

    virtualenv .
    . bin/activate
    pip install -U pip setuptools
    pip install bower-cache

## Create a site

After Bower Cache has been installed, use the bower-cache-init command to
initialize a Bower Cache site. The site contains configuration and is where the
packages are actually cached.

    bower-cache-init /var/lib/bower-cache

The site contains a standard Django manage.py file. In order to log into the
admin site, the admin user (which has been created as part of site
initialization) needs a password. Set it by running

    python manage.py changepassword admin

## Run the services

Bower Cache requires several services to run for it to be fully functional. The
commands listed expect to be run from the site directory (the directory
containing manage.py).

Run Gunicorn to serve the REST interface and admin site on port 8000:

    gunicorn bowercachesite.wsgi

Run a single-process Celery worker, including the scheduler (-B):

    python manage.py celery worker -c 1 -B

Run a git daemon to serve the cached packages:

    git daemon --export-all --base-path=<site>/cache

## Admin interface

If you're using the dev server, the admin will be available at 
http://127.0.0.1:8000/admin by default. Open the URL and log in as the admin.

The admin interface allows managing the cached packages, including manually
issuing caching tasks and setting up daily package updates.

## License

Copyright © 2013 Toran Billups, Tin Tvrtković.

Licensed under the MIT License
django-bower-cache 0.5.0
A Django app implementing a local caching proxy for Bower packages.
License: MIT
Keywords: bower

## Django Bower Cache (the Python/Django edition)

[![Build Status](https://travis-ci.org/Tinche/django-bower-cache.png)](https://travis-ci.org/Tinche/django-bower-cache)
[![Coverage Status](https://coveralls.io/repos/Tinche/django-bower-cache/badge.png?branch=master)](https://coveralls.io/r/Tinche/django-bower-cache?branch=master)
[![Requirements Status](https://requires.io/github/Tinche/django-bower-cache/requirements.png?branch=master)](https://requires.io/github/Tinche/django-bower-cache/requirements/?branch=master)

Django Bower Cache is a Django app providing two services:

* act as a registry (a name to URL mapper) for Bower packages.
* act as a caching proxy for remote Bower packages.

The admin interface is available for both functionalities.

If you just want a simple way to run a local Bower caching proxy, see the
[Bower Cache](https://github.com/Tinche/bower-cache) project, which is built around Django Bower
Cache.

Django Bower Cache supports Python 2.6, 2.7, 3.3, 3.4 and PyPy.

## Settings

Django Bower Cache uses three additional settings from the Django settings file.

`REPO_ROOT` - the absolute path to the directory which will contain the cached
Bower git repositories. Example: `/var/bower-cache`.

`UPSTREAM_BOWER_REGISTRY` - the URL of the Bower index from which to retrieve
package data. Currently the global Bower registry is located at [https://bower.herokuapp.com](https://bower.herokuapp.com).

`REPO_URL` - Optional. The URL hostname and prefix to use when generating git
URLs for cloned repositories. If left unspecified, Django Bower Cache will try
extracting the hostname from the HTTP request and use the root URL path plus
the package name. For example, if Django Bower Cache happens to be queried
at `http://10.1.10.5/` for the Bootstrap package, and the Bootstrap package has
been cached, the generated git URL will be `git://10.1.10.5/bootstrap`.

## Documentation

The documentation will be linked here once it's written.

## License

Copyright © 2013 Toran Billups, Tin Tvrtković.

Licensed under the MIT License.