Add category-based fetch script, fix .gitignore for vendor source
Add local/scripts/fetch-sources.sh for fetching sources by category (core, libs, tools) instead of by config. Fix .gitignore to only track our hand-written source code (branding, core, drivers, gpu, system, wayland, kde categories), excluding fetched vendor source like MC's ported source tree. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
+19
-3
@@ -25,9 +25,22 @@ recipes/**/source.tar.tmp
|
||||
target
|
||||
wget-log
|
||||
|
||||
# Explicitly track our source code (safety net)
|
||||
!local/recipes/**/source/
|
||||
!local/recipes/**/source/**
|
||||
# Explicitly track our OWN source code (recipes with path="source" where we wrote the code)
|
||||
# Only recipes under these categories contain our hand-written source:
|
||||
!local/recipes/branding/**/source/
|
||||
!local/recipes/branding/**/source/**
|
||||
!local/recipes/core/**/source/
|
||||
!local/recipes/core/**/source/**
|
||||
!local/recipes/drivers/**/source/
|
||||
!local/recipes/drivers/**/source/**
|
||||
!local/recipes/gpu/**/source/
|
||||
!local/recipes/gpu/**/source/**
|
||||
!local/recipes/system/**/source/
|
||||
!local/recipes/system/**/source/**
|
||||
!local/recipes/wayland/**/source/
|
||||
!local/recipes/wayland/**/source/**
|
||||
!local/recipes/kde/**/source/
|
||||
!local/recipes/kde/**/source/**
|
||||
|
||||
# But not fetched tarballs or build artifacts inside local/
|
||||
local/recipes/**/source.tar
|
||||
@@ -35,6 +48,9 @@ local/recipes/**/source.tar.tmp
|
||||
local/recipes/**/target/
|
||||
local/recipes/**/build/
|
||||
|
||||
# Fetched vendor source trees in local/recipes (not our code, just ports)
|
||||
local/recipes/tui/*/source/
|
||||
|
||||
# Vendor source trees (fetched, not our code)
|
||||
**/amdgpu-source/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user