Hello, The libgit2, more specifically pygit2 helped me in creating repositories, branches and getting a list of branches locally. But with the integration (in Python), would like to connect to git remote server and to be able to do some of the git commands (https://www.pygit2.org/index.html) as mentioned. I looked into Remotes - RemoteCallbacks - credentials(url, username_from_url, allowed_types) (https://www.pygit2.org/remotes.html#pygit2.RemoteCallbacks.credentials). Can we have support on this matter - how can we do it? Also if you are available for a call, so to better understand, it will be great. Thank you in advance. Kind regards, Ana On Mon, Jan 3, 2022 at 3:45 PM Ana Jovanovska <ajovanovska@xxxxxxxxxxxxx> wrote: > > Hello, > > The libgit2, more specifically pygit2 helped me in creating repositories, branches and getting a list of branches locally. > But with the integration (in Python), would like to connect to git remote server and to be able to do some of the git commands (https://www.pygit2.org/index.html) as mentioned. > I looked into Remotes - RemoteCallbacks - credentials(url, username_from_url, allowed_types) (https://www.pygit2.org/remotes.html#pygit2.RemoteCallbacks.credentials). > > Can we have support on this matter - how can we do it? Also if you are available for a call, so to better understand, it will be great. Thank you in advance. > > Kind regards, > Ana > > > On Wed, Dec 15, 2021 at 4:52 PM Konstantin Khomoutov <kostix@xxxxxxxx> wrote: >> >> On Wed, Dec 15, 2021 at 01:57:42PM +0100, Ana Jovanovska wrote: >> >> > I am developing the integration with Git SCM and I will need your help >> > on this matter. >> > This is API remote doc https://www.git-scm.com/docs/api-remote . >> No, it is not. >> >> Unfortunately, looks like your knowledge about Git itself is a bit lacking >> currently as you appear to not be aware of Git's terminology. >> I would say, reading a book on Git ([1] is good), and a couple of manuals on >> it, possibly starting with [2]. >> >> > Can I have more information on how to use it, do I need some additional >> > library? >> >> Git itself does not ship anything you could call a library, but it is >> comprised from a large number of individual commands (which are what you would >> call "command-line commands") which are broadly divided into two categories - >> for end users and for use by other commands; these groups are called >> "porcelain" and "plumbing". Call out to plumbing-layer commands is the typical >> way to automate Git. >> >> If you need to somehow manipulate Git repositores - you did not say anything >> about what that "integration" has to be about, - without having Git installed, >> you may resort to 3rd-party libraries such as [3]. ISTR it also has wrapping >> libraries in several programming languages. >> >> Also note that there exist libraries for various programming languages which >> wrap calls to plumbing-layer Git commands, so they sort of implement something >> in between a "pure library" which does not call out to Git and calling Git >> directly. >> >> 1. https://www.git-scm.com/book/en/v2 >> 2. https://www.git-scm.com/docs/git >> 3. https://libgit2.org/ >> > > > -- > > Ana Jovanovska > > Software Engineer, Engineering > > M (389) 75 300-828 > > > > > > > -- Ana Jovanovska Software Engineer, Engineering M (389) 75 300-828