Skip to content

Nix flake support#497

Open
jmikedupont2 wants to merge 576 commits intoWikiTeam:masterfrom
meta-introspector:nix-flake-support
Open

Nix flake support#497
jmikedupont2 wants to merge 576 commits intoWikiTeam:masterfrom
meta-introspector:nix-flake-support

Conversation

@jmikedupont2
Copy link

adding nix support

elsiehupp and others added 30 commits August 1, 2023 01:22
…t/pip/requests-2.31.0

build(deps): bump requests from 2.27.1 to 2.31.0
strip and unquote url
Convert domain to IDNA
Remove port `:80` and `:443` if `http://` and `https://` respectively
remove last slash if exists
truncate to last slash
remove "/any.php" suffix (`r"(/[^/]+\.php)"`)
remove ~ tilde
sulgify the url path if `ascii_slugify` is True
replace port(`:`) with underscore(`_`)
lower case
pre-bump 4.0.0
WIP: deprecate launcher
WIP: refactor uploader
WIP: rename function names from camelCase to snake_case
WIP: default args
WIP: feat: `--noverify-image-size`
WIP: enable `--xmlrevisions --curonly` support
TODO: feat: save `Special:Log` wiki page
break change: image: change the magic NULL string from `False` to `null`
chore: remove deprecated alias for xml.etree.ElementTree
TODO: feat: cli: add an option to disable random UserAgent
TODO: feat: Incremental image dump powered by archive.org (experimental)
WIP: feat: add option to dump recent images only (with a custom cut-off date)
Reasons:
* if the limit is float and between 0 to 1, the MW backend will force-int it to 0
* To loop over all the revisions, we need to retrieve at least 2 at a time
* If the historical revisions cannot be retrieved even with limit=2, it should fail at this time so that the user can try to use --curonly .
<element name="parentid" type="positiveInteger" minOccurs="0" maxOccurs="1"/>
The last titlelist may not be yielded
deprecate: `.desc` xmlfile support
feat: cli: `--disable-image-verify`
pre-bump: version 4.0.0
feat: cli: add  `--user-agent` to custom UA
feat: `--ia-wbm-booster`
feat: write .mark file after dumped
refactor: SessionMonkeyPatch
feat: image: dynamic load config.delay
yzqzss and others added 30 commits April 27, 2025 17:00
check both HTTP and HTTPS when searching IA for wiki dumps
hackint switched from KiwiIRC (webirc.hackint.org) to using The Lounge
(chat.hackint.org). Thus URLs need to be adapted to the new format to be
able to predefine channels to join.
* fix: Incomplete redirect dump

* del arcontinue

---------

Co-authored-by: yzqzss <[email protected]>
* Add --http-method

* refactor

---------

Co-authored-by: yzqzss <[email protected]>
- Add flake.nix with proper Python packaging
- Add GitHub Actions CI for Nix builds
- Enable reproducible, content-addressed archives
- Support binary cache distribution

Tested locally with 'nix flake check' - all checks pass.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants