Re: [tryton-dev] Github mirror

2015-03-12 Thread Simon Klemenc
just to avoid having the other mirror out of sync:

http://google-opensource.blogspot.co.at/2015/03/farewell-to-google-code.html

whats next?
regards
simon

On Thursday, February 5, 2015 at 12:15:03 PM UTC+1, Cédric Krier wrote:

 On 04 Feb 12:43, Nicolas Évrard wrote: 
  * Sharoon Thomas  [2015-01-29 20:53 +0100]: 
  On Thu, Jan 29, 2015 at 7:01 AM, Cédric Krier cedric...@b2ck.com 
 javascript: wrote: 
   
  On 27 Jan 10:10, Cédric Krier wrote: 
   
  It seems the sync is back. Could we have a report about what was the 
  problem? How can we avoid it in the future? And which steps will be 
  taken to be warned faster? 
   
   
  Yes, the sync is back online. 
  
  Out of curiosity, I went to see if the commits on the client were also 
  taken into account and I noticed that the last commit on the account 
  module is from 8 days ago although Raphaël commited a fix a few days 
  ago. 
  
  So is the sync once per week? If it is the case may I suggest 
  synchronizing at least once per day? 
  
  Or maybe the script crashed again. 

 It seems to be back but it is quite annoying to have no information. 

 -- 
 Cédric Krier - B2CK SPRL 
 Email/Jabber: cedric...@b2ck.com javascript: 
 Tel: +32 472 54 46 59 
 Website: http://www.b2ck.com/ 



Re: [tryton-dev] Github mirror

2015-02-05 Thread Cédric Krier
On 04 Feb 12:43, Nicolas Évrard wrote:
 * Sharoon Thomas  [2015-01-29 20:53 +0100]:
 On Thu, Jan 29, 2015 at 7:01 AM, Cédric Krier cedric.kr...@b2ck.com wrote:
 
 On 27 Jan 10:10, Cédric Krier wrote:
 
 It seems the sync is back. Could we have a report about what was the
 problem? How can we avoid it in the future? And which steps will be
 taken to be warned faster?
 
 
 Yes, the sync is back online.
 
 Out of curiosity, I went to see if the commits on the client were also
 taken into account and I noticed that the last commit on the account
 module is from 8 days ago although Raphaël commited a fix a few days
 ago.
 
 So is the sync once per week? If it is the case may I suggest
 synchronizing at least once per day?
 
 Or maybe the script crashed again.

It seems to be back but it is quite annoying to have no information.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


pgpPBdRlpRYHK.pgp
Description: PGP signature


Re: [tryton-dev] Github mirror

2015-02-04 Thread Nicolas Évrard
* Sharoon Thomas  [2015-01-29 20:53 +0100]: 

On Thu, Jan 29, 2015 at 7:01 AM, Cédric Krier cedric.kr...@b2ck.com wrote:


On 27 Jan 10:10, Cédric Krier wrote:

It seems the sync is back. Could we have a report about what was the
problem? How can we avoid it in the future? And which steps will be
taken to be warned faster?



Yes, the sync is back online.


Out of curiosity, I went to see if the commits on the client were also
taken into account and I noticed that the last commit on the account
module is from 8 days ago although Raphaël commited a fix a few days
ago.

So is the sync once per week? If it is the case may I suggest
synchronizing at least once per day?

Or maybe the script crashed again.

--
Nicolas Évrard - B2CK SPRL
E-mail/Jabber: nicolas.evr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


signature.asc
Description: Digital signature


Re: [tryton-dev] Github mirror

2015-01-29 Thread Cédric Krier
On 27 Jan 10:10, Cédric Krier wrote:
 On 26 Jan 06:38, Sharoon Thomas wrote:
  On Thu, Jan 22, 2015 at 12:32 PM, Cédric Krier cedric.kr...@b2ck.com
  wrote:
  
   Hi,
  
   @sharoon, the Github mirror seems to not have been updated since Dec 19,
   2014.
  
   It is fine to have mirrors but they must be up to date. If the problem
   comes from resources, we can host it on Tryton's server if you provide
   the tools and manual to run it.
   Otherwise we should remove the mirrors to prevent bad feeling about dead
   project.
  
  
  The mirroring code can be seen here: https://github.com/tryton/mirror
  
  There is no README yet. However, I will check why the mirroring has stopped
  and get it back up.
 
 There is something wrong with the infrastructure if it is only after more
 than 1 month that broken setup is discovered.
 I realy think this should be managed by the Foundation infrastructure if
 we want it to be perennial.

It seems the sync is back. Could we have a report about what was the
problem? How can we avoid it in the future? And which steps will be
taken to be warned faster?

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


Re: [tryton-dev] Github mirror

2015-01-29 Thread Sharoon Thomas
On Thu, Jan 29, 2015 at 7:01 AM, Cédric Krier cedric.kr...@b2ck.com wrote:

 On 27 Jan 10:10, Cédric Krier wrote:
  On 26 Jan 06:38, Sharoon Thomas wrote:
   On Thu, Jan 22, 2015 at 12:32 PM, Cédric Krier cedric.kr...@b2ck.com
   wrote:
  
Hi,
   
@sharoon, the Github mirror seems to not have been updated since Dec
 19,
2014.
   
It is fine to have mirrors but they must be up to date. If the
 problem
comes from resources, we can host it on Tryton's server if you
 provide
the tools and manual to run it.
Otherwise we should remove the mirrors to prevent bad feeling about
 dead
project.
   
  
   The mirroring code can be seen here: https://github.com/tryton/mirror
  
   There is no README yet. However, I will check why the mirroring has
 stopped
   and get it back up.
 
  There is something wrong with the infrastructure if it is only after more
  than 1 month that broken setup is discovered.
  I realy think this should be managed by the Foundation infrastructure if
  we want it to be perennial.

 It seems the sync is back. Could we have a report about what was the
 problem? How can we avoid it in the future? And which steps will be
 taken to be warned faster?


Yes, the sync is back online.

The problem seems to have been the changes on the mercurial web page
that lists the modules. It includes new tpf module. Not sure if this was a
recent
change that broke the sync. I added a negatives list to get around this [1].

The status of the sync is automatically reported now to our sentry server on
success and failure. Will see if this information can be publicly displayed.

[1]
https://github.com/tryton/mirror/commit/5267056a05b5f96cd7b165ad5514b6efcf6fa907

Thanks  Regards

-- 
--
Sharoon Thomas
Openlabs Technologies  Consulting (P) Limited

w: http://www.openlabs.co.in
m: +1 813.793.6736 (OPEN) Extn. 200
t: @sharoonthomas

- We Win When our Customers Win


Re: [tryton-dev] Github mirror

2015-01-29 Thread Cédric Krier
On 29 Jan 14:53, Sharoon Thomas wrote:
 The problem seems to have been the changes on the mercurial web page
 that lists the modules. It includes new tpf module. Not sure if this was a
 recent
 change that broke the sync. I added a negatives list to get around this [1].

Parsing this webpage is not a reliable process. It may change in the
future. Such issue could be avoided if run from the Tryton's servers.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


Re: [tryton-dev] Github mirror

2015-01-27 Thread Cédric Krier
On 26 Jan 06:38, Sharoon Thomas wrote:
 On Thu, Jan 22, 2015 at 12:32 PM, Cédric Krier cedric.kr...@b2ck.com
 wrote:
 
  Hi,
 
  @sharoon, the Github mirror seems to not have been updated since Dec 19,
  2014.
 
  It is fine to have mirrors but they must be up to date. If the problem
  comes from resources, we can host it on Tryton's server if you provide
  the tools and manual to run it.
  Otherwise we should remove the mirrors to prevent bad feeling about dead
  project.
 
 
 The mirroring code can be seen here: https://github.com/tryton/mirror
 
 There is no README yet. However, I will check why the mirroring has stopped
 and get it back up.

There is something wrong with the infrastructure if it is only after more
than 1 month that broken setup is discovered.
I realy think this should be managed by the Foundation infrastructure if
we want it to be perennial.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


Re: [tryton-dev] Github mirror

2015-01-26 Thread Sharoon Thomas
On Thu, Jan 22, 2015 at 12:32 PM, Cédric Krier cedric.kr...@b2ck.com
wrote:

 Hi,

 @sharoon, the Github mirror seems to not have been updated since Dec 19,
 2014.

 It is fine to have mirrors but they must be up to date. If the problem
 comes from resources, we can host it on Tryton's server if you provide
 the tools and manual to run it.
 Otherwise we should remove the mirrors to prevent bad feeling about dead
 project.


The mirroring code can be seen here: https://github.com/tryton/mirror

There is no README yet. However, I will check why the mirroring has stopped
and get it back up.

Thanks  Regards

-- 
--
Sharoon Thomas
Openlabs Technologies  Consulting (P) Limited

w: http://www.openlabs.co.in
m: +1 813.793.6736 (OPEN) Extn. 200
t: @sharoonthomas

- We Win When our Customers Win


Re: [tryton-dev] Github mirror

2014-11-30 Thread Cédric Krier
On 27 Nov 11:35, Cédric Krier wrote:
 On 27 Nov 10:19, Sharoon Thomas wrote:
  On 11/27, Cédric Krier wrote:
   On 27 Nov 09:32, Sharoon Thomas wrote:
 @sharoon, is it a possible configuration?

There is a github user account named tryton-ci which we had setup to try
and configure continous integration on tryton repositories. I added the
issue tracker email to the user, but it need verification before it can
start receiving email alerts for pull requests sent.
   
   I don't see this user.
  
  Will rename the user once we set this up and then give access.
  
   Anyway, we need to create a user for GitHub. Do you know which email
   address it uses? I see we receive an email from nore...@github.com but
   is it always the case?
  
  The notifications for pull requests come from notificati...@github.com
 
 I have not enough knowledge on the propritary GitHub so I can not know
 if it is doable. So I let people who knows it managing it.

Someone could write a small bot using github3.py [1].
The workflow could be:

- on new pull request:

- create an issue on roundup
- attach the patch
- add a link to the pull request to this new issue
- store locally link between PL and issue

- watch frequently the created issue

- when they are closed:

- close the PL on github

And it could be the same of issue.

Such bot should be run from the Tryton server (with probably also the
mirroring script which could be triggered by hook on repositories).

I can help to setup the infrastructure but not the writing/testing of
the script.

[1] https://pypi.python.org/pypi/github3.py

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


pgp4OOx4AMNye.pgp
Description: PGP signature


Re: [tryton-dev] Github mirror

2014-11-27 Thread Sharoon Thomas
On 11/27, Cédric Krier wrote:
 I did not succeed to find those cases but anyway I think we could try to
 manage them by having GitHub creating the issue automaticaly by sending
 an email to issue_trac...@tryton.org at the creation of a new pull
 request (with the patch attached will be a plus). 

This is a great idea and I hope it works well for us.

 I don't have access to
 the configuration of this account but I guess it is possible to get this
 configuration.

I added you as one of the owners of the tryton account on github. Can
you confirm you recieved the invitation ? you should now be able to
invite other core committers if you need to.

 In such case, we have 2 workflow options:
 
 - the patch is trivial then it can be applied by a committer directly
 
 - the patch needs rework and so we request the original author to
   upload it on codereview.tryton.org
   And if he doesn't, we still have the information to fix the issue
   ourself.
 
 For me, the important thing is not to have the contributor to contribute
 but to not lost the information he brought in the PL.
 
 @sharoon, is it a possible configuration?

There is a github user account named tryton-ci which we had setup to try
and configure continous integration on tryton repositories. I added the
issue tracker email to the user, but it need verification before it can
start receiving email alerts for pull requests sent.

I really hope this works.

Cheers

Sharoon Thomas


Re: [tryton-dev] Github mirror

2014-11-27 Thread Cédric Krier
On 27 Nov 09:32, Sharoon Thomas wrote:
  I don't have access to
  the configuration of this account but I guess it is possible to get this
  configuration.
 
 I added you as one of the owners of the tryton account on github. Can
 you confirm you recieved the invitation ? you should now be able to
 invite other core committers if you need to.

I received.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


pgpKh82qayR2M.pgp
Description: PGP signature


Re: [tryton-dev] Github mirror

2014-11-27 Thread Sharoon Thomas
On 11/27, Cédric Krier wrote:
 On 27 Nov 09:32, Sharoon Thomas wrote:
   @sharoon, is it a possible configuration?
  
  There is a github user account named tryton-ci which we had setup to try
  and configure continous integration on tryton repositories. I added the
  issue tracker email to the user, but it need verification before it can
  start receiving email alerts for pull requests sent.
 
 I don't see this user.

Will rename the user once we set this up and then give access.

 Anyway, we need to create a user for GitHub. Do you know which email
 address it uses? I see we receive an email from nore...@github.com but
 is it always the case?

The notifications for pull requests come from notificati...@github.com

Thanks  Regards

Sharoon Thomas


Re: [tryton-dev] Github mirror

2014-11-27 Thread Cédric Krier
On 27 Nov 10:19, Sharoon Thomas wrote:
 On 11/27, Cédric Krier wrote:
  On 27 Nov 09:32, Sharoon Thomas wrote:
@sharoon, is it a possible configuration?
   
   There is a github user account named tryton-ci which we had setup to try
   and configure continous integration on tryton repositories. I added the
   issue tracker email to the user, but it need verification before it can
   start receiving email alerts for pull requests sent.
  
  I don't see this user.
 
 Will rename the user once we set this up and then give access.
 
  Anyway, we need to create a user for GitHub. Do you know which email
  address it uses? I see we receive an email from nore...@github.com but
  is it always the case?
 
 The notifications for pull requests come from notificati...@github.com

I have not enough knowledge on the propritary GitHub so I can not know
if it is doable. So I let people who knows it managing it.

-- 
Cédric Krier - B2CK SPRL
Email/Jabber: cedric.kr...@b2ck.com
Tel: +32 472 54 46 59
Website: http://www.b2ck.com/


pgpLFB0jVo7lq.pgp
Description: PGP signature