forked from Jamie-Landeg-Jones/youtube-dl
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Building TODO
FiloSottile edited this page Dec 20, 2012
·
7 revisions
- Old versions table on gh-pages
- Release notes #499
- See @phihag on #589
- One-step Windows building
-
make build
which builds the whole shebang(incl. Windows) and createsbuild/$VERSION/{youtube-dl,youtube-dl.exe,youtube-dl-src-$VERSION.tar.gz}
- Make
devscripts/release.sh
do some smoke tests on all of the above files (withstrings
) to make sure all bear the right version number - Make
devscripts/release.sh
use the current version instead of specifying a new one. - Make
devscripts/release.sh
upload the newest files to$SFTP_URL
, with he same directory structure as inbuild/
- Make
devscripts/release.sh
write into the gh-pages branch and:- Update the current hashsums
- Update all links to
$URL_BASE/$VERSION/{youtube-dl,youtube-dl.exe,youtube-dl-src-$VERSION.tar.gz}
- Create a file in gh-pages:
update/$VERSION
and write$URL_BASE/$VERSION/youtube-dl
in there - Create/update a file in gh-pages:
update/LATEST
and write$URL_BASE/$VERSION/youtube-dl
in there - Commit and push that
- Ensure that
devscripts/release.sh
updatesLATEST_VERSION
- Move
devscripts/release.sh
into Makefile, so thatmake release
works, and impliesbuild
- Update youtube-dl(.exe) to:
- Fetch LATEST_VERSION
- If that is newer, fetch
gh-pages:update/$VERSION
- And download that URL
- Update the placeholder versions in master and downloads to always fetch the URL in
gh-pages:/update/LATEST
- LATEST_VERSION on gh-pages, small to fetch; update-index.json on gh-pages; uscan compatible layout on the server.
From IRC
21:23 FiloSottile: I think now priorities should be:
21:23 FiloSottile: - making our tests pass on python3
21:23 FiloSottile: - expanding tests to all IEs
21:23 FiloSottile: - unittesting also features, not only plain downloads
- Dynamic generation of tests, without pre-compilation (
gentest.py
) - Nosetests test generators: http://swordstyle.com/func_test_tutorial/part_one/extra_generative_tests.html
- Docs: https://nose.readthedocs.org/en/latest/writing_tests.html#test-generators
"Please note that method generators are not supported in unittest.TestCase subclasses." - http://stackoverflow.com/questions/2798956/python-unittest-generate-multiple-tests-programmatically
- Automate test coverage generation and find a place for its HTML
- http://filosottile.github.com/youtube-dl/cover/
- Figure out why Travis and OSX get mad at
nosetest --processes
- https://github.com/FiloSottile/youtube-dl/commit/fedb6816cd045b4a0a12b7cd1a51a1712abde874
- Docs: https://nose.readthedocs.org/en/latest/plugins/multiprocess.html
- Python 3.3 testing
- https://github.com/travis-ci/travis-cookbooks/issues/89
- Close related bugs
- Make a list of "Using youtube-dl"
- Make a list of packagers (distros, homebrew...) and notify them about tarballs
- https://github.com/rg3/youtube-dl/issues/574
- Document the tarballs on gh-pages, maybe with an "old versions archive" table, maybe automated
https://github.com/FiloSottile/youtube-dl/wiki/New-building-system-blueprint
Stuff left in the pull request
- the build-bot triggered by successful Travis build on a new tag
- see also @fraca7 offer https://github.com/FiloSottile/youtube-dl/wiki/New-building-system-blueprint/_compare/9920e87b986e96fdadc1970fcd4bc77becac1b17%5E...9920e87b986e96fdadc1970fcd4bc77becac1b17
- GPG signing
- upload on PyPi for
pip
-
deb
andrpm
packages - docs and faqs
Missing tests
YoutubeSearchIE(),
GoogleSearchIE(),
BlipTVUserIE(),
PhotobucketIE(), # Cambiato tutto, tasto download
DepositFilesIE(), # Ma mostrano ancora video? probably _BROKEN
ComedyCentralIE(), # RTMPDUMP
InfoQIE(), # RTMPDUMP
MTVIE(), # RTMPDUMP http://www.mtv.com/videos/yellowcard/863419/awakening.jhtml#id=1518072
ArteTvIE(), # rtmpdump http://videos.arte.tv/fr/videos/360-geo--7115440.html
GenericIE()
YT rtmpdump