[libvirt PATCH] Add .gitattributes file

Daniel P. Berrangé berrange at redhat.com
Mon Mar 7 09:56:36 UTC 2022


On Mon, Mar 07, 2022 at 10:20:36AM +0100, Andrea Bolognani wrote:
> The files marked as export-ignore here are not going to be
> included in the tarball produced by 'meson dist' when using
> meson >= 0.60.
> 
> Older versions of meson excluded a small subset of these files
> automatically, but since we have more control now we can be
> more aggressive and leave out anything that doesn't make sense
> in a release tarball.
> 
> Signed-off-by: Andrea Bolognani <abologna at redhat.com>
> ---
>  .gitattributes | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 .gitattributes
> 
> diff --git a/.gitattributes b/.gitattributes
> new file mode 100644
> index 0000000000..6f0a34d2a0
> --- /dev/null
> +++ b/.gitattributes
> @@ -0,0 +1,22 @@
> +# Generic git stuff
> +**/.gitattributes export-ignore
> +**/.gitignore export-ignore
> +/.gitmodules export-ignore
> +/.mailmap export-ignore
> +
> +# Project-specific git stuff
> +/.gitpublish export-ignore
> +/docs/gitdm export-ignore
> +/docs/gitdm/** export-ignore
> +/gitdm.config export-ignore
> +
> +# Code hosting stuff
> +/.github export-ignore
> +/.github/** export-ignore
> +/.gitlab export-ignore
> +/.gitlab/** export-ignore
> +
> +# CI stuff
> +/.gitlab-ci.yml export-ignore
> +/ci export-ignore
> +/ci/** export-ignore

I don't think we should be excluding this. It is reasonable to want to
use dockerfiles to setup an env for building from the tarball.


Regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|


More information about the libvir-list mailing list