Commit Graph

311 Commits (2e30b5567b5c6113d46b39163db5b044aea8667e)

Author SHA1 Message Date
bashonly b8a433aaca
[devscripts] `install_deps`: Add script and migrate to it
Authored by: bashonly
Simon Sawicki fd647775e2
[devscripts] `tomlparse`: Add makeshift toml parser
Authored by: Grub4K
Simon Sawicki f9fb3ce86e
[cleanup] Misc ()
Authored by: bashonly, pukkandan, seproDev, Grub4K

Co-authored-by: bashonly <bashonly@protonmail.com>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: sepro <4618135+seproDev@users.noreply.github.com>
Simon Sawicki 225cf2b830
Fix 2d1d683a54
Authored by: Grub4K
Simon Sawicki 2d1d683a54
[devscripts] `run_tests`: Create Python script ()
Authored by: Grub4K
bashonly a9d3f4b20a
[cleanup] Fix changelog typo
Authored by: bashonly
Simon Sawicki b012271d01
[cleanup] Misc ()
Authored by: bashonly, coletdjnz, dirkf, gamer191, seproDev, Grub4K
bashonly a00af29853
[cleanup] Update documentation for master and nightly channels
Authored by: bashonly, Grub4K

Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
bashonly 1d03633c5a
[build] Overhaul and unify release workflow
Authored by: bashonly, Grub4K

Co-authored-by: Simon Sawicki <contact@grub4k.xyz>
bashonly 700444c23d
[ci] Run core tests with dependencies
Authored by: bashonly, coletdjnz
Simon Sawicki de015e9307
[core] Prevent RCE when using `--exec` with `%q` (CVE-2023-40581)
The shell escape function is now using `""` instead of `\"`. `utils.Popen` has been patched to properly quote commands.

Prior to this fix using `--exec` together with `%q` when on Windows could cause remote code to execute. See https://github.com/yt-dlp/yt-dlp/security/advisories/GHSA-42h4-v29r-42qg for reference.

Authored by: Grub4K
Simon Sawicki 61bdf15fc7
[core] Raise minimum recommended Python version to 3.8 ()
Authored by: Grub4K
bashonly 5ca095cbcd
[cleanup] Misc ()
Closes , Closes 
Authored by: barsnick, sqrtNOT, gamer191, coletdjnz, Grub4K, bashonly
Simon Sawicki 30ba233d4c
[devscripts] `make_changelog`: Fix changelog grouping and add networking group ()
Authored by: Grub4K
Simon Sawicki 836e06d246
[core] Fix support for upcoming Python 3.12 ()
This also adds the following test runners:
- `3.12-dev` on `ubuntu-latest`
- `3.12-dev` on `windows-latest`
- `pypy-3.10` on `ubuntu-latest`

Authored by: Grub4K
pukkandan 62b5c94cad
[cleanup] Misc fixes
Closes 
pukkandan c365dba843
[networking] Add module ()
No actual changes - code is only moved around
pukkandan b532a34810
[docs] Minor fixes
Closes 
pukkandan 337734d4a8
[cleanup] Misc
pukkandan fa44802809
[devscripts/make_changelog] Skip reverted commits
pukkandan 812cdfa06c
[cleanup] Misc
pukkandan 5fd8367496
[extractor] Support multiple `_VALID_URL`s ()
Authored by: nixxo
pukkandan ad54c9130e
[cleanup] Misc
Closes , Closes , Closes , Closes , Closes 
Authored by: mikf, freezboltz, pukkandan
pukkandan 46f1370e9a
[devscripts/cli_to_api] Add script
Simon Sawicki 23c39a4bea
[devscripts] `make_changelog`: Various improvements
- Make single items collapse into one line
- Don't hide "Important changes" in `<details>`
- Move upstream merge into priority
- Properly support comma separated prefixes

Authored by: Grub4K
bashonly c4efa0aefe
[build] Various build workflow improvements
- Wait for build before publishing to PyPI
- Do not run `meta_files` job if release is cancelled
- Customizable channel in release workflow
- Display badges above changelog

Authored by: bashonly, Grub4K
pukkandan 392389b7df
[cleanup] Misc
pukkandan 7accdd9845
[devscripts] `make_changelog`: Stop at `Release ...` commit
Closes 
Simon Sawicki 9344964281
Fix d400e261cf
Authored by: Grub4K
pukkandan bfc861a91e
Fix bug in 29cb20bd56
pukkandan 4815bbfc41
[cleanup] Misc
Simon Sawicki 29cb20bd56
[build] Automated builds and nightly releases ()
Closes 
Authored by: Grub4K, bashonly

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Simon Sawicki d400e261cf
[devscripts] Script to generate changelog ()
Authored by: Grub4K
pukkandan 5b28cef72d
[cleanup] Misc
pukkandan a538772969
[cleanup] Misc
Closes 
Matthew 8e40b9d1ec
Improve plugin architecture ()
to make plugins easier to develop and use:
* Plugins are now loaded as namespace packages.
* Plugins can be loaded in any distribution of yt-dlp (binary, pip, source, etc.).
* Plugin packages can be installed and managed via pip, or dropped into any of the documented locations.
* Users do not need to edit any code files to install plugins.
* Backwards-compatible with previous plugin architecture.

As a side-effect, yt-dlp will now search in a few more locations for config files.

Closes https://github.com/yt-dlp/yt-dlp/issues/1389

Authored by: flashdagger, coletdjnz, pukkandan, Grub4K
Co-authored-by: Marcel <flashdagger@googlemail.com>
Co-authored-by: pukkandan <pukkandan.ytdlp@gmail.com>
Co-authored-by: Simon Sawicki <accounts@grub4k.xyz>
pukkandan 6368e2e639
[cleanup] Misc
Closes 
Lesmiscore 7d61d2306e
[build] Replace `set-output` with `GITHUB_OUTPUT` ()
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Authored by: Lesmiscore
pukkandan 2fa669f759
[docs] Misc improvements
Closes , Closes , Closes , Closes , Closes 
josanabr 46d72cd2c7
[devscripts] make_lazy_extractors: Fix for Docker ()
Authored by: josanabr
pukkandan d2c8aadf79
[cleanup] Misc
Closes , Closes , Closes 
Authored by: pukkandan, MrRawes, DavidH-2022
pukkandan e5458d1d88
Fix lazy extractor bug in fe7866d0ed
and add test

Fixes https://github.com/yt-dlp/yt-dlp/pull/3234#issuecomment-1225347071
pukkandan 96623ab5c6
[devscripts] Fix import
Closes 
pukkandan 70b2340909
[build, devscripts] Add devscript to set a build variant
Closes 
pukkandan 115add4387
[devscripts] Create `utils` and refactor
pukkandan 8f97a15d1c [extractor] Framework for embed detection ()
Lesmiscore 5c0dc6e603
[devscripts/update-formulae] Do not change dependency section
Closes 
pukkandan ca9f1df253
[docs] Improve issue templates
Chris Lamb 5b836d4739
[build] Consistent order for lazy extractors ()
Authored by: lamby
pukkandan 14f25df2b6
[compat] Remove deprecated functions from core code