<feed xmlns='http://www.w3.org/2005/Atom'>
<title>stock/import/load_stock.php, branch master</title>
<subtitle>Bitweaver stock package repository
</subtitle>
<id>https://git.rdm1.uk/stock/.git/atom?h=master</id>
<link rel='self' href='https://git.rdm1.uk/stock/.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/'/>
<updated>2026-06-06T16:22:44Z</updated>
<entry>
<title>import: cull legacy importers; move data to storage/stock/</title>
<updated>2026-06-06T16:22:44Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-06-06T16:22:44Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=85add8e6c0fa75baeeee342e6e36051faf923e5c'/>
<id>urn:sha1:85add8e6c0fa75baeeee342e6e36051faf923e5c</id>
<content type='text'>
Remove old ImportAssembly/Component classes, load_stock, load_components,
load_assemblies, load_kitlocker_assemblies/groups (one-off imports).

Add STOCK_IMPORT_PATH = STORAGE_PKG_PATH.'stock/' to bit_setup_inc.
Update load_simple_assemblies/components/components_2 to use
STOCK_IMPORT_PATH instead of __DIR__.'/data/'.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Remove stock_component table — use liberty_content directly</title>
<updated>2026-05-31T09:06:48Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-31T09:06:48Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=cef2bbde0cbaa042a545f432865de11e0bc51d03'/>
<id>urn:sha1:cef2bbde0cbaa042a545f432865de11e0bc51d03</id>
<content type='text'>
stock_component was a pure alias (component_id ↔ content_id with no
other data). All queries now target liberty_content WHERE
content_type_guid = STOCKCOMPONENT_CONTENT_TYPE_GUID directly.

- StockComponent: drop mComponentId, constructor takes content_id only
- All component_id URL params changed to content_id
- Import files, edit_movement, sitemap updated to match
- BOM xref templates updated (xref column migrated from component_id
  to content_id in live DB — 130 rows)
- StockAssembly loadXrefList/enrichXrefDisplay join liberty_content
  directly; loadComponents drops stock_component LEFT JOIN
- StockBase: previous/next keys renamed to _content_id

stock_component table left in schema_inc.php pending DB reset.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
<entry>
<title>Add initial stock load importer and improve import results template</title>
<updated>2026-05-27T16:45:10Z</updated>
<author>
<name>Lester Caine</name>
<email>lester@lsces.co.uk</email>
</author>
<published>2026-05-27T16:45:10Z</published>
<link rel='alternate' type='text/html' href='https://git.rdm1.uk/stock/.git/commit/?id=6c360a42b7f45078c9256cbbc48d2aa8741e57ea'/>
<id>urn:sha1:6c360a42b7f45078c9256cbbc48d2aa8741e57ea</id>
<content type='text'>
load_stock.php creates a pending StockMovement IN from a 3-column CSV
(component_title, desc[ignored], qty), then ?process=y commits via
processMovement(). import_results.tpl now shows movement status and
the ?process=y hint when a pending movement is waiting.

Co-Authored-By: Claude Sonnet 4.6 &lt;noreply@anthropic.com&gt;
</content>
</entry>
</feed>
