Skip to content

docs: fix accidental dead link in #1780#1786

Merged
port19x merged 1 commit into
pystardust:masterfrom
ChromiumOS-Guy:patch-2
Jul 14, 2026
Merged

docs: fix accidental dead link in #1780#1786
port19x merged 1 commit into
pystardust:masterfrom
ChromiumOS-Guy:patch-2

Conversation

@ChromiumOS-Guy

Copy link
Copy Markdown
Contributor

one of the links did in fact not work, I have not idea what added a markdown syntax to the href line but something did, so this fixes it. unfortunatly caught it seconds after the merge: #1780 (comment)

@ChromiumOS-Guy

Copy link
Copy Markdown
Contributor Author

again sorry for this.

@port19x

port19x commented Jul 14, 2026

Copy link
Copy Markdown
Collaborator

whoops, thank you

@port19x port19x changed the title docs: fix artifiact that was not caught in PR #1780 docs: fix accidental dead link in #1780 Jul 14, 2026
@port19x
port19x merged commit 326b179 into pystardust:master Jul 14, 2026
7 checks passed
JoaoPucci added a commit to JoaoPucci/ani-gui that referenced this pull request Jul 21, 2026
* docs: add ubuntu touch installation instructions (pystardust#1780)

* feat: keep ongoing anime selectable in -c and integrate nextep countdown (pystardust#1707)

Co-authored-by: port19 <port19@port19.xyz>

* fix: fixed regex for status and countdown times (pystardust#1717)

Co-authored-by: port19 <port19@port19.xyz>

* docs: fix accidental dead link in pystardust#1780 (pystardust#1786)

* fix: escape sed special chars in update_history to handle & in titles (pystardust#1619)

Co-authored-by: port19 <port19@port19.xyz>

* feat: added year aired to results view (pystardust#1784)

Co-authored-by: port19 <port19@port19.xyz>

* feat: add Homebrew formula for easier installation on macOS (pystardust#1782)

Signed-off-by: botantony <antonsm21@gmail.com>

* test(red): cover the year suffix ani-cli 4.14.5 appends to titles

Upstream search results changed from "Title (N episodes)" to
"Title (N episodes) (YYYY)", and update_history stores that display
title verbatim in ani-hsts. The history resolver's episode-tail
regex is end-anchored and the search-line parser assumes the episode
count is the last parenthetical, so both miss the new shape.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(green): tolerate the year suffix ani-cli 4.14.5 appends to titles

The history resolver's episode-tail regex now accepts an optional
trailing all-digit parenthetical after "(N episodes)" and strips
both, so courSize extraction, search-title stripping, and title
plausibility checks keep working on rows the new ani-cli writes.
The search-line parser peels the year group off before locating the
episode count. Old-format rows parse unchanged on both paths.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* test: model ani-cli 4.14.5 output in allanime fixtures and bats suites

The search fixture gains the airedStart field the new search
selection requests — without it the 4.14.5 result sed matches
nothing, which broke the acceptance suite and the Rust progress-line
drift detector against the real script. Expectations move to the
"(N episodes) (YYYY)" format, process_hist_entry's new up-to-date
line and year-preserving count refresh are covered, and
update_history gets a case locking in the upstream sed-escape fix
for ampersands in titles.

All updated behaviors were verified by sourcing the merged script
directly, since bats' pass/fail signal for lib-sourcing tests is
currently unreliable (see the follow-up on source_ani_cli_lib
disabling errexit and the ERR trap).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* test(red): search results without an airedStart year must survive

allmanga returns airedStart: null for older and stub rows (the GUI
scraper models exactly that as None), and ani-cli 4.14.5's result
sed silently drops such rows. The GUI chooses a candidate from its
own full scraper list and passes a 1-based -S index into ani-cli,
so a dropped row makes that show unplayable and shifts every later
index onto the wrong anime. The fixture gains a no-year stub edge
that must come through in the pre-4.14.5 shape.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(green): keep no-year allanime rows in ani-cli search results

Adds a fallback sed expression to the vendored script's search_anime
that emits rows without an airedStart year in the pre-4.14.5 shape
(no year suffix) instead of dropping them; a t branch keeps
year-carrying rows on the upstream format. This preserves 1:1 index
parity with the GUI's native scraper list, which the play path
relies on when passing -S. Second intentional divergence from
upstream, alongside the __ANI_CLI_LIB__ source guard.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* test(red): search rows with escaped quotes in the title must survive

ani-cli 4.14.5 tightened the name capture from the old greedy form
to a no-quotes character class, so a title containing an escaped
double quote stops the match and the row is dropped before the
final unescape sed runs — shifting the GUI's -S index like the
no-year drop did. The fixture gains a quoted-title edge that must
come through unescaped.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(green): restore the greedy title capture in search_anime

Both result expressions capture the name with the greedy (.+)
upstream used before 4.14.5 instead of [^\"]*, so titles containing
escaped quotes match again and stay in the list; the trailing sed
strips the escapes from the display form as it always has. Greedy
backtracking still lands on the closing quote-comma boundary because
every other field in the record is numeric.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* test(red): failed episode lookups must not emit an up-to-date row

ani-cli 4.14.5's process_hist_entry falls through to the
"(up to date)" line whenever the next-episode lookup is empty —
including when episodes_list returned nothing (transient failure;
the row then carries a blank latest episode and a corrupted count)
or no longer contains the saved episode (the shown latest is
unrelated to what the user watched). Both cases must print nothing.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

* fix(green): only mark history entries up to date on a real lookup

process_hist_entry remembers the saved episode before the
next-episode lookup overwrites it, and the up-to-date fallback now
requires a non-empty episode list that actually contains that
episode. Transient episodes_list failures and stale saved episodes
print nothing instead of a selectable row with a blank or unrelated
latest episode. Third fork patch on the vendored script, marked
inline like the others.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

---------

Signed-off-by: botantony <antonsm21@gmail.com>
Co-authored-by: ChromiumOS-Guy <57168079+ChromiumOS-Guy@users.noreply.github.com>
Co-authored-by: Sumon Sourabh Ghosh <88110131+sghoshm@users.noreply.github.com>
Co-authored-by: port19 <port19@port19.xyz>
Co-authored-by: beatle <118904398+buggedbeatle998@users.noreply.github.com>
Co-authored-by: Sascha Buehrle <47737812+saschabuehrle@users.noreply.github.com>
Co-authored-by: Aaron Campbell <aaron@keydesign.com>
Co-authored-by: Anton Melnikov <antonsm21@gmail.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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.

2 participants