> I'm definitely interested in looking at incorporating AMP into some of
> my projects that need version control type of functionality.
Let's talk this out, because I have a feeling that the API might change soon (subtly, but still). Can you sketch out what YOU'D like use as the API for your application?
That said, you could probably just go ahead and start using Amp, because it's ready for a bit of action. Let me know if you run into any bugs or if you want something cleaned up. Seriously, if you want even 3 lines added, either patch it yourself or let us know, and we'll do it.
> But, it doesn't sit well with me that this google group needs to be
> cleaned up. What's going on here?
I don't have the password to the google group, so I'm not sure how to do that. Mike does, but Mike is usually pretty busy now with his job.
The mercurial support is up and running _right now_, but the git support isn't. If you're down with using mercurial (and once the git support is in you won't have any trouble switching), you're good to go.
Take a look at the README for using it. It's simple, straightforward, and pain free. Actually, the README might not be your best resource (note to self...), so look at the bugs/ directory, and check out anything there. THOSE are files that are actually tested and checked against (although only 24.rb seems to be working... hm...)
bugs/24.rb is your friend and actually works. Sample:
repo.staging_area.add 'Ampfile' # Add a file
repo.commit :modified => ['Ampfile'], :message => 'initial commit' # Commit
Also, please remember that amp is going through puberty right now. We're rewriting and reworking things currently so be patient. And file nice reproducible bug reports.
I've got a job now and I haven't been balancing it well. Plus, well, Google pays, and Amp doesn't (yet?). But I do want to keep working on it. Plus, I'm learning a shitton about software design and engineering which will pay back Amp in spades. I'll hook Ari up with admin rights so he can clean stuff up.
Long story short: Amp kicks ass and you should use it. It's still growing and not bug-free. If you're on Ruby 1.9, beware of Unicode, as well, Ruby 1.9 crapped in all of our pants in that regard.
Mike
I would call the API reasonably stable. The internal API may shift, but the external one should remain relatively static.
Also, let us know if it could be changed in any way.
About managing the group, you can go to the admin interface on the
google group and add more moderators so we can help you fight spams.
> I'm mostly interested in read-only access to git repo (listing repo,
> commits, and showing diffs and files/blobs). Is that possible already
> with amp?
Yup, you're all good in that respect. Once you start doing tricking things like branching after committing on two moves after sunday, things start to get hairy, but we can do simple things like what you asked easily and correctly.
Cool thanks, but I was asking about git.