56 Commits

Author SHA1 Message Date
559ccca3f8 Merge branch 'main' of https://git.b4l.co.th/B4L/b4l-project-template
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 7s
2025-08-11 13:38:25 +07:00
bb4c82c8c6 Fix workflow for Gitea Actions compatibility
- Replace GITHUB_STEP_SUMMARY with simple echo logging for Gitea compatibility
- Remove GitHub-specific step summary features that don't work in Gitea Actions
- Convert Create summary step to Log results step with console output
- Maintain debug output and step communication for troubleshooting
- Ensure workflow is fully compatible with Gitea Actions environment
2025-08-11 13:38:02 +07:00
df1aa85151 Auto-sort: Move DS_ and IMG_ prefixed files to correct directories [skip actions]
- Moved datasheet files (DS_*) to docs/datasheets/
- Moved image files (IMG_*) to docs/images/
- Automated by Gitea Actions auto-sort workflow
2025-08-11 06:34:08 +00:00
e3c125f99d test files
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 6s
2025-08-11 13:33:56 +07:00
284d715aa3 Fix workflow summary step output debugging
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 6s
- Add debug output to show the value of files_moved from previous step
- Store step output in variable for better debugging and comparison
- Fix issue where Create summary step was always showing empty results
- Ensure proper step output communication between workflow steps
- Add debugging information to troubleshoot step output issues
2025-08-11 13:32:36 +07:00
dc9c2f6c4d del old
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 6s
2025-08-11 13:30:03 +07:00
a08c3fc1fa Auto-sort: Move DS_ and IMG_ prefixed files to correct directories [skip actions]
- Moved datasheet files (DS_*) to docs/datasheets/
- Moved image files (IMG_*) to docs/images/
- Automated by Gitea Actions auto-sort workflow
2025-08-11 06:28:33 +00:00
cad0a686c0 two test files
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 7s
2025-08-11 13:28:22 +07:00
fcb18d7fe3 Delete docs/datasheets/DS_150080RS75000.pdf
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 5s
2025-08-11 13:26:48 +07:00
8036b76f05 Delete docs/datasheets/DS_30KPA_SERIES_N0126_REV.E.pdf
Some checks failed
Auto-Sort Files / auto-sort (push) Has been cancelled
2025-08-11 13:26:43 +07:00
ee20210c7b Delete DS_150080RS75000.pdf
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 6s
2025-08-11 13:26:31 +07:00
b7b304b4fd Auto-sort: Move DS_ and IMG_ prefixed files to correct directories [skip actions]
- Moved datasheet files (DS_*) to docs/datasheets/
- Moved image files (IMG_*) to docs/images/
- Automated by Gitea Actions auto-sort workflow
2025-08-11 06:26:03 +00:00
74a631643b extra test\
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 6s
2025-08-11 13:25:51 +07:00
7e134c7a1c test file
Some checks failed
Auto-Sort Files / auto-sort (push) Failing after 4s
2025-08-11 13:24:21 +07:00
3b5b3414fc del old files
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 4s
2025-08-11 13:16:29 +07:00
b35dd1f5d4 Update documentation for [skip actions] approach
- Update GITEA-ACTIONS-SETUP.md to document [skip actions] flag usage
- Explain infinite loop prevention using standard Gitea Actions approach
- Remove references to conditional workflow execution based on commit message detection
- Document simplified git configuration using inline -c flags
- Provide clear explanation of how [skip actions] prevents recursive workflow execution
2025-08-11 13:12:38 +07:00
928b88887d Merge branch 'main' of https://git.b4l.co.th/B4L/b4l-project-template
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 6s
2025-08-11 13:10:43 +07:00
ed728e7028 Update workflow to use [skip actions] flag for infinite loop prevention
- Remove conditional check based on commit message detection
- Use [skip actions] flag in commit message to prevent workflow recursion
- Simplify git configuration using inline -c flags instead of git config --local
- Combine commit and push steps for cleaner workflow execution
- Follow Gitea Actions best practices for preventing infinite loops
- Maintain all functionality while using standard skip actions approach
2025-08-11 13:10:26 +07:00
12787d8daf Auto-sort: Move DS_ and IMG_ prefixed files to correct directories
All checks were successful
Auto-Sort Files / auto-sort (push) Has been skipped
- 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:58:10 +00:00
da192e0228 test ds
Some checks failed
Auto-Sort Files / auto-sort (push) Failing after 5s
2025-08-11 11:57:57 +07:00
c6c2069195 Auto-sort: Move DS_ and IMG_ prefixed files to correct directories
All checks were successful
Auto-Sort Files / auto-sort (push) Has been skipped
- 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:55:45 +00:00
c685c9b519 test files
Some checks failed
Auto-Sort Files / auto-sort (push) Has been cancelled
2025-08-11 11:55:33 +07:00
c9055bbd25 Merge branch 'main' of https://git.b4l.co.th/B4L/b4l-project-template
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 4s
2025-08-11 11:52:25 +07:00
e8c01c8747 Prevent infinite workflow loops by skipping CI bot commits
- Add condition to skip workflow when triggered by Auto-sort commits
- Use github.event.head_commit.message to detect CI bot commits
- Prevent infinite loop where workflow push triggers another workflow run
- Only run workflow for user commits, not automated CI commits
- Maintains functionality while preventing recursive execution
2025-08-11 11:52:04 +07:00
edcb1adef0 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:47:17 +00:00
b8fd333f04 test DS
All checks were successful
Auto-Sort Files / auto-sort (push) Successful in 5s
2025-08-11 11:47:07 +07:00
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