gitpab icon indicating copy to clipboard operation
gitpab copied to clipboard

How do I pull new data from database?

Open parmeshtajain opened this issue 6 years ago • 11 comments

Will it pull new data by itself? Is there a cron job? Not sure. Thanks for your answer in advance.

Or do I have rebuild docker every time?

parmeshtajain avatar Sep 15 '19 06:09 parmeshtajain

Cron must be in container with PHP:

https://github.com/zubroide/gitpab/blob/6dacf84305bf36355fd0c7df818accc1a79beda2/docker/php/Dockerfile#L59-L60

https://github.com/zubroide/gitpab/blob/6dacf84305bf36355fd0c7df818accc1a79beda2/docker/php/entrypoint.sh#L41-L42

Database must syncs every hour at 11 minute:
https://github.com/zubroide/gitpab/blob/6dacf84305bf36355fd0c7df818accc1a79beda2/docker/cron/crontab#L1

mnvx avatar Sep 15 '19 06:09 mnvx

Thanks. One more question. Is there a way to add new projects without restarting docker?

On Sat, Sep 14, 2019 at 11:47 PM Nikolay [email protected] wrote:

Cron must be in container with PHP:

https://github.com/zubroide/gitpab/blob/6dacf84305bf36355fd0c7df818accc1a79beda2/docker/php/Dockerfile#L59-L60

https://github.com/zubroide/gitpab/blob/6dacf84305bf36355fd0c7df818accc1a79beda2/docker/php/entrypoint.sh#L41-L42

Database must syncs every hour on 11 minute:

https://github.com/zubroide/gitpab/blob/6dacf84305bf36355fd0c7df818accc1a79beda2/docker/cron/crontab#L1

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zubroide/gitpab/issues/53?email_source=notifications&email_token=AADCRWNC2J3EKIZSQIABLILQJXK7JA5CNFSM4IWZLTIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6XKN3Q#issuecomment-531539694, or mute the thread https://github.com/notifications/unsubscribe-auth/AADCRWLGZDFHN47GC7J2YA3QJXK7JANCNFSM4IWZLTIA .

-- CONFIDENTIALITY NOTICE

This email message and any attachments are for the exclusive use of the intended recipient's and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

parmeshtajain avatar Sep 15 '19 16:09 parmeshtajain

Currently docker container must be restarted after modifying project list.

mnvx avatar Sep 15 '19 19:09 mnvx

Thank you. One more question. It seems like if we enter time spent in gitlab issue as part of a write up submit, gitpab is not able to see it...

If the time spent is entered as: "Closing this issue now." /spend 1h Click Submit button. Gitpab seems to miss time entered. Any ideas on that?

parmeshtajain avatar Sep 17 '19 05:09 parmeshtajain

Gitpab analyse spent time only from comments

mnvx avatar Sep 17 '19 06:09 mnvx

Yes, but if I add a comment and add spent time in single submit, gitpab doesn't pick it up.

On Mon, Sep 16, 2019, 11:39 PM Nikolay [email protected] wrote:

Gitpab analyse spent time only from comments

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zubroide/gitpab/issues/53?email_source=notifications&email_token=AADCRWL4SQP4TNU2L3LYOE3QKB3STA5CNFSM4IWZLTIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD63PCXA#issuecomment-532083036, or mute the thread https://github.com/notifications/unsubscribe-auth/AADCRWMEOFAZC2ABV53O723QKB3STANCNFSM4IWZLTIA .

-- CONFIDENTIALITY NOTICE

This email message and any attachments are for the exclusive use of the intended recipient's and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

parmeshtajain avatar Sep 17 '19 06:09 parmeshtajain

Database must syncs every hour at 11 minute. How many time ago you added spent time?

mnvx avatar Sep 17 '19 06:09 mnvx

Last week multiple times. It shows up if I add the time as a separate entry in the comments.

But when I add it as part of a comment with other text in it, it doesn't show up in the report.

On Mon, Sep 16, 2019, 11:44 PM Nikolay [email protected] wrote:

Database must syncs every hour at 11 minute. How many time ago you added spent time?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zubroide/gitpab/issues/53?email_source=notifications&email_token=AADCRWPD7WAMBQEGUSPHKTLQKB4EJA5CNFSM4IWZLTIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD63PNJA#issuecomment-532084388, or mute the thread https://github.com/notifications/unsubscribe-auth/AADCRWLVZNZ2JPTW4IQIHW3QKB4EJANCNFSM4IWZLTIA .

-- CONFIDENTIALITY NOTICE

This email message and any attachments are for the exclusive use of the intended recipient's and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

parmeshtajain avatar Sep 17 '19 06:09 parmeshtajain

Ok I figured it out. The guys were adding time spent in the description for some crazy reason. It should only be added in the comments like you said. Thank you for your help on this.

rairai77 avatar Sep 17 '19 06:09 rairai77

Time will be parsed from comments of special format:

image

Time marked using this way displays on right panel in Gitlab:

image

mnvx avatar Sep 17 '19 06:09 mnvx

Yes, thank you.

On Mon, Sep 16, 2019 at 11:58 PM Nikolay [email protected] wrote:

Time will be parsed from comments of special format:

[image: image] https://user-images.githubusercontent.com/829880/65018100-f85cce00-d930-11e9-8d50-3da96cb98a30.png

Time marked using this way displays on right panel in Gitlab:

[image: image] https://user-images.githubusercontent.com/829880/65018147-10cce880-d931-11e9-93da-b3ba514f5d60.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zubroide/gitpab/issues/53?email_source=notifications&email_token=AADCRWI5QTBPMENDQAP4OF3QKB5YTA5CNFSM4IWZLTIKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD63QMDI#issuecomment-532088333, or mute the thread https://github.com/notifications/unsubscribe-auth/AADCRWKK4RWPYNLAB65SUVDQKB5YTANCNFSM4IWZLTIA .

-- CONFIDENTIALITY NOTICE

This email message and any attachments are for the exclusive use of the intended recipient's and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

parmeshtajain avatar Sep 17 '19 06:09 parmeshtajain