1.9 KiB
1.9 KiB
KiBot_Template
Template for a KiCad project using the KiBot Workflow
Getting Started
- Create a new repository using the
pdm/KiBot_Templateas the template. Make sure to select theGit Content (Default Branch)option to copy the files and defaultmainbranch into the new repository. - Check out the new repository (
pdm/A99-9000in this example) and run the bootstrapping script to set up the Asymworks KiCad library, add thedevworking branch, and rename the project based on the current directory.$ git clone https://git.asymworks.com/pdm/A99-9000 $ cd A99-9000 $ source kibot/scripts/bootstrap.sh Created Development Branch Added Asymworks KiCad Library Renamed KiCad Project to "A99-9000.kicad_pro" - Open KiCad and start drafting the schematic. The KiBot script will start in the
DRAFTstate, which generates the Schematic Netlist, PDF, and BOM. After eachgit push, assuming the KiBot script ran successfully, run agit pullto download the generated outputs. - Once the schematic is done and the PCB has been initialized with parts and a board outline, change the
kibot_draftparameter in.gitea/workflows/ci.yamltofalse. This will cause the KiBot script to run inWORKINGmode, which generates all outputs. It will error out if the board outline does not exist. - When the board is ready to review, create a release branch named
review/rev-XXwhereXXis the revision code. The revision code should start atNC(or100) and from there increment as specified in the Asymworks product management guidelines. KiBot will run inREVIEWmode when a release branch exists. - When the board is ready to release, create a Pull Request from the review branch into
main. Merge the PR and create a tag namedrelease/rev-XX. KiBot will run on themainbranch and create the Gitea Release from the release tag. - Continue with the next revision by merging
mainback intodev.