Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git.Tutorial seems outdated #52

Closed
jan-matejka opened this issue Jul 9, 2015 · 7 comments
Closed

Git.Tutorial seems outdated #52

jan-matejka opened this issue Jul 9, 2015 · 7 comments

Comments

@jan-matejka
Copy link

Since

commit 5353208ba83917a2293a4ff897d4885d3badc00b
CommitDate: Mon Jan 28 01:31:40 2013 -0600

at least.

~/gitlib.git git:5353208... 
yac@beefcake % grr 'resolveRef ::' -A 1
gitlib/Git.hs:55:    resolveRef :: Text -> m Oid
gitlib/Git.hs-56-    resolveRef name = lookupRef name >>= \ref ->
--------------------------------------------------------------------------------
~/gitlib.git git:5353208... 
yac@beefcake % g co 5353208^                                                                                                            
Previous HEAD position was 5353208... Libgit2 Blob reading/writing works with new API
HEAD is now at c915222... Further Git.hs updates
--------------------------------------------------------------------------------
~/gitlib.git git:c915222... 
yac@beefcake % grr 'resolveRef ::' -A 1
gitlib/Data/Git/Reference.hs:110:resolveRef :: Repository -> Text -> IO (Maybe Oid)
gitlib/Data/Git/Reference.hs-111-resolveRef repos name = alloca $ \ptr -> do
--
gitlib/Git.hs:53:    resolveRef :: Text -> m Oid
gitlib/Git.hs-54-    resolveRef name = lookupRef name >>= \ref ->
@jwiegley
Copy link
Owner

jwiegley commented Jul 9, 2015

It's sorely out of date.

I've completed a rewrite of the core gitlib, to become 4.0, for which a new tutorial will be written before release.

@jwiegley
Copy link
Owner

jwiegley commented Jul 9, 2015

It's on the v4 branch.

@thejohnfreeman
Copy link

When might v4 be due? Is there a tutorial or some docs for the existing v3.1? Thanks!

@jwiegley
Copy link
Owner

I won't be writing a tutorial for 3.x, but I intend to for 4, since the structure is becoming quite nice now.

If you want to beta test v4, let me know.

@thejohnfreeman
Copy link

I'll use System.Process and just wait for the release. I'm still new to Haskell, so I won't be able to tell the difference between a bug and my own misunderstanding.

@hjwylde
Copy link

hjwylde commented Nov 9, 2015

+1

Found this repo and am interested in using it, but I find it quite difficult to use. I look forward to an up-to-date tutorial!

@jwiegley
Copy link
Owner

Duplicate of #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants