Skip to content

Commit

Permalink
Add troubleshooting section for building
Browse files Browse the repository at this point in the history
  • Loading branch information
Newbytee committed Oct 22, 2023
1 parent 7c0b1c8 commit 95ffefe
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,4 @@ before reading this section.
manifests
sandbox-permissions
guides
troubleshooting
16 changes: 16 additions & 0 deletions docs/troubleshooting.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Troubleshooting
===============

Sometimes you run into issues when building Flatpaks. This page includes a list
of common problems and how to solve them.

Remote server doesn't support shallow cloning
---------------------------------------------

If you get an error message like
``fatal: dumb http transport does not support shallow capabilities`` when
building your Flatpak application, it's because ``flatpak-builder`` will by
default attempt to shallow clone git repositories as an optimisation. However,
not all git remotes support shallow cloning, and in such cases you can disable
this optimisation by setting the ``disable-shallow-clone`` property to ``true``
in your source.

0 comments on commit 95ffefe

Please sign in to comment.