Hi Amir,

Have you looked at the patch I committed for core? The same technique might be applicable to compat.

Otherwise, you could revert the patch that broke it (which is probably one of the last ones in https://github.com/wikimedia/pywikibot-compat/commits/master/pywikibot/version.py )

Merlijn


On 29 March 2014 00:43, Amir Ladsgroup <ladsgroup@gmail.com> wrote:
I forgot to add the patch
https://gerrit.wikimedia.org/r/121891

and If you think this way is not best way to fix this issue, let's discuss because I tested every other possible way


Best


On Sat, Mar 29, 2014 at 4:11 AM, Amir Ladsgroup <ladsgroup@gmail.com> wrote:
Hello all,
As you may know due to bug 61846, It is impossible to run pywikibot in Windows

It was because git version control system doesn't work properly in systems that git isn't installed (obviously) and decrypting txt files in .git folder isn't our job

I tried to solve by logging commits in a text fie in here and when it can't be determined, the bot retrieves this file, finds out what is the version and adds it to cache.

It's the patch and It hasn't been merged yet because we need to check it and review it very carefully but sooner is better, So please help and test this patch in you environment. I tested it on my pc which uses windows (such a shame) and It worked correctly

Best
--
Amir




--
Amir


_______________________________________________
Pywikipedia-l mailing list
Pywikipedia-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/pywikipedia-l