Friedrich
Thanks, the patch looks good and it works. However, there is a problem with:
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sympy/revision.py Sat Apr 26 01:21:45 2008 +0200
@@ -0,0 +1,81 @@
+# Copyright (C) 2005, 2006, 2008 by Intevation GmbH
+# Author(s):
+# Thomas Arendsen Hein <tho...@intevation.de>
+#
+# This program is free software under the GNU GPL (>=v2)
+# Read the file COPYING coming with the software for details.
That'd mean that sympy would become GPL as a whole. Where is this file
from? Maybe the author would make it BSD for us, or we may import it
from Mercurial somewhere.
Ondrej
I just copied the file
http://selenic.com/repo/index.cgi/hg/file/tip/mercurial/version.py
directly from mercurial repository. This was the advice from Kirill in
http://groups.google.com/group/sympy/browse_thread/thread/38fd4e5739f9a325
And as you can read there
http://www.selenic.com/mercurial/wiki/index.cgi/FAQ
mercurial is under GPL licence. What do we want to do now? Ask the autor?
By,
Friedrich
[friedrich@wuschel:~] % isympy
Python 2.5.1 console for SymPy 0.5.13-hg-2d15ceab52b0
and in the local sympy
[friedrich@wuschel:~/src/sympy] % ./bin/isympy
Python 2.5.1 console for SymPy 0.5.13-hg-work-directory
I think it is better and isympy starts faster because it didnt run every
time 'hg identity'.
Not sure about this - for bug reports i'd prefer knowing the revision.
On the other hand, when users post script output to issues they seldomly
post full output and this particular line header is often ommited.
If we'd manage to know workdir revision fast, I'm for printing it too.
> I just copied the file
>
> http://selenic.com/repo/index.cgi/hg/file/tip/mercurial/version.py
>
> directly from mercurial repository. This was the advice from Kirill in
>
> http://groups.google.com/group/sympy/browse_thread/thread/38fd4e5739f9a325
>
> And as you can read there
>
> http://www.selenic.com/mercurial/wiki/index.cgi/FAQ
>
> mercurial is under GPL licence. What do we want to do now? Ask the autor?
I think yes, we should ask the author about this.
Also, I'd ask on mercurial mailing list what they could suggest for
projects like SymPy (who uses mercurial) to do in order to get current
version.
I think this topic is general, and would be interesting for all.
Could you please do it Friedrich, or shall I care of this?
--
Всего хорошего, Кирилл.
I think when you work with local ./bin/isympy you could do
In [1]: !hg id
IPython system call: hg id
2348232f41b0 tip
to get the parent revision. The original problem was that I want to know
the revision of the _installed_ isympy. Once sympy is installed I have
no chance to know the revision.
> On the other hand, when users post script output to issues they seldomly
> post full output and this particular line header is often ommited.
Thats right. And after more then 20 Input this line is gone away.
> If we'd manage to know workdir revision fast, I'm for printing it too.
OK. Then I have to improve the current patch.
> > I just copied the file
> >
> > http://selenic.com/repo/index.cgi/hg/file/tip/mercurial/version.py
> >
> > directly from mercurial repository. This was the advice from Kirill in
> >
> > http://groups.google.com/group/sympy/browse_thread/thread/38fd4e5739f9a325
> >
> > And as you can read there
> >
> > http://www.selenic.com/mercurial/wiki/index.cgi/FAQ
> >
> > mercurial is under GPL licence. What do we want to do now? Ask the autor?
>
> I think yes, we should ask the author about this.
>
> Also, I'd ask on mercurial mailing list what they could suggest for
> projects like SymPy (who uses mercurial) to do in order to get current
> version.
>
> I think this topic is general, and would be interesting for all.
>
> Could you please do it Friedrich, or shall I care of this?
The topic to care for the licence stuff is relativly new for me because
its my first open source project I am working for it. Could you care for
this, please?
Thanks,
Friedrich
Sure, I'll do it.
I'll try tommorow, after having some rest.
Thanks,
--
Всего хорошего, Кирилл.
I've finally found time to give my debt:
http://www.selenic.com/pipermail/mercurial-devel/2008-May/006399.html
and here is Matt reply:
http://www.selenic.com/pipermail/mercurial-devel/2008-May/006401.html
It seems everything seems to be much simpler :)
--
Всего хорошего, Кирилл.
And also we've got explicit "feel free to use it" from version.py
author:
http://marc.info/?l=mercurial-devel&m=121224630109273&w=2
So let's get things moving...
Friedrich?
--
Всего хорошего, Кирилл.
P.S. I apologize again for so long delay with performing this task at my
side...
Yes, I can do it in 2 weeks. I have to finish my own work now. But also
everyone else can do it.
By, Friedrich
Friedrich, it would be great if you could find free time to finish this.
Thanks beforehand.
--
Всего хорошего, Кирилл.