[Notes] [Git][BuildStream/buildstream][master] 5 commits: tox.ini: Add environment to update man pages



Title: GitLab

Tristan Van Berkom pushed to branch master at BuildStream / buildstream

Commits:

29 changed files:

Changes:

  • CONTRIBUTING.rst
    ... ... @@ -1259,14 +1259,9 @@ into the ``setup.py``, as such, whenever the frontend command line
    1259 1259
     interface changes, the static man pages should be regenerated and
    
    1260 1260
     committed with that.
    
    1261 1261
     
    
    1262
    -To do this, first ensure you have ``click_man`` installed, possibly
    
    1263
    -with::
    
    1262
    +To do this, run the following from the the toplevel directory of BuildStream::
    
    1264 1263
     
    
    1265
    -  pip3 install --user click_man
    
    1266
    -
    
    1267
    -Then, in the toplevel directory of buildstream, run the following::
    
    1268
    -
    
    1269
    -  python3 setup.py --command-packages=click_man.commands man_pages
    
    1264
    +  tox -e man
    
    1270 1265
     
    
    1271 1266
     And commit the result, ensuring that you have added anything in
    
    1272 1267
     the ``man/`` subdirectory, which will be automatically included
    

  • man/bst-artifact-checkout.1
    1
    -.TH "BST ARTIFACT CHECKOUT" "1" "22-Jan-2019" "" "bst artifact checkout Manual"
    
    1
    +.TH "BST ARTIFACT CHECKOUT" "1" "24-Jan-2019" "" "bst artifact checkout Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-artifact\-checkout \- Checkout contents of an artifact
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -6,6 +6,9 @@ bst\-artifact\-checkout \- Checkout contents of an artifact
    6 6
     [OPTIONS] [ELEMENT]
    
    7 7
     .SH DESCRIPTION
    
    8 8
     Checkout contents of an artifact
    
    9
    +.PP
    
    10
    +When this command is executed from a workspace directory, the default
    
    11
    +is to checkout the artifact of the workspace element.
    
    9 12
     .SH OPTIONS
    
    10 13
     .TP
    
    11 14
     \fB\-f,\fP \-\-force
    
    ... ... @@ -24,4 +27,4 @@ Checkout hardlinks instead of copying if possible
    24 27
     Create a tarball from the artifact contents instead of a file tree. If LOCATION is '-', the tarball will be dumped to the standard output.
    
    25 28
     .TP
    
    26 29
     \fB\-\-directory\fP DIRECTORY
    
    27
    -The directory to checkout the artifact to
    \ No newline at end of file
    30
    +The directory to checkout the artifact to

  • man/bst-artifact-log.1
    1
    -.TH "BST ARTIFACT LOG" "1" "22-Jan-2019" "" "bst artifact log Manual"
    
    1
    +.TH "BST ARTIFACT LOG" "1" "24-Jan-2019" "" "bst artifact log Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-artifact\-log \- Show logs of an artifact
    
    4 4
     .SH SYNOPSIS
    
    5 5
     .B bst artifact log
    
    6 6
     [OPTIONS] [ARTIFACTS]...
    
    7 7
     .SH DESCRIPTION
    
    8
    -Show logs of all artifacts
    \ No newline at end of file
    8
    +Show logs of all artifacts

  • man/bst-artifact-pull.1
    1
    -.TH "BST ARTIFACT PULL" "1" "22-Jan-2019" "" "bst artifact pull Manual"
    
    1
    +.TH "BST ARTIFACT PULL" "1" "24-Jan-2019" "" "bst artifact pull Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-artifact\-pull \- Pull a built artifact
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -7,6 +7,13 @@ bst\-artifact\-pull \- Pull a built artifact
    7 7
     .SH DESCRIPTION
    
    8 8
     Pull a built artifact from the configured remote artifact cache.
    
    9 9
     .PP
    
    10
    +Specifying no elements will result in pulling the default targets
    
    11
    +of the project. If no default targets are configured, all project
    
    12
    +elements will be pulled.
    
    13
    +.PP
    
    14
    +When this command is executed from a workspace directory, the default
    
    15
    +is to pull the workspace element.
    
    16
    +.PP
    
    10 17
     By default the artifact will be pulled one of the configured caches
    
    11 18
     if possible, following the usual priority order. If the `--remote` flag
    
    12 19
     is given, only the specified cache will be queried.
    
    ... ... @@ -22,4 +29,4 @@ Specify `--deps` to control which artifacts to pull:
    22 29
     The dependency artifacts to pull (default: none)
    
    23 30
     .TP
    
    24 31
     \fB\-r,\fP \-\-remote TEXT
    
    25
    -The URL of the remote cache (defaults to the first configured cache)
    \ No newline at end of file
    32
    +The URL of the remote cache (defaults to the first configured cache)

  • man/bst-artifact-push.1
    1
    -.TH "BST ARTIFACT PUSH" "1" "22-Jan-2019" "" "bst artifact push Manual"
    
    1
    +.TH "BST ARTIFACT PUSH" "1" "24-Jan-2019" "" "bst artifact push Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-artifact\-push \- Push a built artifact
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -7,6 +7,13 @@ bst\-artifact\-push \- Push a built artifact
    7 7
     .SH DESCRIPTION
    
    8 8
     Push a built artifact to a remote artifact cache.
    
    9 9
     .PP
    
    10
    +Specifying no elements will result in pushing the default targets
    
    11
    +of the project. If no default targets are configured, all project
    
    12
    +elements will be pushed.
    
    13
    +.PP
    
    14
    +When this command is executed from a workspace directory, the default
    
    15
    +is to push the workspace element.
    
    16
    +.PP
    
    10 17
     The default destination is the highest priority configured cache. You can
    
    11 18
     override this by passing a different cache URL with the `--remote` flag.
    
    12 19
     .PP
    
    ... ... @@ -25,4 +32,4 @@ Specify `--deps` to control which artifacts to push:
    25 32
     The dependencies to push (default: none)
    
    26 33
     .TP
    
    27 34
     \fB\-r,\fP \-\-remote TEXT
    
    28
    -The URL of the remote cache (defaults to the first configured cache)
    \ No newline at end of file
    35
    +The URL of the remote cache (defaults to the first configured cache)

  • man/bst-artifact-server.1
    1
    -.TH "BST-ARTIFACT-SERVER" "1" "22-Jan-2019" "" "bst-artifact-server Manual"
    
    1
    +.TH "BST-ARTIFACT-SERVER" "1" "24-Jan-2019" "" "bst-artifact-server Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst-artifact-server \- CAS Artifact Server
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -25,4 +25,4 @@ Allow clients to upload blobs and update artifact cache
    25 25
     Disk head room minimum in bytes
    
    26 26
     .TP
    
    27 27
     \fB\-\-head\-room\-max\fP INTEGER
    
    28
    -Disk head room maximum in bytes
    \ No newline at end of file
    28
    +Disk head room maximum in bytes

  • man/bst-artifact.1
    1
    -.TH "BST ARTIFACT" "1" "22-Jan-2019" "" "bst artifact Manual"
    
    1
    +.TH "BST ARTIFACT" "1" "24-Jan-2019" "" "bst artifact Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-artifact \- Manipulate cached artifacts
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -22,4 +22,4 @@ Manipulate cached artifacts
    22 22
     .PP
    
    23 23
     \fBlog\fP
    
    24 24
       Show logs of an artifact
    
    25
    -  See \fBbst artifact-log(1)\fP for full documentation on the \fBlog\fP command.
    \ No newline at end of file
    25
    +  See \fBbst artifact-log(1)\fP for full documentation on the \fBlog\fP command.

  • man/bst-build.1
    1
    -.TH "BST BUILD" "1" "22-Jan-2019" "" "bst build Manual"
    
    1
    +.TH "BST BUILD" "1" "24-Jan-2019" "" "bst build Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-build \- Build elements in a pipeline
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -6,6 +6,13 @@ bst\-build \- Build elements in a pipeline
    6 6
     [OPTIONS] [ELEMENTS]...
    
    7 7
     .SH DESCRIPTION
    
    8 8
     Build elements in a pipeline
    
    9
    +.PP
    
    10
    +Specifying no elements will result in building the default targets
    
    11
    +of the project. If no default targets are configured, all project
    
    12
    +elements will be built.
    
    13
    +.PP
    
    14
    +When this command is executed from a workspace directory, the default
    
    15
    +is to build the workspace element.
    
    9 16
     .SH OPTIONS
    
    10 17
     .TP
    
    11 18
     \fB\-\-all\fP
    
    ... ... @@ -24,4 +31,4 @@ Except certain dependencies from tracking
    24 31
     Allow tracking to cross junction boundaries
    
    25 32
     .TP
    
    26 33
     \fB\-\-track\-save\fP
    
    27
    -Deprecated: This is ignored
    \ No newline at end of file
    34
    +Deprecated: This is ignored

  • man/bst-checkout.1 deleted
    1
    -.TH "BST CHECKOUT" "1" "22-Jan-2019" "" "bst checkout Manual"
    
    2
    -.SH NAME
    
    3
    -bst\-checkout \- Checkout a built artifact
    
    4
    -.SH SYNOPSIS
    
    5
    -.B bst checkout
    
    6
    -[OPTIONS] [ELEMENT] [LOCATION]
    
    7
    -.SH OPTIONS
    
    8
    -.TP
    
    9
    -\fB\-f,\fP \-\-force
    
    10
    -Allow files to be overwritten
    
    11
    -.TP
    
    12
    -\fB\-d,\fP \-\-deps [run|build|none]
    
    13
    -The dependencies to checkout (default: run)
    
    14
    -.TP
    
    15
    -\fB\-\-integrate\fP / \-\-no\-integrate
    
    16
    -Whether to run integration commands
    
    17
    -.TP
    
    18
    -\fB\-\-hardlinks\fP
    
    19
    -Checkout hardlinks instead of copies (handle with care)
    
    20
    -.TP
    
    21
    -\fB\-\-tar\fP
    
    22
    -Create a tarball from the artifact contents instead of a file tree. If LOCATION is '-', the tarball will be dumped to the standard output.
    \ No newline at end of file

  • man/bst-fetch.1 deleted
    1
    -.TH "BST FETCH" "1" "22-Jan-2019" "" "bst fetch Manual"
    
    2
    -.SH NAME
    
    3
    -bst\-fetch \- Fetch sources in a pipeline
    
    4
    -.SH SYNOPSIS
    
    5
    -.B bst fetch
    
    6
    -[OPTIONS] [ELEMENTS]...
    
    7
    -.SH OPTIONS
    
    8
    -.TP
    
    9
    -\fB\-\-except\fP PATH
    
    10
    -Except certain dependencies from fetching
    
    11
    -.TP
    
    12
    -\fB\-d,\fP \-\-deps [none|plan|all]
    
    13
    -The dependencies to fetch (default: plan)
    
    14
    -.TP
    
    15
    -\fB\-\-track\fP
    
    16
    -Track new source references before fetching
    
    17
    -.TP
    
    18
    -\fB\-J,\fP \-\-track\-cross\-junctions
    
    19
    -Allow tracking to cross junction boundaries
    \ No newline at end of file

  • man/bst-help.1
    1
    -.TH "BST HELP" "1" "22-Jan-2019" "" "bst help Manual"
    
    1
    +.TH "BST HELP" "1" "24-Jan-2019" "" "bst help Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-help \- Print usage information
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -6,4 +6,4 @@ bst\-help \- Print usage information
    6 6
     [OPTIONS] COMMAND
    
    7 7
     .SH DESCRIPTION
    
    8 8
     Print usage information about a given command
    
    9
    -    
    \ No newline at end of file
    9
    +    

  • man/bst-init.1
    1
    -.TH "BST INIT" "1" "22-Jan-2019" "" "bst init Manual"
    
    1
    +.TH "BST INIT" "1" "24-Jan-2019" "" "bst init Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-init \- Initialize a new BuildStream project
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -18,10 +18,10 @@ interactive session.
    18 18
     The project name to use
    
    19 19
     .TP
    
    20 20
     \fB\-\-format\-version\fP INTEGER
    
    21
    -The required format version (default: 20)
    
    21
    +The required format version (default: 21)
    
    22 22
     .TP
    
    23 23
     \fB\-\-element\-path\fP PATH
    
    24 24
     The subdirectory to store elements in (default: elements)
    
    25 25
     .TP
    
    26 26
     \fB\-f,\fP \-\-force
    
    27
    -Allow overwriting an existing project.conf
    \ No newline at end of file
    27
    +Allow overwriting an existing project.conf

  • man/bst-pull.1 deleted
    1
    -.TH "BST PULL" "1" "22-Jan-2019" "" "bst pull Manual"
    
    2
    -.SH NAME
    
    3
    -bst\-pull \- Pull a built artifact
    
    4
    -.SH SYNOPSIS
    
    5
    -.B bst pull
    
    6
    -[OPTIONS] [ELEMENTS]...
    
    7
    -.SH OPTIONS
    
    8
    -.TP
    
    9
    -\fB\-d,\fP \-\-deps [none|all]
    
    10
    -The dependency artifacts to pull (default: none)
    
    11
    -.TP
    
    12
    -\fB\-r,\fP \-\-remote TEXT
    
    13
    -The URL of the remote cache (defaults to the first configured cache)
    \ No newline at end of file

  • man/bst-push.1 deleted
    1
    -.TH "BST PUSH" "1" "22-Jan-2019" "" "bst push Manual"
    
    2
    -.SH NAME
    
    3
    -bst\-push \- Push a built artifact
    
    4
    -.SH SYNOPSIS
    
    5
    -.B bst push
    
    6
    -[OPTIONS] [ELEMENTS]...
    
    7
    -.SH OPTIONS
    
    8
    -.TP
    
    9
    -\fB\-d,\fP \-\-deps [none|all]
    
    10
    -The dependencies to push (default: none)
    
    11
    -.TP
    
    12
    -\fB\-r,\fP \-\-remote TEXT
    
    13
    -The URL of the remote cache (defaults to the first configured cache)
    \ No newline at end of file

  • man/bst-shell.1
    1
    -.TH "BST SHELL" "1" "22-Jan-2019" "" "bst shell Manual"
    
    1
    +.TH "BST SHELL" "1" "24-Jan-2019" "" "bst shell Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-shell \- Shell into an element's sandbox environment
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -7,6 +7,9 @@ bst\-shell \- Shell into an element's sandbox environment
    7 7
     .SH DESCRIPTION
    
    8 8
     Run a command in the target element's sandbox environment
    
    9 9
     .PP
    
    10
    +When this command is executed from a workspace directory, the default
    
    11
    +is to shell into the workspace element.
    
    12
    +.PP
    
    10 13
     This will stage a temporary sysroot for running the target
    
    11 14
     element, assuming it has already been built and all required
    
    12 15
     artifacts are in the local cache.
    
    ... ... @@ -41,4 +44,4 @@ Mount a file or directory into the sandbox
    41 44
     Create an isolated build sandbox
    
    42 45
     .TP
    
    43 46
     \fB\-t,\fP \-\-use\-buildtree [ask|try|always|never]
    
    44
    -Defaults to ask but if set to always the function will fail if a build tree is not available
    \ No newline at end of file
    47
    +Defaults to ask but if set to always the function will fail if a build tree is not available

  • man/bst-show.1
    1
    -.TH "BST SHOW" "1" "22-Jan-2019" "" "bst show Manual"
    
    1
    +.TH "BST SHOW" "1" "24-Jan-2019" "" "bst show Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-show \- Show elements in the pipeline
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -7,6 +7,13 @@ bst\-show \- Show elements in the pipeline
    7 7
     .SH DESCRIPTION
    
    8 8
     Show elements in the pipeline
    
    9 9
     .PP
    
    10
    +Specifying no elements will result in showing the default targets
    
    11
    +of the project. If no default targets are configured, all project
    
    12
    +elements will be shown.
    
    13
    +.PP
    
    14
    +When this command is executed from a workspace directory, the default
    
    15
    +is to show the workspace element.
    
    16
    +.PP
    
    10 17
     By default this will show all of the dependencies of the
    
    11 18
     specified target element.
    
    12 19
     .PP
    
    ... ... @@ -62,4 +69,4 @@ The dependencies to show (default: all)
    62 69
     Staging or alphabetic ordering of dependencies
    
    63 70
     .TP
    
    64 71
     \fB\-f,\fP \-\-format FORMAT
    
    65
    -Format string for each element
    \ No newline at end of file
    72
    +Format string for each element

  • man/bst-source-checkout.1
    1
    -.TH "BST SOURCE CHECKOUT" "1" "22-Jan-2019" "" "bst source checkout Manual"
    
    1
    +.TH "BST SOURCE CHECKOUT" "1" "24-Jan-2019" "" "bst source checkout Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-source\-checkout \- Checkout sources for an element
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -6,7 +6,9 @@ bst\-source\-checkout \- Checkout sources for an element
    6 6
     [OPTIONS] [ELEMENT] [LOCATION]
    
    7 7
     .SH DESCRIPTION
    
    8 8
     Checkout sources of an element to the specified location
    
    9
    -    
    
    9
    +.PP
    
    10
    +When this command is executed from a workspace directory, the default
    
    11
    +is to checkout the sources of the workspace element.
    
    10 12
     .SH OPTIONS
    
    11 13
     .TP
    
    12 14
     \fB\-f,\fP \-\-force
    
    ... ... @@ -25,4 +27,4 @@ Fetch elements if they are not fetched
    25 27
     Create a tarball from the element's sources instead of a file tree.
    
    26 28
     .TP
    
    27 29
     \fB\-\-include\-build\-scripts\fP
    
    28
    -.PP
    \ No newline at end of file
    30
    +.PP

  • man/bst-source-fetch.1
    1
    -.TH "BST SOURCE FETCH" "1" "22-Jan-2019" "" "bst source fetch Manual"
    
    1
    +.TH "BST SOURCE FETCH" "1" "24-Jan-2019" "" "bst source fetch Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-source\-fetch \- Fetch sources in a pipeline
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -7,6 +7,13 @@ bst\-source\-fetch \- Fetch sources in a pipeline
    7 7
     .SH DESCRIPTION
    
    8 8
     Fetch sources required to build the pipeline
    
    9 9
     .PP
    
    10
    +Specifying no elements will result in fetching the default targets
    
    11
    +of the project. If no default targets are configured, all project
    
    12
    +elements will be fetched.
    
    13
    +.PP
    
    14
    +When this command is executed from a workspace directory, the default
    
    15
    +is to fetch the workspace element.
    
    16
    +.PP
    
    10 17
     By default this will only try to fetch sources which are
    
    11 18
     required for the build plan of the specified target element,
    
    12 19
     omitting sources for any elements which are already built
    
    ... ... @@ -30,4 +37,4 @@ The dependencies to fetch (default: plan)
    30 37
     Track new source references before fetching
    
    31 38
     .TP
    
    32 39
     \fB\-J,\fP \-\-track\-cross\-junctions
    
    33
    -Allow tracking to cross junction boundaries
    \ No newline at end of file
    40
    +Allow tracking to cross junction boundaries

  • man/bst-source-track.1
    1
    -.TH "BST SOURCE TRACK" "1" "22-Jan-2019" "" "bst source track Manual"
    
    1
    +.TH "BST SOURCE TRACK" "1" "24-Jan-2019" "" "bst source track Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-source\-track \- Track new source references
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -8,6 +8,15 @@ bst\-source\-track \- Track new source references
    8 8
     Consults the specified tracking branches for new versions available
    
    9 9
     to build and updates the project with any newly available references.
    
    10 10
     .PP
    
    11
    +Specifying no elements will result in tracking the default targets
    
    12
    +of the project. If no default targets are configured, all project
    
    13
    +elements will be tracked.
    
    14
    +.PP
    
    15
    +When this command is executed from a workspace directory, the default
    
    16
    +is to track the workspace element.
    
    17
    +.PP
    
    18
    +If no default is declared, all elements in the project will be tracked
    
    19
    +.PP
    
    11 20
     By default this will track just the specified element, but you can also
    
    12 21
     update a whole tree of dependencies in one go.
    
    13 22
     .PP
    
    ... ... @@ -25,4 +34,4 @@ Except certain dependencies from tracking
    25 34
     The dependencies to track (default: none)
    
    26 35
     .TP
    
    27 36
     \fB\-J,\fP \-\-cross\-junctions
    
    28
    -Allow crossing junction boundaries
    \ No newline at end of file
    37
    +Allow crossing junction boundaries

  • man/bst-source.1
    1
    -.TH "BST SOURCE" "1" "22-Jan-2019" "" "bst source Manual"
    
    1
    +.TH "BST SOURCE" "1" "24-Jan-2019" "" "bst source Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-source \- Manipulate sources for an element
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -18,4 +18,4 @@ Manipulate sources for an element
    18 18
     .PP
    
    19 19
     \fBcheckout\fP
    
    20 20
       Checkout sources for an element
    
    21
    -  See \fBbst source-checkout(1)\fP for full documentation on the \fBcheckout\fP command.
    \ No newline at end of file
    21
    +  See \fBbst source-checkout(1)\fP for full documentation on the \fBcheckout\fP command.

  • man/bst-track.1 deleted
    1
    -.TH "BST TRACK" "1" "22-Jan-2019" "" "bst track Manual"
    
    2
    -.SH NAME
    
    3
    -bst\-track \- Track new source references
    
    4
    -.SH SYNOPSIS
    
    5
    -.B bst track
    
    6
    -[OPTIONS] [ELEMENTS]...
    
    7
    -.SH OPTIONS
    
    8
    -.TP
    
    9
    -\fB\-\-except\fP PATH
    
    10
    -Except certain dependencies from tracking
    
    11
    -.TP
    
    12
    -\fB\-d,\fP \-\-deps [none|all]
    
    13
    -The dependencies to track (default: none)
    
    14
    -.TP
    
    15
    -\fB\-J,\fP \-\-cross\-junctions
    
    16
    -Allow crossing junction boundaries
    \ No newline at end of file

  • man/bst-workspace-close.1
    1
    -.TH "BST WORKSPACE CLOSE" "1" "22-Jan-2019" "" "bst workspace close Manual"
    
    1
    +.TH "BST WORKSPACE CLOSE" "1" "24-Jan-2019" "" "bst workspace close Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-workspace\-close \- Close workspaces
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -12,4 +12,4 @@ Close a workspace
    12 12
     Remove the path that contains the closed workspace
    
    13 13
     .TP
    
    14 14
     \fB\-a,\fP \-\-all
    
    15
    -Close all open workspaces
    \ No newline at end of file
    15
    +Close all open workspaces

  • man/bst-workspace-list.1
    1
    -.TH "BST WORKSPACE LIST" "1" "22-Jan-2019" "" "bst workspace list Manual"
    
    1
    +.TH "BST WORKSPACE LIST" "1" "24-Jan-2019" "" "bst workspace list Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-workspace\-list \- List open workspaces
    
    4 4
     .SH SYNOPSIS
    
    5 5
     .B bst workspace list
    
    6 6
     [OPTIONS]
    
    7 7
     .SH DESCRIPTION
    
    8
    -List open workspaces
    \ No newline at end of file
    8
    +List open workspaces

  • man/bst-workspace-open.1
    1
    -.TH "BST WORKSPACE OPEN" "1" "22-Jan-2019" "" "bst workspace open Manual"
    
    1
    +.TH "BST WORKSPACE OPEN" "1" "24-Jan-2019" "" "bst workspace open Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-workspace\-open \- Open a new workspace
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -18,4 +18,4 @@ The workspace will be created even if the directory in which it will be created
    18 18
     Track and fetch new source references before checking out the workspace
    
    19 19
     .TP
    
    20 20
     \fB\-\-directory\fP DIRECTORY
    
    21
    -Only for use when a single Element is given: Set the directory to use to create the workspace
    \ No newline at end of file
    21
    +Only for use when a single Element is given: Set the directory to use to create the workspace

  • man/bst-workspace-reset.1
    1
    -.TH "BST WORKSPACE RESET" "1" "22-Jan-2019" "" "bst workspace reset Manual"
    
    1
    +.TH "BST WORKSPACE RESET" "1" "24-Jan-2019" "" "bst workspace reset Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-workspace\-reset \- Reset a workspace to its original state
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -15,4 +15,4 @@ Reset workspace state without affecting its contents
    15 15
     Track and fetch the latest source before resetting
    
    16 16
     .TP
    
    17 17
     \fB\-a,\fP \-\-all
    
    18
    -Reset all open workspaces
    \ No newline at end of file
    18
    +Reset all open workspaces

  • man/bst-workspace.1
    1
    -.TH "BST WORKSPACE" "1" "22-Jan-2019" "" "bst workspace Manual"
    
    1
    +.TH "BST WORKSPACE" "1" "24-Jan-2019" "" "bst workspace Manual"
    
    2 2
     .SH NAME
    
    3 3
     bst\-workspace \- Manipulate developer workspaces
    
    4 4
     .SH SYNOPSIS
    
    ... ... @@ -22,4 +22,4 @@ Manipulate developer workspaces
    22 22
     .PP
    
    23 23
     \fBlist\fP
    
    24 24
       List open workspaces
    
    25
    -  See \fBbst workspace-list(1)\fP for full documentation on the \fBlist\fP command.
    \ No newline at end of file
    25
    +  See \fBbst workspace-list(1)\fP for full documentation on the \fBlist\fP command.

  • man/bst.1
    1
    -.TH "BST" "1" "22-Jan-2019" "" "bst Manual"
    
    1
    +.TH "BST" "1" "24-Jan-2019" "" "bst Manual"
    
    2 2
     .SH NAME
    
    3
    -bst \- None
    
    3
    +bst \- Build and manipulate BuildStream projects...
    
    4 4
     .SH SYNOPSIS
    
    5 5
     .B bst
    
    6 6
     [OPTIONS] COMMAND [ARGS]...
    
    ... ... @@ -102,21 +102,21 @@ Include an element's build tree when pulling remote element artifacts
    102 102
       See \fBbst-artifact(1)\fP for full documentation on the \fBartifact\fP command.
    
    103 103
     .PP
    
    104 104
     \fBfetch\fP
    
    105
    -  Fetch sources in a pipeline
    
    105
    +  COMMAND OBSOLETE - Fetch sources in a pipeline
    
    106 106
       See \fBbst-fetch(1)\fP for full documentation on the \fBfetch\fP command.
    
    107 107
     .PP
    
    108 108
     \fBtrack\fP
    
    109
    -  Track new source references
    
    109
    +  COMMAND OBSOLETE - Track new source references
    
    110 110
       See \fBbst-track(1)\fP for full documentation on the \fBtrack\fP command.
    
    111 111
     .PP
    
    112 112
     \fBcheckout\fP
    
    113
    -  Checkout a built artifact
    
    113
    +  COMMAND OBSOLETE - Checkout a built artifact
    
    114 114
       See \fBbst-checkout(1)\fP for full documentation on the \fBcheckout\fP command.
    
    115 115
     .PP
    
    116 116
     \fBpull\fP
    
    117
    -  Pull a built artifact
    
    117
    +  COMMAND OBSOLETE - Pull a built artifact
    
    118 118
       See \fBbst-pull(1)\fP for full documentation on the \fBpull\fP command.
    
    119 119
     .PP
    
    120 120
     \fBpush\fP
    
    121
    -  Push a built artifact
    
    122
    -  See \fBbst-push(1)\fP for full documentation on the \fBpush\fP command.
    \ No newline at end of file
    121
    +  COMMAND OBSOLETE - Push a built artifact
    
    122
    +  See \fBbst-push(1)\fP for full documentation on the \fBpush\fP command.

  • setup.py
    ... ... @@ -100,18 +100,21 @@ def check_for_bwrap():
    100 100
     # Man pages are automatically generated however it was too difficult
    
    101 101
     # to integrate with setuptools as a step of the build (FIXME !).
    
    102 102
     #
    
    103
    -# To update the man pages in tree before a release, you need to
    
    104
    -# ensure you have the 'click_man' package installed, and run:
    
    103
    +# To update the man pages in tree before a release, run:
    
    105 104
     #
    
    106
    -# python3 setup.py --command-packages=click_man.commands man_pages
    
    105
    +#     tox -e man
    
    107 106
     #
    
    108 107
     # Then commit the result.
    
    109 108
     #
    
    110 109
     def list_man_pages():
    
    111 110
         bst_dir = os.path.dirname(os.path.abspath(__file__))
    
    112 111
         man_dir = os.path.join(bst_dir, 'man')
    
    113
    -    man_pages = os.listdir(man_dir)
    
    114
    -    return [os.path.join('man', page) for page in man_pages]
    
    112
    +    try:
    
    113
    +        man_pages = os.listdir(man_dir)
    
    114
    +        return [os.path.join('man', page) for page in man_pages]
    
    115
    +    except FileNotFoundError:
    
    116
    +        # Do not error out when 'man' directory does not exist
    
    117
    +        return []
    
    115 118
     
    
    116 119
     
    
    117 120
     #####################################################
    

  • tox.ini
    ... ... @@ -80,3 +80,13 @@ passenv =
    80 80
         LC_ALL
    
    81 81
     whitelist_externals =
    
    82 82
         make
    
    83
    +
    
    84
    +#
    
    85
    +# (re-)Generating man pages
    
    86
    +#
    
    87
    +[testenv:man]
    
    88
    +commands =
    
    89
    +    python3 setup.py --command-packages=click_man.commands man_pages
    
    90
    +deps =
    
    91
    +    click-man
    
    92
    +    -rrequirements/requirements.txt



  • [Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]