Commit Graph

30 Commits

Author SHA1 Message Date
e19ddeaa67 del files
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 4s
2025-08-11 11:41:50 +07:00
bc5df5f05c Auto-sort: Move DS_ and IMG_ prefixed files to correct directories
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 4s
- Moved datasheet files (DS_*) to docs/datasheets/
- Moved image files (IMG_*) to docs/images/
- Automated by Gitea Actions auto-sort workflow
2025-08-11 04:39:16 +00:00
9fa2e39f7c del files
Some checks failed
Auto-Sort Files / auto-sort (push) Has been cancelled
2025-08-11 11:39:07 +07:00
052156cc43 Merge branch 'main' of https://git.b4l.co.th/B4L/b4l-project-template
Some checks failed
Auto-Sort Files / auto-sort (push) Failing after 5s
2025-08-11 11:37:06 +07:00
eff0142a22 Fix git tracking issue in file movement
- Replace mv with git mv to preserve git file tracking
- Remove unnecessary git add step since git mv automatically stages changes
- Fix issue where moved files appeared as deleted in git status
- Ensure proper git history preservation when files are reorganized
- Files will now show as moved/renamed instead of deleted/added in git log
2025-08-11 11:36:49 +07:00
db2871fb5d Auto-sort: Move DS_ and IMG_ prefixed files to correct directories
Some checks failed
Auto-Sort Files / auto-sort (push) Failing after 4s
- Moved datasheet files (DS_*) to docs/datasheets/
- Moved image files (IMG_*) to docs/images/
- Automated by Gitea Actions auto-sort workflow
2025-08-11 04:34:29 +00:00
9bb593ec3a new file
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 6s
2025-08-11 11:34:20 +07:00
6ba8ca0357 Merge branch 'main' of https://git.b4l.co.th/B4L/b4l-project-template
Some checks failed
Auto-Sort Files / auto-sort (push) Failing after 5s
2025-08-11 11:32:18 +07:00
29b4ffe576 Add configurable worker credentials for git operations
- Replace hardcoded git user email and name with configurable variables
- Add WORKER_EMAIL and WORKER_USERNAME variables for git commits and authentication
- Update workflow to use vars.WORKER_EMAIL and vars.WORKER_USERNAME
- Use WORKER_USERNAME in push URL authentication instead of hardcoded 'ci-bot'
- Update GITEA-ACTIONS-SETUP.md with instructions for setting up repository variables
- Add variables to setup checklist for complete configuration
- Provide flexibility for different organizations and naming conventions
2025-08-11 11:31:59 +07:00
B4L CI Auto-Sort Bot
0b27af0440 Auto-sort: Move DS_ and IMG_ prefixed files to correct directories
Some checks failed
Auto-Sort Files / auto-sort (push) Failing after 4s
- Moved datasheet files (DS_*) to docs/datasheets/
- Moved image files (IMG_*) to docs/images/
- Automated by Gitea Actions auto-sort workflow
2025-08-11 04:21:25 +00:00
0e800242d7 Fix push URL construction in workflow
Some checks failed
Auto-Sort Files / auto-sort (push) Has been cancelled
- Correct URL parsing to properly extract domain and repository path
- Fix malformed push URL that was missing proper formatting
- Add debug logging to show URL components for troubleshooting
- Ensure proper HTTPS authentication URL format: https://user:token@domain/repo.git
- Handle both HTTPS and SSH repository URL formats correctly
- Fix issue where push was failing due to incorrect URL construction
2025-08-11 11:21:11 +07:00
004d8c00a6 Fix file detection issue in workflow
Some checks failed
Auto-Sort Files / auto-sort (push) Failing after 5s
- Replace process substitution with mapfile array approach for better compatibility
- Use mapfile -t to read find results into arrays
- Simplify file processing with standard for loops
- Fix issue where files weren't being detected properly
- Use function return codes to track file movement status
- Ensure FILES_MOVED flag is set correctly when files are actually moved
- More reliable file detection and processing across different bash versions
2025-08-11 11:18:57 +07:00
4371c0f201 Fix workflow file movement detection issue
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 5s
- Replace pipe-based while loop with process substitution to preserve variable scope
- Use temporary file to track FILES_MOVED status across subshells
- Fix issue where files were moved but commit/push steps were skipped
- Use find with -print0 and while read -d '' for proper handling of filenames with spaces
- Ensure FILES_MOVED flag is properly set when files are actually moved
- Now correctly triggers commit and push steps when files are reorganized
2025-08-11 11:16:49 +07:00
6b2cc9e28d test file
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 7s
2025-08-11 11:13:51 +07:00
a33cd6e7d2 test files 2025-08-11 11:12:47 +07:00
4c1813005e Improve Gitea Actions workflow with dynamic repository URL detection
- Update .gitea/workflows/auto-sort-files.yml to dynamically fetch repository URL using git config
- Support both HTTPS and SSH repository URL formats automatically
- Remove hardcoded repository URL for better portability across different repositories
- Add intelligent URL parsing to construct proper authenticated push URL
- Update GITEA-ACTIONS-SETUP.md to document dynamic URL detection feature
- Improve workflow flexibility for template reuse across different projects
2025-08-11 11:02:56 +07:00
e3b480ec33 Convert CI auto-sort system to Gitea Actions
- Move workflow from ci/auto-sort-files.yml to .gitea/workflows/auto-sort-files.yml
- Update workflow to use CI_BOT_TOKEN secret for Gitea authentication
- Configure proper git push URL for Gitea repository
- Update ci/README.md with comprehensive Gitea Actions setup instructions
- Add GITEA-ACTIONS-SETUP.md with detailed configuration guide
- Update README.md to reference Gitea Actions setup documentation
- Remove old GitHub Actions workflow file
- Provide step-by-step token creation and repository secret configuration
- Include troubleshooting guide and security considerations
2025-08-11 10:47:39 +07:00
97096f519d Update repository URLs to new location
- Update README.md clone URL to https://git.b4l.co.th/B4L/b4l-project-template.git
- Update KICAD-PROJECT-TEMPLATE.md clone URL to new repository location
- Ensure all documentation references the correct repository URL
2025-08-11 10:24:11 +07:00
c86266fd38 Add CI auto-sort system for datasheets and images
- Add DS_ prefix for datasheets - automatically moved to docs/datasheets/
- Add IMG_ prefix for images - automatically moved to docs/images/
- Update FILE-NAMING-AND-VERSIONING.md with CI auto-sort prefix examples
- Create comprehensive docs/datasheets/README.md with CI auto-sort documentation
- Create comprehensive docs/images/README.md with CI auto-sort documentation
- Add ci/auto-sort-files.yml GitHub Actions workflow for automatic file organization
- Update ci/README.md with complete auto-sort system documentation
- Update main README.md to reference CI auto-sort system
- Enable users to upload files anywhere with correct prefix for automatic organization
- Support multiple file types: PDF, DOC, PNG, JPG, SVG, etc.
- Provide complete CI workflow with commit automation and error handling
2025-08-11 10:19:55 +07:00
cceb853f44 Update BOM plugin recommendations to focus on InteractiveHtmlBom
- Remove generic BOM plugin references (bom_csv_grouped_by_value, bom_csv_sorted_by_ref, kibom)
- Highlight InteractiveHtmlBom as the highly recommended BOM generation tool
- Add detailed benefits of InteractiveHtmlBom: visual component highlighting, interactive filtering, assembly guidance
- Include installation and usage instructions for InteractiveHtmlBom plugin
- Emphasize professional presentation capabilities for manufacturing and assembly
2025-08-04 15:13:35 +07:00
915d460a3d Add comprehensive example BOM with multi-supplier support
- Add example-project_bom_v1.0.0_2024-08-04.csv with complete STM32F401-based design
- Include all requested fields: Designator, Qty, MPN, Manufacturer, Package, Description, RoHS
- Add comprehensive supplier part numbers for Digi-Key, Mouser, and LCSC
- Include additional technical fields: Value, Tolerance, Voltage/Power Rating, Temperature Range
- Add pricing information and datasheet URLs for complete component traceability
- Cover typical hardware components: MCU, power regulation, connectors, passives, LEDs, test points
- Update hardware/bom/README.md with detailed field descriptions and example reference
- Follow file naming conventions with semantic versioning and YYYY-MM-DD date format
- Provide multi-sourcing flexibility for component procurement and PCB assembly services
2025-08-04 15:03:19 +07:00
3f5b4c7e97 Add comprehensive file naming and versioning standards
- Add FILE-NAMING-AND-VERSIONING.md with complete Semantic Versioning 2.0.0 and Harvard Data Management file naming conventions
- Update README.md with file naming standards and semantic versioning workflow
- Update KICAD-PROJECT-TEMPLATE.md with comprehensive file naming examples and git workflow
- Update hardware/bom/README.md with standardized BOM file naming conventions
- Update manufacturing/gerbers/README.md with production-ready Gerber file naming
- Update mechanical/stl/README.md with 3D printing file naming including material suffixes
- Implement YYYY-MM-DD date format and hyphen-separated naming throughout
- Add versioning strategies for hardware, software, and documentation components
- Include git tagging strategy and release management guidelines
- Provide comprehensive examples for all file types and directories
2025-08-04 14:46:05 +07:00
a0c843204d Update mechanical folder structure for multiple sub-assemblies
- Refactor mechanical/ directory to support multiple sub-assemblies instead of just enclosures
- Update mechanical/README.md with comprehensive sub-assembly organization examples
- Enhance mechanical/cad/README.md with detailed sub-assembly structure (PCB mounts, sensor housing, connector panels, cooling, etc.)
- Expand mechanical/enclosure/README.md to cover main housing, sub-enclosures, and removable panels
- Improve mechanical/stl/README.md with broader 3D printing categories including tooling, prototyping, and custom components
- Update mechanical/drawings/README.md with comprehensive technical drawing organization for all mechanical components
- Add detailed manufacturing considerations, quality control procedures, and file management guidelines
- Support complex projects with multiple mechanical sub-systems and assemblies
2025-08-04 14:30:36 +07:00
046f66f6eb Refine repository structure for KiCad 9 optimization
- Add dedicated /kicad/ directory with organized subdirectories for libraries, schematics, gerbers, plots, and backups
- Create comprehensive KiCad 9 library structure (symbols, footprints, 3D models)
- Add manufacturing-ready directories for production files (gerbers, drill, pick-and-place)
- Update all README files with KiCad-specific documentation and workflows
- Add KiCad-optimized .gitignore file for proper version control
- Create KICAD-PROJECT-TEMPLATE.md comprehensive usage guide
- Add hardware assembly documentation and BOM management
- Include detailed manufacturing file generation instructions
- Add docs structure with design-notes and user-manual directories
- Provide complete workflow from design to manufacturing with quality checklists
2025-08-03 16:27:46 +07:00
dabbd358f8 update README 2025-05-21 17:30:16 +07:00
62159b3c5f updated READMEs 2025-05-21 17:26:26 +07:00
6cff715e74 changed recommended license 2025-05-21 17:17:18 +07:00
3b02f26b25 changed website link 2025-05-21 17:01:59 +07:00
9447812de0 adding folder structure and READMEs 2025-05-21 16:55:03 +07:00
9fd6816f41 Initial commit 2025-05-21 11:49:47 +02:00