mirror of
https://github.com/kuhyx/utils.git
synced 2026-11-24 23:06:29 +01:00
Compare commits
No commits in common. "dccfe14ae96e1c51c6636ae13976d9d0e5cac376" and "decf5824e609b099f9455be93c4d09b4c1fd6cae" have entirely different histories.
dccfe14ae9
...
decf5824e6
@ -208,7 +208,7 @@ ALLOWLIST_MAX_DAYS: Final = 90
|
||||
TRANSITIVE_PREFIX: Final = "transitive:"
|
||||
# A fork's predicate: the entry holds only while the upstream repository's own
|
||||
# copy of the same manifest pins the same version, and dies the day upstream
|
||||
# bumps. A fork that cannot take a release (e.g. a 300-file accessor rewrite
|
||||
# that breaks every future upstream string) before its upstream does.
|
||||
# bumps. TachiyomiSY cannot take moko-resources 0.27.0 (a 300-file accessor
|
||||
# rewrite that breaks every future upstream string) before jobobby04 does.
|
||||
UPSTREAM_PREFIX: Final = "upstream:"
|
||||
GITHUB_RAW: Final = "https://raw.githubusercontent.com/{repo}/HEAD/{path}"
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
The version catalog is the one place a Gradle build should declare versions,
|
||||
which makes it a manifest the gate can read without evaluating Kotlin DSL.
|
||||
A build may have several (`settings.gradle.kts` can `from(files(...))` any
|
||||
`*.versions.toml`; a large app can have several), so the suffix is what is matched.
|
||||
`*.versions.toml`; TachiyomiSY has three), so the suffix is what is matched.
|
||||
Three shapes appear in `[libraries]` and `[plugins]`:
|
||||
|
||||
foo = "group:artifact:1.2.3" # inline string
|
||||
@ -12,7 +12,7 @@ Three shapes appear in `[libraries]` and `[plugins]`:
|
||||
plug = { id = "com.example.plugin", version.ref = "x" }
|
||||
|
||||
A library with no version is managed by a BOM (`junit-platform-launcher`
|
||||
in a typical app) and is skipped: the BOM's own entry is the pin that counts.
|
||||
in TachiyomiSY) and is skipped: the BOM's own entry is the pin that counts.
|
||||
A rich version table (`{ strictly = "1.2" }`) is read as the constraint it
|
||||
spells and lands as unpinned when it is a range, like every other ecosystem.
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
"""JitPack artifacts pinned to a commit: "newest" is the default branch's HEAD.
|
||||
|
||||
Some Android builds depend on `com.github.<owner>:<repo>` at a
|
||||
Seven of TachiyomiSY's dependencies are `com.github.<owner>:<repo>` at a
|
||||
short hash. No registry lists a "latest" for those, and a hash is not a
|
||||
version, so the gate's question becomes the only one a commit pin admits:
|
||||
is the pinned commit still what the source repository's default branch
|
||||
|
||||
@ -1,8 +1,8 @@
|
||||
"""The `upstream:` predicate: does the fork's upstream still pin this version?
|
||||
|
||||
A fork cannot always take a release before the project it tracks does --
|
||||
a library that rewrites every string accessor across 300 files of the fork
|
||||
would break each future upstream commit that adds a string.
|
||||
moko-resources 0.27.0 rewrites every string accessor across 300 files of
|
||||
TachiyomiSY and would break each future upstream commit that adds a string.
|
||||
"Wait for upstream" is the honest reason, and it is checkable: fetch the
|
||||
upstream repository's copy of the SAME manifest, parse it with the same
|
||||
parser, and compare the pin. Equal means the entry holds; different means
|
||||
|
||||
@ -101,7 +101,7 @@ what remains instead.
|
||||
| 01-motion-tokens.md | DONE 2026-08-22 | `f741896` | `motion.md` frozen; `AppDuration`/`AppCurve` + `--duration-*`/`--ease-*` shipped. Tags: `design_system-v0.2.0`, `web_ui-v0.3.2`. |
|
||||
| 02-structural-check.md | not started | — | — |
|
||||
| 03-diet-guard.md | not started | — | — |
|
||||
| 04-screen-locker.md | DONE 2026-11-01 | `89c65bd` | Status window `_section_streak` + week-transition reward text (kept in `extra_benefits_state.json`); the dead 09:00 early-bird claim is not shown. Per kuhy: no daily-streak state, no shutdown time, no freezes. Commit is on a worktree branch, unpushed. |
|
||||
| 04-screen-locker.md | not started | — | — |
|
||||
| 05-workout-app.md | not started | — | — |
|
||||
| 06-todo.md | not started | — | — |
|
||||
| 07-dufs-theme.md | not started | — | — |
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
|
||||
The shared tables in :mod:`file_length._tables` hold exemptions that are true
|
||||
everywhere (generated, vendored, wordlists). A fork of a third-party project
|
||||
can also carry data that is code only by extension -- e.g. a fork's
|
||||
can also carry data that is code only by extension -- TachiyomiSY's
|
||||
``exh/eh/tags/*.kt`` are 6000-line string tables that upstream regenerates --
|
||||
and that knowledge belongs next to the data, in the repo, not in a shared
|
||||
list every other repo loads.
|
||||
@ -60,7 +60,7 @@ def glob_to_regex(pattern: str) -> re.Pattern[str]:
|
||||
`**` spans directories, `*` and `?` stop at a slash. Hand-rolled rather
|
||||
than `PurePath.full_match` because that needs Python 3.13 and the gate
|
||||
runs on whatever `python3` a CI runner ships (3.12 broke it in the
|
||||
a fork's first CI run).
|
||||
TachiyomiSY fork's first CI run).
|
||||
"""
|
||||
out: list[str] = []
|
||||
i = 0
|
||||
|
||||
Loading…
Reference in New Issue
Block a user