Commit Graph

57 Commits (21b25281c51523620706b11bfc1c4a889858e1f2)

Author SHA1 Message Date
Simon Sawicki 61bdf15fc7
[core] Raise minimum recommended Python version to 3.8 ()
Authored by: Grub4K
coletdjnz 3d2623a898
[compat, networking] Deprecate old functions ()
Authored by: coletdjnz, pukkandan
pukkandan 02948a17d9
[update] Do not restart into versions without `--update-to`
Simon Sawicki 665472a7de
[update] Implement `--update-to` repo
Authored by: Grub4K, pukkandan
Simon Sawicki d2e84d5eb0
[update] Better error handling
Authored by: pukkandan
pukkandan 392389b7df
[cleanup] Misc
Simon Sawicki 77df20f14c
[update] Add option `--update-to`, including to nightly ()
* By default, stable will only update to stable, and nightly to nightly

Authored by: Grub4K, bashonly, pukkandan

Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com>
Simon Sawicki 5be214abed
[update] Fix updater file removal on windows ()
Reverts 2fb0f85868
Closes 
Authored by: Grub4K
pukkandan 2fb0f85868
[update] Workaround
Robert Geislinger 7aaf4cd2a8
[cleanup] Misc
Closes , Closes 

Authored by: pukkandan, Alienmaster
MrOctopus 17fc3dc48a
[build] Create armv7l and aarch64 releases ()
Closes 
Authored by: MrOctopus, pukkandan
pukkandan ff48fc04d0
[update] Use error code 100 for update errors
This error code was previously used for
"Exiting to finish update", but is no longer used

Closes 
pukkandan da4db748fa
[utils] Add `deprecation_warning`
See https://github.com/yt-dlp/yt-dlp/pull/2173#issuecomment-1097021515
pukkandan b5e7a2e69d
Add version to infojson
pukkandan 6440c45ff3
[update] Copy bitmask from old binary
Improves a6125983ab

Authored by: Lesmiscore
pukkandan a6125983ab
[update] Set executable bit-mask
Closes 
pukkandan 70b2340909
[build, devscripts] Add devscript to set a build variant
Closes 
pukkandan 24093d52a7
[update] Prepare to remove Python 3.6 support
pukkandan a63b35a60c
[update] Do not check `_update_spec` when up to date
pukkandan b1f94422cc
[update] Ability to set a maximum version for specific variants
Stefan Lobbenmeier 63da2d0911
Fix bug in 6d916fe709 ()
Update only to legacy version on old MacOS

Authored by: StefanLobbenmeier
crazymoose77756 962ffcf89c
[cleanup] Fix some typos ()
Authored by: crazymoose77756
pukkandan e4afcfde08
[build] Add Linux standalone builds
pukkandan 8372be7469
[update] Self-restart after update
pukkandan 57e0f077a6
[update] Expose more functionality to API
pukkandan 233ad894d3
[update] Use `.git` folder to distinguish `source`/`unknown`
This is not perfect, but is good enough for how we use this information

Closes 
pukkandan b5899f4f19
[build, cleanup] Refactor
Closes , 
pukkandan c487cf0010
[cleanup] Misc
pukkandan 0b9c08b47b
[utils] Improve performance using `functools.cache`
Closes 
pukkandan 0f06bcd759
[cleanup] Minor fixes (See desc)
* [youtube] Fix `--youtube-skip-dash-manifest`
* [build] Use `$()` in `Makefile`. Closes 
* Fix bug in 385ffb467b
* Fix bug in 43d7f5a5d0
* [cleanup] Remove unnecessary `utf-8` from `str.encode`/`bytes.decode`
* [utils] LazyList: Expose unnecessarily "protected" attributes
and other minor cleanup
pukkandan f82711587c
[cleanup] Sort imports
Using https://github.com/PyCQA/isort

    isort -m VERTICAL_HANGING_INDENT --py 36 -l 80 --rr -n --tc .
pukkandan 86e5f3ed2e
[cleanup] Upgrade syntax
Using https://github.com/asottile/pyupgrade

1. `__future__` imports and `coding: utf-8` were removed
2. Files were rewritten with `pyupgrade --py36-plus --keep-percent-format`
3. f-strings were cherry-picked from `pyupgrade --py36-plus`

Extractors are left untouched (except removing header) to avoid unnecessary merge conflicts
felix cfb0511d82
[cleanup] Remove unused code paths ()
Notes:

* `_windows_write_string`: Fixed in 3.6
  * https://bugs.python.org/issue1602
  * PEP: https://www.python.org/dev/peps/pep-0528

* Windows UTF-8 fix: Fixed in 3.3
  * https://bugs.python.org/issue13216

* `__loader__`: is always present in 3.3+
  * https://bugs.python.org/issue14646

* `workaround_optparse_bug9161`: Fixed in 2.7
  * https://bugs.python.org/issue9161

Authored by: fstirlitz
pukkandan 455a15e2dc
[cleanup,docs] Minor fixes
Closes , 
pukkandan b69fd25c25
[cleanup] Misc cleanup
Closes     
pukkandan 91f071af60
Release 2021.12.01
pukkandan ee8dd27a73
[cleanup] Add deprecation warnings
pukkandan 75b725a7cc
[build] Use `workflow_dispatch` for release
pukkandan 733d8e8f99
[build] Refactor `pyinst.py` and misc cleanup
Closes 
pukkandan 386cdfdb5b
[build] Release windows exe built with py2exe
Closes: 
Related: , , , , 
Ricardo 0e5927eebf
[build] Build standalone MacOS packages ()
Closes  
Authored by: smplayer-dev
pukkandan d3c93ec2b7
Don't create console for subprocesses on Windows ()
Closes 
pukkandan e6faf2be36
[update] Clean up error reporting
Closes 
pukkandan 5d535b4a55
[build] Allow building with py2exe (and misc fixes)
py2exe config is copied from youtube-dl
Closes 
pukkandan 28234287f1 [update] Check for new version even if not updateable
pukkandan 4c88ff87fc
[build] Improve release process ()
* Automate more of the release process by animelover1984, pukkandan - closes 
* Fix sha256 by nihil-admirari - closes 
* Bring back brew taps by nao20010128nao 
* Provide `--onedir` zip for windows by pukkandan - Closes , ,  and 

Authored by: pukkandan, animelover1984, nihil-admirari, nao20010128nao
pukkandan 0181adefc6
[build] Build Windows x86 version with py3.7
and remove redundant tests
Closes 

:ci skip

Co-authored by: pukkandan, shirt-dev
pukkandan b5c5d84f60
Revert "[build] Build Windows x86 version with py3.8"
This reverts commit aa75e51f99.

See 

This is being reverted instead of modified due to 
pukkandan aa75e51f99
[build] Build Windows x86 version with py3.8
and remove redundant tests
:ci skip

Ao-authored by: pukkandan, shirt-dev
Nil Admirari beb982bead
[build,update] Add GNU-style SHA512 and prepare updater for simlar SHA256 ()
Authored by: nihil-admirari <50202386+nihil-admirari@users.noreply.github.com>

Related: