Skip to main content

Небольшое приложение, для простого git pull репозитория из корня проекта при GET запросе по урлу.

Project description

## Простое приложение для выполнения команды git pull для Django-проекта!

### Установка
* ``` pip install django-git-hooks ```

### Для использования просто добавьте в файл url.py
```
urlpatterns = ['',
...
url(r'^git/', include('git_hooks.urls')),
...
]
```
### Добавьте в Вашем репозитории Hook - для отправки POST запроса при изменениях в репозитории

* Перейдите по адресу https://bitbucket.org/*YOUR-LOGIN*/*REPO-NAME*/admin/hooks
* В поле "Select the hook" выбрать POST
* В появившемся окне вставить ссылку http://your-domain.com/git/pull/

#### Зависимости
* progressbar2
* prettytable
* termcolor

#### Совместимость
* Python 2.7 точно, остальыне надо тестить
* Django 1.9

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

django-git-hooks-0.3.1.zip (5.1 kB view hashes)

Uploaded Source

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