TABLE OF CONTENTS


git.cygclass

[ Top ] [ Cygclasses ] [ Cygclasses ]

SYNOPSIS

  GIT_URI="..."
  [GIT_BRANCH="..."]
  [GIT_REV="..."]
  [GIT_TAG="..."]
  inherit git

DESCRIPTION

Git is a distributed version control system. Originally developed for the Linux kernel, it is widely used by a number of projects, including GNOME, GStreamer, X.Org, and Xfce.

This cygclass creates source tarballs from Git repositories.

NOTE

This cygclass sets a special SRC_URI for the tarball it creates. If additional sources are required, be sure to _add_ to SRC_URI rather than outright setting it.

REQUIRES

git


GIT_URI

[ Top ] [ git.cygclass ] [ Variables ]

DESCRIPTION

Address of Git repository from which to clone. Must be defined before inherit()ing git.cygclass.


GIT_BRANCH

[ Top ] [ git.cygclass ] [ Variables ]

DESCRIPTION

Branch from which to clone. If undefined, the 'master' or 'main' branch is used.


GIT_REV

[ Top ] [ git.cygclass ] [ Variables ]

DESCRIPTION

Specific revision to clone, in the form of a SHA1 hash (a 40-digit hexadecimal) or an abbreviation thereof (the first 7 hexadecimal digits are usually sufficent). If undefined, the latest revision in the given GIT_BRANCH is used.


GIT_TAG

[ Top ] [ git.cygclass ] [ Variables ]

DESCRIPTION

Tag to clone, essentially a legible shorthand for a given commit.