GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GITUP.CONF(5) LOCAL GITUP.CONF(5)

gitup.conf
Configuration file for gitup(1).

The gitup.conf file stores configuration options and controls the behavior of gitup(1).

This file contains an arbitrary number of sections, each of which can be passed as the first command line argument to gitup(1). Within each section, individual parameters are stored as key/value pairs.

Lines beginning with a '#' are ignored.

Additional, user defined sections can be added to gitup.conf as needed.

When gitup(1) is run, the options in the defaults section are assigned first, followed by the options in the desired section (each of which will supersede any previously assigned default values), followed lastly by any command line options.

The following options are currently supported by gitup.conf and can be added to any section:
The hostname/IP address of the server.
The port on the server to connect to.
The hostname/IP address of the proxy server (if required).
The port on the proxy server to connect to (if required).
The username of the account used to access the proxy server (if required).
The password of the account used to access the proxy server (if required).
The source IP address on the local machine to use.
The repository path to use.
The repository branch to use.
The local directory to store your copy of the repository.
An array of directories in the local tree that should be ignored only when deleting files. Any changes to upstream files in these directories will be pulled down and merged.
Low memory mode reduces memory usage by storing temporary object data to disk.
How much of the transfer details to display. 0 = no output, 1 = show only names of the updated files, 2 = also show commands sent to the server and additional debugging information.
The location to load/save the known remote files list.

With the following configuration options defined in gitup.conf

{
"defaults" : {
"host" : "github.com",
"port" : "443",
"verbosity" : "1",
"work_directory" : "/var/db/gitup",
},


"ports" : {
"repository_path" : "/freebsd/freebsd-ports.git",
"branch" : "master",
"target_directory" : "/usr/ports",
"ignores" : [
"distfiles",
"packages",
],
},
}

Executing:

gitup ports

from the command line would result in a copy of the freebsd-ports/master branch downloaded to /usr/ports. If /usr/ports does not exist, the repository is cloned. If it does exist and /var/db/gitup/ports exists, the latest commit to the repository is pulled down and the contents of /usr/ports/distfiles and /usr/ports/packages are ignored when removing stale files and directories.

/usr/local/etc/gitup.conf
Default location of the gitup.conf configuration file.

gitup(1)

John Mehr <jmehr@umn.edu>
June 25, 2021 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 5 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.