PLAN.md and TEST.md: the Market import filled in from websites
Where things stand records how the import fills entries in and what it skips; TEST.md gets checks for the "-url:" list and a run stopped by a restart. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -29,7 +29,7 @@ running a Federated Core can install as a CoreDesktop sibling.
|
||||
| Teams and domains | A person can belong to several teams; each team works on **one website domain** (with its subdomains) (2026-11-25) |
|
||||
| Hosting (multi-tenant) | On a cloud, with **Garage** as the object storage we install, and the cloud's managed Postgres (2026-11-25) |
|
||||
|
||||
## Where things stand (2026-11-30)
|
||||
## Where things stand (2026-12-01)
|
||||
|
||||
**Every phase is built, 0–14**, Phase 12's part 5 (roles from the Core's
|
||||
groups) included, and all of it is merged into `main` and pushed (the user
|
||||
@@ -76,6 +76,24 @@ Stripe data:
|
||||
- The live data shows yearly Federated - Good renewals at $700 since July
|
||||
2026 (it was $70, then $190 from March): for the user to confirm.
|
||||
|
||||
**Market: importing a list filled in from the websites (2026-12-01).**
|
||||
Market → Import takes a list of just websites and relationships (`url:`,
|
||||
`website:`, or a bare address as the item; `Entry.UnmarshalYAML`) with
|
||||
*Fill in the empty boxes from each website* ticked. `inventory.FillImport`
|
||||
runs `Fill` on each, three sites at a time and up to 4 minutes each, and
|
||||
saves straight into the Market (the user's choice, over drafts to review).
|
||||
Entries already there, by name or website (`siteKey`: host without
|
||||
`www.`, and path), and entries listed twice are skipped before their site
|
||||
is read; a name found only by filling in is checked again before saving.
|
||||
An entry with no name after filling isn't saved; one with a name whose
|
||||
fill failed partway is saved, noted "only partly filled in". The plan's
|
||||
limit on entries (`limitSources`) is kept, which the plain import still
|
||||
doesn't do. It runs in the background under the lock `market-fill` (one
|
||||
list at a time per team); its progress is the setting `market:fill`,
|
||||
polled by the page (`/market/import/status`), and a run left "running"
|
||||
with its lock free shows as stopped with the app. A hand-typed `-url:`
|
||||
(no space after the dash) is read as `- url:`.
|
||||
|
||||
**Next: testing by hand with TEST.md**, in three passes: local, then
|
||||
server with the Core, then multi-tenant (TEST.md's table says which
|
||||
sections go with each pass). What the passes find gets fixed as it comes.
|
||||
@@ -351,6 +369,10 @@ the apps on a Federated Core), and the user re-labels them. The Federated list
|
||||
ships as an example import file, `examples/federated-inventory.yaml`, not as a
|
||||
default.
|
||||
|
||||
A list can also be just websites and relationships: imported with *Fill
|
||||
in the empty boxes from each website*, each entry is filled in from its
|
||||
site as on New entry, and saved (2026-12-01; see Where things stand).
|
||||
|
||||
## 5. Phases
|
||||
|
||||
Each phase ends usable and with a release tag (`v0.x.0`).
|
||||
|
||||
Reference in New Issue
Block a user