summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* tests: fuzz a fixed count (1000x), not a 1s wall-clock budgetHEADmainEuAndreh9 days1-2/+2
| | | | | | | | | | | -fuzztime=1s is a wall-clock deadline; under parallel-build load the fuzzer's setup (worker spawn + baseline coverage) can overrun it and the run fails with "context deadline exceeded" --- a flake unrelated to the code. A count budget (1000x) has no wall-clock deadline: it always runs the seeds + 1000 iterations regardless of load, just slower when busy. Renamed FUZZSEC -> FUZZTIME since it is no longer seconds. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* tests/remembering.go: Pin getopt(3) positional parsingEuAndreh9 days1-0/+10
| | | | | | | | The first operand ends the options, with or without "--": a wrapped command's option-looking argv tokens are never rewritten. Comes from gobang's ExpandBundles turning positional. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* Accept getopts-style attached -pPROFILE againEuAndreh9 days4-6/+33
| | | | | | | | | | | | Via gobang.ExpandBundles("p:", argv), now that it understands optstring value flags: -pp1 expands to -p p1 before stdlib flag parsing, and nothing after "--" is expanded, so the wrapped command's own argv passes through byte-for-byte. signals.sh goes back to its original attached-form invocations, which now double as the compat test. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* Rewrite remembering in GoEuAndreh9 days83-9089/+1669
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The shell pipeline (sed | sort | tee | awk | sort | cut | "$@" plus the cut | uniq | awk profile rewrite) becomes a single static binary with the same observable behaviour, pinned by the original ranking.sh, signals.sh and cli-opts.sh suites, now aimed at remembering.bin: - the profile keeps the exact on-disk format, COUNT profile TEXT, byte-sorted with new picks appended at 1 and offered-but-never- picked entries persisted at 0; - the menu stays count-descending with byte-order ties, stdin alone defines what is offered, and duplicate profile lines sum for ranking but collapse to the highest count on rewrite, as sort | uniq -f1 did; - the wrapped command's exit status is forwarded as-is (128+sig for signal deaths), its stderr passes through, and an empty pick learns nothing; - the profile rewrite stays atomic via .tmp plus rename. Per the house CLI conventions, -h/-V/--help/--version are gone (the manpage is the documentation; bad options print the usage on stderr and exit 2), and getopts-style attached option arguments (-pNAME) are not accepted any more --- no script in the wild used them. The project layout follows rot: raw go tool compile/link Makefile, mkdeps.sh-generated deps.mk, white-box unit suite, fuzz target over the profile parse/serialize roundtrip, functional pick roundtrip, a 1M-line ranking benchmark, and a single English asciidoc manpage absorbing the old .5 page; the po4a/aux release machinery goes away. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* rm .tdrc COPYINGEuAndreh2025-03-202-662/+0
|
* rm -rf aux/ci/EuAndreh2025-03-103-448/+0
|
* tests/lib.sh: Remove utils from eutEuAndreh2024-11-081-22/+0
|
* re 's/TLD/DOMAIN/g'EuAndreh2023-04-0316-35/+35
|
* TODOs.md: Embed contents of "FIXME" fileEuAndreh2023-04-033-1/+2
|
* aux/checks/repo.sh: WIP Fix testsEuAndreh2023-04-028-87/+126
| | | | | | | | | Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 22a7b4f0c8e018077984d58476a0c419b5e11942 git notes --ref=refs/notes/ci-data show 22a7b4f0c8e018077984d58476a0c419b5e11942 Exit status: 2 Duration: 7
* aux/dev.mk: make in parallel over for loopEuAndreh2023-04-021-1/+1
|
* Makefile: Unify calls to aux/dev.mkEuAndreh2023-04-023-10/+11
|
* aux/checks/spelling.sh: Do not echoEuAndreh2023-04-021-1/+1
|
* Generate .en.md symlinks in aux/dev.mkEuAndreh2023-04-028-1157/+1157
|
* mv po4a.cfg po/EuAndreh2023-04-023-3/+3
|
* aux/ci/git-post-receive.sh: Do not allow CI report to failEuAndreh2023-04-011-1/+1
| | | | | | | | | Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show e114e11d82d9287d2058ea8bd684199abd00be68 git notes --ref=refs/notes/ci-data show e114e11d82d9287d2058ea8bd684199abd00be68 Exit status: 2 Duration: 46
* Revamp code under aux/EuAndreh2023-04-0165-5952/+6409
|
* Revamp CI: simpler variant of the same functionalityEuAndreh2023-04-0113-228/+441
| | | | | | | | | Notes: See CI logs with: git notes --ref=refs/notes/ci-logs show 1a3208d43f837768e18219ca4e79fe31bf748865 git notes --ref=refs/notes/ci-data show 1a3208d43f837768e18219ca4e79fe31bf748865 Exit status: 2 Duration: 4
* aux/lib.sh: Add generic assert_arg()EuAndreh2023-04-011-3/+9
|
* Update po/ with newer stringsEuAndreh2023-04-016-336/+759
|
* tests/ranking.sh: Pick last value to prevent broken pipesEuAndreh2023-03-311-5/+6
|
* tests/ranking.sh: Uncomment "$ERR" outputEuAndreh2023-03-311-1/+1
|
* Unmark "lib.sh" files as executablesEuAndreh2023-03-312-0/+0
|
* Do not depend on m4 for anythingEuAndreh2023-03-314-60/+54
|
* Release v0.3.0v0.3.0EuAndreh2023-03-222-2/+57
|
* aux/workflow/dist.sh: Update Git push optionsEuAndreh2023-03-221-4/+4
|
* aux/workflow/dist.sh: Use authoring date over commit dateEuAndreh2023-03-221-1/+1
|
* aux/workflow/dist.sh: Do not build before doing distEuAndreh2023-03-221-1/+1
|
* Refactor: rewrite logic to make it simpler and fasterEuAndreh2022-11-254-128/+163
|
* src/remembering.in: Use indented heredoc for usage() and help()EuAndreh2022-11-081-9/+14
|
* src/remembering.in: Remove hyphen between name and versionEuAndreh2022-11-082-2/+2
| | | | | | Also use the @NAME@ placeholder over the hard-coded "remembering" value. Update tests/clip-opts.sh to match.
* .tdrc: InitEuAndreh2022-11-081-0/+1
|
* Makefile: Remove rules for C filesEuAndreh2022-11-083-161/+3
|
* doc/: Add new manpages as empty filesEuAndreh2022-11-0817-0/+0
|
* src/: Remove C filesEuAndreh2022-11-087-577/+0
|
* TODOs.md: Add #td-80513275-dbb4-adfd-b029-7403cd5fb7d3EuAndreh2021-10-031-0/+7
|
* src/remembering.in: Add trailing "/remembering" to the value defined in ↵EuAndreh2021-09-0814-30/+118
| | | | $XDG_DATA_HOME
* Makefile: Indent object file dependencyEuAndreh2021-09-061-1/+1
|
* Makefile: Generate src/config.h from src/config.h.inEuAndreh2021-09-052-12/+14
|
* src/remembering.c: Stick (mostly) to 80 columnsEuAndreh2021-09-021-7/+13
|
* aux/80-columns.sh: Add fileEuAndreh2021-09-021-0/+12
|
* po/LC_MESSAGES/{README,CHANGELOG}.en.md/: Add untranslate message filesEuAndreh2021-09-026-0/+1179
|
* aux/workflow/repocheck.sh: Add fileEuAndreh2021-09-021-0/+184
|
* doc/remembering.{pt,fr,eo}.{1,5}.in: Fix link to translated homepageEuAndreh2021-09-0214-38/+38
|
* README.md: Fix formatting of expected contentEuAndreh2021-09-021-7/+10
|
* src/remembering.c: prevent free() of unitialized valueEuAndreh2021-09-021-1/+1
|
* doc/manpages.sh: Stick to 80 columnsEuAndreh2021-09-021-2/+4
|
* aux/guix/manifest.scm: Update i18n dependenciesEuAndreh2021-09-022-6/+11
|
* README.md: Add links to missing development toolsEuAndreh2021-09-021-4/+8
|
* README.md: Simplify installation instructionEuAndreh2021-09-021-8/+12
|