Libgit2 - 2013

Öffentlicher Kanal / Git

202 Ansichten
0 Likes
0 0
libgit2 is a portable implementation of the core git functionality available in a library with bindings in many languages. This talk provides an overview of the why and the how as well as updates on the latest developments.

Auf sozialen Netzwerken teilen

Link teilen

Use permanent link to share in social media

Mit einem Freund teilen

Bitte Anmelden um das zu senden presentation mit E-Mail!

In ihre Website einbetten

Wählen Sie eine Startseite

4. libgit2 - 4 - elego Software Solutions GmbH - © 2013 Porcelain

5. libgit2 - 5 - elego Software Solutions GmbH - © 2013 Plumbing

10. libgit2 - 10 - elego Software Solutions GmbH - © 2013 A new hope

11. libgit2 - 11 - elego Software Solutions GmbH - © 2013 Other implementations

12. libgit2 - 12 - elego Software Solutions GmbH - © 2013 Other implementations

13. libgit2 - 13 - elego Software Solutions GmbH - © 2013 A new hope

14. libgit2 - 14 - elego Software Solutions GmbH - © 2013 API

15. libgit2 - 15 - elego Software Solutions GmbH - © 2013 API

16. libgit2 - 16 - elego Software Solutions GmbH - © 2013 A new hope

27. libgit2 - 27 - elego Software Solutions GmbH - © 2013 A new hope

29. libgit2 - 29 - elego Software Solutions GmbH - © 2013 Sightings in the wild

7. libgit2 - 7 - elego Software Solutions GmbH - © 2013 libgit.a

23. libgit2 - 23 - elego Software Solutions GmbH - © 2013 API git_remote_set_transport (remote, my_cool_transport );

1. libgit2 - 1 - elego Software Solutions GmbH - © 2013 libgit2 Carlos Martín Nieto elego Software Solutions GmbH - © 2013

6. libgit2 - 6 - elego Software Solutions GmbH - © 2013 API % git cat - file commit HEAD^{commit} % git show -- format=...

9. libgit2 - 9 - elego Software Solutions GmbH - © 2013 l ibgit.a die ("foo is barred");

34. libgit2 - 34 - elego Software Solutions GmbH - © 2013 Thank you for your attention ! Questions?

18. libgit2 - 18 - elego Software Solutions GmbH - © 2013 API git_reference_lookup ( & ref, repo, "HEAD" ); git_reference_lookup_resolved ( & ref, repo, "HEAD" );

19. libgit2 - 19 - elego Software Solutions GmbH - © 2013 API git_branch_lookup ( & ref, repo, "master" , GIT_BRANCH_LOCAL); git_branch_lookup ( & ref, repo, "origin/master" , GIT_BRANCH_REMOTE);

20. libgit2 - 20 - elego Software Solutions GmbH - © 2013 API git_repository_config ( & config , repo); git_config_open_level ( & cfg , config , GIT_CONFIG_LEVEL_SYSTEM);

24. libgit2 - 24 - elego Software Solutions GmbH - © 2013 API git_remote_set_callbacks (remote, & callbacks); git_remote_stats (remote);

25. libgit2 - 25 - elego Software Solutions GmbH - © 2013 API git_revparse_single ( & obj , repo, "HEAD^2^{tree}" ); git_revparse ( & spec, repo, "HEAD...HEAD^3" );

26. libgit2 - 26 - elego Software Solutions GmbH - © 2013 API git_status_file ( & flags, repo, " src / main.c " ); git_status_foreach (repo, fun, NULL );

8. libgit2 - 8 - elego Software Solutions GmbH - © 2013 l ibgit.a NOTE: This function isn't used in Git outside graph.c but it is used by CGit [...] to use HTML for colors.

17. libgit2 - 17 - elego Software Solutions GmbH - © 2013 API git_repository_init ( & repo, "projects/foo" ); git_repository_open ( & repo, "projects/ foo.git ", 1 );

21. libgit2 - 21 - elego Software Solutions GmbH - © 2013 API git_repository_config ( & config , repo); git_config_open_level ( & cfg , config , GIT_CONFIG_LEVEL_SYSTEM); git_config_open_global ( & cfg , config );

22. libgit2 - 22 - elego Software Solutions GmbH - © 2013 API git_repository_odb ( & odb , repo); git_odb_add_backend ( odb , my_fancy_odb , prio );

3. libgit2 - 3 - elego Software Solutions GmbH - © 2013 API % ls - l ~/ libexec / git - core | wc – l 169

32. libgit2 - 32 - elego Software Solutions GmbH - © 2013 Sources  http:// en.wikipedia.org/wiki/File:Peter_Behrens_Porcelain_plate_line ar_pattern_1901_BM.jpg  http://upload.wikimedia.org/wikipedia/commons/0/07/ASU_Turbo - train.jpg

2. libgit2 - 2 - elego Software Solutions GmbH - © 2013 Hello there  Carlos Martín  Git & libgit2 since 2011  e lego Software Solutions GmbH

28. libgit2 - 28 - elego Software Solutions GmbH - © 2013 GIT - based HTTP server repo = Rugged:: Repository.new ( REPO_PATH ) get '*' do |path| commit = repo.lookup ( repo.ref ( REF_NAME ).target) path.slice !( 0 ) path = 'index.html' if path.empty ? entry = commit.tree.path path blob = repo.lookup entry [ : oid ] content = blob.content halt 404 , "404 Not Found" unless content content_type mime_type_for (path) content end

33. libgit2 - 33 - elego Software Solutions GmbH - © 2013 Links  * https://libgit2.github.com/  * https://github.com/libgit2/  * https://github.com/libgit2/libgit2sharp/pull/429  * https://github.com/fpco/gitlib/tree/master/gitlib - s3

31. libgit2 - 31 - elego Software Solutions GmbH - © 2013 Future  Merge  Event better API  HFS+  Sequencer  Reflog backend

30. libgit2 - 30 - elego Software Solutions GmbH - © 2013 Bindings  Ruby - rugged  Python - pygit2  C # - LibGit2Sharp  Objective - C - objective - git  Go - git2go  GLib - libgit2 - glib

Ansichten

  • 202 Total der Ansichten
  • 149 Website-Ansichten
  • 53 Embedded Views

Aktionen

  • 0 Social Shares
  • 0 Likes
  • 0 Dislikes
  • 0 Kommentare

Anzahl teilen

  • 0 Facebook
  • 0 Twitter
  • 0 LinkedIn
  • 0 Google+

Einbettungen 1

  • 2 www.elegosoft.com