Небольшое приложение, для простого git pull репозитория из корня проекта при GET запросе по урлу.
Project description
## Простое приложение для выполнения команды git pull для Django-проекта!
### Для использования просто добавьте в файл 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
### Для использования просто добавьте в файл 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
Release history Release notifications | RSS feed
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.0.zip
(5.0 kB
view hashes)