[Hooke] Hooke restructuring

6 views
Skip to first unread message

W. Trevor King

unread,
May 12, 2010, 4:17:46 PM5/12/10
to Hooke
I've been rewriting the Hooke core for the past week and I think I've
got the new architecture pretty well in place. I mentioned my main
ideas back here:
http://groups.google.com/group/hookesoftware/browse_thread/thread/885fc6856438aded

Git branch with the updated code:
http://www.physics.drexel.edu/~wking/code/git/git.php?p=hooke.git

Again, if the powers that be want this in an SVN branch, just give me
push access somewhere ;). Alternatively, I can provide a patch set
against the current SVN head.

Major features of my rewrite:

* No GUI-specific code in the core.
* plugin/driver dependency tracking.
* user-selectable UI, although only a command-line interface at the
moment.
* ConfigParser based configuration (INI-like files).
* Sphinx-based documentation.

I haven't done much work on the plugins/drivers themselves yet, but
I'll do enough of that for my current project. and I'll do all of them
if it will get my code merged into the trunk ;).

I'm going back over the documentation now. I'll post it online
somewhere once I get it fixed up.

--
You received this message because you are subscribed to the Google Groups "Hooke" group.
To post to this group, send email to hookes...@googlegroups.com.
To unsubscribe from this group, send email to hookesoftwar...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/hookesoftware?hl=en.

m.s.

unread,
May 13, 2010, 11:05:12 AM5/13/10
to Hooke
Hi Trevor,

Thanks for your wonderful work!

On May 12, 9:17 pm, "W. Trevor King" <tvr...@gmail.com> wrote:
> I've been rewriting the Hooke core for the past week and I think I've
> got the new architecture pretty well in place.  I mentioned my main
> ideas back here:
>  http://groups.google.com/group/hookesoftware/browse_thread/thread/885...
>
> Git branch with the updated code:
>  http://www.physics.drexel.edu/~wking/code/git/git.php?p=hooke.git
>
> Again, if the powers that be want this in an SVN branch, just give me
> push access somewhere ;).  Alternatively, I can provide a patch set
> against the current SVN head.

I would be happy to give you SVN access to open a branch, if you don't
have it already.
There is already another branch by Rolf Schmidt that instead focuses
on a full-featured GUI. You can read about it here:
http://code.google.com/p/hooke/wiki/HookeGUI

I hope you can work together to merge the thing, so to get the best of
both worlds (and avoiding too much forking). Unfortunately I'm no more
very much involved in Hooke coding (I work on molecular dynamics
currently...), but I can help if needed. The fact that you coded a
fully user-selectable UI in my opinion could help a lot, so that the
GUI branch can use your interface.

I guess that when you and Rolf manage to merge these two branches and
then we bring plugins/drivers up-to-date, the full Hooke 1.0 is ready!

> Major features of my rewrite:
>
>   * No GUI-specific code in the core.
>   * plugin/driver dependency tracking.
>   * user-selectable UI, although only a command-line interface at the
> moment.
>   * ConfigParser based configuration (INI-like files).
>   * Sphinx-based documentation.
>
> I haven't done much work on the plugins/drivers themselves yet, but
> I'll do enough of that for my current project. and I'll do all of them
> if it will get my code merged into the trunk ;).

I wait for the docs!

cheers,
m.

W. Trevor King

unread,
May 13, 2010, 1:04:48 PM5/13/10
to hookes...@googlegroups.com
On Thu, May 13, 2010 at 08:05:12AM -0700, m.s. wrote:
> I would be happy to give you SVN access to open a branch, if you don't
> have it already.

Nope. I think you need to add me to the project group.

> There is already another branch by Rolf Schmidt that instead focuses
> on a full-featured GUI. You can read about it here:
> http://code.google.com/p/hooke/wiki/HookeGUI

He sent me his branch as of Jan 1, and I went through and grabbed some
of those ideas. I haven't worked on the GUI much yet, and I imagine
that is where things will get... interesting :p.

I've read the page you reference, and it looks good :), but I couldn't
actually find the new svn branch. This will be my 'learn-SVN'
project, so I may just be being stupid:

$ svn checkout http://hooke.googlecode.com/svn/ hooke.svn
$ ls hooke.svn/branches/
illysam

> I hope you can work together to merge the thing, so to get the best of
> both worlds (and avoiding too much forking).

Definitely.

Oh, I've posted the Sphinx documentation for my branch here:
http://www.physics.drexel.edu/~wking/rsrch/hooke/

--
This email may be signed or encrypted with GPG (http://www.gnupg.org).
The GPG signature (if present) will be attached as 'signature.asc'.
For more information, see http://en.wikipedia.org/wiki/Pretty_Good_Privacy

My public key is at http://www.physics.drexel.edu/~wking/pubkey.txt

W. Trevor King

unread,
May 14, 2010, 7:48:20 AM5/14/10
to hookes...@googlegroups.com
On Thu, May 13, 2010 at 01:04:48PM -0400, W. Trevor King wrote:
> I've read the page you reference, and it looks good :), but I couldn't
> actually find the new svn branch. This will be my 'learn-SVN'
> project, so I may just be being stupid:
>
> $ svn checkout http://hooke.googlecode.com/svn/ hooke.svn
> $ ls hooke.svn/branches/
> illysam

Ah, I am stupid. illysam is Rolf's branch. I was expecting a name
closer to "rschmidt" :p.

W. Trevor King

unread,
May 13, 2010, 5:02:57 PM5/13/10
to hookes...@googlegroups.com
On Thu, May 13, 2010 at 01:04:48PM -0400, W. Trevor King wrote:
> On Thu, May 13, 2010 at 08:05:12AM -0700, m.s. wrote:
> > I would be happy to give you SVN access to open a branch, if you don't
> > have it already.
>
> Nope. I think you need to add me to the project group.

How do people feel about migrating to Mercurial?
Google supports it:
http://code.google.com/p/support/wiki/ConvertingSvnToHg
And it's distributed, so it's easier for other people to make changes:
http://mercurial.selenic.com/guide/#collaborative_development

Because of the Google-code support, I've deprecated my Git branch in
favor of a Mercurial branch:
http://www.physics.drexel.edu/~wking/code/hg/hooke
My recent Git work is now the "wtk" branch":
wking@mjolnir hooke $ hg branches
wtk 257:10951010e15d
illysam 9:b2cf6608edd5
default 162:98423149f185 (inactive)

W. Trevor King

unread,
May 17, 2010, 1:14:27 PM5/17/10
to hookes...@googlegroups.com
On Thu, May 13, 2010 at 05:02:57PM -0400, W. Trevor King wrote:
> Because of the Google-code support, I've deprecated my Git branch in
> favor of a Mercurial branch:
> http://www.physics.drexel.edu/~wking/code/hg/hooke

There is also a browsable interface to the repo at
http://www.physics.drexel.edu/~wking/code/hg/hgwebdir.cgi/hooke

If you can, please hold off on pulling from or merging the illysams
branch, which is currently detached from the main tree. I'm going to
graft it onto an approprate position once I get the ok from Massimo.

Reply all
Reply to author
Forward
0 new messages