After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 706105 - libav: .gitignore file included in tarballs
libav: .gitignore file included in tarballs
Status: RESOLVED WONTFIX
Product: GStreamer
Classification: Platform
Component: gst-libav
1.x
Other All
: Normal enhancement
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-08-16 07:28 UTC by Thomas Falk
Modified: 2018-01-12 19:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Thomas Falk 2013-08-16 07:28:16 UTC
There is a .gitignore file in the source archive for gst-libav: 

http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-1.0.9.tar.xz

gst-libs/ext/libav/.gitignore

This leads to problems when importing the code in another git repository because some required files will not be imported.
Comment 1 Sebastian Dröge (slomo) 2013-08-16 08:29:29 UTC
Which files specifically are in .gitignore but required? gst-libs/ext/libav is just a git checkout from libav git, if you import all that in a git repository from a tarball (why would you do that?) it might make more sense to just use a git submodule for libav.
Comment 2 Thomas Falk 2013-08-16 08:43:15 UTC
In my case the version.h was missing after committing the files into another repository. Probably the way via the submodule would be the right way, but there are many ways to do something. We only wanted the have a snapshot and no connection to an external repository.
Comment 3 Sebastian Dröge (slomo) 2013-08-16 08:58:39 UTC
Ok, if you could prepare a patch to exclude the .gitignore that would be great :)
Comment 4 Thomas Falk 2013-08-16 09:08:30 UTC
I don't know how you create the archive file, but for "git archive" there is an attribute export-ignore to not export some of the files in the repository.
Comment 5 Sebastian Dröge (slomo) 2013-08-16 09:20:27 UTC
make dist
Comment 6 Tim-Philipp Müller 2018-01-12 19:41:37 UTC
I think you can override this when importing with git add -f or somesuch?

Either way, we'd be happy to accept a patch, but in the mean time let's close this :)