Commit b01b9f30 authored by Thibault Saunier's avatar Thibault Saunier Committed by Thibault Saunier
Browse files

Move away from git-annex

parent 7500f3a1
testsuites/tags
*.pyc
defaults/exMPD_BIP_TC1/ElephantsDream_H264BPL30_0100.mp4
big/matroska/Sintel.2010.720p.mkv
extras-ges/pitivi-0.91-motivational-export/projets/pitivi/gource/gource.mp4
defaults/exMPD_BIP_TC1/ElephantsDream_H264BPL30_0250.mp4
defaults/exMPD_BIP_TC1/ElephantsDream_H264BPL30_0500.mp4
defaults/exMPD_BIP_TC1/ElephantsDream_AAC48K_064.mp4
defaults/exMPD_BIP_TC1/ElephantsDream_H264BPL30_0175.mp4
defaults/mpegts/tron_en_ge_aac_h264.ts
defaults/mpegts/GH1_00094_1920x1280.MTS
defaults/flac/samples.multimedia.cx_flac_Yesterday.flac
defaults/mp4/mp3_h264.1.mp4
defaults/mp4/raw_video.mov
defaults/mp4/raw_h264.1.mp4
defaults/mp4/raw_h264.0.mp4
defaults/mp4/rawaudioS32LE_prores.mov
defaults/mp4/mp3_h264.0.mp4
defaults/mp4/fragmented_nonseekable_sink.mp4
defaults/webm/vorbis_vp8.1.webm
defaults/webm/vorbis_vp8.0.webm
defaults/ogg/vorbis_theora.0.ogg
defaults/ogg/numerated_frames_blue.ogv
defaults/ogg/vorbis_theora.1.ogg
defaults/ogg/opus.1.ogg
defaults/matroska/numerated_frames_blue.mkv
defaults/matroska/opus_jpeg.0.mkv
defaults/matroska/opus_jpeg.1.mkv
defaults/matroska/test5.mkv
defaults/matroska/flac_jpeg.1.mkv
defaults/matroska/flac_jpeg.0.mkv
defaults/matroska/numerated_frames_red.mkv
defaults/matroska/raw_video.mkv
defaults/wmv-asf/samples.multimedia.cx_asf_wmv_elephant.asf
defaults/wmv-asf/samples.multimedia.cx_asf_wmv_low_fps_cheaterlow.wmv
defaults/bipbop/gear3/fileSequence0.ts
defaults/bipbop/gear3/fileSequence5.ts
defaults/bipbop/gear3/fileSequence1.ts
defaults/bipbop/gear3/fileSequence3.ts
defaults/bipbop/gear3/fileSequence2.ts
defaults/bipbop/gear3/fileSequence4.ts
defaults/bipbop/gear1/fileSequence0.ts
defaults/bipbop/gear1/fileSequence5.ts
defaults/bipbop/gear1/fileSequence1.ts
defaults/bipbop/gear1/fileSequence3.ts
defaults/bipbop/gear1/fileSequence2.ts
defaults/bipbop/gear1/fileSequence4.ts
defaults/bipbop/gear4/fileSequence0.ts
defaults/bipbop/gear4/fileSequence5.ts
defaults/bipbop/gear4/fileSequence1.ts
defaults/bipbop/gear4/fileSequence3.ts
defaults/bipbop/gear4/fileSequence2.ts
defaults/bipbop/gear4/fileSequence4.ts
defaults/bipbop/gear2/fileSequence0.ts
defaults/bipbop/gear2/fileSequence5.ts
defaults/bipbop/gear2/fileSequence1.ts
defaults/bipbop/gear2/fileSequence3.ts
defaults/bipbop/gear2/fileSequence2.ts
defaults/bipbop/gear2/fileSequence4.ts
defaults/png/png.png
defaults/mxf/op2b-mpeg2-wave_hd.mxf
defaults/mxf/xdcam-pal-d10-imx30.mxf
defaults/mxf/xdcam-pal-dv25.mxf
defaults/mxf/op1a-pal-mpeg2.mxf
defaults/mxf/test-mpeg2-mp2.mxf
defaults/mxf/test-mpeg2-mp3.mxf
defaults/mxf/op1a-mpeg2-wave_hd.mxf
defaults/mxf/xdcam-pal-d10-imx50.mxf
defaults/mxf/test-uncompressed-rgb.mxf
defaults/avi/raw_video.avi
defaults/avi/samples.multimedia.cx_testsuite_iv31.avi
defaults/avi/bowlerhatdancer.sleepytom.SGP.mjpeg.avi
big/matroska/Sintel.2010.720p.mkv
extras-ges/pitivi-0.91-motivational-export/projets/pitivi/gource/gource.mp4
defaults/exMPD_BIP_TC1/ElephantsDream_H264BPL30_0250.mp4
defaults/exMPD_BIP_TC1/ElephantsDream_H264BPL30_0500.mp4
defaults/exMPD_BIP_TC1/ElephantsDream_AAC48K_064.mp4
defaults/exMPD_BIP_TC1/ElephantsDream_H264BPL30_0175.mp4
defaults/mpegts/tron_en_ge_aac_h264.ts
defaults/mpegts/GH1_00094_1920x1280.MTS
defaults/flac/samples.multimedia.cx_flac_Yesterday.flac
defaults/mp4/mp3_h264.1.mp4
defaults/mp4/raw_video.mov
defaults/mp4/raw_h264.1.mp4
defaults/mp4/raw_h264.0.mp4
defaults/mp4/rawaudioS32LE_prores.mov
defaults/mp4/mp3_h264.0.mp4
defaults/mp4/fragmented_nonseekable_sink.mp4
defaults/webm/vorbis_vp8.1.webm
defaults/webm/vorbis_vp8.0.webm
defaults/ogg/vorbis_theora.0.ogg
defaults/ogg/numerated_frames_blue.ogv
defaults/ogg/vorbis_theora.1.ogg
defaults/ogg/opus.1.ogg
defaults/matroska/numerated_frames_blue.mkv
defaults/matroska/opus_jpeg.0.mkv
defaults/matroska/opus_jpeg.1.mkv
defaults/matroska/test5.mkv
defaults/matroska/flac_jpeg.1.mkv
defaults/matroska/flac_jpeg.0.mkv
defaults/matroska/numerated_frames_red.mkv
defaults/matroska/raw_video.mkv
defaults/wmv-asf/samples.multimedia.cx_asf_wmv_elephant.asf
defaults/wmv-asf/samples.multimedia.cx_asf_wmv_low_fps_cheaterlow.wmv
defaults/bipbop/bipbopall.m3u8
defaults/bipbop/gear3/fileSequence0.ts
defaults/bipbop/gear3/fileSequence5.ts
defaults/bipbop/gear3/fileSequence1.ts
defaults/bipbop/gear3/fileSequence3.ts
defaults/bipbop/gear3/fileSequence2.ts
defaults/bipbop/gear3/fileSequence4.ts
defaults/bipbop/gear3/prog_index.m3u8
defaults/bipbop/gear1/fileSequence0.ts
defaults/bipbop/gear1/fileSequence5.ts
defaults/bipbop/gear1/fileSequence1.ts
defaults/bipbop/gear1/fileSequence3.ts
defaults/bipbop/gear1/fileSequence2.ts
defaults/bipbop/gear1/fileSequence4.ts
defaults/bipbop/gear1/prog_index.m3u8
defaults/bipbop/gear4/fileSequence0.ts
defaults/bipbop/gear4/fileSequence5.ts
defaults/bipbop/gear4/fileSequence1.ts
defaults/bipbop/gear4/fileSequence3.ts
defaults/bipbop/gear4/fileSequence2.ts
defaults/bipbop/gear4/fileSequence4.ts
defaults/bipbop/gear4/prog_index.m3u8
defaults/bipbop/gear2/fileSequence0.ts
defaults/bipbop/gear2/prog_index.m3u8.1
defaults/bipbop/gear2/fileSequence5.ts
defaults/bipbop/gear2/fileSequence1.ts
defaults/bipbop/gear2/fileSequence3.ts
defaults/bipbop/gear2/fileSequence2.ts
defaults/bipbop/gear2/fileSequence4.ts
defaults/bipbop/gear2/prog_index.m3u8
defaults/png/png.png
defaults/mxf/op2b-mpeg2-wave_hd.mxf
defaults/mxf/xdcam-pal-d10-imx30.mxf
defaults/mxf/xdcam-pal-dv25.mxf
defaults/mxf/op1a-pal-mpeg2.mxf
defaults/mxf/test-mpeg2-mp2.mxf
defaults/mxf/test-mpeg2-mp3.mxf
defaults/mxf/op1a-mpeg2-wave_hd.mxf
defaults/mxf/xdcam-pal-d10-imx50.mxf
defaults/mxf/test-uncompressed-rgb.mxf
defaults/avi/raw_video.avi
defaults/avi/samples.multimedia.cx_testsuite_iv31.avi
defaults/avi/bowlerhatdancer.sleepytom.SGP.mjpeg.avi
defaults/exMPD_BIP_TC1/ElephantsDream_H264BPL30_0100.mp4
......@@ -3,25 +3,36 @@ testsuites:
The testsuites implemented in testsuites/ should follow the PEP8 coding style.
Git annex usage:
----------------
We should never use git annex sync to make sure we always keep a clean history.
So to add new annexed files that are not available online, you should follow
the following steps:
$ git annex add medias/some/file/to.annex
$ git commit
# Enable gstqaassets backend (Ask maintainers for those keys if you need them)
$ AWS_ACCESS_KEY_ID={some-key} AWS_SECRET_ACCESS_KEY={another-key} git annex enableremote gstqaassets
$ git annex copy medias/some/file/to.annex --to gstqaassets # You could use any archive.org backend you want
$ git push origin master # Considering those new medias should go to master
$ git push origin git-annex # So that information about how to retrieve those medias are shared with others!
If you just want to add files that are already available on the web (and that
you **know** will keep being available), you can just do
$ git annex addurl http://some/url
$ git mv url medias/where/it/should/go # You could cd first too.
$ git annex fix # Make sure git annex fixes its symlinks
$ git commit
## Add a new media file
You need access to gstreamer.freedesktop.org to be able to upload media files and
`rsync` needs to be installed on the system
1) Make sure to get all assets first doing:
medias/get_files.py # no argument
2) Add your media file in the tree and generate the media_info:
gst-validate-media-check-1.0 [--full] medias/path/to/your/new/file medias/path/to/your/new/file.media_info
(you can also do it with gst-validate-launcher -G)
3) Add the media info in git:
git add medias/path/to/your/new/file.media_info
4) Upload everything to gstreamer.freedesktop.org:/srv/gstreamer.freedesktop.org/www/data/media/gst-integration-testsuite
python medias/upload_media_files.py # Dry run
Check everything look fine (`git diff`)
python medias/upload_media_files.py --upload
5) Check and update the `medias/files.json` file
git add medias/files.json
6) Commit and push
......@@ -3,8 +3,8 @@ Those testsuites are meant to be used with GstValidate available in the
gst-devtools[0] repository
This repository includes both media files (available in medias/)
that will be retrieved from the web thanks to git-annex[1] directory and several
testsuites (available in testsuites/) to be used with gst-validate-launcher[2].
that will be retrieved from the web using medias/get_files.py and several
testsuites (available in testsuites/) to be used with gst-validate-launcher[1].
By default, gst-validate-launcher --sync will retrieve that repository to run
the default testsuite (namely validate and ges testsuites from testsuites/validate.py
......@@ -16,5 +16,4 @@ in particular to:
$ gst-validate-launcher --help
[0] http://cgit.freedesktop.org/gstreamer/gst-devtools/
[1] https://git-annex.branchable.com/
[2] https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-validate/html/gst-validate-launcher.html
[1] https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-validate/html/gst-validate-launcher.html
../../../.git/annex/objects/gz/26/SHA256E-s673935402--60cff51761641626e82eeb4e1c248c471375b2536bb1089f49825b7fb58d8723.720p.mkv/SHA256E-s673935402--60cff51761641626e82eeb4e1c248c471375b2536bb1089f49825b7fb58d8723.720p.mkv
\ No newline at end of file
../../../.git/annex/objects/2G/j9/SHA256E-s11469256--279b7350cb70da40896ec1eebb447923c76805dd80c135f7d6da1a35ffe79e0a.avi/SHA256E-s11469256--279b7350cb70da40896ec1eebb447923c76805dd80c135f7d6da1a35ffe79e0a.avi
\ No newline at end of file
../../../.git/annex/objects/mQ/pv/SHA256E-s11523200--5cdcaf6750cf81d24050bb2885c58ccb88d0c715751e51ed876fd673bb85d61f.avi/SHA256E-s11523200--5cdcaf6750cf81d24050bb2885c58ccb88d0c715751e51ed876fd673bb85d61f.avi
\ No newline at end of file
../../../.git/annex/objects/MK/qZ/SHA256E-s3820040--ca0f5e1c52865b2d9091cbb8341d36a49cf0b010467589503f8a711c85cca432.avi/SHA256E-s3820040--ca0f5e1c52865b2d9091cbb8341d36a49cf0b010467589503f8a711c85cca432.avi
\ No newline at end of file
../../../.git/annex/objects/Q3/GV/SHA256E-s292--6bd199385e8a3e510bdb6090dca0399441fa448f3283386b736bcfcdbc011a8a.m3u8/SHA256E-s292--6bd199385e8a3e510bdb6090dca0399441fa448f3283386b736bcfcdbc011a8a.m3u8
\ No newline at end of file
#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=200000
gear1/prog_index.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=311111
gear2/prog_index.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=484444
gear3/prog_index.m3u8
#EXT-X-STREAM-INF:PROGRAM-ID=1, BANDWIDTH=737777
gear4/prog_index.m3u8
../../../../.git/annex/objects/Wk/gJ/SHA256E-s250228--549e3ab7a13816f8aa878945844417c189978b07952488b3f3f523d199d4327a.ts/SHA256E-s250228--549e3ab7a13816f8aa878945844417c189978b07952488b3f3f523d199d4327a.ts
\ No newline at end of file
../../../../.git/annex/objects/pX/zv/SHA256E-s262824--b06a9b71d04a858544378b2aa4a7fb8a5701f0ebc7cd6fb38da298c786c6f3ba.ts/SHA256E-s262824--b06a9b71d04a858544378b2aa4a7fb8a5701f0ebc7cd6fb38da298c786c6f3ba.ts
\ No newline at end of file
../../../../.git/annex/objects/Wv/9W/SHA256E-s263764--bb6a500153fb903f51f16723b346fa5ae63f36638c9a983f91e01575ecbdf5f7.ts/SHA256E-s263764--bb6a500153fb903f51f16723b346fa5ae63f36638c9a983f91e01575ecbdf5f7.ts
\ No newline at end of file
../../../../.git/annex/objects/jF/fm/SHA256E-s263012--37e3c748b629703372e86bdefc12f3e8568a6e58096e7d440fa5cb5361194019.ts/SHA256E-s263012--37e3c748b629703372e86bdefc12f3e8568a6e58096e7d440fa5cb5361194019.ts
\ No newline at end of file
../../../../.git/annex/objects/mp/pK/SHA256E-s261696--a3550601e2d3903bc37ac14696d62975cdf6119f14906d0e6b9cbb30aa323f2f.ts/SHA256E-s261696--a3550601e2d3903bc37ac14696d62975cdf6119f14906d0e6b9cbb30aa323f2f.ts
\ No newline at end of file
../../../../.git/annex/objects/38/P0/SHA256E-s259628--eb11168aebd5721577e50ae6981ef0cf0512d8dc4920a90a2f9277f2a4186ea8.ts/SHA256E-s259628--eb11168aebd5721577e50ae6981ef0cf0512d8dc4920a90a2f9277f2a4186ea8.ts
\ No newline at end of file
../../../../.git/annex/objects/xm/22/SHA256E-s294--3592f297e941b31f08469713d074f022299267c24907053ff9466849087949a9.m3u8/SHA256E-s294--3592f297e941b31f08469713d074f022299267c24907053ff9466849087949a9.m3u8
\ No newline at end of file
#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:0
#EXTINF:10, no desc
fileSequence0.ts
#EXTINF:10, no desc
fileSequence1.ts
#EXTINF:10, no desc
fileSequence2.ts
#EXTINF:10, no desc
fileSequence3.ts
#EXTINF:10, no desc
fileSequence4.ts
#EXTINF:10, no desc
fileSequence5.ts
#EXT-X-ENDLIST
../../../../.git/annex/objects/3w/PW/SHA256E-s414540--fe03caec29364784769875ec29488c2d54f7aa9d19ae5cabac1c7bd0d81050a3.ts/SHA256E-s414540--fe03caec29364784769875ec29488c2d54f7aa9d19ae5cabac1c7bd0d81050a3.ts
\ No newline at end of file
../../../../.git/annex/objects/vx/Xw/SHA256E-s413600--d2991334948a93440c7190263ef2d6bcac77d6dad7d660e0d4338fb4f15a895f.ts/SHA256E-s413600--d2991334948a93440c7190263ef2d6bcac77d6dad7d660e0d4338fb4f15a895f.ts
\ No newline at end of file
../../../../.git/annex/objects/jQ/5X/SHA256E-s414352--e99e631d942e46f390e93c38368e6a4d0c993497918f3d54f40aae76410fa814.ts/SHA256E-s414352--e99e631d942e46f390e93c38368e6a4d0c993497918f3d54f40aae76410fa814.ts
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment