gbp.conf(5)


NAME

   gbp.conf - Gbp configuration file

SYNOPSIS

   /etc/git-buildpackage/gbp.conf
          system wide

   ~/.gbp.conf
          per user

   .gbp.conf
          per branch, can be published with the repository (deprecated)

   debian/gbp.conf
          per branch, can be published with the repository

   .git/gbp.conf
          per repository

DESCRIPTION

   The  gbp.conf  configuration  files  provide default global options and
   specific options for individual gbp commands.  All files have the  same
   format as described below and are parsed in the above order from top to
   bottom with increasing precedence.

   Each file consists of either zero or one default section, and  zero  or
   one  sections  for  each  gbp  command.  Additionally,  there can be an
   arbitrary number of remote-config sections.  Comments start with a hash
   sign (#). The overall layout is:

       [DEFAULT]
       # This section is for global settings. Affects all commands.
       # Options set here have the lowest priority.
       key = value

       [<command>]
       # Specific sections for each command, like buildpackage
       # Options set here have lower priority than command line options
       key = value

       [remote-config <name>]
       # Specific sections for a remote configuration. This can be used several
       # times to set up remote configuration for gbp create-remote-repo
       key = value

   The  sections for each command are named like the command (without gbp)
   surrounded by square brackets  (e.g.  [buildpackage]).   For  backwards
   compatibility,  command  sections  starting  with git- or gbp- are also
   supported but will provoke a warning when parsed by gbp.

   The keys in the key=value pairs are named like the command-line options
   of  the corresponding command (with the '--' stripped off) and can hold
   the same values, but see below for details. In case of gbp buildpackage
   and  gbp  buildpackage-rpm  the  key  needs  '--git-'  instead  of '--'
   stripped off.

   For example, the gbp-buildpackage(1)> manual page documents the  --git-
   export-dir=directory option which can be turned into configuration file
   setting by dropping the --git- prefix:

       [buildpackage]
       export-dir = directory

   Options that can be repeated on the command line take Python-like lists
   in  the  config  file. For example, the gbp-import-orig(1)> command has
   the --filter=pattern option which can be turned  into  a  configuration
   file option like this:

       [import-orig]
       filter = [ '.svn', '.hg' ]

   Boolean  options  can be either True or False. For example, gbp-import-
   orig(1)> has the --pristine-tar  and  --no-pristine-tar  options  which
   translate to:

       [import-orig]
       pristine-tar = True

   and

       [import-orig]
       pristine-tar = False

   respectively.

          Note:  To  see  the  current set of values that would be applied
          after parsing the configuration files, use gbp-config(1)>.

          Note: gbp import-dscs and git-pbuilder can't be  configured  via
          gbp.conf.

   gbp-create-remote-repo(1)>   can   additionally   parse   remote   site
   configurations from gbp.conf. For example, a configuration like:

   [remote-config pkg-libvirt]
   # Location of the repository
   remote-url-pattern = ssh://git.debian.org/git/pkg-libvirt/%(pkg)s
   # Template dir to passed to git-init
   template-dir = /srv/alioth.debian.org/chroot/home/groups/pkg-libvirt/git-template

   can be used to create remote repositories for the  pkg-libvirt  project
   using:

   gbp-create-remote-repo --remote-config=pkg-libvirt

   This can be useful if you're often creating new remote repositories for
   different projects.

EXAMPLES

   An example set up for packaging work:

    # $HOME/.gbp.conf

    [DEFAULT]
    pristine-tar = True
    cleaner = fakeroot debian/rules clean

    [buildpackage]
    export-dir  = ../build-area/

    [import-orig]
    dch = False
    filter = [
           '.svn',
           '.hg',
           '.bzr',
           'CVS',
           'debian/*',
           '*/debian/*'
           ]
    filter-pristine-tar = True

    [import-dsc]
    filter = [
           'CVS',
           '.cvsignore',
           '.hg',
           '.hgignore'
           '.bzr',
           '.bzrignore',
           '.gitignore'
           ]

    # End of file

ENVIRONMENT

   GBP_CONF_FILES
          Colon separated list of files to parse. The default is the above
          list of configuration files.

   GBP_DISABLE_SECTION_DEPRECTATION
          Don't  print a deprecation warning when gbp encounters a section
          starting with git- or gbp-.

FILES

   See /etc/git-buildpackage/gbp.conf for an example.

SEE ALSO

   gbp-clone(1)>,  gbp-create-remote-repo(1)>,  gbp-pq(1)>,  gbp-pull(1)>,
   gbp-dch(1)>,      gbp-import-dsc(1)>,     gbp-import-orig(1)>,     gbp-
   buildpackage(1)>,         The          Git-Buildpackage          Manual
   <URL:file:///usr/share/doc/git-buildpackage/manual-html/index.html>

AUTHORS

   Guido Guenther <agx@sigxcpu.org>

   This   manual   page   is   based  on  a  POD  version  by  Jari  Aalto
   <jari.aalto@cante.net>.  Released under license GNU GPL  version  2  or
   (at your option) any later.  version.

                           31 December 2016                    GBP.CONF(5)





Opportunity


Personal Opportunity - Free software gives you access to billions of dollars of software at no cost. Use this software for your business, personal use or to develop a profitable skill. Access to source code provides access to a level of capabilities/information that companies protect though copyrights. Open source is a core component of the Internet and it is available to you. Leverage the billions of dollars in resources and capabilities to build a career, establish a business or change the world. The potential is endless for those who understand the opportunity.

Business Opportunity - Goldman Sachs, IBM and countless large corporations are leveraging open source to reduce costs, develop products and increase their bottom lines. Learn what these companies know about open source and how open source can give you the advantage.





Free Software


Free Software provides computer programs and capabilities at no cost but more importantly, it provides the freedom to run, edit, contribute to, and share the software. The importance of free software is a matter of access, not price. Software at no cost is a benefit but ownership rights to the software and source code is far more significant.


Free Office Software - The Libre Office suite provides top desktop productivity tools for free. This includes, a word processor, spreadsheet, presentation engine, drawing and flowcharting, database and math applications. Libre Office is available for Linux or Windows.





Free Books


The Free Books Library is a collection of thousands of the most popular public domain books in an online readable format. The collection includes great classical literature and more recent works where the U.S. copyright has expired. These books are yours to read and use without restrictions.


Source Code - Want to change a program or know how it works? Open Source provides the source code for its programs so that anyone can use, modify or learn how to write those programs themselves. Visit the GNU source code repositories to download the source.





Education


Study at Harvard, Stanford or MIT - Open edX provides free online courses from Harvard, MIT, Columbia, UC Berkeley and other top Universities. Hundreds of courses for almost all major subjects and course levels. Open edx also offers some paid courses and selected certifications.


Linux Manual Pages - A man or manual page is a form of software documentation found on Linux/Unix operating systems. Topics covered include computer programs (including library and system calls), formal standards and conventions, and even abstract concepts.