I wasn't going to clean it any more (after I got it working) until I
got the tests running and more documentation, since I wasn't sure how
much would change by then. I'll clean it up now. Also, yes, there may
be some overlap with HG. At some point it might be good to write a few
DVCS base classes which hg and git both extend.
On Tue, Aug 9, 2011 at 11:08 AM, Samuel Swarr <sw...@google.com> wrote:
> Hi Michael,
> We pushed out a new change to Java MOE that includes an Ant build that can
> also run tests. You should be able to write your own tests now for the Git
> classes. At first glance, the patch looked pretty good, however some things
> still need changing. For example, GitRevisionHistory's parseMetadata(...) is
> unchanged from HgRevisionHistory's implementation.
> Your patch might also need some refactoring since in the latest change, src/
> was renamed to java/ and tests/ was renamed to javatests/.
> We should also have a public site with Java MOE documentation and tutorials
> posted soon.
> --
> -Sam
>
Here is a diff for you guys to look at: https://gist.github.com/1143064
thanks
--michaelb
On Tue, Aug 9, 2011 at 11:52 AM, Samuel Swarr <sw...@google.com> wrote:
> We just posted a page on the wiki about Moe's directives. The ones that will
> be most useful for testing the Git stuff are create_codebase, change,
> highest_revision, and determine_metadata. More wiki pages describing the
> moe_config.txt file and CodebaseExpressions and RevisionExpressions will be
> posted shortly, so keep checking back. Thanks!
> --
> -Sam
>
Here is the patch: https://gist.github.com/1158363
I also wrote a couple tiny Python utilities, which could (possibly) be
helpful to put in a bin or scripts directory or on the wiki or
something:
* https://gist.github.com/1158377
moe_config_server.py is a simple example server that implements the
REST api just mentioned. It serves up
"./projects/[project_name]/config.js" and
"./projects/[project_name]/moe.db"
* https://gist.github.com/1158379
moe.py is a wrapper around the main moe which looks for a JSON file
"~/.moerc" and saves the user from having to type --test_config and
--db with every call, and works with the above example server, so you
can just do commands like "moe.py project_name check_config"
Any feedback on the git client?
thanks
--michaelb
On Mon, Aug 15, 2011 at 10:57 AM, Samuel Swarr <sw...@google.com> wrote:
> Awesome thanks! We're looking at this now. I'll keep you updated.
>
> On Fri, Aug 12, 2011 at 5:55 PM, Michael Bethencourt <mich...@gmail.com>
> --
> -Sam
>