Remote#

Warning

This functionally is still under development. So stability of this part of the API is uncertain.

type remote#
method (full-name (object remote))#

The name of the remote.

Specializers
method (short-name (object remote))#

The name of the remote.

Specializers
method (get-object (class remote) (id/name T) (repository T))#

Return an object of type CLASS from the object database. The lookup will use either an oid or a name to find the object.

Specializers
method (list-objects (class remote) (repository T) &key test test-not)#
Specializers
generic (ls-remote remote)#

Lists the current refs at the remote. Return a list of the refs described by NAME, REMOTE-OID, LOCAL-OID and a LOCAL bool that is true if the ref has a local copy.

Specializers
  • (remote)
generic (remote-url remote)#

Return the url to the remote.

Specializers
  • (remote)
generic (remote-fetch-refspecs remote)#

Returns a list of fetch specifications for the remote.

Specializers
  • (remote)
generic (remote-push-url remote)#
Specializers
  • (remote)
generic (remote-push-refspecs remote)#

Returns a list of push specifications of the remote.

Specializers
  • (remote)
generic (remote-push remote &key refspecs)#

Perform a push.

Specializers
  • (remote)
generic (remote-connect object &key direction credentials)#

Opens the remote connection. The url used for the connection can be queried by GIT-URL.

The opened connection is one way, either data is retrieved from the remote, or data is send to the remote. The direction is specified with the DIRECTION argument, :FETCH is for retrieving data, :PUSH is for sending data.

Specializers
  • (remote)
generic (remote-connected-p remote)#

Returns t if the connection is open, nil otherwise.

Specializers
  • (remote)
generic (remote-disconnect remote)#

Disconnects an opened connection.

Specializers
  • (remote)
generic (remote-download remote)#

Download the required packfile from the remote to bring the repository into sync.

Specializers
  • (remote)