Jump to content


shaik

Member Since 10 Jul 2012
Offline Last Active Jul 16 2012 05:42 AM
-----

Posts I've Made

In Topic: auto updates in bit bucket org

16 July 2012 - 05:42 AM

Thanks for your reply.....

In Topic: auto updates in bit bucket org

12 July 2012 - 01:09 PM

Hi Ivica

What I have understood is first we need to create a file in web and that web link has to be in the post receive url of repo services.
It automatically fires the commands and those commands which are there in the web link.

so that is the reason I placed those commands in a file.

Can you tell me the path in windows i.e zurmo directory means it should be the local repository path. Frankly speaking I dont know what is zurmo directory.

I am just working on the local repository , git bitbucket server and root server to update the local files in remote server.

You mentioned a script how can I use this script (php path_to_php_script_you_created/github.com)

How can I call use this script to call it for every 5 minutes.I have to use this as command or I need to make this as a file and call this page as a service.

From last 5 days I have been trying this but could not finish this.

Please reply me when you get free time.

I think am not working as per your suggestions.
I am just using post receive url concept to do auto updates.
If you have any link or any material how to follow your steps. May I now request you to share this to me.


Kind Regards
Shaik

In Topic: auto updates in bit bucket org

12 July 2012 - 11:55 AM

The second option what you have suggested me.

I have made a file with below content
<?php
shell_exec('www/bitbucket/dekiru');
shell_exec('hg pull');
shell_exec('hg update');
?>
and named this file as 'github.php' and placed into folder and location is "http://dekiru.com/bi...kiru/github.php"

and in bitbucket.org repo in the post receive url : I have pasted this url : http://dekiru.com/bi...kiru/github.php

And I am using Windows.

But this is not working. Can you please tell me wts going on in background.

Thanks for your patience and for your time.

Regards
Shaik

In Topic: auto updates in bit bucket org

11 July 2012 - 07:36 AM

I have created this file

<?php
shell_exec('www/bitbucket/dekiru');
shell_exec('hg pull');
shell_exec('hg update');
?>
and named this file called deploy.php file and placed it into this directory
http://dekiru.com/bi...kiru/deploy.php

but you mentioned this one. just set cron to call it every minute.
How to create this thing and where to place this cron file. Can you please tell me how to create this file.and how to execute this one.

In Topic: auto updates in bit bucket org

11 July 2012 - 06:33 AM

First in the server I have a placed a file called deploy.php file which has this content <?PHP 'git pull';?>

It does not work.

So I have used another file which has some built in classes.

Am going to change with your commands. Is these commands should be in php tags?

let me check with your commands and let you know..

Thanks for your time and responses.