- 22 Oct, 2020 1 commit
-
-
Mathieu Othacehe authored
* configure.ac: Update to 0.4.0.
-
- 15 Oct, 2020 3 commits
- 05 Oct, 2020 3 commits
-
-
civodul authored
* git/structs.scm (%fetch-options-proxy-options) (set-fetch-options-proxy-options!): Remove. * git/proxy.scm: Remove. * Makefile.am (SOURCES): Remove it. * git/fetch.scm (make-fetch-options): Add #:proxy-url and #:proxy-type. Honor them. (set-fetch-options-proxy-type!, set-fetch-options-proxy-url!): New procedures. * tests/proxy.scm (clone-through-proxy): Adjust accordingly.
-
civodul authored
* tests/proxy.scm ("clone with HTTP proxy"): Change to... ("clone with HTTPS proxy"): ... this. Expect a CONNECT call instead of GET. Skip on Guile < 3.0.3.
-
civodul authored
* configure.ac: Add check for 'git_remote_callbacks.resolve_url' and substitute 'HAVE_REMOTE_CALLBACKS_RESOLVE_URL'. * git/config.scm.in (%have-remote-callbacks-resolve-url?): New variable. * git/structs.scm (%remote-callbacks): Add 'resolve-url' field when %HAVE-REMOTE-CALLBACKS-RESOLVE-URL? is true.
-
- 04 Oct, 2020 4 commits
-
-
civodul authored
* git/fetch.scm (make-fetch-options): Add #:transfer-progress and honor it. Add docstring. (set-fetch-options-transfer-progress!): New procedure. * git/structs.scm (%indexer-progress): New variable. (<indexer-progress>): New record type. (bytestructure->indexer-progress, procedure->indexer-progress-callback) (set-remote-callbacks-transfer-progress!): New procedures. * tests/clone.scm ("clone + transfer-progress"): New test.
-
civodul authored
* git/structs.scm (fetch-options-callbacks): Rename to... (fetch-options-remote-callbacks): ... this. Return a <remote-callbacks> struct instead of bytestructure. (set-remote-callbacks-credentials!): Adjust accordingly. * git/fetch.scm (set-fetch-auth-callback): Likewise.
-
civodul authored
* git/structs.scm (set-fetch-options-callbacks!): Remove.
-
civodul authored
* git/structs.scm (REMOTE-CALLBACKS-VERSION): New variable. (make-remote-callbacks): Initialize 'version field.
-
- 03 Oct, 2020 1 commit
-
-
civodul authored
* tests/helpers.scm (call-with-directory): New procedure. (with-directory): Rewrite to use it.
-
- 10 Feb, 2020 1 commit
-
-
Marius Bakke authored
Fix spelling of "committer" again in commit.scm. See merge request !25
-
- 09 Feb, 2020 1 commit
-
-
Vagrant Cascadian authored
-
- 30 Jan, 2020 2 commits
-
-
Marius Bakke authored
Fix typos in repository-refdb and repository-index See merge request !24
-
Jakub Kądziołka authored
((make-double-pointer)) is not valid code.
-
- 14 Jan, 2020 3 commits
-
-
civodul authored
* git/structs.scm (%proxy-options): Move higher and document. (GIT-PROXY-OPTIONS-VERSION): New variable. (<proxy-options>): New record type. (make-proxy-options-bytestructure, proxy-options->pointer) (%proxy-options-strings, symbol->proxy-type, proxy-type->symbol) (proxy-options-type, proxy-options-url, set-proxy-options-type!) (set-proxy-options-url!, fetch-options-proxy-options) (set-fetch-options-proxy-options!): New procedures. (%fetch-options-proxy-options): New variable. * git/proxy.scm, tests/proxy.scm: New files. * git/fetch.scm (make-fetch-options): Add #:proxy-options parameter and honor it. * Makefile.am (SOURCES): Add 'git/proxy.scm'. (TESTS): Add 'tests/proxy.scm'.
-
Erik Edrosa authored
* NEWS: fix (git tag) typo.
-
Erik Edrosa authored
* NEWS: Add CREDTYPE-* variables, ssh authentication support, and (git blob) module.
-
- 31 Dec, 2019 2 commits
-
-
civodul authored
* git/blob.scm (%blob-free, %blob-contents): New variable. (blob-id, pointer->blob!, blob-lookup, blob-lookup-prefix) (blob-size, blob-content): New procedures. * git.scm (%public-modules): Add (git blob). * tests/blob.scm: New file. * Makefile.am (TESTS): Add it.
-
civodul authored
* git/tree.scm: Re-export 'tree?' and 'tree-entry?'. Export 'tree-entry-id' and 'tree-entry-object'.
-
- 30 Dec, 2019 1 commit
-
-
Mathieu Othacehe authored
* configure.ac: Set GUILE_TARGET when cross_compiling. * guile.am: Pass it to guild.
-
- 26 Dec, 2019 1 commit
-
-
Mathieu Othacehe authored
* git/auth.scm (auth-ssh-credentials-password-key): Remove export as not defined.
-
- 17 Dec, 2019 4 commits
-
-
Marius Bakke authored
* .gitlab-ci.yml: New file.
-
Marius Bakke authored
fetch: Consolidate 'init-auth-fetch-options' and 'make-fetch-options' See merge request !22
-
Marius Bakke authored
The idea here is to initialize FETCH-OPTIONS with the correct authentication parameters and pass that along, instead of special-handling authenticated checkouts. * git/fetch.scm (init-auth-fetch-options): Rename to ... (make-fetch-options): ... this. Remove mandatory FETCH-OPTIONS argument. Remove previous MAKE-FETCH-OPTIONS procedure. * git/remote.scm (remote-fetch): Remove #:auth-method key and related code. * git/clone.scm (clone): Likewise. (make-clone-options): Add #:fetch-options key. * git/structs.scm (clone-options-fetch-options): Remove procedure. (set-clone-options-fetch-opts!): New procedure. * tests/clone.scm (clone-test, "clone-and-fetch-auth-ssh-credentials"): Use #:fetch-options instead of #:auth-method.
-
Marius Bakke authored
* tests/ssh.scm.in (in-ssh-folder): Rename to ... (in-ssh-directory): ... this. (start-sshd, stop-sshd, ssh-agent-add-client-key, make-client-ssh-auth): Adjust accordingly.
-
- 11 Dec, 2019 2 commits
-
-
Mathieu Othacehe authored
* tests/ssh.scm.in (start-sshd): Set server private key permissions, (make-client-ssh-auth): set client private and public keys permissions.
-
Mathieu Othacehe authored
* Makefile.am (SOURCES): Add git/auth.scm, (TESTS): add tests/clone.scm. * configure.ac: Check for git and ssh binaries. * git.scm (%public-modules): Add (git auth) and (git bindings). * git/auth.scm: New file. * git/clone.scm (clone): Add an auth-method argument. Pass it to new init-fetch-options call, before proceeding to clone. * git/remote.scm (remote-fetch): Add an auth-method. Pass it to init-fetch-options before proceeding to fetch. * git/structs.scm (clone-options-fetch-options): Do not return a copy of fetch-options nested inside clone-options. Instead, find the offset of fetch-options and use it to create a pointer to fetch-options. * git/fetch.scm (init-fetch-options): New exported procedure, (make-fetch-options): call the procedure above to initialize fetch-options, (set-fetch-auth-with-ssh-agent!): handle the case where username is not set and libgit2 asks for one. (set-fetch-auth-with-default-ssh-key!): remove this procedure, (set-fetch-auth-with-ssh-key): new procedure. * tests/.ssh/id_rsa_client: New file. * tests/.ssh/id_rsa_client.pub: New file. * tests/.ssh/id_rsa_server: New file. * tests/clone.scm: New file. * tests/ssh.scm.in: New file.
-
- 09 Dec, 2019 2 commits
-
-
Mathieu Othacehe authored
* git/cred.scm (CREDTYPE-USERPASS-PLAINTEXT, CREDTYPE-SSH-KEY, CREDTYPE-SSH-CUSTOM, CREDTYPE-SSH-DEFAULT, CREDTYPE-SSH-INTERACTIVE, CREDTYPE-SSH-USERNAME, CREDTYPE-SSH-MEMORY): New exported variables.
-
Mathieu Othacehe authored
Those functions need to return an integer that will be passed to libgit2 credential acquisition callback. * git/cred.scm: Replace libgit2->procedure* by libgit2->procedure.
-
- 29 Nov, 2019 1 commit
-
-
Mathieu Othacehe authored
This parameter was causing the procedure returned by libgit2->procedure to return two values. This was silently ignored. However, when type checking the return type of libgit2->procedure in a procedure->pointer call, an error is thrown. * git/bindings.scm (libgit2->procedure): Remove #:return-errno parameter from pointer->procedure.
-
- 22 Oct, 2019 1 commit
-
-
Erik Edrosa authored
* NEWS (Changes in 0.3.0): Add (git describe) description. Move fetch-options to New Functionality.
-
- 20 Oct, 2019 1 commit
-
-
Erik Edrosa authored
NEWS: Add new section.
-
- 24 Sep, 2019 2 commits
-
-
Mathieu Othacehe authored
structs: Fix typo. See merge request !21
-
Jonathan Brielmaier authored
-
- 21 Sep, 2019 1 commit
-
-
civodul authored
* git/structs.scm (remote-autotag-option->symbol) (symbol->remote-autotag-option, fetch-options-download-tags) (set-fetch-options-download-tags!): New procedures.
-
- 01 Sep, 2019 2 commits
-
-
Mathieu Othacehe authored
Resolving dynamic-link calls at compile time breaks cross-compilation. Delay those calls to runtime to fix it. * git/bindings.scm (libgit2) : Remove ... (libgit2->pointer): ... and replace by a procedure, (libgit2->procedure): delay dynamic-link call with a catch/throw clause, (%object-free): Replace dynamic-func call by libgit2->pointer call. * git/annotated.scm (%annotated-commit-free) : Replace dynamic-func call by libgit2->pointer call. * git/blame.scm (%blame-free): Ditto. * git/branch.scm (%branch-iterator-free): Ditto. * git/commit.scm (%commit-free): Ditto. * git/describe.scm (%describe-result-free): Ditto. * git/reference.scm (%reference-free, %reference-iterator-free): Ditto. * git/remote.scm (%remote-free): Ditto. * git/repository.scm (%repository-free): Ditto. * git/signature.scm (%signature-free): Ditto. * git/status.scm (%status-list-free): Ditto. * git/submodule.scm (%submodule-free): Ditto. * git/tag.scm (%tag-free): Ditto. * git/tree.scm (%tree-entry-free, %tree-free): Ditto.
-
Mathieu Othacehe authored
This reverts commit 6bde57a1.
-
- 06 Aug, 2019 1 commit
-
-
Erik Edrosa authored
* NEWS: Add 0.3.0 New functionality and changes.
-