1
0
mirror of https://github.com/mikf/gallery-dl.git synced 2024-11-22 10:42:34 +01:00
Commit Graph

62 Commits

Author SHA1 Message Date
Mike Fährmann
30ff775382
[workflows:tests] change job name to 'test'
… and use alternate list syntax for Python versions
2024-11-10 21:29:48 +01:00
Mike Fährmann
00436d6027
[workflows:tests] include Python 3.13 2024-10-21 09:56:37 +02:00
Mike Fährmann
9b4c94fda8
[build] include yt-dlp 'default' optional dependencies
https://github.com/yt-dlp/yt-dlp/pull/11255
2024-10-17 09:21:32 +02:00
Mike Fährmann
6c0cce8dff
[build] remove setuptools and requests version restrictions 2024-09-29 12:57:10 +02:00
Mike Fährmann
7d5415c201
[workflow:executables] restrict 'setuptools' to <71
setuptools 71 together with secretstorage dependencies
causees an ImportErrorWhenRunningHook exception in PyInstaller
for whatever reason
2024-07-18 02:24:52 +02:00
Mike Fährmann
39b9c8d4b0
[workflows:pages] add repo check to 'deploy' job as well
of course I forgot one
a434fc7cb1
2024-07-15 18:26:49 +02:00
Mike Fährmann
a434fc7cb1
[workflows] only run in 'mikf/gallery-dl' repo
The actual code was included in the previous
97a50a23d2 by accident …

This commit only wraps the slightly more complex docker.yml condition
in GitHub's special ${{ … }} braces.
2024-07-05 21:33:39 +02:00
Mike Fährmann
97a50a23d2
[twitter] implement 'cursor' support (#5753) 2024-07-05 00:03:02 +02:00
Mike Fährmann
e1dbb4cbe1
[workflows:tests] restrict Python 3.12 to '3.12.3'
The changes from .3 to .4 seem to cause errors when running flake8
2024-06-22 16:18:58 +02:00
Mike Fährmann
612435480a
[workflows:tests] restore Python 3.5 usage
https://github.com/actions/setup-python/issues/866
2024-06-02 01:32:54 +02:00
Mike Fährmann
330162f774
limit requests to '<2.32' for Docker and executables (#5665)
at least for the time being until requests fixed all
HTTPAdapter / SSLContext bugs
2024-06-01 15:57:25 +02:00
Mike Fährmann
3d033a48ea
[workflows:executables] change dev/linux binary name to …_linux
This reverts commit 05f8435e09.
2024-05-29 02:46:29 +02:00
Mike Fährmann
e35317118a
[workflows:executables] set bash as default shell for all runners
should fix environment variables on Windows
2024-05-28 22:20:13 +02:00
Mike Fährmann
05f8435e09
[workflows:executables] restore 'gallery-dl_ubuntu' name 2024-05-28 22:20:13 +02:00
Mike Fährmann
601f5becc8
[version] add __variant__
Specifies origin and OS of executable files.
For example 'stable/windows'.
2024-05-27 21:37:01 +02:00
Mike Fährmann
a6e0258020
[workflows:executables] include commit link in release notes 2024-05-24 02:05:27 +02:00
Mike Fährmann
07d962d60a
[workflows:tests] remove Python 3.5
currently causing errors in the setup phase:

  Error: Could not find a version that satisfies the requirement pip
  Error: No matching distribution found for pip
  Error: The process '/usr/bin/bash' failed with exit code 1
2024-05-12 16:52:38 +02:00
Mike Fährmann
bdca01e6e6
[workflows] build complete docs Pages only on gdl-org/docs
deploy only docs/oauth-redirect.html on mikf.github.io/gallery-dl
2024-03-31 00:14:16 +01:00
Mike Fährmann
7ac6274fe0
[docker] change date tags format from YYYYMMDD to YYYY.MM.DD
to use the same format as in executables
2024-03-11 22:17:50 +01:00
Mike Fährmann
71cf08af4b
[workflows] update version.py path 2024-03-09 23:47:35 +01:00
Mike Fährmann
a01d334feb
[workflows] update to actions/setup-python@v5 2024-03-09 23:32:31 +01:00
Mike Fährmann
3c979e1f05
[workflows] release standalone executables in gdl-org/builds
needs some form of release notes,
probably just git commits since last stable release
2024-03-09 23:30:39 +01:00
Mike Fährmann
36fc510d3a
[docker] update workflow
- run on every push to master
- build images from GitHub source instead of PyPI package
- build arm64 image (#5227)
- include more tags
  - build date as 'YYYYMMDD'
  - 'dev' for most recent build from master
  - 'latest' for most recent release build
2024-03-05 03:15:20 +01:00
Mike Fährmann
461b55da4b
[docs] deploy pages in both repositories
mikf/galleryx-dl and gdl-org/docs
2024-03-05 00:11:19 +01:00
Mike Fährmann
a97e39d94a
[docs] automatically trigger pages build on gdl-org/docs 2024-03-03 22:49:55 +01:00
Mike Fährmann
f3bc048ff7
allow workflows to be triggered manually 2024-03-03 18:10:55 +01:00
Mike Fährmann
24106d9994
exclude scripts/pyprint.py from linting for Python<3.8 2024-02-27 19:07:52 +01:00
Mike Fährmann
1d5ee4239d
[docker] let metadata-action automatically generate 'latest' tags 2023-12-10 22:43:04 +01:00
Mike Fährmann
db978b34f1
[docker] use PAK for GHCR login (#4831) 2023-12-06 12:28:52 +01:00
Mike Fährmann
d1ea60c057
[github] fix docker workflow (#4831)
- run only on tagged commits and not on every commit to master
- use the correct github token
2023-12-05 22:55:07 +01:00
Mike Fährmann
43ca49c1b4
[github] add workflow to build and push docker images
heavily inspired by and adapted from
https://github.com/danbooru/danbooru/blob/master/.github/workflows/docker-build.yaml
2023-12-02 17:53:11 +01:00
Mike Fährmann
6c040afe0f
[tests] install yt-dlp from PyPI for Python 3.7
f4b95acafc
2023-11-17 15:35:52 +01:00
Mike Fährmann
1671a90077
use Python 3.12 for GitHub Actions 2023-10-14 14:48:40 +02:00
Mike Fährmann
fdcfae347f
do not restrict flake8 version 2023-09-15 14:19:47 +02:00
Mike Fährmann
05f183d7d4
exclude export_tests.py from linting for Python<3.8 2023-09-14 18:49:58 +02:00
Mike Fährmann
23469837cd
attempt to fix file permission tests 2023-06-25 00:48:40 +02:00
Mike Fährmann
3e7ac5ec3a
check file mode bits
ensure every file in ./gallery_dl has mode 644
2023-06-19 17:53:40 +02:00
Mike Fährmann
aa731c4298
[ytdl] run yt-dlp tests with latest code from master (#3989)
Only use PyPI version for Python 3.6, since that's no longer supported
by the current codebase.
2023-05-01 16:42:57 +02:00
Mike Fährmann
e07ceb90b3
fix 'executables.yml' workflow
or at least attempt to
2023-04-19 20:35:24 +02:00
Mike Fährmann
f424d1fc23
include more optional dependencies in PyInstaller executables
(#3907)

- pyyaml
- toml (for Python<3.11)
- secretstorage (on Linux)
2023-04-18 20:51:31 +02:00
Mike Fährmann
a918ce29b5
run tests on ubuntu-20.04
and remove Python 3.4, since that's no longer available
on this test runner
2023-01-05 13:33:27 +01:00
Mike Fährmann
708fa3c296
run tests on ubuntu-latest 2023-01-05 13:19:43 +01:00
Mike Fährmann
b357c2dcf8
build executables on GitHub Actions with Python 3.11 2022-11-04 19:49:39 +01:00
Mike Fährmann
c8af1f585a
fix pypy version specifier 2022-10-26 15:55:22 +02:00
Mike Fährmann
0e5d2e128b
upgrade actions versions 2022-10-25 15:49:39 +02:00
Mike Fährmann
2952b8891f
test with python 3.11 2022-10-25 15:48:37 +02:00
Mike Fährmann
6ccb18642c
restrict importlib-metadata version for tests 2022-10-03 23:00:01 +02:00
Mike Fährmann
72389658b6
use legacy flake8 for linting 2022-07-31 19:45:21 +02:00
Mike Fährmann
6ad39f2b68
add ytdl tests
they only run when youtube-dl or yt-dlp are installed,
i.e. if __import__("<ytdl-package>") succeeds
2022-05-23 18:30:26 +02:00
Mike Fährmann
318b0ba93d
build executables on GitHub Actions with Python 3.10 2022-05-17 18:23:37 +02:00