Skip to content

Refactor, fixes, and integrate altium-ibom-releaser#2

Open
StefanRickli wants to merge 5 commits intozharovdv:mainfrom
StefanRickli:refactor
Open

Refactor, fixes, and integrate altium-ibom-releaser#2
StefanRickli wants to merge 5 commits intozharovdv:mainfrom
StefanRickli:refactor

Conversation

@StefanRickli
Copy link
Contributor

This is an ongoing pull request and I will keep adding commits today.

Also, rename state/control getters/setters to clarify the direction of where information comes from and where it goes.

Now we got:
- SetState_FromParameters
- GetParameters_FromState
- SetState_FromControls
- SetControls_FromState
…cit filename provided

During release preparation, PredictOutputFileNames is called once while, somehow, the PcbDoc cannot be accessed. We catch this by just outputting a dummy filename with some debug information.

For the output filename prediction: Before, running the script from an output job would predict and generate ".json" etc.
Now, it's "iBOM for <PcbDoc Filename>", respectively "iBOM for <PcbDoc Filename>(VariantName)", similar to Altium-native output filenames.
@StefanRickli
Copy link
Contributor Author

StefanRickli commented Apr 16, 2025

Okay, this is as far as the pure refactors and fixes go.

@StefanRickli StefanRickli mentioned this pull request Apr 16, 2025
@StefanRickli
Copy link
Contributor Author

Here's the changes necessary for making invocation of my external application work:
StefanRickli@8839a45

Feel free to add it to your project. I can also just leave it in my fork's alternative branch, and update it according to changes in your project.

@zharovdv
Copy link
Owner

Huh.... it needs time :)

@StefanRickli
Copy link
Contributor Author

Hi! All set and done now on my side.

I documented the installation and usage of altium-ibon-releaser in its readme.

Thanks again for your support. It was a fun project!

@zharovdv
Copy link
Owner

zharovdv commented Apr 16, 2025

Hi! All set and done now on my side.

I documented the installation and usage of altium-ibon-releaser in its readme.

Thanks again for your support. It was a fun project!

Thanks for you. It was great. Hope merge it ASAP. And finally want to resolve the issue with DNP/Variants.

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

Successfully merging this pull request may close these issues.

2 participants