Make great documentation goal 1.2, and plan the README's reorganisation and the nested-template gaps #33
@@ -9,8 +9,6 @@ on:
|
||||
secrets:
|
||||
TAP_GITHUB_TOKEN:
|
||||
required: true
|
||||
AUR_KEY:
|
||||
required: true
|
||||
PACKAGES_GPG_KEY:
|
||||
required: true
|
||||
PACKAGES_RSA_KEY:
|
||||
@@ -68,7 +66,7 @@ jobs:
|
||||
if [ "$latest" = "$TAG" ]; then
|
||||
echo "latest=true" >> "$GITHUB_OUTPUT"
|
||||
else
|
||||
echo "skip=--skip=homebrew,scoop,aur" >> "$GITHUB_OUTPUT"
|
||||
echo "skip=--skip=homebrew,scoop" >> "$GITHUB_OUTPUT"
|
||||
echo "OLDER_TAG=1" >> "$GITHUB_ENV"
|
||||
fi
|
||||
- uses: docker/setup-buildx-action@v4
|
||||
@@ -85,7 +83,6 @@ jobs:
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
|
||||
AUR_KEY: ${{ secrets.AUR_KEY }}
|
||||
- name: The built binary and the published image print the tag
|
||||
env:
|
||||
TAG: ${{ inputs.tag }}
|
||||
|
||||
@@ -97,6 +97,5 @@ jobs:
|
||||
tag: ${{ needs.release.outputs.tag }}
|
||||
secrets:
|
||||
TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }}
|
||||
AUR_KEY: ${{ secrets.AUR_KEY }}
|
||||
PACKAGES_GPG_KEY: ${{ secrets.PACKAGES_GPG_KEY }}
|
||||
PACKAGES_RSA_KEY: ${{ secrets.PACKAGES_RSA_KEY }}
|
||||
|
||||
+1
-1
@@ -9,7 +9,7 @@ replacement, and each removed path, column or flag.
|
||||
### Added
|
||||
|
||||
- Prebuilt binaries for Linux, macOS and Windows on amd64 and arm64, packages for apt,
|
||||
dnf, apk, Homebrew, Scoop and the AUR, and the image `ghcr.io/larvit/fejkdata`, so
|
||||
dnf, apk, Homebrew and Scoop, and the image `ghcr.io/larvit/fejkdata`, so
|
||||
the CLI installs without Go. 0.1.0 ships them too; the README's
|
||||
[Install](https://github.com/larvit/fejkdata#install) lists each command.
|
||||
|
||||
|
||||
@@ -38,7 +38,6 @@ echo '{/sv_SE.person}' | fejkdata # Sara Eriksson
|
||||
```sh
|
||||
brew install larvit/tap/fejkdata # macOS, Linux
|
||||
scoop bucket add larvit https://github.com/larvit/scoop-bucket && scoop install fejkdata # Windows
|
||||
yay -S fejkdata-bin # Arch, from the AUR
|
||||
docker run --rm -i ghcr.io/larvit/fejkdata < template.json # any OS with Docker
|
||||
go install github.com/larvit/fejkdata/cmd/fejkdata@latest # any OS with Go
|
||||
```
|
||||
@@ -1278,11 +1277,10 @@ To release, head `CHANGELOG.md` with the version's section in place of `Unreleas
|
||||
and merge: once `main` passes the gate, CI tags that commit `vX.Y.Z` and publishes
|
||||
the GitHub release with the section as its body. A top heading of `[Unreleased]`
|
||||
publishes nothing. CI then runs the Packages workflow on the new tag, which attaches the
|
||||
binaries and packages, pushes the image, updates the Homebrew tap, the Scoop bucket and
|
||||
the AUR, and deploys the apt, dnf and apk repositories to GitHub Pages. The workflow reads
|
||||
binaries and packages, pushes the image, updates the Homebrew tap and the Scoop bucket,
|
||||
and deploys the apt, dnf and apk repositories to GitHub Pages. The workflow reads
|
||||
these repository secrets:
|
||||
|
||||
- `AUR_KEY`: the AUR account's SSH key.
|
||||
- `PACKAGES_GPG_KEY`, `PACKAGES_RSA_KEY`: the private keys that sign the repositories.
|
||||
- `TAP_GITHUB_TOKEN`: a token that can push to `larvit/homebrew-tap` and
|
||||
`larvit/scoop-bucket`.
|
||||
@@ -1290,7 +1288,7 @@ these repository secrets:
|
||||
The image's GHCR package must be public, and Pages must deploy from GitHub Actions. To
|
||||
package a release again,
|
||||
run the workflow by hand with its tag; it replaces what it uploaded before. For a tag older
|
||||
than the latest release it leaves the tap, the bucket, the AUR, the image's `latest` and
|
||||
than the latest release it leaves the tap, the bucket, the image's `latest` and
|
||||
the repositories alone, since each holds one version.
|
||||
|
||||
## License
|
||||
|
||||
@@ -42,7 +42,7 @@ nfpms:
|
||||
- package_name: fejkdata
|
||||
vendor: Larvit
|
||||
homepage: &homepage https://github.com/larvit/fejkdata
|
||||
maintainer: &maintainer Lilleman auf Larv <lilleman@larvit.se>
|
||||
maintainer: Lilleman auf Larv <lilleman@larvit.se>
|
||||
description: &description Render locale-aware fake data from JSON templates
|
||||
license: &license MIT
|
||||
formats: [deb, rpm, apk]
|
||||
@@ -90,16 +90,3 @@ scoops:
|
||||
owner: larvit
|
||||
name: scoop-bucket
|
||||
token: "{{ .Env.TAP_GITHUB_TOKEN }}"
|
||||
|
||||
aurs:
|
||||
- name: fejkdata-bin
|
||||
homepage: *homepage
|
||||
description: *description
|
||||
license: *license
|
||||
maintainers:
|
||||
- *maintainer
|
||||
private_key: "{{ .Env.AUR_KEY }}"
|
||||
git_url: ssh://aur@aur.archlinux.org/fejkdata-bin.git
|
||||
commit_author:
|
||||
name: Lilleman auf Larv
|
||||
email: lilleman@larvit.se
|
||||
|
||||
@@ -6,7 +6,7 @@ FROM goreleaser/goreleaser:v2.18.3 AS snapshot
|
||||
WORKDIR /w/src
|
||||
COPY . .
|
||||
RUN git init -q && git add -A && git -c user.name=snapshot -c user.email=snapshot@example.invalid commit -qm snapshot \
|
||||
&& goreleaser release --snapshot --clean --skip=publish,docker,homebrew,scoop,aur \
|
||||
&& goreleaser release --snapshot --clean --skip=publish,docker,homebrew,scoop \
|
||||
--config release-tooling/goreleaser.yaml
|
||||
|
||||
FROM scratch AS packages
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
`Bar = 9`
|
||||
|
||||
`Next ID = 252`
|
||||
`Next ID = 253`
|
||||
|
||||
| Goal | W |
|
||||
|---|---|
|
||||
@@ -161,6 +161,7 @@
|
||||
| 158 | 0.2.0 | | **Drop a UTF-8 byte order mark that starts stdin, and say in the README how to stop PowerShell 5.1 sending `Göteborg` as `G?teborg`.** | 2 | 2 | 4 | 5 | 7.2, 5.1 | 13.5 |
|
||||
| 226 | 0.2.0 | | **Show in the README how to make a column unique, such as an email's local part carrying `{seq()}`.** | 1 | 2 | 4 | 4 | 4 | 13.3 |
|
||||
| 166 | 0.2.0 | | **Let a key or name cell hold a bracket, a brace, a double quote or a pipe, so the table loads, its row draws at random, and only a selector cannot reach it.** | 2 | 2 | 3 | 6 | 5.7 | 13.1 |
|
||||
| 252 | 0.2.0 | | **Publish `fejkdata-bin` to the AUR from the Packages workflow, so Arch installs with `yay -S fejkdata-bin`.** | 1 | 1 | 3 | 4 | 1.1 | 12.8 |
|
||||
| 171 | 0.2.0 | | **Handle a template that only reads one record column in one place, so `checkColumns`, `itemDatatype`, `proveColumnItem` and `renderLeaf` no longer each special-case `readsColumn`.** | 3 | 3 | 2 | 7 | 3, 3.2 | 12.8 |
|
||||
| 27 | 0.2.0 | | **Merge `en_US.ip` and `sv_SE.ip`, today byte-identical, into one `misc.ip`.** | 3 | 2 | 4 | 6 | 8 | 12.3 |
|
||||
| 216 | 0.2.0 | | **Share between countries what `geo-se.py` and `data_test.go` hard-code for SE, in the first locale chunk that needs each.** | 2 | 2 | 2 | 6 | 3.2 | 12.3 |
|
||||
@@ -610,6 +611,10 @@ A file a Windows editor saves with a BOM prints an invisible U+FEFF first, and a
|
||||
|
||||
The maintainer ruled so on 2026-10-09. Today `checkSelectorCells` in `internal/rows` refuses the whole table. Afterwards a path naming such a key fails with an error naming the character a selector cannot spell, and the README says a row whose name holds such a character is still selected by its key.
|
||||
|
||||
### 252. Publish `fejkdata-bin` to the AUR from the Packages workflow, so Arch installs with `yay -S fejkdata-bin`.
|
||||
|
||||
The AUR closed new account registration on 2026-10-14, so 0.1.0's packaging shipped without it. Once an account exists, restore what that chunk dropped: the `aurs` block in `release-tooling/goreleaser.yaml` (`git show 285ed85:release-tooling/goreleaser.yaml`), `aur` in both `--skip` lists, the `AUR_KEY` secret in both workflows, and the README's Install line and secret bullet.
|
||||
|
||||
### 171. Handle a template that only reads one record column in one place, so `checkColumns`, `itemDatatype`, `proveColumnItem` and `renderLeaf` no longer each special-case `readsColumn`.
|
||||
|
||||
Eleven seats of the 2026-10-09 panel named the "change them together" in `readsColumn`'s comment (`node.go`) as action at a distance across `datatype.go`, `valueproof.go` and `render.go`.
|
||||
|
||||
Reference in New Issue
Block a user