معرفی شرکت ها


fedwatch-0.5


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Module for creating simple scripts reacting to fedmsg messages
ویژگی مقدار
سیستم عامل -
نام فایل fedwatch-0.5
نام fedwatch
نسخه کتابخانه 0.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Stanislav Ochotnicky
ایمیل نویسنده sochotnicky@redhat.com
آدرس صفحه اصلی https://github.com/sochotnicky/fedwatch
آدرس اینترنتی https://pypi.org/project/fedwatch/
مجوز LGPLv2+
fedwatch ======== Library for watching fedmsg messages and running arbitrary scripts in a nice way Think of fedwatch as simple converter from fedmsg json messages into shell arguments for scripts. Dependencies ============ * fedmsg (duh!) * python-dpath (https://github.com/akesterson/dpath-python) Usage ===== To use fedwatch you will need to create a configuration file (by default read from /etc/fedwatch.conf) and scripts that are to be run when messages of interest arrive (by default /etc/fedwatch.d). When interesting message arrives, fedmsg converts json data into arguments for shell scripts and runs each script in <em>script-dir</em> based on configuration. First argument is always topic so that scripts can handle different topics. Real life example of configuration file: { "org.fedoraproject.prod.git.receive": { "args": [ "msg/commit/username", "msg/commit/repo", "msg/commit/branch", "msg/commit/rev", "msg/commit/summary" ] } } Above configuration means fedwatch will be waiting for <em>git.receive</em> topic and will pass 6 arguments to any scripts in <em>script-dir</em>: 1. org.fedoraproject.prod.git.receive (topic) 2. FAS username of commiter 3. repository (package) name 4. branch name 5. revision (SHA hash of commit) 6. commit summary (1st line of git commit) To see list of possible topics and data included in them see http://fedmsg.readthedocs.org/en/latest/topics/


نحوه نصب


نصب پکیج whl fedwatch-0.5:

    pip install fedwatch-0.5.whl


نصب پکیج tar.gz fedwatch-0.5:

    pip install fedwatch-0.5.tar.gz