4 The testsuites implemented in testsuites/ should follow the PEP8 coding style.
6 ## Add a new media file
8 We use `git-lfs` with a backup on the fdo server.
10 You need access to gstreamer.freedesktop.org to be able to upload media files and
11 `rsync` needs to be installed on the system
13 1) Make sure to get all assets first doing:
15 medias/get_files.py # no argument
17 2) Add your media file in the tree and generate the media_info:
19 gst-validate-media-check-1.0 [--full] file://full_path_to/path/to/your/new/file -o medias/path/to/your/new/file
21 (you can also do it with gst-validate-launcher -G)
23 3) Make sure that you media file is tracked by `git-lfs`:
25 git lfs track "*.file_extension"
27 4) Add the media info in git:
29 git add medias/path/to/your/new/file.media_info
30 git add medias/path/to/your/new/file
32 5) Check everything is ready to uploaded.
34 python medias/upload_media_files.py # Dry run
36 6) Check and update the `medias/files.json` file
38 git add medias/files.json
40 7) Generate the new tests list
42 gst-validate-launcher -L
43 git add testsuites/validate.testslist