txa 1.3.1__tar.gz → 1.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {txa-1.3.1 → txa-1.3.2}/PKG-INFO +1 -1
- {txa-1.3.1 → txa-1.3.2}/src/txa/__init__.py +1 -1
- {txa-1.3.1 → txa-1.3.2}/src/txa/ci/agreement.py +2 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/create/winget.py +13 -2
- {txa-1.3.1 → txa-1.3.2}/src/txa.egg-info/PKG-INFO +1 -1
- {txa-1.3.1 → txa-1.3.2}/README.md +0 -0
- {txa-1.3.1 → txa-1.3.2}/pyproject.toml +0 -0
- {txa-1.3.1 → txa-1.3.2}/setup.cfg +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/ci/__init__.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/ci/api.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/ci/checks.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/ci/cli.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/ci/context.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/ci/gate.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/ci/pending.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/ci/progress.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/ci/report.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/ci/steps.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/cli.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/constants.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/__init__.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/config.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/console.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/credentials.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/engines.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/github.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/i18n.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/licenses.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/manifest.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/net.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/pe.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/portable.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/semver.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/signing.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/userpath.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/core/winos.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/create/__init__.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/create/cli.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/create/draft.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/create/ghmeta.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/create/submit.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/create/wizard.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/pm/__init__.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/pm/cli.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/pm/installer.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/pm/source.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/pm/uninstall.py +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/schemas/about.schema.json +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/schemas/build.schema.json +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa/schemas/core.schema.json +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa.egg-info/SOURCES.txt +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa.egg-info/dependency_links.txt +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa.egg-info/entry_points.txt +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa.egg-info/requires.txt +0 -0
- {txa-1.3.1 → txa-1.3.2}/src/txa.egg-info/top_level.txt +0 -0
{txa-1.3.1 → txa-1.3.2}/PKG-INFO
RENAMED
|
@@ -174,6 +174,8 @@ def process(gh: GitHub, repo: str, number: int, comment_id: int | None = None) -
|
|
|
174
174
|
if not is_new_pkg and not has_agreed:
|
|
175
175
|
if pr.get("author_association") in EXEMPT:
|
|
176
176
|
has_agreed, how = True, "maintainer, exempt"
|
|
177
|
+
elif pr["user"].get("type") == "Bot":
|
|
178
|
+
has_agreed, how = True, "automation" # the scheduled auto-update opens its pull requests as the bot
|
|
177
179
|
elif _returning(gh, repo, author):
|
|
178
180
|
has_agreed, how = True, "agreed on an earlier pull request"
|
|
179
181
|
|
|
@@ -661,7 +661,7 @@ def convert_winget_to_draft(data: dict[str, Any], namespace: str = "TXAVL", over
|
|
|
661
661
|
arch=arch,
|
|
662
662
|
engine=engine,
|
|
663
663
|
sha256=sha,
|
|
664
|
-
size=
|
|
664
|
+
size=_real_size(url),
|
|
665
665
|
payload=Path(""),
|
|
666
666
|
switches=switches,
|
|
667
667
|
portable=portable_dict,
|
|
@@ -715,11 +715,22 @@ def save_draft_manifests(draft, root_dir, dry_run: bool = False):
|
|
|
715
715
|
return target_dir
|
|
716
716
|
|
|
717
717
|
|
|
718
|
+
def _real_size(url: str) -> int:
|
|
719
|
+
"""The installer's real byte size (the validator compares it with what the server reports); 1 only if the server hides it."""
|
|
720
|
+
try:
|
|
721
|
+
length = net.probe(net.session(), url).length
|
|
722
|
+
except Exception: # noqa: BLE001 - an unreachable server must not stop the sync
|
|
723
|
+
length = None
|
|
724
|
+
return length or 1
|
|
725
|
+
|
|
726
|
+
|
|
718
727
|
# Hand-written / non-WinGet packages that must NEVER be overwritten by automatic WinGet sync
|
|
719
728
|
_HANDWRITTEN_APPS = {
|
|
720
729
|
"CanhCutTeamLauncher",
|
|
721
730
|
"TXAWinSetup",
|
|
722
731
|
"Warframe",
|
|
732
|
+
"MSYS2", # the only "MSYS2" id upstream belongs to an emulator build, not the MSYS2 project
|
|
733
|
+
"UniKey", # repackaged with install/uninstall scripts
|
|
723
734
|
}
|
|
724
735
|
|
|
725
736
|
# Deterministic mapping from TXAVL AppName -> exact WinGet PackageIdentifier
|
|
@@ -881,7 +892,7 @@ def sync_txavl_packages(
|
|
|
881
892
|
arch=arch,
|
|
882
893
|
engine="inno",
|
|
883
894
|
sha256=dl.sha256,
|
|
884
|
-
size=
|
|
895
|
+
size=dl.bytes or _real_size(url),
|
|
885
896
|
payload=Path(""),
|
|
886
897
|
switches=dict(DEFAULT_SWITCHES["inno"]),
|
|
887
898
|
portable={},
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|