Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Folder structure breaks if PCB and SCH are at different revisions #5

Open
domleblanc94 opened this issue Nov 11, 2024 · 1 comment

Comments

@domleblanc94
Copy link

domleblanc94 commented Nov 11, 2024

The PCB and SCH may be at different revisions due as you may need to re-layout a board because of issues but this does the schematic may not change. If you then generate the files the SCH generated files will be pus into a different folder than the PCB generated files.

I manage this through the text variables and have 3 different revision fields:
-PCBA Revision
-- PCB Revision
-- SCH Revision
I have done a branch on my repo

@domleblanc94 domleblanc94 changed the title Bug: Folderstructure breaks if P Bug: Folder structure breaks if PCB and SCH are at different revisions Nov 11, 2024
@vishnumaiea
Copy link
Owner

That is an obvious issue. I did not think that far. I am also not sure how to handle that. May be the best way is to check the presence for both the schematic and PCB files and check versions on both of them. Then for the top-level revision folder, use the revision number which is the largest. For file naming, the revision in the source file can be used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants